RankRizz
JEE MAIN 2021 · 16 MAR S1+4 / −1MEDIUMTRANSCRIBED

JEE Main 2021 Mathematics question — Linear first-order differential equations

If y=y(x)y = y(x) is the solution of the differential equation, dydx+2ytan⁡x=sin⁡x\frac{dy}{dx} + 2y\tan x = \sin x, y(π3)=0y\left(\frac{\pi}{3}\right) = 0, then the maximum value of the function y(x)y(x) over RR is equal to:

SOLUTION

The differential equation is dydx+2ytan⁡x=sin⁡x\frac{dy}{dx} + 2y\tan x = \sin x, which is a first-order linear ODE. The integrating factor is e∫2tan⁡x dx=e−2ln⁡∣cos⁡x∣=sec⁡2xe^{\int 2\tan x\,dx} = e^{-2\ln|\cos x|} = \sec^2 x.

Multiplying both sides by sec⁡2x\sec^2 x: ddx(ysec⁡2x)=sin⁡x⋅sec⁡2x=sin⁡xcos⁡2x=sec⁡xtan⁡x\frac{d}{dx}(y\sec^2 x) = \sin x \cdot \sec^2 x = \frac{\sin x}{\cos^2 x} = \sec x \tan x.

Integrating: ysec⁡2x=∫sec⁡xtan⁡x dx=sec⁡x+Cy\sec^2 x = \int \sec x \tan x\,dx = \sec x + C. So y=cos⁡x+Ccos⁡2xy = \cos x + C\cos^2 x.

Applying the initial condition y(π/3)=0y(\pi/3) = 0: 0=cos⁡(π/3)+Ccos⁡2(π/3)=12+C⋅140 = \cos(\pi/3) + C\cos^2(\pi/3) = \frac{1}{2} + C \cdot \frac{1}{4}, giving C=−2C = -2.

Therefore y=cos⁡x−2cos⁡2xy = \cos x - 2\cos^2 x. To find the maximum, let u=cos⁡xu = \cos x, so y=u−2u2y = u - 2u^2, where u∈[−1,1]u \in [-1, 1]. Setting dydu=1−4u=0\frac{dy}{du} = 1 - 4u = 0 gives u=14u = \frac{1}{4}, and the maximum value is y=14−2⋅116=14−18=18y = \frac{1}{4} - 2 \cdot \frac{1}{16} = \frac{1}{4} - \frac{1}{8} = \frac{1}{8}.

Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicLinear first-order differential equations
TypeMultiple choice