JEE Main 2022 Mathematics question — Linear first-order differential equations
Let the slope of the tangent to a curve y=f(x) at (x,y) be given by 2tanx(cosx−y). If the curve passes through the point (4π,0), then the value of ∫0π/2ydx is equal to
SOLUTION
The slope of the tangent is given by dxdy=2tanx(cosx−y), and the curve passes through (π/4,0).
Write the ODE in standard linear form:
dxdy+2tanx⋅y=2tanxcosx=2sinx
Find the integrating factor:
μ=e∫2tanxdx=e−2ln∣cosx∣=cos2x1=sec2x
Multiply through by the integrating factor:
dxd[ysec2x]=2sinxsec2x=cos2x2sinx
Integrate:
ysec2x=∫cos2x2sinxdx=cosx2+C=2secx+C
y=2cosx+Ccos2x
Apply initial condition y(π/4)=0:
0=2cos(π/4)+Ccos2(π/4)=2⋅21+C⋅21
0=2+2C
C=−22
So y=2cosx−22cos2x.
Compute ∫0π/2ydx:
∫0π/2ydx=∫0π/2(2cosx−22cos2x)dx
=2[sinx]0π/2−22∫0π/2cos2xdx
=2(1−0)−22⋅4π
=2−2π2=2−2π
The correct answer is Option B: 2−2π.
Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.