RankRizz
JEE MAIN 2021 · 01 SEP S2+4 / −1MEDIUMTRANSCRIBED

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

If y=y(x)y = y(x) is the solution curve of the differential equation x2dy+(y−1x)dx=0x^2 dy + (y - \frac{1}{x}) dx = 0; x>0x > 0 and y(1)=1y(1) = 1, then y(12)y\left(\frac{1}{2}\right) is equal to:

SOLUTION

We start with the differential equation

x2 dy+(y−1x)dx=0,x>0.x^{2}\,dy+\left(y-\frac{1}{x}\right)dx=0,\qquad x>0.

First we rewrite it in the standard form dydx+P(x) y=Q(x).\dfrac{dy}{dx}+P(x)\,y=Q(x). Dividing every term by dxdx and then by x2x^{2} we obtain

dydx+1x2 y=1x3.\frac{dy}{dx}+\frac{1}{x^{2}}\,y=\frac{1}{x^{3}}.

Here we can see that P(x)=1x2P(x)=\dfrac{1}{x^{2}} and Q(x)=1x3.Q(x)=\dfrac{1}{x^{3}}.

For a linear first-order differential equation the integrating factor is given by the formula I.F.=e∫P(x) dx.\text{I.F.}=e^{\int P(x)\,dx}. Evaluating the integral, we have

∫P(x) dx=∫1x2 dx=−1x,\int P(x)\,dx=\int\frac{1}{x^{2}}\,dx=-\frac{1}{x},

so the integrating factor becomes

I.F.=e−1x.\text{I.F.}=e^{-\frac{1}{x}}.

Now we multiply the entire differential equation by this integrating factor:

e−1xdydx+e−1x1x2 y=e−1x1x3.e^{-\frac{1}{x}}\frac{dy}{dx}+e^{-\frac{1}{x}}\frac{1}{x^{2}}\,y=e^{-\frac{1}{x}}\frac{1}{x^{3}}.

The left-hand side is recognised as the derivative of the product y⋅e−1x,y\cdot e^{-\frac{1}{x}}, because

ddx(y e−1x)=e−1xdydx+y⋅e−1x⋅1x2.\frac{d}{dx}\Bigl(y\,e^{-\frac{1}{x}}\Bigr)=e^{-\frac{1}{x}}\frac{dy}{dx}+y\cdot e^{-\frac{1}{x}}\cdot\frac{1}{x^{2}}.

Hence we may rewrite the equation compactly as

ddx(y e−1x)=e−1xx3.\frac{d}{dx}\Bigl(y\,e^{-\frac{1}{x}}\Bigr)=\frac{e^{-\frac{1}{x}}}{x^{3}}.

Integrating both sides with respect to xx gives

y e−1x=∫e−1xx3 dx+C.y\,e^{-\frac{1}{x}}=\int\frac{e^{-\frac{1}{x}}}{x^{3}}\,dx+C.

To evaluate the integral on the right we use the substitution t=−1x  (so that dt=1x2 dx).t=-\frac{1}{x}\;(\text{so that }dt=\frac{1}{x^{2}}\,dx). Then

1x3 dx=1x 1x2 dx=−t dt,\frac{1}{x^{3}}\,dx=\frac{1}{x}\,\frac{1}{x^{2}}\,dx=-t\,dt,

and e−1x=et.e^{-\frac{1}{x}}=e^{t}. Therefore

∫e−1xx3 dx=∫(−t) et dt.\int\frac{e^{-\frac{1}{x}}}{x^{3}}\,dx=\int(-t)\,e^{t}\,dt.

We integrate by parts (or use the known integral) to find

∫−t et dt=−(t−1)et+C1=(1−t) et+C1.\int -t\,e^{t}\,dt=-(t-1)e^{t}+C_{1}=(1-t)\,e^{t}+C_{1}.

Undoing the substitution t=−1xt=-\dfrac{1}{x} yields

∫e−1xx3 dx=(1+1x)e−1x+C1.\int\frac{e^{-\frac{1}{x}}}{x^{3}}\,dx=\Bigl(1+\frac{1}{x}\Bigr)e^{-\frac{1}{x}}+C_{1}.

Putting this back into our earlier expression, we obtain

y e−1x=(1+1x)e−1x+C.y\,e^{-\frac{1}{x}}=\Bigl(1+\frac{1}{x}\Bigr)e^{-\frac{1}{x}}+C.

Multiplying every term by e1xe^{\frac{1}{x}} isolates yy:

y=1+1x+C e1x.y=1+\frac{1}{x}+C\,e^{\frac{1}{x}}.

We now use the initial condition y(1)=1.y(1)=1. Substituting x=1,  y=1x=1,\;y=1 gives

1=1+11+C e1⟹1=2+C e.1=1+\frac{1}{1}+C\,e^{1}\quad\Longrightarrow\quad 1=2+C\,e.

Solving for CC, we have

C e=−1⟹C=−1e.C\,e=-1\quad\Longrightarrow\quad C=-\frac{1}{e}.

Putting this value back into the expression for y(x)y(x) gives the particular solution:

y(x)=1+1x−1e e1x=1+1x−e1x−1.y(x)=1+\frac{1}{x}-\frac{1}{e}\,e^{\frac{1}{x}}=1+\frac{1}{x}-e^{\frac{1}{x}-1}.

We are asked to find y ⁣(12).y\!\left(\dfrac12\right). Setting x=12x=\dfrac12 we have 1x=2,\dfrac{1}{x}=2, so

y ⁣(12)=1+112−e2−1=1+2−e1=3−e.y\!\left(\frac12\right)=1+\frac{1}{\frac12}-e^{2-1}=1+2-e^{1}=3-e.

Hence, the correct answer is Option B.

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