QlarIITy

MathematicsJEE Main 2024 · 4 AprilInteger

If ∫0π4sin⁡2x1+sin⁡xcos⁡xdx=1alog⁡e(a3)+πb3\int_0^{\frac{\pi}{4}}\frac{\sin^2 x}{1 + \sin x\cos x}dx = \frac{1}{a}\log_e\left(\frac{a}{3}\right) + \frac{\pi}{b\sqrt{3}}, where a,b∈Na, b \in \mathbb{N}, then a+ba + b is equal to ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A ratio of squares and products of the sine and cosine becomes rational in the tangent.

Concept refresher. For a positive constant cc,

∫duu2+c2=1ctan⁡−1uc+C\int\dfrac{du}{u^2 + c^2} = \dfrac{1}{c}\tan^{-1}\dfrac{u}{c} + C

Picture the situation. Put t=tan⁡xt = \tan x, so sin⁡2x=t21+t2\sin^2 x = \dfrac{t^2}{1 + t^2}, sin⁡xcos⁡x=t1+t2\sin x\cos x = \dfrac{t}{1 + t^2} and dx=dt1+t2dx = \dfrac{dt}{1 + t^2}. The integral becomes ∫01t2dt(t2+1)(t2+t+1)\int_0^1\dfrac{t^2dt}{(t^2 + 1)(t^2 + t + 1)}.

Approach. Split the fraction and integrate each part.

  1. Step 1: Splitting

    Since t(t2+t+1)−t(t2+1)=t2t(t^2 + t + 1) - t(t^2 + 1) = t^2, the integrand is tt2+1−tt2+t+1\dfrac{t}{t^2 + 1} - \dfrac{t}{t^2 + t + 1}. The first part gives 12log⁡e2\dfrac{1}{2}\log_e 2 over [0,1][0, 1].

  2. Step 2: The second part

    Writing t=12(2t+1)−12t = \dfrac{1}{2}(2t + 1) - \dfrac{1}{2} and t2+t+1=(t+12)2+34t^2 + t + 1 = \left(t + \dfrac{1}{2}\right)^2 + \dfrac{3}{4}, the second part gives 12log⁡e3−13(π3−π6)\dfrac{1}{2}\log_e 3 - \dfrac{1}{\sqrt{3}}\left(\dfrac{\pi}{3} - \dfrac{\pi}{6}\right), by the refresher.

  3. Step 3: The value

    So the integral is 12log⁡e23+π63\dfrac{1}{2}\log_e\dfrac{2}{3} + \dfrac{\pi}{6\sqrt{3}}. Comparing with the given form, a=2a = 2 and b=6b = 6, so a+b=8a + b = 8.

Answer. 8

Sanity check. Numerically −0.203+0.302-0.203 + 0.302 is about 0.10, a small positive number, as expected for an integrand that rises from 0 to 13\dfrac{1}{3}.

Common wrong answers

  • 5: Dropping the 12\dfrac{1}{2} in t=12(2t+1)−12t = \dfrac{1}{2}(2t + 1) - \dfrac{1}{2} gives π33\dfrac{\pi}{3\sqrt{3}}, so b=3b = 3 and the value 5.

Key takeaway

The trap. The numerator over a quadratic is first matched to the derivative of that quadratic.

How toppers think. They split the fraction by subtracting the two quadratic factors.

Remember. t(t2+t+1)−t(t2+1)=t2t(t^2 + t + 1) - t(t^2 + 1) = t^2

More on Evaluation Techniques