Skip to main content

Thomas’ Calculus · Chapter 08 · Section 8.4

By Muhammad Abdullah Athar · SymPy Verified

Trigonometric Substitutions

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 8.4: Trigonometric Substitutions

Eliminating radical expressions of the forms a2−x2\sqrt{a^2 - x^2}, a2+x2\sqrt{a^2 + x^2}, and x2−a2\sqrt{x^2 - a^2}.


1. Reference Right Triangles

To back-substitute after integrating in θ\theta:

  • For x=asin⁡θx = a\sin\theta: Opposite =x= x, Hypotenuse =a= a, Adjacent =a2−x2= \sqrt{a^2 - x^2}.
  • For x=atan⁡θx = a\tan\theta: Opposite =x= x, Adjacent =a= a, Hypotenuse =a2+x2= \sqrt{a^2 + x^2}.
  • For x=asec⁡θx = a\sec\theta: Hypotenuse =x= x, Adjacent =a= a, Opposite =x2−a2= \sqrt{x^2 - a^2}.

Part Two

Key Ideas to Remember

1 essential statements for this section, each with a plain-words explanation.

Rule #1Sec 8.4

Trigonometric Substitution Dictionary

Radical FormSubstitutionIdentitya2−x2x=asin⁡(θ)a2−a2sin⁡2(θ)=a2cos⁡2(θ)a2+x2x=atan⁡(θ)a2+a2tan⁡2(θ)=a2sec⁡2(θ)x2−a2x=asec⁡(θ)a2sec⁡2(θ)−a2=a2tan⁡2(θ)\begin{array}{c|c|c} \text{Radical Form} & \text{Substitution} & \text{Identity} \\ \hline \sqrt{a^2 - x^2} & x = a\sin(\theta) & a^2 - a^2\sin^2(\theta) = a^2\cos^2(\theta) \\ \sqrt{a^2 + x^2} & x = a\tan(\theta) & a^2 + a^2\tan^2(\theta) = a^2\sec^2(\theta) \\ \sqrt{x^2 - a^2} & x = a\sec(\theta) & a^2\sec^2(\theta) - a^2 = a^2\tan^2(\theta) \end{array}

Trigonometric substitutions eliminate square roots containing quadratic binomials by transforming them into single trigonometric squared terms via Pythagorean identities.

Conditions: a > 0

In plain words: Right triangle geometry facilitates back-substitution from theta to original variable x.

Remember — sqrt(a^2 - x^2) -> x = a sin theta; sqrt(a^2 + x^2) -> x = a tan theta; sqrt(x^2 - a^2) -> x = a sec theta.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 8.4, Exercise 1)

Warm-up

Problem. Evaluate int sqrt(9 - x^2) dx.

Step-by-Step Derivation (3 steps)

1

Set Up Trigonometric Substitution

x=3sin⁡(θ)  ⟹  dx=3cos⁡(θ)dθ,9−x2=3cos⁡(θ)x = 3\sin(\theta) \implies dx = 3\cos(\theta) d\theta, \quad \sqrt{9 - x^2} = 3\cos(\theta)

Use x = a sin(theta) with a = 3.

Why this works: Eliminates square root via 1 - sin^2 = cos^2.
2

Substitute and Integrate in theta

∫(3cos⁡(θ))(3cos⁡(θ)dθ)=9∫cos⁡2(θ)dθ=9∫1+cos⁡(2θ)2dθ=92θ+94sin⁡(2θ)+C\int (3\cos(\theta))(3\cos(\theta) d\theta) = 9 \int \cos^2(\theta) d\theta = 9 \int \frac{1 + \cos(2\theta)}{2} d\theta = \frac{9}{2}\theta + \frac{9}{4}\sin(2\theta) + C

Apply half-angle formula.

Why this works: Even power integration.
3

Back-Substitute Using Right Triangle

sin⁡(2θ)=2sin⁡(θ)cos⁡(θ)=2(x3)(9−x23)=2x9−x29  ⟹  92arcsin⁡(x/3)+x9−x22+C\sin(2\theta) = 2\sin(\theta)\cos(\theta) = 2\left(\frac{x}{3}\right)\left(\frac{\sqrt{9 - x^2}}{3}\right) = \frac{2x\sqrt{9 - x^2}}{9} \implies \frac{9}{2}\arcsin(x/3) + \frac{x\sqrt{9 - x^2}}{2} + C

