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

Exercise 7.7 · Q1: ∫4−x2 dx\int\sqrt{4 - x^2}\,dx

Exercise 7.7Integrals of some more types · Section 7.6.2
The question

Integrate the function

4−x2.\sqrt{4 - x^2}.
Exam answer

Let I=∫4−x2 dxI = \displaystyle\int\sqrt{4 - x^2}\,dx =∫22−x2 dx= \displaystyle\int\sqrt{2^2 - x^2}\,dx⁠.

Using ∫a2−x2 dx=x2a2−x2\displaystyle\int\sqrt{a^2 - x^2}\,dx = \frac{x}{2}\sqrt{a^2 - x^2} +a22sin⁡−1xa+C+ \frac{a^2}{2}\sin^{-1}\frac{x}{a} + C with a=2,{a = 2,}

I=x24−x2+42sin⁡−1x2+C\begin{aligned} I &= \frac{x}{2}\sqrt{4 - x^2} \\ &\quad + \frac42\sin^{-1}\frac{x}{2} + C \end{aligned}

∴ I=x24−x2+2sin⁡−1x2\therefore\ I = \dfrac{x}{2}\sqrt{4 - x^2} + 2\sin^{-1}\dfrac{x}{2} +C+ C⁠.

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

The one idea this problem is built on

4−x2=22−x24 - x^2 = 2^2 - x^2 is exactly the shape a2−x2a^2 - x^2 with a=2a = 2⁠, so the textbook's formula 7.6.2 (iii) applies at once:

∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C.\begin{aligned} \int\sqrt{a^2 - x^2}\,dx &= \frac{x}{2}\sqrt{a^2 - x^2} \\ &\quad + \frac{a^2}{2}\sin^{-1}\frac{x}{a} + C. \end{aligned}

We first see where that formula comes from (integration by parts, taking the constant function 1 as the second function), then use it. The two terms have a picture: under the semicircle y=4−x2y = \sqrt{4 - x^2}⁠, the area from 0 to xx is a right triangle plus a circular sector.

Given, to find, and the plan
Given
The integrand 4−x2\sqrt{4 - x^2}⁠.
To find
∫4−x2 dx\int\sqrt{4 - x^2}\,dx⁠, and where the answer is valid.
Plan
(1) Find where the square root is real. (2) Derive formula 7.6.2 (iii) by parts. (3) Apply it with a=2a = 2⁠. (4) Read the answer as triangle plus sector. (5) Differentiate back.

Basics you need

1Integration undoes differentiation

∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C means F′(x)=f(x)F'(x) = f(x)⁠. So any answer can be tested by differentiating it. Basics: integration undoes differentiation

2Integration by parts

∫f1f2 dx=f1∫f2 dx\int f_1 f_2\,dx = f_1\int f_2\,dx −∫(f1′∫f2 dx)dx- \int\left(f_1'\int f_2\,dx\right)dx⁠. Here we take f2=1f_2 = 1⁠, so ∫f2 dx=x\int f_2\,dx = x⁠. Lesson: integration by parts

3Formula 7.4 (5)

∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac{x}{a} + C for a>0a > 0⁠, ∣x∣<a|x| < a⁠. Lesson: integrals of particular functions

4Derivative of sin⁡−1\sin^{-1}

ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^2}} for ∣x∣<1|x| < 1 (standard formula (viii), Section 7.2), and by the chain rule ddxsin⁡−1x2=14−x2\frac{d}{dx}\sin^{-1}\frac{x}{2} = \frac{1}{\sqrt{4 - x^2}}⁠. Basics: substitution and the chain rule

