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

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

Let y=yxy = yx be the solution of the differential equation, dydx+ytan⁡x=2x+x2tan⁡x\frac{dy}{dx} + y\tan x = 2x + x^2\tan x, x∈(−π2,π2)x \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), such that y(0)=1y(0) = 1. Then

SOLUTION

We begin with the given linear differential equation

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

The standard form is dydx+P(x) y=Q(x),\frac{dy}{dx}+P(x)\,y=Q(x), where here we have P(x)=tan⁡xandQ(x)=2x+x2tan⁡x.P(x)=\tan x \quad\text{and}\quad Q(x)=2x+x^{2}\tan x.

For such an equation the integrating factor is defined by

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

Evaluating the integral, we note that ∫tan⁡x dx=−ln⁡∣cos⁡x∣,\int\tan x\,dx=-\ln|\cos x|, so

I.F.=e−ln⁡∣cos⁡x∣=1cos⁡x=sec⁡x.\text{I.F.}=e^{-\ln|\cos x|}=\frac{1}{\cos x}=\sec x.

Multiplying every term of the differential equation by this integrating factor gives

sec⁡x dydx+ysec⁡xtan⁡x=(2x)sec⁡x+x2sec⁡xtan⁡x.\sec x\,\frac{dy}{dx}+y\sec x\tan x=(2x)\sec x+x^{2}\sec x\tan x.

Because ddx(sec⁡x)=sec⁡xtan⁡x,\frac{d}{dx}(\sec x)=\sec x\tan x, the left-hand side is recognized as the derivative of the product ysec⁡xy\sec x:

ddx(ysec⁡x)=2xsec⁡x+x2sec⁡xtan⁡x.\frac{d}{dx}\bigl(y\sec x\bigr)=2x\sec x+x^{2}\sec x\tan x.

We now integrate both sides with respect to xx:

ysec⁡x=∫(2xsec⁡x+x2sec⁡xtan⁡x) dx+C,y\sec x=\int\bigl(2x\sec x+x^{2}\sec x\tan x\bigr)\,dx+C,

where CC is the constant of integration. To evaluate the integral we observe that

ddx(x2sec⁡x)=2xsec⁡x+x2sec⁡xtan⁡x,\frac{d}{dx}\bigl(x^{2}\sec x\bigr)=2x\sec x+x^{2}\sec x\tan x,

which is exactly the integrand. Therefore

∫(2xsec⁡x+x2sec⁡xtan⁡x) dx=x2sec⁡x.\int\bigl(2x\sec x+x^{2}\sec x\tan x\bigr)\,dx=x^{2}\sec x.

Substituting back, we obtain

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

Multiplying by cos⁡x\cos x gives the explicit solution

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

To determine CC we use the initial condition y(0)=1y(0)=1. Since cos⁡0=1,\cos 0=1, we have

1=02+C⋅1  ⟹  C=1.1=0^{2}+C\cdot1\;\Longrightarrow\;C=1.

Hence the required function is

y(x)=x2+cos⁡x.y(x)=x^{2}+\cos x.

We now differentiate to find y′(x)y'(x):

y′(x)=ddx(x2)+ddx(cos⁡x)=2x−sin⁡x.y'(x)=\frac{d}{dx}\bigl(x^{2}\bigr)+\frac{d}{dx}\bigl(\cos x\bigr)=2x-\sin x.

First, evaluate at x=π4:x=\frac{\pi}{4}:

y′ ⁣(π4)=2(π4)−sin⁡ ⁣(π4)=π2−12=π2−22.y'\!\left(\frac{\pi}{4}\right)=2\left(\frac{\pi}{4}\right)-\sin\!\left(\frac{\pi}{4}\right)=\frac{\pi}{2}-\frac{1}{\sqrt{2}}=\frac{\pi}{2}-\frac{\sqrt{2}}{2}.

Next, evaluate at x=−π4:x=-\frac{\pi}{4}:

sin⁡ ⁣(−π4)=−12,\sin\!\left(-\frac{\pi}{4}\right)=-\frac{1}{\sqrt{2}},

so

y′ ⁣(−π4)=2 ⁣(−π4)− ⁣(−12)=−π2+12=−π2+22.y'\!\left(-\frac{\pi}{4}\right)=2\!\left(-\frac{\pi}{4}\right)-\!\left(-\frac{1}{\sqrt{2}}\right)=-\frac{\pi}{2}+\frac{1}{\sqrt{2}}=-\frac{\pi}{2}+\frac{\sqrt{2}}{2}.

We now form the required difference:

y′ ⁣(π4)−y′ ⁣(−π4)=(π2−22)−(−π2+22)=π2−22+π2−22=π−2.\begin{aligned} y'\!\left(\frac{\pi}{4}\right)-y'\!\left(-\frac{\pi}{4}\right) &=\left(\frac{\pi}{2}-\frac{\sqrt{2}}{2}\right)-\left(-\frac{\pi}{2}+\frac{\sqrt{2}}{2}\right)\\[4pt] &=\frac{\pi}{2}-\frac{\sqrt{2}}{2}+\frac{\pi}{2}-\frac{\sqrt{2}}{2}\\[4pt] &=\pi-\sqrt{2}. \end{aligned}

Thus

y′ ⁣(π4)−y′ ⁣(−π4)=π−2.y'\!\left(\frac{\pi}{4}\right)-y'\!\left(-\frac{\pi}{4}\right)=\pi-\sqrt{2}.

None of the other stated combinations match this value, so the option that asserts this exact difference is the true one.

Hence, the correct answer is Option A.

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