Replace theta with arcsin(x/3) and sin(2 theta) with 2 sin cos.

Why this works: Returning to algebraic variable x.

Answer: 92arcsin⁡(x3)+x9−x22+C\frac{9}{2}\arcsin\left(\frac{x}{3}\right) + \frac{x\sqrt{9 - x^2}}{2} + C

✓ Verified by SymPy CAS

Example 02(Section 8.4, Exercise 2)

Core practice

Problem. Evaluate int 1 / (x^2 sqrt(x^2 + 4)) dx.

Step-by-Step Derivation (3 steps)

1

Set Up Tangent Substitution

x=2tan⁡(θ)  ⟹  dx=2sec⁡2(θ)dθ,x2+4=2sec⁡(θ)x = 2\tan(\theta) \implies dx = 2\sec^2(\theta) d\theta, \quad \sqrt{x^2 + 4} = 2\sec(\theta)

Use x = a tan(theta) with a = 2.

Why this works: 1 + tan^2 = sec^2.
2

Substitute into Integrand

∫2sec⁡2(θ)dθ(4tan⁡2(θ))(2sec⁡(θ))=14∫sec⁡(θ)tan⁡2(θ)dθ=14∫1/cos⁡sin⁡2/cos⁡2dθ=14∫cos⁡(θ)sin⁡2(θ)dθ\int \frac{2\sec^2(\theta) d\theta}{(4\tan^2(\theta))(2\sec(\theta))} = \frac{1}{4} \int \frac{\sec(\theta)}{\tan^2(\theta)} d\theta = \frac{1}{4} \int \frac{1/\cos}{\sin^2/\cos^2} d\theta = \frac{1}{4} \int \frac{\cos(\theta)}{\sin^2(\theta)} d\theta

Simplify trigonometric powers into sine and cosine.

Why this works: Prepares for simple substitution.
3

Integrate and Back-Substitute

14(−1sin⁡(θ))+C=−14csc⁡(θ)+C=−x2+44x+C\frac{1}{4} \left( -\frac{1}{\sin(\theta)} \right) + C = -\frac{1}{4}\csc(\theta) + C = -\frac{\sqrt{x^2 + 4}}{4x} + C

From triangle, csc(theta) = hypotenuse/opposite = sqrt(x^2 + 4)/x.

Why this works: Final evaluated antiderivative.

Answer: −x2+44x+C-\frac{\sqrt{x^2 + 4}}{4x} + C

✓ Verified by SymPy CAS

Example 03(Section 8.4, Exercise 3)

Core practice

Problem. Evaluate int sqrt(x^2 - 16) / x dx for x > 4.

Step-by-Step Derivation (3 steps)

1

Apply Secant Substitution

x=4sec⁡(θ)  ⟹  dx=4sec⁡(θ)tan⁡(θ)dθ,x2−16=4tan⁡(θ)x = 4\sec(\theta) \implies dx = 4\sec(\theta)\tan(\theta) d\theta, \quad \sqrt{x^2 - 16} = 4\tan(\theta)

Use x = a sec(theta) with a = 4.

Why this works: sec^2 - 1 = tan^2.
2

Substitute into Integrand

∫4tan⁡(θ)4sec⁡(θ)(4sec⁡(θ)tan⁡(θ)dθ)=4∫tan⁡2(θ)dθ=4∫(sec⁡2(θ)−1)dθ\int \frac{4\tan(\theta)}{4\sec(\theta)} (4\sec(\theta)\tan(\theta) d\theta) = 4 \int \tan^2(\theta) d\theta = 4 \int (\sec^2(\theta) - 1) d\theta

Simplify integrand.

Why this works: Convert tan^2 to sec^2 - 1.
3

Integrate and Back-Substitute

4(tan⁡(θ)−θ)+C=4(x2−164−arcsec(x/4))+C=x2−16−4arcsec(x/4)+C4(\tan(\theta) - \theta) + C = 4\left( \frac{\sqrt{x^2 - 16}}{4} - \text{arcsec}(x/4) \right) + C = \sqrt{x^2 - 16} - 4\text{arcsec}(x/4) + C

