Reading history

Trigonometric Substitution

6 min read 1 views

Remove square roots with trig substitution: x = a sin, a tan or a sec theta, reference triangles, completing the square and a proof of the circle area.

Square roots like √(9 − x²), √(4 + x²) and √(x² − 16) block ordinary substitution. Trigonometric substitution removes them by replacing x with a trig expression so that a Pythagorean identity turns the expression under the root into a perfect square. In this lesson you will learn which substitution to use for each of the three forms, how to draw a reference triangle to convert back to x, and how this method proves the formula for the area of a circle.

In this lesson you will learn

  • The three standard substitutions for √(a² − x²), √(a² + x²) and √(x² − a²)
  • How the identities 1 − sin²θ = cos²θ and 1 + tan²θ = sec²θ remove the root
  • Drawing a reference triangle to return to x
  • Changing limits in definite integrals
  • A calculus proof that the area of a circle is πr²

You should know u-substitution, trigonometric integrals and inverse trig functions.

The Three Cases

ExpressionSubstituteIdentity usedRoot becomes
√(a² − x²)x = a sin θ1 − sin²θ = cos²θa cos θ
√(a² + x²)x = a tan θ1 + tan²θ = sec²θa sec θ
√(x² − a²)x = a sec θsec²θ − 1 = tan²θa tan θ

Memory aid: “minus x², use sine; plus x², use tan; x² minus, use sec”.

Case 1: √(a² − x²)

∫ 1/(x²√(9 − x²)) dx
x = 3 sin θ,  dx = 3 cos θ dθ,  √(9 − x²) = 3 cos θ

= ∫ 3 cos θ / (9 sin²θ · 3 cos θ) dθ = (1/9) ∫ cosec²θ dθ = −(1/9) cot θ + C

Now return to x. Since sin θ = x/3, draw a right triangle with opposite side x and hypotenuse 3:

θx (opposite)3 (hypotenuse)√(9 − x²) (adjacent)sin θ = x/3cos θ = √(9 − x²)/3cot θ = √(9 − x²)/xtan θ = x/√(9 − x²)
Adjacent side = √(9 − x²),  so cot θ = √(9 − x²)/x

Answer: −√(9 − x²)/(9x) + C

The Area of a Circle

A circle of radius r is x² + y² = r². Its area is four times the area under y = √(r² − x²) from 0 to r:

A = 4 ∫₀ʳ √(r² − x²) dx,   x = r sin θ,  dx = r cos θ dθ
Limits: x = 0 → θ = 0,  x = r → θ = π/2

A = 4 ∫₀^(π/2) r cos θ · r cos θ dθ = 4r² ∫₀^(π/2) cos²θ dθ
  = 4r² [θ/2 + (sin 2θ)/4]₀^(π/2) = 4r² · π/4 = πr²

The formula you have used since primary school, proved in four lines.

Case 2: √(a² + x²)

∫ 1/√(4 + x²) dx
x = 2 tan θ,  dx = 2 sec²θ dθ,  √(4 + x²) = 2 sec θ

= ∫ 2 sec²θ / (2 sec θ) dθ = ∫ sec θ dθ = ln|sec θ + tan θ| + C

Triangle: tan θ = x/2, hypotenuse √(4 + x²), so sec θ = √(4 + x²)/2
= ln|(√(4 + x²) + x)/2| + C = ln(x + √(4 + x²)) + C′

The constant −ln 2 has been absorbed into a new constant C′. This answer matches sinh⁻¹(x/2) from the hyperbolic functions lesson, as it should.

Case 3: √(x² − a²)

∫ √(x² − 1)/x dx   (x > 1)
x = sec θ,  dx = sec θ tan θ dθ,  √(x² − 1) = tan θ

= ∫ (tan θ / sec θ) · sec θ tan θ dθ = ∫ tan²θ dθ = ∫ (sec²θ − 1) dθ
= tan θ − θ + C = √(x² − 1) − sec⁻¹x + C

Completing the Square First

If the root contains a quadratic with an x term, complete the square to reach one of the three forms.

∫ 1/√(x² + 4x + 13) dx
x² + 4x + 13 = (x + 2)² + 9
Let u = x + 2:  ∫ 1/√(u² + 9) du = ln(u + √(u² + 9)) + C
= ln(x + 2 + √(x² + 4x + 13)) + C

Common Mistakes

  1. Forgetting to replace dx with the trig expression.
  2. Choosing the wrong substitution for the form of the root.
  3. Leaving the answer in θ for an indefinite integral. Use the triangle.
  4. Using x-limits with θ in a definite integral.

Practice Exercises

Exercise 1. Find ∫ 1/√(25 − x²) dx.

Show answer

x = 5 sin θ gives ∫ dθ = θ, so sin⁻¹(x/5) + C.

Exercise 2. Find ∫ 1/(x² + 9)^(3/2) dx.

Show answer

x = 3 tan θ: (1/9) ∫ cos θ dθ = (1/9) sin θ = x/(9√(x² + 9)) + C.

Exercise 3. Evaluate ∫₀² √(4 − x²) dx.

Show answer

A quarter of a circle of radius 2: π. (Trig substitution gives 4 ∫₀^(π/2) cos²θ dθ = π.)

Frequently Asked Questions

When should I use trigonometric substitution?

Use it when the integrand contains a square root of the form a squared minus x squared, a squared plus x squared, or x squared minus a squared, and simpler methods like u-substitution do not work. Substitute x = a sin theta, x = a tan theta or x = a sec theta respectively.

How do I convert the answer back to x?

Draw a right triangle using your substitution. For example, if x = 3 sin theta, then sin theta = x/3, so the opposite side is x and the hypotenuse is 3. Pythagoras gives the third side, and you can read off any trig ratio of theta in terms of x.

Summary

  • √(a² − x²): x = a sin θ. √(a² + x²): x = a tan θ. √(x² − a²): x = a sec θ.
  • A Pythagorean identity removes the square root.
  • Use a reference triangle to convert back to x.
  • Complete the square when the quadratic has an x term.
  • The method proves the area of a circle, πr².

Next: Integration Using Partial Fractions.

Lessons are also marked complete when you click Next.

Leave a Reply

Your email address will not be published. Required fields are marked *