QlarIITy

MathematicsJEE Main 2024 · 6 AprilSingle correct

Let y=y(x)y = y(x) be the solution of the differential equation (1+x2)dydx+y=etan⁡−1x,y(1)=0(1 + x^2)\frac{dy}{dx} + y = e^{\tan^{-1}x}, y(1) = 0. Then y(0)y(0) is

  1. Option A: 12(eπ/2−1)\frac{1}{2}\left(e^{\pi/2} - 1\right)
  2. Option B: 12(1−eπ/2)\frac{1}{2}\left(1 - e^{\pi/2}\right)
  3. Option C: 14(1−eπ/2)\frac{1}{4}\left(1 - e^{\pi/2}\right)
  4. Option D: 14(eπ/2−1)\frac{1}{4}\left(e^{\pi/2} - 1\right)
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 the coefficient of y is the derivative of a function, that function is the natural 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. Dividing by 1+x21 + x^2 gives dydx+y1+x2=etan⁡−1x1+x2\dfrac{dy}{dx} + \dfrac{y}{1 + x^2} = \dfrac{e^{\tan^{-1}x}}{1 + x^2}, a linear equation with P=11+x2P = \dfrac{1}{1 + x^2}. With t=tan⁡−1xt = \tan^{-1}x, ∫Pdx=t\int Pdx = t and dt=dx1+x2dt = \dfrac{dx}{1 + x^2}.

Approach. Integrate with the variable t, fit the constant at 1, and evaluate at 0.

  1. Step 1: Integrating

    By the refresher the factor is ete^t, and (yet)′=e2t1+x2\left(ye^t\right)^{\prime} = \dfrac{e^{2t}}{1 + x^2}, so yet=∫e2tdt=e2t2+Cye^t = \int e^{2t}dt = \dfrac{e^{2t}}{2} + C.

  2. Step 2: The constant

    At x=1x = 1, t=π4t = \dfrac{\pi}{4} and y=0y = 0, so 0=eπ/22+C0 = \dfrac{e^{\pi/2}}{2} + C and C=−eπ/22C = -\dfrac{e^{\pi/2}}{2}. At x=0x = 0, t=0t = 0 and et=1e^t = 1, so y(0)=12−eπ/22=12(1−eπ/2)y(0) = \dfrac{1}{2} - \dfrac{e^{\pi/2}}{2} = \dfrac{1}{2}\left(1 - e^{\pi/2}\right).

Answer. (B) 12(1−eπ/2)\dfrac{1}{2}\left(1 - e^{\pi/2}\right)

Sanity check. The value is about 1−4.812=−1.9\dfrac{1 - 4.81}{2} = -1.9, negative. That fits: the product yetye^t has a positive derivative, so it increases with xx and reaches 0 at x=1x = 1, which means it is negative at x=0x = 0.

Why the other options are wrong

  • (A) This is positive, about 1.9, but yetye^t increases to 0 at x=1x = 1, so y(0)y(0) is negative.
  • (C) This has 14\dfrac{1}{4}, but ∫e2tdt=e2t2\int e^{2t}dt = \dfrac{e^{2t}}{2}, which gives the factor 12\dfrac{1}{2}.
  • (D) This is positive and has the factor 14\dfrac{1}{4}; the correct value is negative, with the factor 12\dfrac{1}{2}.

Key takeaway

The trap. The condition is given at 1 and the value is asked at 0, so the constant is negative.

How toppers think. They predict the sign of the answer from the direction in which the product changes.

Remember. (yetan⁡−1x)′=e2tan⁡−1x1+x2\left(ye^{\tan^{-1}x}\right)^{\prime} = \dfrac{e^{2\tan^{-1}x}}{1 + x^2}

More on Linear Differential Equations