QlarIITy

MathematicsJEE Main 2020 · 6 SeptemberSingle correct

Ify=(2πx−1)cosec⁡xy = \left(\frac{2}{\pi}x - 1\right)\operatorname{cosec}xis the solution of the differential equation, dydx+p(x)y=2πcosec⁡x,0<x<π2\frac{dy}{dx} + p(x)y = \frac{2}{\pi}\operatorname{cosec}x, 0 < x < \frac{\pi}{2}, then the function p(x)p(x) is equal to :

  1. Option A: cot⁡x\cot x
  2. Option B: cosec⁡x\operatorname{cosec}x
  3. Option C: sec⁡x\sec x
  4. Option D: tan⁡x\tan x
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 a solution is given, it is substituted into the equation and the unknown coefficient is read off.

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 function y=(2πx−1)cosec⁡xy = \left(\dfrac{2}{\pi}x - 1\right)\operatorname{cosec}x is a product, with u=2πx−1u = \dfrac{2}{\pi}x - 1 and v=cosec⁡xv = \operatorname{cosec}x, so u′=2πu^{\prime} = \dfrac{2}{\pi} and v′=−cosec⁡xcot⁡xv^{\prime} = -\operatorname{cosec}x\cot x.

Approach. Differentiate the solution and compare with the equation.

  1. Step 1: Differentiating

    By the refresher,

    dydx=2πcosec⁡x−(2πx−1)cosec⁡xcot⁡x\begin{aligned} &\dfrac{dy}{dx} \\[4pt] &= \dfrac{2}{\pi}\operatorname{cosec}x - \left(\dfrac{2}{\pi}x - 1\right)\operatorname{cosec}x\cot x \end{aligned}

    and the second term is −ycot⁡x-y\cot x.

  2. Step 2: Comparing

    So dydx+ycot⁡x=2πcosec⁡x\dfrac{dy}{dx} + y\cot x = \dfrac{2}{\pi}\operatorname{cosec}x, which is the given equation with p(x)=cot⁡xp(x) = \cot x.

Answer. (A) cot⁡x\cot x

Sanity check. For 0<x<π20 < x < \dfrac{\pi}{2} the sine is not 0, so the cosecant and the cotangent are defined throughout, and the right side 2πcosec⁡x\dfrac{2}{\pi}\operatorname{cosec}x matches the given one exactly.

Smart method. Multiply the given solution by sin⁡x\sin x: ysin⁡x=2πx−1y\sin x = \dfrac{2}{\pi}x - 1. Differentiating gives y′sin⁡x+ycos⁡x=2πy^{\prime}\sin x + y\cos x = \dfrac{2}{\pi}, and dividing by sin⁡x\sin x gives the equation with p(x)=cot⁡xp(x) = \cot x.

Why the other options are wrong

  • (B) The derivative of cosec⁡x\operatorname{cosec}x is −cosec⁡xcot⁡x-\operatorname{cosec}x\cot x, which gives yy times the cotangent, not yy times the cosecant.
  • (C) A secant would need an integrating factor other than sin⁡x\sin x, but the solution shows that ysin⁡xy\sin x is linear in xx.
  • (D) A tangent would give the integrating factor sec⁡x\sec x, whereas the solution shows ysin⁡x=2πx−1y\sin x = \dfrac{2}{\pi}x - 1.

Key takeaway

The trap. The derivative of the cosecant brings the cotangent, with a minus sign.

How toppers think. They notice that y times the sine is linear in x, which shows the integrating factor directly.

Remember. (cosec⁡x)′=−cosec⁡xcot⁡x\left(\operatorname{cosec}x\right)^{\prime} = -\operatorname{cosec}x\cot x

More on Linear Differential Equations