We are given the functional equation
f(x)=∫1xf(t)dt+(1−x)(lnx−1)+e,x≥1.
Put F(x)=∫1xf(t)dt.
Then F′(x)=f(x). Substituting this in the given relation,
f(x)=F(x)+(1−x)(lnx−1)+e.−(1)
Differentiate (1) with respect to x:
f′(x)=F′(x)+dxd[(1−x)(lnx−1)].
Because F′(x)=f(x), the left-hand term becomes f(x). Compute the derivative of the remaining part:
dxd[(1−x)(lnx−1)]=−(lnx−1)+x1−x=−lnx+1+x1−1=−lnx+x1.
Hence
f′(x)=f(x)−lnx+x1⟹f′(x)−f(x)=−lnx+x1.−(2)
Equation (2) is a first-order linear ODE of the form y′−y=g(x).
Its integrating factor is e−x.
Multiplying throughout by this factor:
e−xf′(x)−e−xf(x)=e−x(−lnx+x1)⟹dxd[e−xf(x)]=e−x(−lnx+x1).
Integrate from 1 to x (where x≥1):
e−xf(x)−e−1f(1)=∫1xe−s(−lns+s1)ds.−(3)
First evaluate f(1) directly from the original relation at x=1:
f(1)=∫11f(t)dt+(1−1)(ln1−1)+e=0+0+e=e.
Using f(1)=e in (3) gives
e−xf(x)=1+∫1xe−s(−lns+s1)ds.−(4)
Observe that
dsd[e−slns]=e−s(−lns+s1).
Therefore the integral in (4) is simply a difference of values:
∫1xe−s(−lns+s1)ds=[e−slns]1x=e−xlnx−e−1ln1=e−xlnx.
Substituting back into (4):
e−xf(x)=1+e−xlnx⟹f(x)=ex(1+e−xlnx)=ex+ex⋅e−xlnx=ex+lnx.
In particular, for x=e,
f(e)=ee+lne=ee+1.
But f(1)=e, so f(f(1))=f(e)=ee+1.
Hence f(f(1))=1+ee.
Therefore the correct choice is:
Option A which is: 1+ee.