Solution

  1. Where the square root is real

    We need 4−x2≥04 - x^2 \ge 0⁠, that is x2≤4x^2 \le 4⁠, that is

    −2≤x≤2.-2 \le x \le 2.

    So the integrand lives on the closed interval [−2,2][-2, 2]⁠. Its graph y=4−x2y = \sqrt{4 - x^2} is the upper half of the circle x2+y2=4x^2 + y^2 = 4 (radius 2, centre the origin).

    A square root of a negative number is not a real number, so outside [−2,2][-2, 2] there is nothing to integrate. Squaring y=4−x2y = \sqrt{4 - x^2} gives x2+y2=4x^2 + y^2 = 4 with y≥0y \ge 0⁠: the upper semicircle.
  2. Where formula 7.6.2 (iii) comes from

    Let a>0a > 0 and I=∫a2−x2⋅1 dxI = \int\sqrt{a^2 - x^2}\cdot 1\,dx for ∣x∣<a|x| < a⁠. By parts with first function a2−x2\sqrt{a^2 - x^2} and second function 1:

    I=xa2−x2−∫x⋅−xa2−x2 dx=xa2−x2+∫x2a2−x2 dx.\begin{aligned} I &= x\sqrt{a^2 - x^2} - \int x\cdot\frac{-x}{\sqrt{a^2 - x^2}}\,dx \\ &= x\sqrt{a^2 - x^2} + \int\frac{x^2}{\sqrt{a^2 - x^2}}\,dx. \end{aligned}

    Now write x2=a2−(a2−x2)x^2 = a^2 - (a^2 - x^2) in the last numerator:

    ∫x2 dxa2−x2=a2∫dxa2−x2−∫a2−x2 dx=a2sin⁡−1xa−I.\begin{aligned} \int\frac{x^2\,dx}{\sqrt{a^2 - x^2}} &= a^2\int\frac{dx}{\sqrt{a^2 - x^2}} \\ &\quad - \int\sqrt{a^2 - x^2}\,dx \\ &= a^2\sin^{-1}\frac{x}{a} - I. \end{aligned}

    So I=xa2−x2+a2sin⁡−1xa−II = x\sqrt{a^2 - x^2} + a^2\sin^{-1}\frac{x}{a} - I⁠, and solving for II (with the constant added at the end):

    I=x2a2−x2+a22sin⁡−1xa+C.\begin{aligned} I &= \frac{x}{2}\sqrt{a^2 - x^2} \\ &\quad + \frac{a^2}{2}\sin^{-1}\frac{x}{a} + C. \end{aligned}
    The derivative of a2−x2\sqrt{a^2 - x^2} is −2x2a2−x2=−xa2−x2\frac{-2x}{2\sqrt{a^2 - x^2}} = \frac{-x}{\sqrt{a^2 - x^2}} (chain rule), which exists for ∣x∣<a|x| < a⁠. The trick x2=a2−(a2−x2)x^2 = a^2 - (a^2 - x^2) splits x2a2−x2\frac{x^2}{\sqrt{a^2 - x^2}} into a2a2−x2\frac{a^2}{\sqrt{a^2 - x^2}} minus a2−x2a2−x2=a2−x2\frac{a^2 - x^2}{\sqrt{a^2 - x^2}} = \sqrt{a^2 - x^2}⁠, so the unknown II reappears and we can solve for it, just as the textbook does for formula (i) in Section 7.6.2. The textbook also mentions the alternative substitution x=asin⁡θx = a\sin\theta⁠.
    Integration by parts, Section 7.6; formula 7.4 (5). Lesson: integration by parts
  3. Apply it with a=2a = 2

    Here a2=4a^2 = 4⁠, a=2a = 2⁠, and a22=2\frac{a^2}{2} = 2⁠:

    ∫4−x2 dx=x24−x2+2sin⁡−1x2+C.\begin{aligned} \int\sqrt{4 - x^2}\,dx &= \frac{x}{2}\sqrt{4 - x^2} \\ &\quad + 2\sin^{-1}\frac{x}{2} + C. \end{aligned}
    Always take aa positive (a=2a = 2⁠, not −2-2⁠), because the formula was derived for a>0a > 0⁠: then xa\frac{x}{a} lies in [−1,1][-1, 1] exactly when ∣x∣≤a|x| \le a⁠, so sin⁡−1xa\sin^{-1}\frac{x}{a} is defined on the whole domain of the integrand.
    Formula 7.6.2 (iii). Lesson: integration by parts
  4. What the two terms mean: triangle plus sector

    Take 0<x≤20 < x \le 2 and the point P=(x,4−x2)P = \left(x, \sqrt{4 - x^2}\right) on the semicircle. The area under the semicircle from 0 to xx is the answer F(x)=x24−x2+2sin⁡−1x2F(x) = \frac{x}{2}\sqrt{4 - x^2} + 2\sin^{-1}\frac{x}{2} minus F(0)=0F(0) = 0⁠. The segment OPOP cuts that region into two pieces:

    • a right triangle with base xx and height 4−x2\sqrt{4 - x^2}⁠: area x24−x2\frac{x}{2}\sqrt{4 - x^2}⁠;
    • a circular sector of radius 2 between OAOA (the yy-axis) and OPOP⁠. Its angle θ\theta satisfies sin⁡θ=x2\sin\theta = \frac{x}{2}⁠, so θ=sin⁡−1x2\theta = \sin^{-1}\frac{x}{2}⁠, and its area is 12⋅22⋅θ=2sin⁡−1x2\frac12\cdot 2^2\cdot\theta = 2\sin^{-1}\frac{x}{2}⁠.
    x y A (0, 2) P (1.2, 1.6) sector 1.287 0.96 O −2 1.2 2
    At x=1.2x = 1.2⁠: triangle 1.22⋅1.6=0.96\frac{1.2}{2}\cdot 1.6 = 0.96 plus sector 2sin⁡−10.6≈1.28700222\sin^{-1}0.6 \approx 1.2870022 gives F(1.2)−F(0)≈2.2470022F(1.2) - F(0) \approx 2.2470022⁠, the area under the semicircle from 0 to 1.2.
    By Section 7.8, F(x)−F(0)F(x) - F(0) is the area under the curve from 0 to xx⁠. The picture confirms the formula with plain geometry: the "algebraic" term is a triangle, the sin⁡−1\sin^{-1} term is a sector. At x=2x = 2 the triangle vanishes and the sector is a quarter disc of area π\pi⁠, and indeed F(2)=2⋅π2=πF(2) = 2\cdot\frac{\pi}{2} = \pi⁠.
    Area of a sector of radius rr and angle θ\theta (radians) is 12r2θ\frac12 r^2\theta⁠. Basics: area as a sum of thin strips
  5. Check: differentiate the answer

    For −2<x<2-2 < x < 2⁠, by the product rule and the chain rule,

    ddx[x24−x2]=124−x2−x224−x2,ddx[2sin⁡−1x2]=2⋅11−x24⋅12=24−x2.\begin{aligned} \frac{d}{dx}\left[\frac{x}{2}\sqrt{4 - x^2}\right] &= \frac12\sqrt{4 - x^2} - \frac{x^2}{2\sqrt{4 - x^2}}, \\ \frac{d}{dx}\left[2\sin^{-1}\frac{x}{2}\right] &= 2\cdot\frac{1}{\sqrt{1 - \frac{x^2}{4}}}\cdot\frac12 \\ &= \frac{2}{\sqrt{4 - x^2}}. \end{aligned}

    Put everything over 24−x22\sqrt{4 - x^2}⁠:

    F′(x)=(4−x2)−x2+424−x2=2(4−x2)24−x2=4−x2. ✓\begin{aligned} F'(x) &= \frac{(4 - x^2) - x^2 + 4}{2\sqrt{4 - x^2}} \\ &= \frac{2(4 - x^2)}{2\sqrt{4 - x^2}} = \sqrt{4 - x^2}.\ \checkmark \end{aligned}
    124−x2=4−x224−x2\frac12\sqrt{4 - x^2} = \frac{4 - x^2}{2\sqrt{4 - x^2}} and 24−x2=424−x2\frac{2}{\sqrt{4 - x^2}} = \frac{4}{2\sqrt{4 - x^2}}⁠. Also 1−x24=4−x22\sqrt{1 - \frac{x^2}{4}} = \frac{\sqrt{4 - x^2}}{2}⁠. Finally 4−x24−x2=4−x2\frac{4 - x^2}{\sqrt{4 - x^2}} = \sqrt{4 - x^2} because 4−x2>04 - x^2 > 0 inside the interval. At x=±2x = \pm 2 the integrand is 0, and the answer's one-sided slope there is also 0, so the answer works on all of [−2,2][-2, 2]⁠.
    Product rule, chain rule, standard formula (viii), Section 7.2. Basics: integration undoes differentiation
Result ∫4−x2 dx=x24−x2+2sin⁡−1x2+C,\begin{aligned} \int\sqrt{4 - x^2}\,dx &= \frac{x}{2}\sqrt{4 - x^2} \\ &\quad + 2\sin^{-1}\frac{x}{2} + C, \end{aligned}

valid for −2≤x≤2-2 \le x \le 2⁠. (Textbook answer: 12x4−x2+2sin⁡−1x2+C\frac12 x\sqrt{4 - x^2} + 2\sin^{-1}\frac{x}{2} + C⁠, the same.)

Check it with numbers

By Section 7.8, ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) for our answer FF⁠, on any interval where the integrand is continuous. The middle column is a computer's sum of very many thin strips, found without our answer.

IntervalSum of thin stripsF(b)−F(a)F(b) - F(a)
[0,1][0, 1]1.91322301.91322301.91322301.9132230
[−1,1.8][-1, 1.8]4.93736384.93736384.93736384.9373638
Common mistakes
  1. Using a22sin⁡−1xa\frac{a^2}{2}\sin^{-1}\frac{x}{a} with a2a^2 in place of aa⁠. Inside sin⁡−1\sin^{-1} it is xa=x2\frac{x}{a} = \frac{x}{2}⁠, not x4\frac{x}{4}⁠.
  2. Mixing up the formulas. a2−x2\sqrt{a^2 - x^2} gives sin⁡−1\sin^{-1}⁠; x2±a2\sqrt{x^2 \pm a^2} gives a logarithm. Look at which term carries the minus sign.
  3. Forgetting the 12\frac12 in front of x4−x2x\sqrt{4 - x^2}⁠. It comes from solving 2I=…2I = \dots in Step 2; the derivative check catches it.
What to take away
  1. ∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+C\int\sqrt{a^2 - x^2}\,dx = \frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\frac{x}{a} + C⁠, valid for ∣x∣≤a|x| \le a⁠.
  2. By parts with second function 1, the original integral reappears; solve for it.
  3. Geometrically: triangle plus sector under a semicircle.

Every fact used, and where it comes from

FactUsed inSource
Integration by partsStep 2Section 7.6 (Lesson: integration by parts)
∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac{x}{a} + CStep 2Formula 7.4 (5)
∫a2−x2 dx\int\sqrt{a^2 - x^2}\,dx formulaSteps 2, 3Formula 7.6.2 (iii), Section 7.6.2
Area of a sector 12r2θ\frac12 r^2\thetaStep 4Geometry (Basics: area)
ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^2}}Step 5Standard formula (viii), Section 7.2
∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Step 4, numerical checkSection 7.8 (Lesson: definite integrals)
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 →