Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Exercise 7.9 · Q3: ∫01sin⁡−12x1+x2 dx\int_0^1\sin^{-1}\frac{2x}{1+x^2}\,dx

Exercise 7.9Definite integrals by substitution · Section 7.9
The question

Evaluate the integral using substitution:

∫01sin⁡−1(2x1+x2)dx.\int_0^1 \sin^{-1}\left(\frac{2x}{1 + x^2}\right)dx.
Exam answer

Let I=∫01sin⁡−1(2x1+x2)dxI = \displaystyle\int_0^1\sin^{-1}\left(\frac{2x}{1 + x^2}\right)dx⁠.

Put x=tan⁡θx = \tan\theta⁠. Then dx=sec⁡2θ dθdx = \sec^2\theta\,d\theta⁠.

When x=0x = 0⁠, θ=0\theta = 0⁠; when x=1x = 1⁠, θ=π4\theta = \frac{\pi}{4}⁠.

2x1+x2=2tan⁡θ1+tan⁡2θ=sin⁡2θ\frac{2x}{1 + x^2} = \frac{2\tan\theta}{1 + \tan^2\theta} = \sin 2\theta

As 0≤2θ≤π20 \le 2\theta \le \frac{\pi}{2}⁠, sin⁡−1(sin⁡2θ)=2θ\sin^{-1}(\sin 2\theta) = 2\theta⁠.

∴ I=2∫0π4θsec⁡2θ dθ\therefore\ I = 2\int_0^{\frac{\pi}{4}}\theta\sec^2\theta\,d\theta

Integrating by parts (θ\theta as the first function),

I=2[θtan⁡θ]0π4−2∫0π4tan⁡θ dθ=2(π4−0)−2[log⁡sec⁡θ]0π4=π2−2(log⁡2−log⁡1)\begin{aligned} I &= 2\Big[\theta\tan\theta\Big]_0^{\frac{\pi}{4}} - 2\int_0^{\frac{\pi}{4}}\tan\theta\,d\theta \\ &= 2\left(\frac{\pi}{4} - 0\right) - 2\Big[\log\sec\theta\Big]_0^{\frac{\pi}{4}} \\ &= \frac{\pi}{2} - 2\left(\log\sqrt2 - \log 1\right) \end{aligned}

∴ I=π2−log⁡2\therefore\ I = \dfrac{\pi}{2} - \log 2⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

2x1+x2\frac{2x}{1+x^2} is the double-angle formula sin⁡2θ=2tan⁡θ1+tan⁡2θ\sin 2\theta = \frac{2\tan\theta}{1+\tan^2\theta} with x=tan⁡θx = \tan\theta⁠. On [0,1][0, 1] the angle θ\theta runs over [0,π4]\left[0, \frac{\pi}{4}\right]⁠, so 2θ2\theta stays in [0,π2]\left[0, \frac{\pi}{2}\right]⁠, inside the principal range of sin⁡−1\sin^{-1}⁠, and the integrand collapses to 2θ2\theta⁠. What is left, ∫2θsec⁡2θ dθ\int 2\theta\sec^2\theta\,d\theta⁠, is done by parts.

Given, to find, and the plan
Given
The integrand sin⁡−1(2x1+x2)\sin^{-1}\left(\frac{2x}{1+x^2}\right) on [0,1][0, 1]⁠.
To find
The exact value of the integral, and a decimal.
Plan
(1) Check the integrand is defined and continuous. (2) Put x=tan⁡θx = \tan\theta⁠, change the limits, and simplify sin⁡−1(sin⁡2θ)\sin^{-1}(\sin 2\theta) after checking the range. (3) Integrate 2θsec⁡2θ2\theta\sec^2\theta by parts. (4) Evaluate. (5) Check with an antiderivative in xx⁠, and numerically.

Basics you need

1Double angle in terms of tan⁡\tan

