← 2020 Paper 2

UPSC 2020 Maths Optional Paper 2 Q4b — Step-by-Step Solution

15 marks · Section A

Fundamental theorems of integral calculus · Real Analysis · asked 2× in 14 yrs · Read the full method →

Question

Show that ∫0π/2sin⁡2xsin⁡x+cos⁡x dx=12log⁡e(1+2)\int_0^{\pi/2}\frac{\sin^2 x}{\sin x+\cos x}\,dx=\frac{1}{\sqrt2}\log_e(1+\sqrt2).

Technique

“King” reflection x→π2−xx\to\tfrac\pi2-x gives I=JI=J; add to collapse numerator to 11; evaluate ∫dxsin⁡x+cos⁡x\int\frac{dx}{\sin x+\cos x} via 2sin⁡(x+π/4)\sqrt2\sin(x+\pi/4) and ∫csc⁡=log⁡∣tan⁡(t/2)∣\int\csc=\log|\tan(t/2)|; simplify tan⁡(3π/8)/tan⁡(π/8)=(1+2)2\tan(3\pi/8)/\tan(\pi/8)=(1+\sqrt2)^2.

Solution

Let

I=∫0π/2sin⁡2xsin⁡x+cos⁡x dx.I=\int_0^{\pi/2}\frac{\sin^2 x}{\sin x+\cos x}\,dx.

Step 1 — Use the King’s-rule symmetry x→π2−xx\to\frac{\pi}{2}-x

Apply the substitution x↦π2−xx\mapsto \tfrac{\pi}{2}-x (which maps [0,π2][0,\tfrac\pi2] to itself and swaps sin⁡↔cos⁡\sin\leftrightarrow\cos):

I=∫0π/2sin⁡2(π2−x)sin⁡(π2−x)+cos⁡(π2−x) dx=∫0π/2cos⁡2xcos⁡x+sin⁡x dx=:J.I=\int_0^{\pi/2}\frac{\sin^2(\tfrac\pi2-x)}{\sin(\tfrac\pi2-x)+\cos(\tfrac\pi2-x)}\,dx =\int_0^{\pi/2}\frac{\cos^2 x}{\cos x+\sin x}\,dx=:J.

So I=JI=J.

Step 2 — Add the two forms

I+J=∫0π/2sin⁡2x+cos⁡2xsin⁡x+cos⁡x dx=∫0π/2dxsin⁡x+cos⁡x.I+J=\int_0^{\pi/2}\frac{\sin^2 x+\cos^2 x}{\sin x+\cos x}\,dx=\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}.

Since I=JI=J, we get

2I=∫0π/2dxsin⁡x+cos⁡x⟹I=12∫0π/2dxsin⁡x+cos⁡x.(∗)2I=\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}\quad\Longrightarrow\quad I=\frac12\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}.\tag{$\ast$}

Step 3 — Evaluate K=∫0π/2dxsin⁡x+cos⁡xK=\displaystyle\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}

Combine the denominator into a single sinusoid:

sin⁡x+cos⁡x=2 sin⁡ ⁣(x+π4).\sin x+\cos x=\sqrt2\,\sin\!\Big(x+\tfrac{\pi}{4}\Big).

Hence

K=∫0π/2dx2 sin⁡(x+π/4)=12∫0π/2csc⁡ ⁣(x+π4) dx.K=\int_0^{\pi/2}\frac{dx}{\sqrt2\,\sin(x+\pi/4)}=\frac{1}{\sqrt2}\int_0^{\pi/2}\csc\!\Big(x+\tfrac{\pi}{4}\Big)\,dx.

Substitute t=x+π4t=x+\tfrac{\pi}{4} (dt=dxdt=dx); limits x=0⇒t=π4x=0\Rightarrow t=\tfrac\pi4, x=π2⇒t=3π4x=\tfrac\pi2\Rightarrow t=\tfrac{3\pi}{4}:

K=12∫π/43π/4csc⁡t dt.K=\frac{1}{\sqrt2}\int_{\pi/4}^{3\pi/4}\csc t\,dt.

Using ∫csc⁡t dt=log⁡∣tan⁡t2∣\displaystyle\int\csc t\,dt=\log\big|\tan\tfrac{t}{2}\big|:

K=12[log⁡∣tan⁡t2∣]π/43π/4=12(log⁡tan⁡3π8−log⁡tan⁡π8)=12log⁡ ⁣tan⁡(3π/8)tan⁡(π/8).K=\frac{1}{\sqrt2}\Big[\log\big|\tan\tfrac{t}{2}\big|\Big]_{\pi/4}^{3\pi/4} =\frac{1}{\sqrt2}\Big(\log\tan\tfrac{3\pi}{8}-\log\tan\tfrac{\pi}{8}\Big) =\frac{1}{\sqrt2}\log\!\frac{\tan(3\pi/8)}{\tan(\pi/8)}.

Step 4 — Simplify the half-angle tangents

Recall tan⁡π8=2−1\tan\tfrac{\pi}{8}=\sqrt2-1 and tan⁡3π8=cot⁡π8=2+1\tan\tfrac{3\pi}{8}=\cot\tfrac{\pi}{8}=\sqrt2+1. Therefore

tan⁡(3π/8)tan⁡(π/8)=2+12−1=(2+1)(2−1)⋅(2+1)(2+1)=(2+1)21=(2+1)2,\frac{\tan(3\pi/8)}{\tan(\pi/8)}=\frac{\sqrt2+1}{\sqrt2-1}=\frac{(\sqrt2+1)}{(\sqrt2-1)}\cdot\frac{(\sqrt2+1)}{(\sqrt2+1)}=\frac{(\sqrt2+1)^2}{1}=(\sqrt2+1)^2,

(using (2−1)(2+1)=1(\sqrt2-1)(\sqrt2+1)=1). Hence

K=12log⁡((1+2)2)=12⋅2log⁡(1+2)=22log⁡(1+2)=2 log⁡(1+2).K=\frac{1}{\sqrt2}\log\big((1+\sqrt2)^2\big)=\frac{1}{\sqrt2}\cdot 2\log(1+\sqrt2)=\frac{2}{\sqrt2}\log(1+\sqrt2)=\sqrt2\,\log(1+\sqrt2).

Step 5 — Finish via (∗)(\ast)

I=12K=12⋅2 log⁡(1+2)=22log⁡(1+2)=12log⁡(1+2).I=\frac12 K=\frac12\cdot\sqrt2\,\log(1+\sqrt2)=\frac{\sqrt2}{2}\log(1+\sqrt2)=\frac{1}{\sqrt2}\log(1+\sqrt2).

Answer

  ∫0π/2sin⁡2xsin⁡x+cos⁡x dx=12 log⁡e(1+2).  \boxed{\;\int_0^{\pi/2}\frac{\sin^2 x}{\sin x+\cos x}\,dx=\frac{1}{\sqrt2}\,\log_e(1+\sqrt2).\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.