← 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 13 yrs · Read the full method →

Question

Show that 0π/2sin2xsinx+cosxdx=12loge(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π2xx\to\tfrac\pi2-x gives I=JI=J; add to collapse numerator to 11; evaluate dxsinx+cosx\int\frac{dx}{\sin x+\cos x} via 2sin(x+π/4)\sqrt2\sin(x+\pi/4) and csc=logtan(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π/2sin2xsinx+cosxdx.I=\int_0^{\pi/2}\frac{\sin^2 x}{\sin x+\cos x}\,dx.

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

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

I=0π/2sin2(π2x)sin(π2x)+cos(π2x)dx=0π/2cos2xcosx+sinxdx=: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π/2sin2x+cos2xsinx+cosxdx=0π/2dxsinx+cosx.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π/2dxsinx+cosxI=120π/2dxsinx+cosx.()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π/2dxsinx+cosxK=\displaystyle\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}

Combine the denominator into a single sinusoid:

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

Hence

K=0π/2dx2sin(x+π/4)=120π/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=0t=π4x=0\Rightarrow t=\tfrac\pi4, x=π2t=3π4x=\tfrac\pi2\Rightarrow t=\tfrac{3\pi}{4}:

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

Using csctdt=logtant2\displaystyle\int\csc t\,dt=\log\big|\tan\tfrac{t}{2}\big|:

K=12[logtant2]π/43π/4=12(logtan3π8logtanπ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=21\tan\tfrac{\pi}{8}=\sqrt2-1 and tan3π8=cotπ8=2+1\tan\tfrac{3\pi}{8}=\cot\tfrac{\pi}{8}=\sqrt2+1. Therefore

tan(3π/8)tan(π/8)=2+121=(2+1)(21)(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 (21)(2+1)=1(\sqrt2-1)(\sqrt2+1)=1). Hence

K=12log((1+2)2)=122log(1+2)=22log(1+2)=2log(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=122log(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π/2sin2xsinx+cosxdx=12loge(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 — 13 years, mapped. Get the take-away PDF free.