QlarIITy

MathematicsJEE Main 2021 · 26 AugustSingle correct

Let y=y(x)y = y(x) be a solution curve of the differential equation (y+1)tan⁡2xdx+tan⁡xdy+ydx=0(y + 1)\tan^2 xdx + \tan xdy + ydx = 0, x∈(0,π2)x \in \left(0, \frac{\pi}{2}\right). If lim⁡x→0+xy(x)=1\lim_{x \to 0^+}xy(x) = 1, then the value of y(π4)y\left(\frac{\pi}{4}\right) is:

  1. Option A: π4+1\frac{\pi}{4} + 1
  2. Option B: π4−1\frac{\pi}{4} - 1
  3. Option C: π4\frac{\pi}{4}
  4. Option D: −π4-\frac{\pi}{4}
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 limit condition at a point where the solution is unbounded still fixes the constant of integration.

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. Collecting terms, tan⁡xdydx+y(1+tan⁡2x)=−tan⁡2x\tan x\dfrac{dy}{dx} + y\left(1 + \tan^2 x\right) = -\tan^2 x, that is dydx+sec⁡2xtan⁡xy=−tan⁡x\dfrac{dy}{dx} + \dfrac{\sec^2 x}{\tan x}y = -\tan x. Here ∫Pdx=log⁡etan⁡x\int Pdx = \log_e\tan x, so the integrating factor is tan⁡x\tan x.

Approach. Integrate, find the constant from the limit, and evaluate.

  1. Step 1: Integrating

    By the refresher the left side is an exact derivative, (ytan⁡x)′=−tan⁡2x=1−sec⁡2x\left(y\tan x\right)^{\prime} = -\tan^2 x = 1 - \sec^2 x, and integrating both sides gives ytan⁡x=x−tan⁡x+Cy\tan x = x - \tan x + C.

  2. Step 2: The constant

    Then xy=xtan⁡x(x−tan⁡x+C)xy = \dfrac{x}{\tan x}\left(x - \tan x + C\right). As x→0+x \to 0^+, xtan⁡x→1\dfrac{x}{\tan x} \to 1 and x−tan⁡x→0x - \tan x \to 0, so the limit is CC, and the condition gives C=1C = 1. At x=π4x = \dfrac{\pi}{4}, tan⁡x=1\tan x = 1, so y=π4−1+1=π4y = \dfrac{\pi}{4} - 1 + 1 = \dfrac{\pi}{4}.

Answer. (C) π4\dfrac{\pi}{4}

Sanity check. Near x=0x = 0 the solution behaves like 1tan⁡x\dfrac{1}{\tan x}, about 1x\dfrac{1}{x}, which is exactly what the condition on the limit of xyxy says.

Why the other options are wrong

  • (A) This would need C=2C = 2, but the limit of xyxy at 0 equals CC, which is 1.
  • (B) This would need C=0C = 0, but then xy→0xy \to 0 at 0, against the condition that the limit is 1.
  • (D) This has the wrong sign: with C=1C = 1 the terms −1-1 and +1+1 cancel and leave +π4+\dfrac{\pi}{4}.

Key takeaway

The trap. The solution is not defined at 0, so the condition is on a product, not on y.

How toppers think. They use the standard limit of x over the tangent of x to read the constant at once.

Remember. −tan⁡2x=1−sec⁡2x-\tan^2 x = 1 - \sec^2 x

More on Linear Differential Equations