Chalk−1

Math · Calculus II · Worked example

Integrate √(9 − x²) by trig substitution

Find ∫9−x2 d⁢x.

∫9−x2d⁢x

Choose the substitution

9−x2 has the form a2−x2 with a=3, and there is no factor of x to pair with d⁢x, so an ordinary substitution fails. Let x=3sinθ, with θ between −π⁢/2 and π⁢/2.

x=3sinθ

Find d⁢x

Differentiate the substitution. The factor 3cosθ goes into the integral with d⁢θ.

d⁢x=3cosθd⁢θ

Simplify the root

9−9sin2θ=9cos2θ, and cosθ is not negative for θ between −π⁢/2 and π⁢/2, so the root is 3cosθ.

9−9sin2θ=3cosθ

Integrate in θ

The integrand is (3cosθ)⁢(3cosθ) =9cos2θ. Since cos2θ=(1+cos2⁢θ)⁢/2, that is (9⁢/2)⁢(1+cos2⁢θ), which has a known antiderivative.

∫92(1+cos2⁢θ)d⁢θ=92θ+94sin2⁢θ+C
∫92(1+cos2⁢θ)d⁢θ=92θ+94sin2⁢θ+C

Return to x

θ=arcsin(x⁢/3). For sin2⁢θ, use sin2⁢θ=2sinθcosθ and read the triangle: sinθ=x⁢/3 and cosθ=9−x2/3. Then (9⁢/4)sin2⁢θ =(9⁢/4)⁢(2)⁢(x⁢/3)⁢(9−x2/3) =x9−x2/2.

92arcsinx3+x9−x22+C
The triangle for x =3sinθ
SideLength
Opposite θx
Hypotenuse3
Adjacent to θ9−x2

Check a value with an area

Differentiating the answer returns 9−x2, which checks it for every x. A quicker check of one value: from x=0 to x=3 the antiderivative gives (9⁢/2)⁢(π⁢/2)=9⁢π⁢/4. The graph of y=9−x2 on that interval is a quarter of a circle of radius 3, and a quarter of π⋅32 is also 9⁢π⁢/4.

Result

∫9−x2 d⁢x =(9⁢/2)arcsin(x⁢/3) +(x⁢/2)9−x2+C, for x from −3 to 3. From 0 to 3 it gives 9⁢π⁢/4, the quarter circle.

Your turn

1. One like the example

Find ∫d⁢x⁢/25−x2.

Show the answer and explanation

arcsin(x⁢/5)+C, for x between −5 and 5.

Let x=5sinθ, so d⁢x=5cosθ d⁢θ and 25−x2=5cosθ. The integrand becomes (5cosθ)⁢/⁢(5cosθ)=1, so the integral is θ+C, and θ=arcsin(x⁢/5). Chalk checks every row, the arcsin answer included.

∫125−x2d⁢xx=5sinθd⁢x=5cosθd⁢θ∫1d⁢θ=θ+Carcsinx5+C

2. A variation

Find ∫x2/9−x2 d⁢x. The root has moved to the denominator, with x2 above it.

Show the answer and explanation

(9⁢/2)arcsin(x⁢/3) −(x⁢/2)9−x2+C.

With x=3sinθ, d⁢x=3cosθ d⁢θ and the root is 3cosθ, so the integrand becomes 9sin2θ⋅3cosθ⁢/⁢(3cosθ) =9sin2θ. Since sin2θ=(1−cos2⁢θ)⁢/2, the θ-integral is (9⁢/2)⁢θ−(9⁢/4)sin2⁢θ. The triangle gives (9⁢/4)sin2⁢θ =x9−x2/2, as in the worked example.

∫x29−x2d⁢xx=3sinθd⁢x=3cosθd⁢θ∫92(1−cos2⁢θ)d⁢θ=92θ−94sin2⁢θ+C92arcsinx3−x9−x22+C
∫x29−x2d⁢xx=3sinθd⁢x=3cosθd⁢θ∫92(1−cos2⁢θ)d⁢θ=92θ−94sin2⁢θ+C=92arcsinx3−x9−x22+C

3. Somewhere new

Find the area inside the ellipse x2/16+y2/9=1.

Show the answer and explanation

12⁢π≈37.7 square units.

The top half is y=(3⁢/4)16−x2, so the area is four times the integral of (3⁢/4)16−x2 from 0 to 4, which is 3 times the integral of 16−x2. With x=4sinθ that integral is ∫16cos2θ d⁢θ from 0 to π⁢/2, or 4⁢π, a quarter of a circle of radius 4. The area is 3⋅4⁢π=12⁢π, which matches πab with a=4 and b=3.

∫0416−x2d⁢xx=4sinθd⁢x=4cosθd⁢θ∫0π⁢/28(1+cos2⁢θ)d⁢θ[8⁢θ+4sin2⁢θ]0π⁢/24⁢π3⋅4⁢π=12⁢π12⁢π≈37.7

Keep exploring

Open the substitution in Math and change the differential to d⁢x=3sinθ d⁢θ. The row turns to ✗ with “Doesn’t match dx = x′(θ) dθ.” Add the final answer as a row and it reads ✓, because the answer is checked against the integral in row 1, not against the differential.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Study it, then try it

Practice the key terms as flashcards, then open the example in its tool, change a value and keep a useful result on your board.

Study the 6 key terms Check the substitution in Math Check the θ-integral in Math See the quarter circle in Graph Open worked example on a board Pythagorean identity in Math Reference

Your existing work stays on this device. Examples open as editable copies.