tan(theta) = sqrt(x^2 - 16)/4 and theta = arcsec(x/4).

Why this works: Final exact result.

Answer: x2−16−4arcsec(x4)+C\sqrt{x^2 - 16} - 4\text{arcsec}\left(\frac{x}{4}\right) + C

✓ Verified by SymPy CAS

Example 04(Section 8.4, Exercise 4)

Core practice

Problem. Find the area enclosed by the ellipse x^2/a^2 + y^2/b^2 = 1.

Step-by-Step Derivation (3 steps)

1

Formulate Quadrant Area Integral

y=b1−x2a2=baa2−x2  ⟹  A=4ba∫0aa2−x2dxy = b \sqrt{1 - \frac{x^2}{a^2}} = \frac{b}{a}\sqrt{a^2 - x^2} \implies A = 4 \frac{b}{a} \int_0^a \sqrt{a^2 - x^2} dx

By symmetry, full area is 4 times the first quadrant.

Why this works: Quarter ellipse formulation.
2

Substitute x = a sin(theta)

x=asin⁡(θ)  ⟹  dx=acos⁡(θ)dθ;x=0  ⟹  θ=0,  x=a  ⟹  θ=π/2x = a\sin(\theta) \implies dx = a\cos(\theta) d\theta; \quad x = 0 \implies \theta = 0, \; x = a \implies \theta = \pi/2

Limits transform from [0, a] to [0, pi/2].

Why this works: Trigonometric substitution with transformed limits.
3

Evaluate Integral

4ba∫0π/2(acos⁡(θ))(acos⁡(θ)dθ)=4ab∫0π/2cos⁡2(θ)dθ=4ab(π4)=πab4 \frac{b}{a} \int_0^{\pi/2} (a\cos(\theta))(a\cos(\theta) d\theta) = 4ab \int_0^{\pi/2} \cos^2(\theta) d\theta = 4ab \left( \frac{\pi}{4} \right) = \pi a b

Integral of cos^2 over [0, pi/2] is pi/4.

Why this works: Classical ellipse area formula.

Answer: Area=πab\text{Area} = \pi a b

✓ Verified by SymPy CAS

Example 05(Section 8.4, Exercise 5)

Challenge

Problem. Evaluate int 1 / (x^2 - 4x + 13)^(3/2) dx.

Step-by-Step Derivation (3 steps)

1

Complete the Square

x2−4x+13=(x−2)2+9=u2+32,u=x−2,  du=dxx^2 - 4x + 13 = (x - 2)^2 + 9 = u^2 + 3^2, \quad u = x - 2, \; du = dx

Transform into sum of squares u^2 + a^2.

Why this works: Prepares for tangent substitution.
2

Substitute u = 3 tan(theta)

u=3tan⁡(θ)  ⟹  du=3sec⁡2(θ)dθ,(u2+9)3/2=(9sec⁡2(θ))3/2=27sec⁡3(θ)u = 3\tan(\theta) \implies du = 3\sec^2(\theta) d\theta, \quad (u^2 + 9)^{3/2} = (9\sec^2(\theta))^{3/2} = 27\sec^3(\theta)

Substitute into radical power.

Why this works: Trigonometric conversion.
3

Integrate and Back-Substitute

∫3sec⁡2(θ)27sec⁡3(θ)dθ=19∫cos⁡(θ)dθ=19sin⁡(θ)+C=19uu2+9+C=x−29(x−2)2+9+C\int \frac{3\sec^2(\theta)}{27\sec^3(\theta)} d\theta = \frac{1}{9} \int \cos(\theta) d\theta = \frac{1}{9}\sin(\theta) + C = \frac{1}{9} \frac{u}{\sqrt{u^2 + 9}} + C = \frac{x - 2}{9\sqrt{(x - 2)^2 + 9}} + C

From triangle, sin(theta) = u/sqrt(u^2 + 9).

Why this works: Final exact result.

Answer: x−29(x−2)2+9+C\frac{x - 2}{9\sqrt{(x - 2)^2 + 9}} + C

✓ Verified by SymPy CAS