QlarIITy

MathematicsJEE Main 2021 · 20 JulySingle correct

Let y=y(x)y = y(x) satisfies the equation dydx−∣A∣=0\frac{dy}{dx} - |A| = 0, for all x>0x > 0, where A=[ysin⁡x10−11201x]A = \begin{bmatrix} y & \sin x & 1 \\ 0 & -1 & 1 \\ 2 & 0 & \frac{1}{x} \end{bmatrix}. If y(π)=π+2y(\pi) = \pi + 2, then the value of y(π2)y\left(\frac{\pi}{2}\right) is:

  1. Option A: π2+4π\frac{\pi}{2} + \frac{4}{\pi}
  2. Option B: π2−1π\frac{\pi}{2} - \frac{1}{\pi}
  3. Option C: 3π2−1π\frac{3\pi}{2} - \frac{1}{\pi}
  4. Option D: π2−4π\frac{\pi}{2} - \frac{4}{\pi}
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. A determinant that contains the unknown in one entry is linear in it, so the equation is linear.

Concept refresher. The product rule read backwards:

xdydx+y=ddx(xy)x\dfrac{dy}{dx} + y = \dfrac{d}{dx}(xy)

so an equation with this left side is integrated at once.

Picture the situation. Expanding along the first row,

∣A∣=y(−1x−0)   −sin⁡x(0−2)+1(0+2)=−yx+2sin⁡x+2\begin{aligned} |A| &= y\left(-\dfrac{1}{x} - 0\right) \\[4pt] &\ \ \ - \sin x(0 - 2) + 1(0 + 2) \\[4pt] &= -\dfrac{y}{x} + 2\sin x + 2 \end{aligned}

So the equation is dydx+yx=2sin⁡x+2\dfrac{dy}{dx} + \dfrac{y}{x} = 2\sin x + 2.

Approach. Multiply by x, integrate by parts, fit the constant and evaluate.

  1. Step 1: An exact derivative

    Multiplying by xx and using the refresher, (xy)′=2xsin⁡x+2x(xy)^{\prime} = 2x\sin x + 2x. By parts, ∫2xsin⁡xdx=−2xcos⁡x+2sin⁡x\int 2x\sin xdx = -2x\cos x + 2\sin x, so xy=−2xcos⁡x+2sin⁡x+x2+Cxy = -2x\cos x + 2\sin x + x^2 + C.

  2. Step 2: The constant

    At x=πx = \pi, π(π+2)=2π+0+π2+C\pi(\pi + 2) = 2\pi + 0 + \pi^2 + C, so the constant is C=0C = 0. At x=π2x = \dfrac{\pi}{2}, π2y=0+2+π24\dfrac{\pi}{2}y = 0 + 2 + \dfrac{\pi^2}{4}, so y(π2)=4π+π2y\left(\dfrac{\pi}{2}\right) = \dfrac{4}{\pi} + \dfrac{\pi}{2}.

Answer. (A) π2+4π\dfrac{\pi}{2} + \dfrac{4}{\pi}

Sanity check. The value is about 1.57+1.27=2.841.57 + 1.27 = 2.84, below y(π)y(\pi), which is about 5.14; the slope 2sin⁡x+2−yx2\sin x + 2 - \dfrac{y}{x} is positive in between, so yy should indeed be smaller at π2\dfrac{\pi}{2}.

Why the other options are wrong

  • (B) This has −1π-\dfrac{1}{\pi}; the term 2sin⁡x=22\sin x = 2 divided by π2\dfrac{\pi}{2} gives +4π+\dfrac{4}{\pi}.
  • (C) This has 3π2\dfrac{3\pi}{2}, but the term x2x^2 divided by xx gives π2\dfrac{\pi}{2} at this point.
  • (D) This has −4π-\dfrac{4}{\pi}; the sine of π2\dfrac{\pi}{2} is +1+1, so the term enters with a plus sign.

Key takeaway

The trap. The cofactor of the second entry of the first row carries a minus sign.

How toppers think. They expand along the row that contains y and keep the other entries as numbers.

Remember. ∫xsin⁡xdx\int x\sin xdx is −xcos⁡x+sin⁡x+C-x\cos x + \sin x + C

More on Linear Differential Equations