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

Miscellaneous · Q37: ∫01sin⁡−1x dx=π2−1\int_0^1\sin^{-1}x\,dx=\frac{\pi}{2}-1

Miscellaneous ExerciseDefinite integrals by parts · Miscellaneous Exercise
The question

Prove that

∫01sin⁡−1x dx=π2−1\int_0^1 \sin^{-1} x\,dx = \frac{\pi}{2} - 1
Exam answer

Let I=∫01sin⁡−1x dxI = \displaystyle\int_0^1\sin^{-1}x\,dx⁠.

Taking sin⁡−1x\sin^{-1}x as the first function and 1 as the second, by parts:

∫sin⁡−1x dx=xsin⁡−1x−∫x dx1−x2\begin{aligned} &\int\sin^{-1}x\,dx \\ &= x\sin^{-1}x - \int\frac{x\,dx}{\sqrt{1 - x^2}} \end{aligned}

Put 1−x2=t1 - x^2 = t⁠. Then −2x dx=dt-2x\,dx = dt⁠.

∫x dx1−x2=−12∫dtt=−t=−1−x2\begin{aligned} \int\frac{x\,dx}{\sqrt{1 - x^2}} &= -\frac12\int\frac{dt}{\sqrt t} \\ &= -\sqrt t = -\sqrt{1 - x^2} \end{aligned} ∴ I=[xsin⁡−1x+1−x2]01=(1⋅π2+0)−(0+1)\begin{aligned} \therefore\ I &= \Big[x\sin^{-1}x \\ &\qquad + \sqrt{1 - x^2}\Big]_0^1 \\ &= \left(1\cdot\frac{\pi}{2} + 0\right) - (0 + 1) \end{aligned}

∴ I=π2−1=RHS\therefore\ I = \dfrac{\pi}{2} - 1 = \text{RHS}⁠. Hence proved.

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

The one idea this problem is built on

We know the derivative of sin⁡−1x\sin^{-1}x but not, directly, its integral. Integration by parts with sin⁡−1x\sin^{-1}x as the first function and the constant 1 as the second (as the book does for log⁡x\log x in Example 18) trades the integral of sin⁡−1x\sin^{-1}x for the integral of x1−x2\frac{x}{\sqrt{1-x^2}}⁠, which a simple substitution finishes.

Given, to show, and the plan
Given
I=∫01sin⁡−1x dxI = \displaystyle\int_0^1 \sin^{-1} x\,dx⁠.
To show
I=π2−1I = \frac{\pi}{2} - 1⁠.
Plan
(1) Continuity. (2) Integrate by parts with u=sin⁡−1xu = \sin^{-1}x⁠, dv=dxdv = dx⁠. (3) The leftover integral by t=1−x2t = 1 - x^2⁠. (4) Check by differentiating. (5) Deal with the endpoint x=1x = 1⁠, where 11−x2\frac{1}{\sqrt{1-x^2}} is undefined. (6) Evaluate. (7) Confirm with a picture.

Basics you need

1Integration by parts (Section 7.6)

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du⁠. When only one function is present, the second function can be the constant 1 (Example 18). Lesson: integration by parts

2Derivative of sin⁡−1x\sin^{-1}x

ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}} for −1<x<1-1 < x < 1 (Chapter 5, Section 5.3.3). Basics: integration undoes differentiation

3Substitution

With t=1−x2t = 1 - x^2⁠, dt=−2x dxdt = -2x\,dx⁠. Basics: substitution

4Principal values

sin⁡−11=π2\sin^{-1}1 = \frac{\pi}{2}⁠, sin⁡−10=0\sin^{-1}0 = 0⁠; the principal range of sin⁡−1\sin^{-1} is [−π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}] (Chapter 2). Basics: trigonometric identities

Solution

  1. The integrand is continuous on [0,1][0, 1]

    sin⁡−1x\sin^{-1}x is defined and continuous on [−1,1][-1, 1]⁠, so it is continuous on [0,1][0, 1]⁠, including at the endpoint x=1x = 1⁠, where it equals π2\frac{\pi}{2}⁠.

    So the integral exists in the ordinary sense of Theorem 2, Section 7.8.3. Keep in mind that the derivative of sin⁡−1x\sin^{-1}x does not exist at x=1x = 1⁠; this matters in Step 5.
  2. Integration by parts with u=sin⁡−1xu = \sin^{-1}x

    u=sin⁡−1x,du=dx1−x2,dv=1 dx,v=x.\begin{aligned} u &= \sin^{-1}x, & du &= \frac{dx}{\sqrt{1-x^2}}, \\ dv &= 1\,dx, & v &= x . \end{aligned}

    So, for −1<x<1-1 < x < 1⁠,

    ∫sin⁡−1x dx=xsin⁡−1x−∫x1−x2 dx.\begin{aligned} &\int\sin^{-1}x\,dx \\ &= x\sin^{-1}x - \int\frac{x}{\sqrt{1-x^2}}\,dx . \end{aligned}
    Remark (iii) of Section 7.6: an inverse trigonometric function is taken as the first function. We cannot integrate sin⁡−1x\sin^{-1}x yet, but we can differentiate it into an algebraic expression, and the second function 1 integrates to xx⁠. The new integral contains no inverse function at all.
    Section 7.6, formula (1); Example 18 uses the same "times 1" trick for log⁡x\log x⁠. Lesson: integration by parts
  3. The leftover integral: put t=1−x2t = 1 - x^2

    With t=1−x2t = 1 - x^2⁠, dt=−2x dxdt = -2x\,dx⁠, so x dx=−12 dtx\,dx = -\frac12\,dt⁠:

    ∫x dx1−x2=−12∫t−1/2 dt=−12⋅2t1/2=−1−x2.\begin{aligned} \int\frac{x\,dx}{\sqrt{1-x^2}} &= -\frac12\int t^{-1/2}\,dt \\ &= -\frac12\cdot 2t^{1/2} = -\sqrt{1-x^2} . \end{aligned}

    Therefore

    ∫sin⁡−1x dx=xsin⁡−1x+1−x2+C.\int\sin^{-1}x\,dx = x\sin^{-1}x + \sqrt{1-x^2} + C .
    The numerator x dxx\,dx is (a constant times) the differential of the expression 1−x21 - x^2 under the root, which is exactly when substitution works. The power rule with n=−12n = -\frac12 gives t1/21/2=2t1/2\frac{t^{1/2}}{1/2} = 2t^{1/2}⁠. Subtracting −1−x2-\sqrt{1-x^2} gives +1−x2+\sqrt{1-x^2}⁠.
    Section 7.3.1; standard formula (i), Section 7.2. Lesson: integration by substitution
  4. Check: differentiate the antiderivative

    Let F(x)=xsin⁡−1x+1−x2F(x) = x\sin^{-1}x + \sqrt{1-x^2}⁠. For −1<x<1-1 < x < 1⁠:

    F′(x)=sin⁡−1x+x1−x2+−2x21−x2=sin⁡−1x ✓\begin{aligned} F'(x) &= \sin^{-1}x + \frac{x}{\sqrt{1-x^2}} + \frac{-2x}{2\sqrt{1-x^2}} \\ &= \sin^{-1}x \ ✓ \end{aligned}
    Product rule on xsin⁡−1xx\sin^{-1}x⁠, chain rule on 1−x2\sqrt{1-x^2} (outer square root, inner 1−x21 - x^2⁠). The two fractions cancel, leaving the integrand.
  5. The endpoint x=1x = 1

    Step 4 holds for −1<x<1-1 < x < 1 only, because 11−x2\frac{1}{\sqrt{1-x^2}} is undefined at x=1x = 1⁠. But FF itself is continuous on all of [0,1][0, 1]⁠: at x=1x = 1 it equals 1⋅π2+0=π21\cdot\frac{\pi}{2} + 0 = \frac{\pi}{2}⁠, and xsin⁡−1x→π2x\sin^{-1}x \to \frac{\pi}{2}⁠, 1−x2→0\sqrt{1-x^2} \to 0 as x→1x \to 1⁠.

    That is enough for I=F(1)−F(0)I = F(1) - F(0)⁠. The area function A(x)=∫0xsin⁡−1t dtA(x) = \int_0^x\sin^{-1}t\,dt has A′(x)=sin⁡−1xA'(x) = \sin^{-1}x (Theorem 1, Section 7.8.2), so A−FA - F has derivative 0 on [0,1)[0, 1) and is constant there (functions with the same derivative on an interval differ by a constant: Remark in Section 7.2). Since A(0)=0A(0) = 0⁠, A(x)=F(x)−F(0)A(x) = F(x) - F(0) for 0≤x<10 \le x < 1⁠. Now let x→1x \to 1⁠. FF is continuous at 1 (shown above). AA is continuous at 1 too: Theorem 1 gives A′(x)=sin⁡−1xA'(x) = \sin^{-1}x at every xx of the closed interval [0,1][0, 1]⁠, including x=1x = 1 where sin⁡−11=π2\sin^{-1}1 = \frac{\pi}{2}⁠, and a function differentiable at a point is continuous there (Theorem 3, Chapter 5, Section 5.3). Taking the limit of both sides gives I=A(1)=F(1)−F(0)I = A(1) = F(1) - F(0)⁠.

    Theorem 2 asks for an antiderivative on the closed interval. Here our formula for F′F' fails exactly at the right end, so we check that nothing is lost there. (The book does not raise this point.) The continuity of FF at x=1x = 1 is what saves us.
    Theorem 1, Section 7.8.2 (it needs only that sin⁡−1x\sin^{-1}x is continuous on [0,1][0, 1]⁠, Step 1); Remark in Section 7.2; Theorem 3, Section 5.3. Lesson: definite integrals
  6. Evaluate

    F(1)=1⋅sin⁡−11+0=π2F(1) = 1\cdot\sin^{-1}1 + \sqrt{0} = \frac{\pi}{2}⁠, and F(0)=0+1=1F(0) = 0 + \sqrt1 = 1⁠.

    I=F(1)−F(0)=π2−1≈0.570796.I = F(1) - F(0) = \frac{\pi}{2} - 1 \approx 0.570796 .

    This is the required result.

    Principal values: sin⁡−11=π2\sin^{-1}1 = \frac{\pi}{2}⁠, because sin⁡π2=1\sin\frac{\pi}{2} = 1 and π2\frac{\pi}{2} is in [−π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}]⁠. Note F(0)=1F(0) = 1⁠, not 0: the term 1−x2\sqrt{1-x^2} does not vanish at x=0x = 0⁠.
    Theorem 2, Section 7.8.3.
  7. The same answer from a picture

    x y 0.5 1 0.5 1 π/2 O (1, π/2) 1 π/2 − 1 blue: under y = sin⁻¹x, area π/2 − 1 ≈ 0.5708 violet: beside x = sin y, area 1 dashed rectangle: 1 × π/2 area ≈ 1.5708
    The curve y=sin⁡−1xy = \sin^{-1}x for 0≤x≤10 \le x \le 1 (equal scales) is the curve x=sin⁡yx = \sin y for 0≤y≤π20 \le y \le \frac{\pi}{2}⁠. The rectangle [0,1]×[0,π2][0, 1] \times [0, \frac{\pi}{2}] has area π2\frac{\pi}{2}⁠. Its part to the left of the curve (violet) has area ∫0π/2sin⁡y dy=1\int_0^{\pi/2}\sin y\,dy = 1⁠, so the part under the curve (blue) is π2−1\frac{\pi}{2} - 1⁠.
    The graph of an inverse function is the mirror image of the original graph, so "area under sin⁡−1x\sin^{-1}x" and "area beside sin⁡y\sin y" fill the rectangle together. The area beside the curve is an easy integral, [−cos⁡y]0π/2=0−(−1)=1\big[-\cos y\big]_0^{\pi/2} = 0 - (-1) = 1⁠. This is an independent check of the whole calculation.
Result

∫01sin⁡−1x dx=[xsin⁡−1x+1−x2]01=π2−1≈0.570796,\begin{aligned} &\int_0^1\sin^{-1}x\,dx \\ &= \Big[x\sin^{-1}x + \sqrt{1-x^2}\Big]_0^1 \\ &= \frac{\pi}{2} - 1 \approx 0.570796, \end{aligned} as was to be proved.

Check it with numbers

Numerical integration (adaptive quadrature) of sin⁡−1x\sin^{-1}x over [0,1][0, 1] gives 0.5707963268, and π2−1≈0.5707963268\frac{\pi}{2} - 1 \approx 0.5707963268 ✓. The violet area ∫0π/2sin⁡y dy\int_0^{\pi/2}\sin y\,dy computes to 1.0000000000.

Derivative spot check at x=0.5x = 0.5⁠: F′(0.5)F'(0.5) by central difference (step 0.001) is 0.5235989, and sin⁡−10.5=π6≈0.5235988\sin^{-1}0.5 = \frac{\pi}{6} \approx 0.5235988 ✓.

Common mistakes
  1. Writing F(0)=0F(0) = 0⁠. 1−02=1\sqrt{1 - 0^2} = 1⁠, so F(0)=1F(0) = 1⁠; forgetting it gives π2\frac{\pi}{2}⁠.
  2. Sign of 1−x2\sqrt{1-x^2}: xsin⁡−1x−(−1−x2)=xsin⁡−1x+1−x2x\sin^{-1}x - \left(-\sqrt{1-x^2}\right) = x\sin^{-1}x + \sqrt{1-x^2}⁠.
  3. Confusing sin⁡−1x\sin^{-1}x with 1sin⁡x\frac{1}{\sin x}⁠. sin⁡−1\sin^{-1} is the inverse function, not the reciprocal.
