JEE Main 2025 Mathematics question — Linear first-order differential equations
If x = f(y) is the solution of the differential equation (1+y2)+(x−2etan−1y)dxdy=0,y∈(−2π,2π) with f(0) = 1, then f(31) is equal to :
SOLUTION
(1+y2)+(x−2etan−1y)dxdy=0.
dydx+1+y2x=1+y22etan−1y
To solve it, we compute the integrating factor I.F.=e∫1+y21dy=etan−1y.
Multiplying both sides by this integrating factor and integrating yields xetan−1y=∫1+y22e2tan−1ydy.
With the substitution t=tan−1y so that dt=1+y2dy, the integral becomes ∫2e2tdt=e2t+C=e2tan−1y+C. Hence xetan−1y=e2tan−1y+C.
Applying the initial condition f(0)=1 (so x=1 when y=0) gives 1⋅e0=e0+C, which implies C=0. Therefore, we obtain xetan−1y=e2tan−1y and hence x=etan−1y.
Finally, evaluating at y=31 yields f(31)=etan−1(31)=eπ/6.
Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.