← 2020 Paper 1

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

15 marks · Section A

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

Question

Evaluate 01tan1 ⁣(11x)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=01tan1 ⁣(11x)dx=01tan1 ⁣x1xdxI=\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=tan1 ⁣(11x)u=\tan^{-1}\!\left(1-\tfrac1x\right), dv=dxdv=dx, so v=xv=x and

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

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

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

giving du=x22x22x+11x2dx=dx2x22x+1du=\dfrac{x^2}{2x^2-2x+1}\cdot\dfrac{1}{x^2}\,dx=\dfrac{dx}{2x^2-2x+1}. Hence

I=[xtan1 ⁣(11x)]0101xdx2x22x+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: tan1(0)=0\tan^{-1}(0)=0, product =0=0. At x0+x\to0^+: 11x1-\tfrac1x\to-\infty, so tan1π2\tan^{-1}\to-\tfrac\pi2 (finite), and x0x\to0; product 0\to0. Thus the bracket contributes 00 and

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

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

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

x=14(4x2)+12,x=\tfrac14(4x-2)+\tfrac12, J=14014x22x22x+1dx+1201dx2x22x+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(2x22x+1)]01=14(ln1ln1)=0\dfrac14\Big[\ln(2x^2-2x+1)\Big]_0^1=\dfrac14(\ln1-\ln1)=0.

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

12x22x+1=2(2x1)2+1.\frac{1}{2x^2-2x+1}=\frac{2}{(2x-1)^2+1}.

Then

12012dx(2x1)2+1=01dx(2x1)2+1=u=2x11211duu2+1=12[tan1u]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

  01tan1 ⁣(11x)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 — 13 years, mapped. Get the take-away PDF free.