RankRizz
JEE MAIN 2019 · 10 APR S1+4 / −1MEDIUMTRANSCRIBED

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

If y=y(x)y = y(x) is the solution of the differential equation dydx=(tan⁡x−y)sec⁡2x\frac{dy}{dx} = (\tan x - y)\sec^2 x, x∈(−π2,π2)x \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), such that y(0)=0y(0) = 0, then y(−π4)y\left(-\frac{\pi}{4}\right) is equal to:

SOLUTION

We have the first-order differential equation

dydx=(tan⁡x−y)sec⁡2x,x∈(−π2,π2).\frac{dy}{dx}= (\tan x - y)\sec^{2}x, \qquad x\in\left(-\frac{\pi}{2},\frac{\pi}{2}\right).

First, we expand the right-hand side to put the equation in the standard linear form dydx+P(x) y=Q(x).\dfrac{dy}{dx}+P(x)\,y=Q(x).

Multiplying out,

dydx=tan⁡xsec⁡2x−ysec⁡2x.\frac{dy}{dx}= \tan x\sec^{2}x - y\sec^{2}x.

Now we bring the term containing yy to the left:

dydx+ysec⁡2x=tan⁡xsec⁡2x.\frac{dy}{dx}+y\sec^{2}x=\tan x\sec^{2}x.

Comparing with the standard form, we identify

P(x)=sec⁡2x,Q(x)=tan⁡xsec⁡2x.P(x)=\sec^{2}x,\qquad Q(x)=\tan x\sec^{2}x.

For a linear equation, the integrating factor is given by

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

Since P(x)=sec⁡2xP(x)=\sec^{2}x and we know ∫sec⁡2x dx=tan⁡x,\int\sec^{2}x\,dx=\tan x, we obtain

IF=etan⁡x.\text{IF}=e^{\tan x}.

Multiplying the entire differential equation by this integrating factor, we get

etan⁡xdydx+ysec⁡2x etan⁡x=tan⁡xsec⁡2x etan⁡x.e^{\tan x}\frac{dy}{dx}+y\sec^{2}x\,e^{\tan x}= \tan x\sec^{2}x\,e^{\tan x}.

The left-hand side is now the exact derivative of yetan⁡xy e^{\tan x} with respect to xx, because

ddx(yetan⁡x)=etan⁡xdydx+ysec⁡2x etan⁡x.\frac{d}{dx}\bigl(y e^{\tan x}\bigr)=e^{\tan x}\frac{dy}{dx}+y\sec^{2}x\,e^{\tan x}.

Therefore, we can write

ddx(yetan⁡x)=tan⁡xsec⁡2x etan⁡x.\frac{d}{dx}\bigl(y e^{\tan x}\bigr)=\tan x\sec^{2}x\,e^{\tan x}.

Next we integrate both sides with respect to xx:

∫ddx(yetan⁡x) dx=∫tan⁡xsec⁡2x etan⁡x dx.\int \frac{d}{dx}\bigl(y e^{\tan x}\bigr)\,dx=\int \tan x\sec^{2}x\,e^{\tan x}\,dx.

The left integral is simply

yetan⁡x+C1,y e^{\tan x}+C_{1},

but we absorb the constant of integration into a single constant later. For the right integral, we make the substitution

u=tan⁡x⟹du=sec⁡2x dx.u=\tan x\quad\Longrightarrow\quad du=\sec^{2}x\,dx.

This changes the integral to

∫ueu du.\int u e^{u}\,du.

We now recall the standard formula

∫ueu du=(u−1)eu+C2.\int u e^{u}\,du=(u-1)e^{u}+C_{2}.

Reverting to u=tan⁡xu=\tan x, we have

∫tan⁡xsec⁡2x etan⁡x dx=(tan⁡x−1)etan⁡x+C2.\int \tan x\sec^{2}x\,e^{\tan x}\,dx=(\tan x-1)e^{\tan x}+C_{2}.

Putting both sides together and renaming the constant C2−C1C_{2}-C_{1} simply as CC, we obtain

yetan⁡x=(tan⁡x−1)etan⁡x+C.y e^{\tan x}=(\tan x-1)e^{\tan x}+C.

Dividing by etan⁡xe^{\tan x} gives an explicit expression for yy:

y=tan⁡x−1+Ce−tan⁡x.y=\tan x-1+Ce^{-\tan x}.

We now use the initial condition y(0)=0y(0)=0. At x=0x=0 we have tan⁡0=0\tan 0=0 and e−tan⁡0=e0=1e^{-\tan 0}=e^{0}=1, hence

0=(tan⁡0)−1+Ce−tan⁡0  ⟹  0=0−1+C(1).0=\bigl(\tan 0\bigr)-1+C e^{-\tan 0}\; \Longrightarrow\; 0=0-1+C(1).

So

C=1.C=1.

Therefore the particular solution satisfying the given condition is

y(x)=tan⁡x−1+e−tan⁡x.y(x)=\tan x-1+e^{-\tan x}.

We are asked to find y ⁣(−π4).y\!\left(-\dfrac{\pi}{4}\right). First compute tan⁡ ⁣(−π4)=−1.\tan\!\left(-\dfrac{\pi}{4}\right)=-1. Substituting into the expression for yy, we get

y ⁣(−π4)=(−1)−1+e−(−1)=−2+e1=e−2.y\!\left(-\frac{\pi}{4}\right)=\bigl(-1\bigr)-1+e^{-(-1)}=-2+e^{1}=e-2.

On comparing with the given options, we see that e−2e-2 corresponds to Option C (Option 3 in the list).

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