← 2020 Paper 1

UPSC 2020 Maths Optional Paper 1 Q2a — Step-by-Step Solution

15 marks · Section A

Indefinite integrals · Calculus · asked 7× in 14 yrs · Read the full method →

Question

Evaluate ∫01tan⁡−1 ⁣(1−1x)dx\displaystyle\int_0^1 \tan^{-1}\!\left(1-\frac1x\right)dx.

Technique

Integration by parts (with v=xv=x); then split the rational integrand into a log-derivative part plus an arctan part via completing the square.

Solution

Let I=∫01tan⁡−1 ⁣(1−1x)dx=∫01tan⁡−1 ⁣x−1x dxI=\displaystyle\int_0^1 \tan^{-1}\!\left(1-\frac1x\right)dx=\int_0^1 \tan^{-1}\!\frac{x-1}{x}\,dx.

Step 1 — Integrate by parts

Take u=tan⁡−1 ⁣(1−1x)u=\tan^{-1}\!\left(1-\tfrac1x\right), dv=dxdv=dx, so v=xv=x and

du=11+(1−1x)2⋅1x2 dx.du=\frac{1}{1+\left(1-\frac1x\right)^2}\cdot\frac{1}{x^2}\,dx.

Now (1−1x)2=(x−1)2x2\left(1-\tfrac1x\right)^2=\dfrac{(x-1)^2}{x^2}, so

1+(1−1x)2=x2+(x−1)2x2=2x2−2x+1x2,1+\left(1-\tfrac1x\right)^2=\frac{x^2+(x-1)^2}{x^2}=\frac{2x^2-2x+1}{x^2},

giving du=x22x2−2x+1⋅1x2 dx=dx2x2−2x+1du=\dfrac{x^2}{2x^2-2x+1}\cdot\dfrac{1}{x^2}\,dx=\dfrac{dx}{2x^2-2x+1}. Hence

I=[xtan⁡−1 ⁣(1−1x)]01−∫01x dx2x2−2x+1.I=\Big[x\tan^{-1}\!\big(1-\tfrac1x\big)\Big]_0^1-\int_0^1\frac{x\,dx}{2x^2-2x+1}.

Step 2 — Boundary term vanishes

At x=1x=1: tan⁡−1(0)=0\tan^{-1}(0)=0, product =0=0. At x→0+x\to0^+: 1−1x→−∞1-\tfrac1x\to-\infty, so tan⁡−1→−π2\tan^{-1}\to-\tfrac\pi2 (finite), and x→0x\to0; product →0\to0. Thus the bracket contributes 00 and

I=−∫01x dx2x2−2x+1.I=-\int_0^1\frac{x\,dx}{2x^2-2x+1}.

Step 3 — Evaluate J=∫01x dx2x2−2x+1J=\displaystyle\int_0^1\frac{x\,dx}{2x^2-2x+1}

Split the numerator to expose the derivative of the denominator (2x2−2x+1)′=4x−2(2x^2-2x+1)'=4x-2:

x=14(4x−2)+12,x=\tfrac14(4x-2)+\tfrac12, J=14∫014x−22x2−2x+1 dx+12∫01dx2x2−2x+1.J=\frac14\int_0^1\frac{4x-2}{2x^2-2x+1}\,dx+\frac12\int_0^1\frac{dx}{2x^2-2x+1}.

First integral. 14[ln⁡(2x2−2x+1)]01=14(ln⁡1−ln⁡1)=0\dfrac14\Big[\ln(2x^2-2x+1)\Big]_0^1=\dfrac14(\ln1-\ln1)=0.

Second integral. Complete the square: 2x2−2x+1=2(x−12)2+122x^2-2x+1=2(x-\tfrac12)^2+\tfrac12, so

12x2−2x+1=2(2x−1)2+1.\frac{1}{2x^2-2x+1}=\frac{2}{(2x-1)^2+1}.

Then

12∫012 dx(2x−1)2+1=∫01dx(2x−1)2+1=u=2x−112∫−11duu2+1=12[tan⁡−1u]−11=12⋅π2=π4.\frac12\int_0^1\frac{2\,dx}{(2x-1)^2+1}=\int_0^1\frac{dx}{(2x-1)^2+1}\stackrel{u=2x-1}{=}\frac12\int_{-1}^{1}\frac{du}{u^2+1}=\frac12\big[\tan^{-1}u\big]_{-1}^{1}=\frac12\cdot\frac{\pi}{2}=\frac{\pi}{4}.

So J=0+π4=π4J=0+\dfrac{\pi}{4}=\dfrac{\pi}{4}.

Step 4 — Assemble

I=−J=−π4.I=-J=-\frac{\pi}{4}.

Answer

  ∫01tan⁡−1 ⁣(1−1x)dx=−π4.  \boxed{\;\int_0^1 \tan^{-1}\!\left(1-\frac1x\right)dx=-\frac{\pi}{4}.\;}
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.