Question:medium

Let $f(x)$ be a differentiable function satisfying \[ f(x)=e^x+\int_0^1 (y+xe^x)f(y)\,dy \] Find $f(0)+e$, where $e$ is Napier's constant.

Show Hint

When integrals involve unknown constants, assume them as constants and solve using consistency conditions.
Updated On: Jan 27, 2026
Show Solution

Correct Answer: 2

Solution and Explanation

Step 1: Express the function in a simplified form

Given,

f(x) = ex + ∫01 y f(y) dy + x ex01 f(y) dy

Let,

A = ∫01 y f(y) dy,   B = ∫01 f(y) dy

Then,

f(x) = ex + A + Bx ex


Step 2: Evaluate A

A = ∫01 y [ ey + A + B y ey ] dy

= ∫01 y ey dy + A ∫01 y dy + B ∫01 y2 ey dy

01 y ey dy = 1

01 y dy = 1/2

01 y2 ey dy = e − 2

Hence,

A = 1 + A/2 + B(e − 2)

⇒ A/2 + B(2 − e) = 1  ……(1)


Step 3: Evaluate B

B = ∫01 [ ey + A + B y ey ] dy

= ∫01 ey dy + A ∫01 dy + B ∫01 y ey dy

= (e − 1) + A + B

Thus,

A = 1 − e


Step 4: Find B using equation (1)

Substitute A = 1 − e in (1):

(1 − e)/2 + B(2 − e) = 1

Solving gives,

B = 1


Step 5: Write the explicit form of f(x)

f(x) = ex + (1 − e) + x ex


Step 6: Evaluate f(0) + e

f(0) = 1 + 1 − e = 2 − e

f(0) + e = 2


Final Answer:

The value of f(0) + e is  
2

Was this answer helpful?
0


Questions Asked in JEE Main exam