QlarIITy

MathematicsJEE Main 2025 · 24 JanuaryInteger

Let y=y(x)y = y(x) be the solution of the differential equation2cos⁡xdydx=sin⁡2x−4ysin⁡x,x∈(0,π2)2\cos x\frac{dy}{dx} = \sin 2x - 4y\sin x, x \in \left(0, \frac{\pi}{2}\right). If y(π3)=0y\left(\frac{\pi}{3}\right) = 0, then y′(π4)+y(π4)y^{\prime}\left(\frac{\pi}{4}\right) + y\left(\frac{\pi}{4}\right) is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. The integrating factor of a linear equation with a tangent coefficient is a power of the secant.

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 2cos⁡x2\cos x, which is positive on the interval, gives dydx+2tan⁡x×y=sin⁡x\dfrac{dy}{dx} + 2\tan x \times y = \sin x, a linear equation with P=2tan⁡xP = 2\tan x and Q=sin⁡xQ = \sin x.

Approach. Solve with the integrating factor, then evaluate the solution and its derivative.

  1. Step 1: The integrating factor

    Here ∫Pdx=2log⁡esec⁡x\int Pdx = 2\log_e\sec x, so the factor is sec⁡2x\sec^2 x and (ysec⁡2x)′=sin⁡xsec⁡2x=sec⁡xtan⁡x\left(y\sec^2 x\right)^{\prime} = \sin x\sec^2 x = \sec x\tan x.

  2. Step 2: The solution

    Integrating, ysec⁡2x=sec⁡x+Cy\sec^2 x = \sec x + C. The condition y(π3)=0y\left(\dfrac{\pi}{3}\right) = 0 gives 0=2+C0 = 2 + C, so C=−2C = -2 and y=cos⁡x−2cos⁡2xy = \cos x - 2\cos^2 x.

  3. Step 3: The value

    Then y′=−sin⁡x+2sin⁡2xy^{\prime} = -\sin x + 2\sin 2x. At x=π4x = \dfrac{\pi}{4}, y=12−1y = \dfrac{1}{\sqrt{2}} - 1 and y′=2−12y^{\prime} = 2 - \dfrac{1}{\sqrt{2}}, so y′+y=1y^{\prime} + y = 1.

Answer. 1

Sanity check. The equation itself gives y′=sin⁡x−2tan⁡x×yy^{\prime} = \sin x - 2\tan x \times y, so at π4\dfrac{\pi}{4}, y′+y=12−yy^{\prime} + y = \dfrac{1}{\sqrt{2}} - y, which is 12−(12−1)=1\dfrac{1}{\sqrt{2}} - \left(\dfrac{1}{\sqrt{2}} - 1\right) = 1.

Common wrong answers

  • -1: Taking C=2C = 2 gives y=cos⁡x+2cos⁡2xy = \cos x + 2\cos^2 x, and then y′+y=−1y^{\prime} + y = -1 at π4\dfrac{\pi}{4}.

Key takeaway

The trap. At a third of pi the secant is 2, which makes the constant negative.

How toppers think. They take the slope from the differential equation itself, so only the value of y is needed.

Remember. (ysec⁡2x)′=sec⁡xtan⁡x\left(y\sec^2 x\right)^{\prime} = \sec x\tan x

More on Linear Differential Equations