QlarIITy

MathematicsJEE Main 2025 · 3 AprilSingle correct

Let y=y(x)y = y(x) be the solution of the differential equation dydx+3(tan⁡2x)y+3y=sec⁡2x\frac{dy}{dx} + 3(\tan^2 x)y + 3y = \sec^2 x, y(0)=13+e3y(0) = \frac{1}{3} + e^3. Then y(π4)y\left(\frac{\pi}{4}\right) is equal to

  1. Option A: 23\frac{2}{3}
  2. Option B: 43\frac{4}{3}
  3. Option C: 43+e3\frac{4}{3} + e^3
  4. Option D: 23+e3\frac{2}{3} + e^3
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 linear equation is solved by the integrating factor, which makes the left side an exact derivative.

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. Since tan⁡2x+1=sec⁡2x\tan^2 x + 1 = \sec^2 x, the equation is dydx+3sec⁡2x×y=sec⁡2x\dfrac{dy}{dx} + 3\sec^2 x \times y = \sec^2 x, which is linear with P=3sec⁡2xP = 3\sec^2 x and Q=sec⁡2xQ = \sec^2 x.

Approach. Use the integrating factor, fit the constant, and evaluate.

  1. Step 1: The integrating factor

    Here ∫Pdx=3tan⁡x\int Pdx = 3\tan x, so the factor is e3tan⁡xe^{3\tan x} and (ye3tan⁡x)′=sec⁡2xe3tan⁡x\left(ye^{3\tan x}\right)^{\prime} = \sec^2 xe^{3\tan x}.

  2. Step 2: The solution

    Integrating, ye3tan⁡x=13e3tan⁡x+Cye^{3\tan x} = \dfrac{1}{3}e^{3\tan x} + C, so y=13+Ce−3tan⁡xy = \dfrac{1}{3} + Ce^{-3\tan x}. The condition y(0)=13+e3y(0) = \dfrac{1}{3} + e^3 gives C=e3C = e^3. At x=π4x = \dfrac{\pi}{4}, tan⁡x=1\tan x = 1, so y=13+e3×e−3=43y = \dfrac{1}{3} + e^3 \times e^{-3} = \dfrac{4}{3}.

Answer. (B) 43\dfrac{4}{3}

Sanity check. At x=0x = 0 the solution y=13+e3e−3tan⁡xy = \dfrac{1}{3} + e^3e^{-3\tan x} gives 13+e3\dfrac{1}{3} + e^3, the starting value, and it decreases towards 13\dfrac{1}{3} as tan⁡x\tan x grows.

Smart method. The constant y=13y = \dfrac{1}{3} satisfies the equation, because then 3sec⁡2x×y=sec⁡2x3\sec^2 x \times y = \sec^2 x. The rest, z=y−13z = y - \dfrac{1}{3}, satisfies z′=−3sec⁡2x×zz^{\prime} = -3\sec^2 x \times z, so z=e3e−3tan⁡xz = e^3e^{-3\tan x}, which is 1 at π4\dfrac{\pi}{4}. Hence y=43y = \dfrac{4}{3}.

Why the other options are wrong

  • (A) This would need e3×e−3tan⁡x=13e^3 \times e^{-3\tan x} = \dfrac{1}{3} at π4\dfrac{\pi}{4}, but the product is exactly 1.
  • (C) This keeps e3e^3 as if the factor e−3tan⁡xe^{-3\tan x} had become 1; at π4\dfrac{\pi}{4} it is e−3e^{-3}.
  • (D) This adds e3e^3 to 23\dfrac{2}{3}; the exponential term is e3×e−3=1e^3 \times e^{-3} = 1, and it is added to 13\dfrac{1}{3}.

Key takeaway

The trap. The starting value is chosen so that the exponentials cancel at the end.

How toppers think. They spot the constant solution first and add the decaying exponential to it.

Remember. tan⁡2x+1=sec⁡2x\tan^2 x + 1 = \sec^2 x

More on Linear Differential Equations