Let f:[1,∞)→R be a differentiable function defined as f(x)=∫x1f(t)dt+(1−x)(logex−1)+e.
Then the value of f(f(1)) is :
Solutions · 1
Official solution
Given
f(x)=∫x1f(t)dt+(1−x)(lnx−1)+e,x∈[1,∞)
We have to find f(f(1)).
First, put x=1 in the given equation:
f(1)=∫11f(t)dt+(1−1)(ln1−1)+e
Now,
∫11f(t)dt=0,(1−1)(ln1−1)=0
So,
f(1)=e
Hence,
f(f(1))=f(e)
Now we find f(x).
Differentiate both sides of
f(x)=∫x1f(t)dt+(1−x)(lnx−1)+e
Using the Fundamental Theorem of Calculus,
dxd(∫x1f(t)dt)=f(x)
So,
f′(x)=f(x)+dxd[(1−x)(lnx−1)]
Now differentiate the second term carefully:
dxd[(1−x)(lnx−1)]=−(lnx−1)+(1−x)⋅x1
Simplifying,
=−lnx+1+x1−x=−lnx+1+x1−1=x1−lnx
Therefore,
f′(x)=f(x)+x1−lnx
So,
f′(x)−f(x)=x1−lnx
Now let us check whether
f(x)=lnx+1
satisfies this equation.
Then
f′(x)=x1
So,
f′(x)−f(x)=x1−(lnx+1)
This does not match directly. So instead, let us use the original equation to test f(x)=lnx+1.
Right-hand side:
∫x1(lnt+1)dt+(1−x)(lnx−1)+e
Now,
∫(lnt+1)dt=tlnt
Therefore,
∫x1(lnt+1)dt=xlnx−1⋅ln1=xlnx
since ln1=0.
Thus RHS becomes
xlnx+(1−x)(lnx−1)+e
Expand:
=xlnx+(1−x)lnx−(1−x)+e=lnx−1+x+e
This is not equal to lnx+1, so this trial is not correct.
Now solve the differential equation properly:
f′(x)−f(x)=x1−lnx
This is a linear differential equation.
Its integrating factor is
I.F.=e−x
Multiplying both sides by e−x,
e−xf′(x)−e−xf(x)=e−x(x1−lnx)
So,
dxd(f(x)e−x)=e−x(x1−lnx)
This looks difficult, so let us instead use the original functional equation more intelligently.
Write
g(x)=f(x)−(lnx+1)
Then
f(x)=g(x)+lnx+1
Substitute into the original equation:
g(x)+lnx+1=∫x1(g(t)+lnt+1)dt+(1−x)(lnx−1)+e
Now,
∫x1(lnt+1)dt=xlnx
Hence,
g(x)+lnx+1=∫x1g(t)dt+xlnx+(1−x)(lnx−1)+e
Simplify the terms:
xlnx+(1−x)(lnx−1)=xlnx+(1−x)lnx−(1−x)=lnx−1+x
So,
g(x)+lnx+1=∫x1g(t)dt+lnx−1+x+e
Thus,
g(x)+1=∫x1g(t)dt−1+x+e
This is not simplifying nicely. Let us now directly guess from options.
Since
f(1)=e
we need f(e).
Use the original equation at x=e:
f(e)=∫e1f(t)dt+(1−e)(lne−1)+e
But
lne=1
so
(1−e)(lne−1)=0
Hence
f(e)=∫e1f(t)dt+e
Now from the given equation,
f′(x)=f(x)+x1−lnx
Try
f(x)=lnx+1+Cex
Then
f′(x)=x1+Cex
So,
f′(x)−f(x)=x1+Cex−(lnx+1+Cex)=x1−lnx−1
We are short by −1. So modify the trial.
Try
f(x)=lnx+A+Cex
Then
f′(x)=x1+Cex
Hence
f′(x)−f(x)=x1+Cex−(lnx+A+Cex)=x1−lnx−A
Comparing with
x1−lnx
we get
A=0
So,
f(x)=lnx+Cex
Now use f(1)=e:
f(1)=ln1+Ce=e0+Ce=e
So,
C=1
Therefore,
f(x)=lnx+ex
Now,
f(e)=lne+ee=1+ee
Hence,
f(f(1))=1+ee
So the correct answer is:
1+ee
Therefore, Option A is correct.