QlarIITy

MathematicsJEE Main 2022 · 26 JuneSingle correct

Ifdydx+ex(x2−2)y=(x2−2x)(x2−2)e2x\frac{dy}{dx} + e^x(x^2 - 2)y = (x^2 - 2x)(x^2 - 2)e^{2x}and y(0)=0y(0) = 0, then the value of y(2)y(2) is

  1. Option A: −1
  2. Option B: 1
  3. Option C: 0
  4. Option D: 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. When a coefficient is the derivative of a recognisable function, that function is used as the variable.

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. Put u=ex(x2−2x)u = e^x(x^2 - 2x). Then

u′=ex(x2−2x)+ex(2x−2)=ex(x2−2)\begin{aligned} u^{\prime} &= e^x(x^2 - 2x) + e^x(2x - 2) \\[4pt] &= e^x(x^2 - 2) \end{aligned}

so the equation is dydx+u′y=uu′\dfrac{dy}{dx} + u^{\prime}y = uu^{\prime}, which is linear with P=u′P = u^{\prime}.

Approach. Use the exponential of u as integrating factor and integrate in u.

  1. Step 1: Integrating

    By the refresher the factor is eue^u, so (yeu)′=ueuu′\left(ye^u\right)^{\prime} = ue^uu^{\prime}. Integrating in uu gives yeu=(u−1)eu+Cye^u = (u - 1)e^u + C, that is y=u−1+Ce−uy = u - 1 + Ce^{-u}.

  2. Step 2: The constant

    At x=0x = 0 both uu and yy are 0, so 0=−1+C0 = -1 + C, which gives the constant C=1C = 1.

  3. Step 3: The value

    At x=2x = 2 the bracket x2−2xx^2 - 2x vanishes, so u=0u = 0 again and y(2)=0−1+1=0y(2) = 0 - 1 + 1 = 0.

Answer. (C) 0

Sanity check. The solution depends on xx only through uu, and uu has the same value 0 at x=0x = 0 and at x=2x = 2, so yy must return to its starting value.

Why the other options are wrong

  • (A) The value −1 is u−1u - 1 at u=0u = 0 without the term Ce−uCe^{-u}, which adds 1.
  • (B) The value 1 is the term Ce−uCe^{-u} alone at u=0u = 0, without the −1-1 of u−1u - 1.
  • (D) The value ee would need u=−1u = -1 in the term e−ue^{-u}, but u=0u = 0 at x=2x = 2.

Key takeaway

The trap. The function u vanishes at both ends, which is easy to miss if the algebra is done in x.

How toppers think. They see that the answer depends only on u and compare its values at the two points.

Remember. (ex(x2−2x))′=ex(x2−2)\left(e^x(x^2 - 2x)\right)^{\prime} = e^x(x^2 - 2)

More on Linear Differential Equations