QlarIITy

MathematicsJEE Main 2020 · 4 SeptemberSingle correct

The integral ∫(xxsin⁡x+cos⁡x)2dx\int\left(\frac{x}{x\sin x + \cos x}\right)^2dx is equal to, (where CC is a constant of integration):

  1. Option A: tan⁡x−xsec⁡xxsin⁡x+cos⁡x+C\tan x - \frac{x\sec x}{x\sin x + \cos x} + C
  2. Option B: sec⁡x+xtan⁡xxsin⁡x+cos⁡x+C\sec x + \frac{x\tan x}{x\sin x + \cos x} + C
  3. Option C: sec⁡x−xtan⁡xxsin⁡x+cos⁡x+C\sec x - \frac{x\tan x}{x\sin x + \cos x} + C
  4. Option D: tan⁡x+xsec⁡xxsin⁡x+cos⁡x+C\tan x + \frac{x\sec x}{x\sin x + \cos x} + C
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 square in the denominator is integrated by parts once the derivative of the denominator is found in the numerator.

Concept refresher. For functions uu and vv of xx,

∫udv=uv−∫vdu\int u dv = uv - \int v du

Picture the situation. Write D=xsin⁡x+cos⁡xD = x\sin x + \cos x, so D′=xcos⁡xD^{\prime} = x\cos x. The integrand is x2D2=(xsec⁡x)×xcos⁡xD2\dfrac{x^2}{D^2} = (x\sec x) \times \dfrac{x\cos x}{D^2}, and ∫xcos⁡xD2dx=−1D\int\dfrac{x\cos x}{D^2}dx = -\dfrac{1}{D}.

Approach. Integrate by parts with these two factors.

  1. Step 1: By parts

    With u=xsec⁡xu = x\sec x and v=−1Dv = -\dfrac{1}{D}, the integral is −xsec⁡xD+∫sec⁡x+xsec⁡xtan⁡xDdx-\dfrac{x\sec x}{D} + \int\dfrac{\sec x + x\sec x\tan x}{D}dx.

  2. Step 2: The remaining integral

    Since

    sec⁡x+xsec⁡xtan⁡x=sec⁡2x(cos⁡x+xsin⁡x)=sec⁡2x×D\begin{aligned} &\sec x + x\sec x\tan x \\[4pt] &= \sec^2 x(\cos x + x\sin x) \\[4pt] &= \sec^2 x \times D \end{aligned}

    the remaining integrand is sec⁡2x\sec^2 x, which integrates to tan⁡x\tan x.

  3. Step 3: The answer

    Putting the two parts together, the integral is tan⁡x−xsec⁡xxsin⁡x+cos⁡x+C\tan x - \dfrac{x\sec x}{x\sin x + \cos x} + C.

Answer. (A) tan⁡x\tan x minus xsec⁡xxsin⁡x+cos⁡x\dfrac{x\sec x}{x\sin x + \cos x}, plus CC

Sanity check. At x=0x = 0 the integrand is 0, and the derivative of the answer there is sec⁡20−sec⁡0=0\sec^2 0 - \sec 0 = 0, since the fraction behaves like xx near 0.

Why the other options are wrong

  • (B) The leftover integral is of sec⁡2x\sec^2 x, which gives tan⁡x\tan x, not sec⁡x\sec x, and the fraction has xsec⁡xx\sec x above.
  • (C) The first term is tan⁡x\tan x, from ∫sec⁡2xdx\int\sec^2 xdx, and the fraction has xsec⁡xx\sec x above, not xtan⁡xx\tan x.
  • (D) The fraction enters with a minus sign, because ∫xcos⁡xD2dx\int\dfrac{x\cos x}{D^2}dx is −1D-\dfrac{1}{D}.

Key takeaway

The trap. The factor kept for differentiation must make the leftover integral simple.

How toppers think. They differentiate the denominator first, which shows how to split the numerator.

Remember. ddx(xsin⁡x+cos⁡x)=xcos⁡x\dfrac{d}{dx}(x\sin x + \cos x) = x\cos x

More on Integration by Parts