We solve the differential equation (1+y2)etanxdx+cos2x(1+e2tanx)dy=0 with the initial condition y(0)=1 and aim to find y(π/4).
Since the equation can be separated, we rewrite it as cos2x(1+e2tanx)etanxdx=−1+y2dy. Noting that cos2x1=sec2x and letting u=tanx so that du=sec2xdx, we transform the left side into an integral in u.
This gives ∫1+e2ueudu. Substituting v=eu with dv=eudu changes the integral to ∫1+v2dv=tan−1(v)=tan−1(eu)=tan−1(etanx).
On the right side, we have −∫1+y2dy=−tan−1y.
Combining both results, the general solution is tan−1(etanx)+tan−1(y)=C.
From the condition y(0)=1 we get tan−1(e0)+tan−1(1)=tan−1(1)+4π=4π+4π=2π=C.
At x=π/4 we have tan(π/4)=1 so that etanx=e and the relation becomes tan−1(e)+tan−1(y)=2π. This gives tan−1(y)=2π−tan−1(e)=tan−1(e1), and hence y=e1.
The correct answer is Option (3): e1.