QlarIITy

MathematicsJEE Main 2024 · 29 JanuarySingle correct

A function y=f(x)y = f(x) satisfiesf(x)sin⁡2x+sin⁡x−(1+cos⁡2x)f′(x)=0f(x)\sin 2x + \sin x - (1 + \cos^2 x)f^{\prime}(x) = 0with condition f(0)=0f(0) = 0. Then f(π2)f\left(\frac{\pi}{2}\right) is equal to

  1. Option A: 1
  2. Option B: 0
  3. Option C: −1
  4. Option D: 2
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. When the coefficient of the function is the derivative of the coefficient of its derivative, the left side is exact.

Concept refresher. For functions uu and vv of xx,

ddx(uv)=u′v+uv′\dfrac{d}{dx}(uv) = u^{\prime}v + uv^{\prime}

so an integrand of this form integrates back to uvuv.

Picture the situation. The equation is

(1+cos⁡2x)f′(x)−sin⁡2x×f(x)=sin⁡x\begin{aligned} &(1 + \cos^2 x)f^{\prime}(x) - \sin 2x \times f(x) \\[4pt] &= \sin x \end{aligned}

With u=fu = f and v=1+cos⁡2xv = 1 + \cos^2 x, v′=−2cos⁡xsin⁡x=−sin⁡2xv^{\prime} = -2\cos x\sin x = -\sin 2x, so by the refresher the left side is (uv)′(uv)^{\prime}.

Approach. Integrate the exact derivative and use the starting value.

  1. Step 1: Integrating

    Since (f(x)(1+cos⁡2x))′=sin⁡x\left(f(x)(1 + \cos^2 x)\right)^{\prime} = \sin x, integrating gives f(x)(1+cos⁡2x)=−cos⁡x+Cf(x)(1 + \cos^2 x) = -\cos x + C. The condition f(0)=0f(0) = 0 gives 0=−1+C0 = -1 + C, so C=1C = 1.

  2. Step 2: The value

    At x=π2x = \dfrac{\pi}{2} the cosine is 0, so f(π2)×1=1f\left(\dfrac{\pi}{2}\right) \times 1 = 1 and f(π2)=1f\left(\dfrac{\pi}{2}\right) = 1.

Answer. (A) 1

Sanity check. The right side sin⁡x\sin x is positive on (0,π2)\left(0, \dfrac{\pi}{2}\right), so the product f(x)(1+cos⁡2x)f(x)(1 + \cos^2 x) rises from 0, and its rise is ∫0π/2sin⁡xdx=1\int_0^{\pi/2}\sin xdx = 1.

Why the other options are wrong

  • (B) The value 0 is the starting value; the product f(x)(1+cos⁡2x)f(x)(1 + \cos^2 x) grows by 1 between 0 and π2\dfrac{\pi}{2}.
  • (C) The value −1 would need C=−1C = -1, but f(0)=0f(0) = 0 gives 0=−1+C0 = -1 + C, so C=1C = 1.
  • (D) The value 2 would need the factor 1+cos⁡2x1 + \cos^2 x to be 12\dfrac{1}{2} at π2\dfrac{\pi}{2}, but it is 1 there.

Key takeaway

The trap. The sine of twice x is hidden as twice the product of sine and cosine.

How toppers think. They check for an exact derivative before dividing through.

Remember. (1+cos⁡2x)′=−sin⁡2x\left(1 + \cos^2 x\right)^{\prime} = -\sin 2x

More on Linear Differential Equations