QlarIITy

MathematicsJEE Main 2026 · 21 JanuarySingle correct

Let y=y(x)y = y(x) be the solution of the differential equationsec⁡xdydx−2y=2+3sin⁡x\sec x\frac{dy}{dx} - 2y = 2 + 3\sin x, x∈(−π2,π2)x \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), y(0)=−74y(0) = -\frac{7}{4}. Then y(π6)y\left(\frac{\pi}{6}\right) is equal to :

  1. Option A: −52-\frac{5}{2}
  2. Option B: −32−7-3\sqrt{2} - 7
  3. Option C: −54-\frac{5}{4}
  4. Option D: −33−7-3\sqrt{3} - 7
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. Put the equation in the form dydx+Py=Q\frac{dy}{dx} + Py = Q before reading off the integrating factor.

Concept refresher. A linear equation dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) has integrating factor μ=e∫P dx\mu = e^{\int P\ dx}, and its solution satisfies

yμ=∫Qμ dx+Cy\mu = \int Q\mu\ dx + C

Integration by parts: ∫u dv=uv−∫v du\int u\ dv = uv - \int v\ du.

Approach. Divide by sec⁡x\sec x, find the integrating factor, integrate with t=sin⁡xt = \sin x, then fix the constant from y(0)=−74y(0) = -\frac{7}{4}.

  1. Step 1: Standard linear form

    Multiplying the equation by cos⁡x\cos x, which is positive on (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right), gives the standard form with P=−2cos⁡xP = -2\cos x:

    dydx−2cos⁡x⋅y=(2+3sin⁡x)cos⁡x\frac{dy}{dx} - 2\cos x \cdot y = (2 + 3\sin x)\cos x

    The integrating factor is e∫−2cos⁡x dx=e−2sin⁡xe^{\int -2\cos x\ dx} = e^{-2\sin x}.

  2. Step 2: Integrate the right side

    With t=sin⁡xt = \sin x, dt=cos⁡x dxdt = \cos x\ dx, the right side becomes an integral in tt, done by parts:

    ∫(2+3t)e−2t dt=−(2+3t)e−2t2−3e−2t4=−e−2t(74+3t2)\begin{aligned} \int (2 + 3t)e^{-2t}\ dt &= -\frac{(2 + 3t)e^{-2t}}{2} - \frac{3e^{-2t}}{4} \\[4pt] &= -e^{-2t}\left(\frac{7}{4} + \frac{3t}{2}\right) \end{aligned}
  3. Step 3: General solution

    Putting t=sin⁡xt = \sin x back and dividing by the integrating factor gives yy; from ye−2sin⁡x=−e−2sin⁡x(74+32sin⁡x)+Cye^{-2\sin x} = -e^{-2\sin x}\left(\frac{7}{4} + \frac{3}{2}\sin x\right) + C,

    y=−74−32sin⁡x+Ce2sin⁡xy = -\frac{7}{4} - \frac{3}{2}\sin x + Ce^{2\sin x}
  4. Step 4: Use the initial value

    At x=0x = 0, y=−74+C=−74y = -\frac{7}{4} + C = -\frac{7}{4}, so C=0C = 0. Then at x=π6x = \frac{\pi}{6}:

    y(π6)=−74−32⋅12=−52y\left(\frac{\pi}{6}\right) = -\frac{7}{4} - \frac{3}{2} \cdot \frac{1}{2} = -\frac{5}{2}

Answer. (A) −52-\frac{5}{2}

Sanity check. With y=−74−32sin⁡xy = -\frac{7}{4} - \frac{3}{2}\sin x, dydx=−32cos⁡x\frac{dy}{dx} = -\frac{3}{2}\cos x, so sec⁡xdydx−2y\sec x\frac{dy}{dx} - 2y =−32+72+3sin⁡x= -\frac{3}{2} + \frac{7}{2} + 3\sin x =2+3sin⁡x= 2 + 3\sin x, as required.

Smart method. Try a solution of the form y=p+qsin⁡xy = p + q\sin x, since the right side is 2+3sin⁡x2 + 3\sin x: then sec⁡x⋅qcos⁡x−2p−2qsin⁡x=2+3sin⁡x\sec x \cdot q\cos x - 2p - 2q\sin x = 2 + 3\sin x gives q=−32q = -\frac{3}{2} and p=−74p = -\frac{7}{4}. It already meets y(0)=−74y(0) = -\frac{7}{4}, and the solution of an initial value problem is unique, so it is the answer. This guess is safe only because it satisfies both the equation and the initial value.

Why the other options are wrong

  • (B) Since y=−74−32sin⁡xy = -\frac{7}{4} - \frac{3}{2}\sin x, every value of yy lies between −134-\frac{13}{4} and −14-\frac{1}{4}; −32−7≈−11.2-3\sqrt{2} - 7 \approx -11.2 is far outside, and it equals 4y(π4)4y\left(\frac{\pi}{4}\right), not y(π6)y\left(\frac{\pi}{6}\right).
  • (C) The value −54-\frac{5}{4} would need 32sin⁡π6=−12\frac{3}{2}\sin\frac{\pi}{6} = -\frac{1}{2}, that is sin⁡π6=−13\sin\frac{\pi}{6} = -\frac{1}{3}; but sin⁡π6=12\sin\frac{\pi}{6} = \frac{1}{2}.
  • (D) Every value of y=−74−32sin⁡xy = -\frac{7}{4} - \frac{3}{2}\sin x lies between −134-\frac{13}{4} and −14-\frac{1}{4}; −33−7≈−12.2-3\sqrt{3} - 7 \approx -12.2 equals 4y(π3)4y\left(\frac{\pi}{3}\right), a different point and four times too large.

Key takeaway

The trap. Taking the integrating factor from the equation before dividing by sec⁡x\sec x.

How toppers think. They notice the initial value makes the exponential term vanish, leaving a simple function of sin⁡x\sin x.

Remember. yμ=∫Qμ dx+Cy\mu = \int Q\mu\ dx + C with μ=e∫P dx\mu = e^{\int P\ dx}.

More on Linear Differential Equations