If f(x) satisfies the relation f(x)=ex+∫10(y+xex)f(y)dy, then e+f(0) is equal to ____ .
Answer: 2
Solutions · 1
Official solution
f(x)=ex+∫10(y+xex)f(y)dyf(x)=ex+∫10yf(y)dy+∫10xexf(y)dy
Integration is w.r.t y, so variable x is taken as a constant.
f(x)=ex+∫10yf(y)dy+xex∫10f(y)dy.
Let A=∫10yf(y)dy and B=∫10f(y)dy, both are constants.
So f(x) becomes,
f(x)=ex+A+Bxex...(1)
Or, f(y)=ey+A+Byey...(2)
Solve, B=∫10f(y)dy.
B=∫10[ey+A+Byey]dy,f(y)=ey+A+Byey.B=∫10[ey+A+Byey]dyf(y)=ey+A+Byey
Using integration by parts, ∫yeydy=yey−∫ey=ey(y−1).
B=[ey+Ay+Bey(y−1)]10.B=[e1+A⋅1+0−e0−0−B⋅e0(−1)].B=e+A−1+B⟹A=1−e.
Finding f(0) using equation (1).
f(0)=1+A+0.f(0)=1+1−e,A=1−e.f(0)+e=2