sin⁡2θ=2tan⁡θ1+tan⁡2θ\sin 2\theta = \frac{2\tan\theta}{1 + \tan^2\theta} (divide 2sin⁡θcos⁡θ2\sin\theta\cos\theta by cos⁡2θ+sin⁡2θ\cos^2\theta + \sin^2\theta⁠). Basics: trigonometric identities for integrals

2When sin⁡−1(sin⁡y)=y\sin^{-1}(\sin y) = y

Only for yy in the principal range [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] (Chapter 2). Basics: trigonometry

3Integration by parts

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du⁠, with uu chosen by ILATE (Section 7.6). Lesson: integration by parts

4∫tan⁡θ dθ\int\tan\theta\,d\theta

∫tan⁡θ dθ=log⁡∣sec⁡θ∣+C\int\tan\theta\,d\theta = \log|\sec\theta| + C (Section 7.3.1, (i)). Basics: logarithms and 1/x

5Substitution with new limits

∫abf(x) dx=∫αβf(g(θ)) g′(θ) dθ\int_a^b f(x)\,dx = \int_\alpha^\beta f(g(\theta))\,g'(\theta)\,d\theta when x=g(θ)x = g(\theta) runs from aa to bb as θ\theta runs from α\alpha to β\beta (Section 7.9). Lesson: integration by substitution

