RankRizz
JEE MAIN 2020 · 05 SEP S2+4 / −1MEDIUMTRANSCRIBED

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

Let y=y(x)y = y(x) be the solution of the differential equation cos⁡xdydx+2ysin⁡x=sin⁡2x\cos x\frac{dy}{dx} + 2y\sin x = \sin 2x, x∈(0,π2)x \in \left(0, \frac{\pi}{2}\right). If y(π/3)=0y(\pi/3) = 0, then y(π/4)y(\pi/4) is equal to:

SOLUTION

We are given the differential equation

cos⁡x dydx+2ysin⁡x=sin⁡2x,0<x<π2.\cos x\,\frac{dy}{dx}+2y\sin x=\sin 2x,\qquad 0<x<\frac{\pi}{2}.

First we rewrite it in the standard linear form dydx+P(x) y=Q(x).\frac{dy}{dx}+P(x)\,y=Q(x). To do so, we divide every term by cos⁡x\cos x (which is positive in the given interval):

dydx+2ysin⁡xcos⁡x=sin⁡2xcos⁡x.\frac{dy}{dx}+2y\frac{\sin x}{\cos x}= \frac{\sin 2x}{\cos x}.

Recalling tan⁡x=sin⁡xcos⁡x\tan x=\dfrac{\sin x}{\cos x} and sin⁡2x=2sin⁡xcos⁡x,\sin 2x=2\sin x\cos x, we obtain

dydx+2ytan⁡x=2sin⁡xcos⁡xcos⁡x=2sin⁡x.\frac{dy}{dx}+2y\tan x = \frac{2\sin x\cos x}{\cos x}=2\sin x.

So the linear equation is

dydx+2tan⁡x y=2sin⁡x,\frac{dy}{dx}+2\tan x\,y=2\sin x,

with P(x)=2tan⁡xP(x)=2\tan x and Q(x)=2sin⁡x.Q(x)=2\sin x.

For a linear first-order ODE, the integrating factor is given by the formula

I.F.=e∫P(x) dx.\text{I.F.}=e^{\int P(x)\,dx}.

We compute it step by step:

∫P(x) dx=∫2tan⁡x dx=2∫tan⁡x dx=2(−ln⁡∣cos⁡x∣)=−2ln⁡(cos⁡x).\int P(x)\,dx=\int 2\tan x\,dx=2\int\tan x\,dx=2\bigl(-\ln|\cos x|\bigr)=-2\ln(\cos x).

Hence

I.F.=e−2ln⁡(cos⁡x)=(cos⁡x)−2=sec⁡2x.\text{I.F.}=e^{-2\ln(\cos x)}=(\cos x)^{-2}=\sec^{2}x.

Multiplying the whole differential equation by this integrating factor, we have

sec⁡2xdydx+2tan⁡x sec⁡2x y=2sin⁡x sec⁡2x.\sec^{2}x\frac{dy}{dx}+2\tan x\,\sec^{2}x\,y=2\sin x\,\sec^{2}x.

By construction of the integrating factor, the left side is the derivative of the product ysec⁡2xy\sec^{2}x. Indeed,

ddx(ysec⁡2x)=sec⁡2xdydx+yddx ⁣(sec⁡2x),\frac{d}{dx}\bigl(y\sec^{2}x\bigr)=\sec^{2}x\frac{dy}{dx}+y\frac{d}{dx}\!\bigl(\sec^{2}x\bigr),

and since ddx(sec⁡2x)=2tan⁡xsec⁡2x,\frac{d}{dx}(\sec^{2}x)=2\tan x\sec^{2}x, the two expressions match. Therefore

ddx(ysec⁡2x)=2sin⁡x sec⁡2x.\frac{d}{dx}\bigl(y\sec^{2}x\bigr)=2\sin x\,\sec^{2}x.

We now integrate both sides with respect to xx:

ysec⁡2x=∫2sin⁡x sec⁡2x dx+C,y\sec^{2}x=\int 2\sin x\,\sec^{2}x\,dx + C,

where CC is the constant of integration. To evaluate the integral, we write it out explicitly:

∫2sin⁡x sec⁡2x dx=∫2sin⁡xcos⁡2x dx.\int 2\sin x\,\sec^{2}x\,dx=\int 2\frac{\sin x}{\cos^{2}x}\,dx.

Let us set u=cos⁡xu=\cos x so that du=−sin⁡x dxdu=-\sin x\,dx, or equivalently − ⁣du=sin⁡x dx-\!du=\sin x\,dx. Substituting, we get

∫2sin⁡xcos⁡2x dx=2∫−duu2=−2∫u−2 du.\int 2\frac{\sin x}{\cos^{2}x}\,dx = 2\int\frac{-du}{u^{2}} = -2\int u^{-2}\,du.

Because ∫u−2du=−u−1,\int u^{-2}du = -u^{-1}, the integral becomes

−2(−u−1)=2u−1=2u=2cos⁡x=2sec⁡x.-2\bigl(-u^{-1}\bigr)=2u^{-1}=\frac{2}{u}=\frac{2}{\cos x}=2\sec x.

Thus we have obtained

ysec⁡2x=2sec⁡x+C.y\sec^{2}x = 2\sec x + C.

To isolate yy we multiply both sides by cos⁡2x\cos^{2}x (which equals 1/sec⁡2x1/\sec^{2}x):

y=2sec⁡x cos⁡2x+Ccos⁡2x.y = 2\sec x\,\cos^{2}x + C\cos^{2}x.

Because sec⁡x cos⁡2x=1cos⁡x⋅cos⁡2x=cos⁡x,\sec x\,\cos^{2}x=\dfrac{1}{\cos x}\cdot\cos^{2}x=\cos x, this simplifies neatly:

y=2cos⁡x+Ccos⁡2x.y = 2\cos x + C\cos^{2}x.

Now we apply the initial condition y ⁣(π3)=0.y\!\left(\dfrac{\pi}{3}\right)=0. We know cos⁡ ⁣(π3)=12\cos\!\left(\dfrac{\pi}{3}\right)=\dfrac12, so

0=2cos⁡ ⁣(π3)+Ccos⁡2 ⁣(π3)=2(12)+C(12)2=1+C4.0 = 2\cos\!\left(\frac{\pi}{3}\right) + C\cos^{2}\!\left(\frac{\pi}{3}\right) = 2\left(\frac12\right) + C\left(\frac12\right)^{2} = 1 + \frac{C}{4}.

Solving for CC, we get

1+C4=0  ⟹  C4=−1  ⟹  C=−4.1+\frac{C}{4}=0 \;\Longrightarrow\; \frac{C}{4}=-1 \;\Longrightarrow\; C=-4.

Substituting this value back, the explicit solution becomes

y=2cos⁡x−4cos⁡2x.y = 2\cos x - 4\cos^{2}x.

Finally we calculate y ⁣(π4).y\!\left(\dfrac{\pi}{4}\right). We recall cos⁡ ⁣(π4)=22=12\cos\!\left(\dfrac{\pi}{4}\right)=\dfrac{\sqrt2}{2}=\frac1{\sqrt2} and hence cos⁡2 ⁣(π4)=12.\cos^{2}\!\left(\dfrac{\pi}{4}\right)=\frac12. Therefore

y ⁣(π4)=2cos⁡ ⁣(π4)−4cos⁡2 ⁣(π4)=2(12)−4(12)=22−2=2−2.\begin{aligned} y\!\left(\frac{\pi}{4}\right) &= 2\cos\!\left(\frac{\pi}{4}\right) - 4\cos^{2}\!\left(\frac{\pi}{4}\right)\\[4pt] &= 2\left(\frac{1}{\sqrt2}\right) - 4\left(\frac12\right)\\[4pt] &= \frac{2}{\sqrt2} - 2\\[4pt] &= \sqrt2 - 2. \end{aligned}

Hence, the correct answer is Option C.

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