Given f(x)=∫1xf(t)dt+(1−x)(logex−1)+e
Substituting x=1 in the given equation:
f(1)=∫11f(t)dt+(1−1)(loge1−1)+e
f(1)=0+0+e=e
Differentiating the given equation with respect to x using the Leibniz rule:
f′(x)=f(x)+dxd[(1−x)(logex−1)]
f′(x)=f(x)+(−1)(logex−1)+(1−x)(x1)
f′(x)=f(x)−logex+1+x1−1
f′(x)−f(x)=x1−logex
This is a linear differential equation of the form dxdy+Py=Q, where P=−1 and Q=x1−logex.
Integrating Factor (IF) =e∫−1dx=e−x
Multiplying the differential equation by the IF:
e−xf′(x)−e−xf(x)=e−x(x1−logex)
dxd[e−xf(x)]=e−xx1−e−xlogex
Notice that dxd[e−xlogex]=−e−xlogex+e−xx1.
Thus, dxd[e−xf(x)]=dxd[e−xlogex]
Integrating both sides with respect to x:
e−xf(x)=e−xlogex+C
f(x)=logex+Cex
Using the initial condition f(1)=e:
e=loge1+Ce1
e=0+Ce⇒C=1
Therefore, the function is f(x)=logex+ex.
We need to find f(f(1)):
Since f(1)=e, we evaluate f(e):
f(e)=logee+ee=1+ee
Answer: (1+ee)