QlarIITy

MathematicsJEE Main 2023 · 6 AprilSingle correct

Let I(x)=∫x2(xsec⁡2x+tan⁡x)(xtan⁡x+1)2dxI(x) = \int \frac{x^2(x\sec^2 x + \tan x)}{(x\tan x + 1)^2}dx. If I(0)=0I(0) = 0, then I(π4)I\left(\frac{\pi}{4}\right) is equal to

  1. Option A: log⁡e(π+4)216+π24(π+4)\log_e\frac{(\pi + 4)^2}{16} + \frac{\pi^2}{4(\pi + 4)}
  2. Option B: log⁡e(π+4)216−π24(π+4)\log_e\frac{(\pi + 4)^2}{16} - \frac{\pi^2}{4(\pi + 4)}
  3. Option C: log⁡e(π+4)232−π24(π+4)\log_e\frac{(\pi + 4)^2}{32} - \frac{\pi^2}{4(\pi + 4)}
  4. Option D: log⁡e(π+4)232+π24(π+4)\log_e\frac{(\pi + 4)^2}{32} + \frac{\pi^2}{4(\pi + 4)}
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 numerator that contains the derivative of a squared denominator is integrated by parts.

Concept refresher. For functions uu and vv of xx,

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

Picture the situation. Write E=xtan⁡x+1E = x\tan x + 1, so E′=xsec⁡2x+tan⁡xE^{\prime} = x\sec^2 x + \tan x, the bracket in the numerator. Hence ∫xsec⁡2x+tan⁡xE2dx=−1E\int\dfrac{x\sec^2 x + \tan x}{E^2}dx = -\dfrac{1}{E}.

Approach. Integrate by parts, then evaluate at the given point.

  1. Step 1: By parts

    With u=x2u = x^2 and v=−1Ev = -\dfrac{1}{E}, I=−x2xtan⁡x+1+∫2xxtan⁡x+1dxI = -\dfrac{x^2}{x\tan x + 1} + \int\dfrac{2x}{x\tan x + 1}dx. Multiplying above and below by cos⁡x\cos x, the last integrand is 2xcos⁡xxsin⁡x+cos⁡x\dfrac{2x\cos x}{x\sin x + \cos x}, which integrates to 2log⁡e∣xsin⁡x+cos⁡x∣2\log_e|x\sin x + \cos x|.

  2. Step 2: The constant

    At x=0x = 0 both terms vanish, so I(0)=0I(0) = 0 gives a zero constant.

  3. Step 3: The value

    At x=π4x = \dfrac{\pi}{4}, xtan⁡x+1=π+44x\tan x + 1 = \dfrac{\pi + 4}{4} and xsin⁡x+cos⁡x=π+442x\sin x + \cos x = \dfrac{\pi + 4}{4\sqrt{2}}. So I(π4)=−π24(π+4)+2log⁡eπ+442I\left(\dfrac{\pi}{4}\right) = -\dfrac{\pi^2}{4(\pi + 4)} + 2\log_e\dfrac{\pi + 4}{4\sqrt{2}}, and the last term is log⁡e(π+4)232\log_e\dfrac{(\pi + 4)^2}{32}.

Answer. (C) log⁡e(π+4)232\log_e\dfrac{(\pi + 4)^2}{32} minus π24(π+4)\dfrac{\pi^2}{4(\pi + 4)}

Sanity check. Numerically the value is log⁡e1.594−0.346\log_e 1.594 - 0.346, about 0.12, small and positive as the integrand on [0,π4]\left[0, \dfrac{\pi}{4}\right] suggests.

Why the other options are wrong

  • (A) The fraction enters with a minus sign, and the number under the logarithm is 32, since (42)2=32(4\sqrt{2})^2 = 32.
  • (B) The number under the logarithm is (42)2=32(4\sqrt{2})^2 = 32, not 16; the factor 2\sqrt{2} comes from sin⁡π4\sin\dfrac{\pi}{4}.
  • (D) The fraction π24(π+4)\dfrac{\pi^2}{4(\pi + 4)} enters with a minus sign, from v=−1Ev = -\dfrac{1}{E}.

Key takeaway

The trap. Twice a logarithm is the logarithm of a square, which squares the number below as well.

How toppers think. They differentiate the denominator first and recognise the bracket at once.

Remember. Derivative of xtan⁡x+1x\tan x + 1 is xsec⁡2x+tan⁡xx\sec^2 x + \tan x

More on Integration by Parts