If the curve y=f(x) passes through the point (1,e) and satisfies the differential equation dy=y(2+logex)dx, x>0, then f(e) is equal to :
Solutions · 1
Official solution
dxdy=y(2+lnx)
To solve this, first separate the variables by dividing both sides by y:
∫ydy=∫(2+lnx)dx
Now integrate both sides. The left side gives lny. For the right side, integrate term by term:
lny=2x+xlnx−x+C
Combine like terms 2x−x=x:
lny=x+xlnx+C
Since it passes through (1,e), put x=1 and y=e in the equation. Then lny=lne=1 and ln1=0:
1=1+0+C→C=0
So the required relation becomes:
lny=x+xlnx
Taking antilog (exponential) on both sides:
f(x)=y=ex+xlnx
Now substitute x=e. Also, lne=1:
⇒f(e)=ee+e=e2e