What to take away
  1. To integrate a lone sin⁡−1x\sin^{-1}x⁠, tan⁡−1x\tan^{-1}x or log⁡x\log x⁠, use parts with the second function 1.
  2. ∫sin⁡−1x dx=xsin⁡−1x+1−x2+C\int\sin^{-1}x\,dx = x\sin^{-1}x + \sqrt{1-x^2} + C⁠.
  3. Area under an inverse function = rectangle minus area beside the original function.

Every fact used, and where it comes from

FactUsed inSource
sin⁡−1\sin^{-1} is continuous on [−1,1][-1, 1]Steps 1, 5Chapter 5, Section 5.2 (inverse functions); Chapter 2
Integration by parts; inverse trig as first functionStep 2Section 7.6, formula (1), Remark (iii); Example 18
ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}}Steps 2, 4Chapter 5, Section 5.3.3
Substitution; power rule with n=−12n = -\frac12Step 3Section 7.3.1; standard formula (i), Section 7.2
Area function A′(x)=f(x)A'(x) = f(x)⁠; F(b)−F(a)F(b) - F(a)Steps 5, 6Theorem 1, Section 7.8.2; Theorem 2, Section 7.8.3
Same derivative on an interval implies a constant difference; differentiable implies continuousStep 5Remark in Section 7.2; Chapter 5, Section 5.3, Theorem 3
sin⁡−11=π2\sin^{-1}1 = \frac{\pi}{2}Step 6Principal values (Chapter 2)
∫sin⁡y dy=−cos⁡y+C\int\sin y\,dy = -\cos y + CStep 7Standard formula (iii), Section 7.2
All decimalsStep 6, CheckRecomputed (mpmath quadrature, 30 digits) in the site's verification script
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 →