QlarIITy

MathematicsJEE Main 2021 · 1 SeptemberSingle correct

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

  1. Option A: 3+e3 + e
  2. Option B: 3−e3 - e
  3. Option C: 32−1e\frac{3}{2} - \frac{1}{\sqrt{e}}
  4. Option D: 3+1e3 + \frac{1}{\sqrt{e}}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. An integrating factor can be an exponential of a power of x, here of minus the reciprocal.

Concept refresher. The linear equation y′+Py=Qy^{\prime} + Py = Q is solved by multiplying by the integrating factor e∫Pdxe^{\int Pdx}, which turns it into

(ye∫Pdx)′=Qe∫Pdx\left(ye^{\int Pdx}\right)^{\prime} = Qe^{\int Pdx}

Picture the situation. Dividing by x2dxx^2dx gives dydx+yx2=1x3\dfrac{dy}{dx} + \dfrac{y}{x^2} = \dfrac{1}{x^3}, a linear equation with P=1x2P = \dfrac{1}{x^2}. Since ∫Pdx=−1x\int Pdx = -\dfrac{1}{x}, the integrating factor is e−1/xe^{-1/x}.

Approach. Integrate the right side with a substitution, fit the constant and evaluate.

  1. Step 1: Integrating

    The equation becomes (ye−1/x)′=e−1/xx3\left(ye^{-1/x}\right)^{\prime} = \dfrac{e^{-1/x}}{x^3}. With t=−1xt = -\dfrac{1}{x}, dt=dxx2dt = \dfrac{dx}{x^2}, the right side integrates as ∫(−t)etdt=(1−t)et\int(-t)e^tdt = (1 - t)e^t, which is (1+1x)e−1/x\left(1 + \dfrac{1}{x}\right)e^{-1/x}.

  2. Step 2: The solution

    So y=1+1x+Ce1/xy = 1 + \dfrac{1}{x} + Ce^{1/x}. The condition y(1)=1y(1) = 1 gives 2+Ce=12 + Ce = 1, so C=−1eC = -\dfrac{1}{e}.

  3. Step 3: The value

    Putting x=12x = \dfrac{1}{2} into the solution gives y=1+2−1e×e2y = 1 + 2 - \dfrac{1}{e} \times e^2, which is 3−e3 - e.

Answer. (B) 3−e3 - e

Sanity check. For y=1+1x−e1/x−1y = 1 + \dfrac{1}{x} - e^{1/x - 1}, the sum y′+yx2y^{\prime} + \dfrac{y}{x^2} leaves only 1x3\dfrac{1}{x^3}, since the exponential terms and the terms ±1x2\pm\dfrac{1}{x^2} cancel.

Why the other options are wrong

  • (A) The exponential term enters with the negative constant C=−1eC = -\dfrac{1}{e}, so ee is subtracted, not added.
  • (C) This is about 0.89; it would need 1+1x1 + \dfrac{1}{x} to be 32\dfrac{3}{2}, but at x=12x = \dfrac{1}{2} it is 3.
  • (D) This has 1e\dfrac{1}{\sqrt{e}} added, but the exponential term is −1e×e2=−e-\dfrac{1}{e} \times e^2 = -e.

Key takeaway

The trap. The substitution brings a minus sign with the reciprocal of x.

How toppers think. They differentiate the answer mentally to confirm the integral of the right side.

Remember. ∫tetdt=(t−1)et+C\int te^tdt = (t - 1)e^t + C

More on Linear Differential Equations