Solution

  1. Check the integrand is defined and continuous

    sin⁡−1\sin^{-1} needs an input in [−1,1][-1, 1]⁠. For every real xx⁠, (1−x)2≥0(1 - x)^2 \ge 0 and (1+x)2≥0(1 + x)^2 \ge 0 give 1+x2≥2x1 + x^2 \ge 2x and 1+x2≥−2x1 + x^2 \ge -2x⁠, so

    −1≤2x1+x2≤1.-1 \le \frac{2x}{1 + x^2} \le 1.

    The inner function is continuous (denominator ≥1\ge 1⁠), and sin⁡−1\sin^{-1} is continuous on [−1,1][-1, 1]⁠, so the composite is continuous on [0,1][0, 1]⁠.

    Before integrating we must know the integrand exists at every point. The inequality shows the input to sin⁡−1\sin^{-1} never leaves [−1,1][-1, 1]⁠; on [0,1][0, 1] it actually runs from 0 up to 1 (reached at x=1x = 1⁠).
    A composite of continuous functions is continuous (Chapter 5, Section 5.2.1). Lesson: the fundamental theorem
  2. Substitute x=tan⁡θx = \tan\theta and change the limits

    Take θ=tan⁡−1x\theta = \tan^{-1}x⁠, so x=tan⁡θx = \tan\theta and dx=sec⁡2θ dθdx = \sec^2\theta\,d\theta⁠.

    New limits. When x=0x = 0⁠, θ=tan⁡−10=0\theta = \tan^{-1}0 = 0⁠. When x=1x = 1⁠, θ=tan⁡−11=π4\theta = \tan^{-1}1 = \frac{\pi}{4}⁠.

    Why it is valid on the whole interval. On [0,π4]\left[0, \frac{\pi}{4}\right]⁠, x=tan⁡θx = \tan\theta has the continuous derivative sec⁡2θ\sec^2\theta and is increasing, and it takes every value in [0,1][0, 1] exactly once. So as θ\theta runs from 0 to π4\frac{\pi}{4}⁠, xx runs once from 0 to 1.

    The expression 2x1+x2\frac{2x}{1+x^2} is the tell-tale shape of 2tan⁡θ1+tan⁡2θ\frac{2\tan\theta}{1+\tan^2\theta}⁠. Using the principal value θ=tan⁡−1x\theta = \tan^{-1}x fixes which θ\theta we mean.
    ddθtan⁡θ=sec⁡2θ\frac{d}{d\theta}\tan\theta = \sec^2\theta⁠; tan⁡−1\tan^{-1} has principal range (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠. Basics: trigonometry
  3. Simplify the integrand, checking the range

    2x1+x2=2tan⁡θ1+tan⁡2θ=2sin⁡θ/cos⁡θ1/cos⁡2θ=2sin⁡θcos⁡θ=sin⁡2θ.\begin{aligned}\frac{2x}{1 + x^2} &= \frac{2\tan\theta}{1 + \tan^2\theta} \\ &= \frac{2\sin\theta/\cos\theta}{1/\cos^2\theta} \\ &= 2\sin\theta\cos\theta = \sin 2\theta.\end{aligned}

    Since 0≤θ≤π40 \le \theta \le \frac{\pi}{4}⁠, we have 0≤2θ≤π20 \le 2\theta \le \frac{\pi}{2}⁠, which lies inside [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠. Therefore

    sin⁡−1(2x1+x2)=sin⁡−1(sin⁡2θ)=2θ.\sin^{-1}\left(\frac{2x}{1 + x^2}\right) = \sin^{-1}(\sin 2\theta) = 2\theta.

    The integral becomes

    ∫01sin⁡−1(2x1+x2)dx=∫0π42θ sec⁡2θ dθ.\int_0^1 \sin^{-1}\left(\frac{2x}{1+x^2}\right)dx = \int_0^{\frac{\pi}{4}} 2\theta\,\sec^2\theta\,d\theta.
    sin⁡−1(sin⁡y)=y\sin^{-1}(\sin y) = y is true only when yy is in the principal range. Here it is, because ∣x∣≤1|x| \le 1⁠. For x>1x > 1 we would have 2θ>π22\theta > \frac{\pi}{2} and sin⁡−1(sin⁡2θ)=π−2θ\sin^{-1}(\sin 2\theta) = \pi - 2\theta instead (the figure shows the split).
    1+tan⁡2θ=sec⁡2θ=1cos⁡2θ1 + \tan^2\theta = \sec^2\theta = \frac{1}{\cos^2\theta}⁠; sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta⁠. Basics: trigonometric identities
  4. Integrate θsec⁡2θ\theta\sec^2\theta by parts

    Take u=θu = \theta (algebraic) and dv=sec⁡2θ dθdv = \sec^2\theta\,d\theta (trigonometric), so du=dθdu = d\theta and v=tan⁡θv = \tan\theta⁠. ILATE puts Algebraic before Trigonometric, so θ\theta is the one we differentiate.

    ∫θsec⁡2θ dθ=θtan⁡θ−∫tan⁡θ dθ=θtan⁡θ−log⁡∣sec⁡θ∣+C.\begin{aligned}\int\theta\sec^2\theta\,d\theta &= \theta\tan\theta - \int\tan\theta\,d\theta \\ &= \theta\tan\theta - \log|\sec\theta| + C.\end{aligned}

    On [0,π4]\left[0, \frac{\pi}{4}\right]⁠, sec⁡θ≥1>0\sec\theta \ge 1 > 0⁠, so log⁡∣sec⁡θ∣=log⁡sec⁡θ\log|\sec\theta| = \log\sec\theta⁠.

    Differentiating θ\theta gives 1, which removes the awkward factor, while sec⁡2θ\sec^2\theta has the simple integral tan⁡θ\tan\theta⁠. The leftover ∫tan⁡θ dθ\int\tan\theta\,d\theta is a standard result.
    Integration by parts (Section 7.6); ∫tan⁡θ dθ=log⁡∣sec⁡θ∣+C\int\tan\theta\,d\theta = \log|\sec\theta| + C (Section 7.3.1). Lesson: integration by parts
  5. Evaluate between the limits

    ∫0π42θsec⁡2θ dθ=2[θtan⁡θ−log⁡sec⁡θ]0π4=2[π4⋅1−log⁡2]−2[0−log⁡1]=π2−2⋅12log⁡2=π2−log⁡2.\begin{aligned}\int_0^{\frac{\pi}{4}} 2\theta\sec^2\theta\,d\theta &= 2\Big[\theta\tan\theta - \log\sec\theta\Big]_0^{\frac{\pi}{4}} \\ &= 2\left[\frac{\pi}{4}\cdot 1 - \log\sqrt{2}\right] - 2[0 - \log 1] \\ &= \frac{\pi}{2} - 2\cdot\frac{1}{2}\log 2 \\ &= \frac{\pi}{2} - \log 2.\end{aligned}

    In decimals, π2≈1.5707963\frac{\pi}{2} \approx 1.5707963 and log⁡2≈0.6931472\log 2 \approx 0.6931472⁠, so the value is about 0.8776491.

    At π4\frac{\pi}{4}⁠: tan⁡π4=1\tan\frac{\pi}{4} = 1 and sec⁡π4=2\sec\frac{\pi}{4} = \sqrt{2}⁠, with log⁡2=12log⁡2\log\sqrt{2} = \frac{1}{2}\log 2⁠. At 0: tan⁡0=0\tan 0 = 0 and sec⁡0=1\sec 0 = 1⁠, with log⁡1=0\log 1 = 0⁠.
    log⁡ak=klog⁡a\log a^k = k\log a⁠, so log⁡21/2=12log⁡2\log 2^{1/2} = \frac{1}{2}\log 2⁠. Basics: logarithms
  6. Same result by staying in xx

    Put θ=tan⁡−1x\theta = \tan^{-1}x back: θtan⁡θ=xtan⁡−1x\theta\tan\theta = x\tan^{-1}x and sec⁡θ=1+tan⁡2θ=1+x2\sec\theta = \sqrt{1 + \tan^2\theta} = \sqrt{1 + x^2}⁠. So an antiderivative of the integrand on [0,1][0, 1] is

    F(x)=2xtan⁡−1x−log⁡(1+x2).F(x) = 2x\tan^{-1}x - \log(1 + x^2).

    Check: differentiate.

    F′(x)=2tan⁡−1x+2x1+x2−2x1+x2=2tan⁡−1x,\begin{aligned}F'(x) &= 2\tan^{-1}x + \frac{2x}{1 + x^2} - \frac{2x}{1 + x^2} \\ &= 2\tan^{-1}x,\end{aligned}

    and Step 3 showed 2tan⁡−1x=2θ=sin⁡−12x1+x22\tan^{-1}x = 2\theta = \sin^{-1}\frac{2x}{1+x^2} for 0≤x≤10 \le x \le 1⁠. Then F(1)−F(0)=2⋅π4−log⁡2−0=π2−log⁡2F(1) - F(0) = 2\cdot\frac{\pi}{4} - \log 2 - 0 = \frac{\pi}{2} - \log 2⁠.

    The product rule on 2xtan⁡−1x2x\tan^{-1}x gives 2tan⁡−1x+2x1+x22\tan^{-1}x + \frac{2x}{1+x^2}⁠, and the second term cancels the derivative of log⁡(1+x2)\log(1+x^2)⁠. The check holds on [0,1][0, 1]⁠, exactly where we need it.
    Product rule and ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1+x^2} (Chapter 5). Basics: integration undoes differentiation
  7. The region, and where the identity stops

    1 2 3 π/4 π/2 x y (1, π/2) area ≈ 0.878 y = sin⁻¹(2x/(1 + x²)) y = 2 tan⁻¹x
    Solid: y=sin⁡−12x1+x2y = \sin^{-1}\frac{2x}{1+x^2}⁠. Dashed: y=2tan⁡−1xy = 2\tan^{-1}x⁠. They agree on [0,1][0, 1] and both reach π2\frac{\pi}{2} at x=1x = 1⁠; after that the solid curve turns down (it equals π−2tan⁡−1x\pi - 2\tan^{-1}x there). The shaded area is π2−log⁡2≈0.878\frac{\pi}{2} - \log 2 \approx 0.878⁠.
    The figure shows why the range check in Step 3 matters: the simplification to 2θ2\theta is right on our interval and wrong beyond x=1x = 1⁠. The shaded region fits under the line y=π2y = \frac{\pi}{2} (rectangle area 1.571) and above the triangle with corners (0, 0), (1, 0), (1, π2\frac{\pi}{2}⁠) (area 0.785), consistent with 0.878.
    For a function that is never negative, the definite integral is the area under its graph. Basics: area as a sum of thin strips
Result

∫01sin⁡−1(2x1+x2)dx=π2−log⁡2≈0.8776491.\int_0^1 \sin^{-1}\left(\frac{2x}{1+x^2}\right)dx = \frac{\pi}{2} - \log 2 \approx 0.8776491. (Textbook answer: π2−log⁡2\frac{\pi}{2} - \log 2⁠.)

Check it with numbers

A numerical integration of sin⁡−12x1+x2\sin^{-1}\frac{2x}{1+x^2} over [0,1][0, 1] gives 0.8776491, matching 1.5707963−0.69314721.5707963 - 0.6931472⁠. Spot check of the identity at x=0.5x = 0.5⁠: 2(0.5)1.25=0.8\frac{2(0.5)}{1.25} = 0.8⁠, sin⁡−10.8≈0.9272952\sin^{-1}0.8 \approx 0.9272952⁠, and 2tan⁡−10.5≈2×0.4636476=0.92729522\tan^{-1}0.5 \approx 2\times 0.4636476 = 0.9272952⁠.

Common mistakes
  1. Using sin⁡−12x1+x2=2tan⁡−1x\sin^{-1}\frac{2x}{1+x^2} = 2\tan^{-1}x without a range check. It holds only for ∣x∣≤1|x| \le 1⁠. Here the interval is [0,1][0, 1]⁠, so it is fine, but say why.
  2. Keeping the xx-limits. After x=tan⁡θx = \tan\theta the limits are 0 and π4\frac{\pi}{4}⁠.
  3. Forgetting dx=sec⁡2θ dθdx = \sec^2\theta\,d\theta⁠. Writing ∫0π/42θ dθ=π216\int_0^{\pi/4} 2\theta\,d\theta = \frac{\pi^2}{16} is wrong: the factor sec⁡2θ\sec^2\theta is part of dxdx⁠.
  4. Choosing u=sec⁡2θu = \sec^2\theta in the parts step. Then v=θ22v = \frac{\theta^2}{2} and the new integral is harder.
What to take away
  1. 2x1+x2\frac{2x}{1+x^2}⁠, 1−x21+x2\frac{1-x^2}{1+x^2} and 2x1−x2\frac{2x}{1-x^2} signal x=tan⁡θx = \tan\theta⁠.
  2. Every sin⁡−1(sin⁡y)=y\sin^{-1}(\sin y) = y step needs yy in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠: find the range of θ\theta from the limits first.
  3. After a trigonometric substitution, θ⋅(trig)\theta\cdot(\text{trig}) is a job for integration by parts with u=θu = \theta⁠.

Every fact used, and where it comes from

FactUsed inSource
∣2x1+x2∣≤1\left|\frac{2x}{1+x^2}\right| \le 1⁠; continuity of compositesStep 1Algebra; Chapter 5, Section 5.2.1
Substitution x=tan⁡θx = \tan\theta with new limitsStep 2Section 7.9 (Lesson)
tan⁡−11=π4\tan^{-1}1 = \frac{\pi}{4}⁠; sin⁡−1(sin⁡y)=y\sin^{-1}(\sin y) = y on [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]Steps 2 and 3Chapter 2, principal values
sin⁡2θ=2tan⁡θ1+tan⁡2θ\sin 2\theta = \frac{2\tan\theta}{1+\tan^2\theta}Step 3Class XI, Trigonometric Functions (Basics)
Integration by parts; the polynomial factor is the first function (ILATE)Step 4Section 7.6 and Remark (iii) after Example 17 (Lesson)
∫tan⁡θ dθ=log⁡∣sec⁡θ∣+C\int\tan\theta\,d\theta = \log|\sec\theta| + CStep 4Section 7.3.1, (i)
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a)Steps 5 and 6Theorem 2, Section 7.8.3 (Lesson)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →