CALCULUS 2 • TECHNIQUES OF INTEGRATION

Trig Substitution — Trigonometric Substitution for Quadratic Radicals

Transform intractable radicals into tractable trigonometric integrals using the geometry of right triangles.

Historical Context & Motivation

The need to evaluate integrals involving expressions like √(a² − x²), √(a² + x²), and √(x² − a²) arose naturally from problems in geometry, physics, and astronomy long before the formal development of calculus. Ancient Greek mathematicians, particularly Archimedes, computed areas and arc lengths of circles and ellipses using geometric reasoning that foreshadowed what we now call trigonometric substitution. When Newton and Leibniz formalized the calculus in the late seventeenth century, mathematicians quickly realized that many integrals arising from conic sections and orbital mechanics required specialized techniques to handle the square roots of quadratic expressions.

The core insight behind trigonometric substitution is deeply rooted in the Pythagorean identity sin²θ + cos²θ = 1 and its algebraic relatives. By replacing an algebraic variable with a trigonometric function of a new variable, we can exploit these identities to eliminate the radical entirely, reducing the integral to a standard trigonometric form. This technique emerged as a systematic method during the eighteenth century, as Euler and the Bernoulli family catalogued families of integrals solvable by such transformations.

~250 BCE
Archimedes and Quadrature
Archimedes computed the area of a circle and parabolic segments using geometric exhaustion methods — the conceptual ancestors of integration over radical expressions.
1687
Newton's Principia
Newton applied early integration techniques to elliptical orbits, encountering integrals with quadratic radicals that described planetary motion and gravitational fields.
1748
Euler's Introductio
Euler systematized the relationship between trigonometric and algebraic functions, providing the analytic framework for trigonometric substitution as a general integration strategy.
1800s
Textbook Codification
The three canonical substitution forms — for a² − x², a² + x², and x² − a² — became standard material in analysis textbooks, completing the technique's journey from geometric intuition to algorithmic procedure.

The fundamental question trigonometric substitution answers is this: given an integral containing √(a² − x²), √(a² + x²), or √(x² − a²), how can we systematically eliminate the radical so the integral becomes amenable to standard techniques? The answer lies in choosing a substitution that transforms the radicand into a perfect square via a Pythagorean identity, converting the problem from the algebraic domain to the trigonometric domain where the tools are more powerful.

Core Principles & Definitions

Trigonometric substitution rests on a small number of powerful ideas that, once internalized, make the technique feel nearly automatic. The method exploits the fact that the three Pythagorean identities — 1 − sin²θ = cos²θ, 1 + tan²θ = sec²θ, and sec²θ − 1 = tan²θ — mirror exactly the algebraic structure of the three families of quadratic radicals encountered in integration. Understanding these correspondences is the key to mastering the technique.

1

Match the Radical to an Identity

Each radical form corresponds to one Pythagorean identity. Recognizing √(a² − x²), √(a² + x²), or √(x² − a²) immediately determines which substitution to use: x = a sin θ, x = a tan θ, or x = a sec θ, respectively.
2

Eliminate the Radical

After substitution, the expression under the radical simplifies to a perfect square via the relevant Pythagorean identity. The radical then reduces to a single trigonometric function (possibly times a constant), removing the algebraic obstruction entirely.
3

Transform dx

When substituting x = a f(θ), the differential becomes dx = a f′(θ) dθ. This new differential, combined with the simplified radical, produces an integrand composed entirely of trigonometric functions in θ.
4

Integrate Trigonometrically

The resulting trigonometric integral is typically solvable using standard identities — power-reduction formulas, integration of sec θ, or reduction formulas — techniques already in the Calculus 2 toolkit.
5

Back-Substitute Using a Reference Triangle

After integration, reconstruct the answer in terms of the original variable x by drawing a right triangle that encodes the substitution. Read off the needed trig functions from the triangle's sides.
KEY TAKEAWAY
Think of trigonometric substitution as a change of coordinate system. Just as an engineer might rotate axes to simplify a structural analysis problem, you are rotating from Cartesian (algebraic) coordinates into angular (trigonometric) coordinates where the Pythagorean identity does the heavy lifting. The radical, which was an obstruction in one coordinate system, becomes a clean expression in the other.

Visual Explanation — The Three Reference Triangles

The geometric intuition behind trigonometric substitution is best understood through reference triangles. Each of the three substitution forms — x = a sin θ, x = a tan θ, and x = a sec θ — corresponds to a specific right triangle in which the original variable x and the constant a appear as sides, and the radical expression appears as the remaining side via the Pythagorean theorem. The diagram below illustrates all three cases side by side, making the pattern unmistakable.

Each triangle encodes a different substitution. The hypotenuse is labeled with the quantity that equals a (Case 1) or x (Case 3) or √(a² + x²) (Case 2). The radical always appears as one of the three sides, allowing you to read off any trigonometric function in terms of x and a after integration.

Notice the pattern: in every case, the substitution is chosen so that the expression under the radical becomes a perfect square. In Case 1, a² − a² sin²θ = a² cos²θ, so the radical simplifies to a cos θ. In Case 2, a² + a² tan²θ = a² sec²θ, so the radical becomes a sec θ. In Case 3, a² sec²θ − a² = a² tan²θ, yielding a tan θ. The triangle is not merely a mnemonic — it is the geometric embodiment of the Pythagorean identity at work. When you finish integrating in the θ domain and need to convert back to x, the triangle gives you every trig function of θ directly in terms of x and a.

Mathematical Framework

We now formalize the three substitution rules, including the transformation of the differential dx and the domain restrictions on θ required for the substitution to be invertible. Keeping track of the domain of θ is essential: it guarantees the radical simplifies to a non-negative expression without requiring absolute value adjustments.

CASE 1 — FORM √(a² − x²)
x = a sin θ, dx = a cos θ dθ, θ ∈ [−π/2, π/2]
Then a² − x² = a² − a² sin²θ = a² cos²θ, so √(a² − x²) = a cos θ (non-negative since cos θ ≥ 0 on [−π/2, π/2]).
CASE 2 — FORM √(a² + x²)
x = a tan θ, dx = a sec²θ dθ, θ ∈ (−π/2, π/2)
Then a² + x² = a² + a² tan²θ = a² sec²θ, so √(a² + x²) = a sec θ (non-negative since sec θ > 0 on (−π/2, π/2)).
CASE 3 — FORM √(x² − a²)
x = a sec θ, dx = a sec θ tan θ dθ, θ ∈ [0, π/2) ∪ (π/2, π]
Then x² − a² = a² sec²θ − a² = a² tan²θ, so √(x² − a²) = a |tan θ|. On [0, π/2), tan θ ≥ 0, so the absolute value is unnecessary; on (π/2, π], tan θ ≤ 0, requiring careful sign handling.
COMPLETING THE SQUARE
Not all quadratic radicals appear in the standard forms listed above. If you encounter √(ax² + bx + c), first complete the square to rewrite the expression as √(α(u² ± β²)) or √(α(β² − u²)) for some linear substitution u = x + k. Then apply the appropriate trig substitution. This preliminary step is crucial — always check whether completing the square is needed before proceeding.

After integrating in the θ domain, the final and often trickiest step is back-substitution. You must express all trigonometric functions of θ in terms of the original variable x. This is where the reference triangle is indispensable. From the substitution x = a sin θ, for instance, you know sin θ = x/a, so the adjacent side is √(a² − x²) by the Pythagorean theorem. Every trig function — cos θ, tan θ, etc. — can then be read directly from the triangle without inverse trig functions (except for θ itself, which appears as arcsin(x/a) or similar).

Detailed Substitution Guide & Decision Flowchart

Selecting the correct substitution is the first decision point in any trig substitution problem. The table below provides a comprehensive reference, including the identity used, the simplified radical, and the typical resulting integral forms. Following the table, a decision flowchart codifies the process as an algorithm you can follow mechanically.

The three canonical trig substitutions and their effects
Radical FormSubstitutionIdentity UsedRadical Becomesdx
√(a² − x²)x = a sin θ1 − sin²θ = cos²θa cos θa cos θ dθ
√(a² + x²)x = a tan θ1 + tan²θ = sec²θa sec θa sec²θ dθ
√(x² − a²)x = a sec θsec²θ − 1 = tan²θa |tan θ|a sec θ tan θ dθ
Follow this flowchart when encountering any integral with a quadratic radical. The key branch point is whether the quadratic under the radical is already in standard form or requires completing the square first.

The flowchart emphasizes a critical preliminary step that many students overlook: when the quadratic under the radical is not centered at zero — for instance, √(2x − x²) or √(x² + 6x + 13) — you must complete the square before applying a trig substitution. Rewriting 2x − x² as 1 − (x − 1)² reveals a Case 1 form with a = 1 and a shifted variable u = x − 1. Similarly, x² + 6x + 13 = (x + 3)² + 4 is a Case 2 form with a = 2 and u = x + 3. This step is algebraic, not calculus, but neglecting it is one of the most common sources of error.

Worked Example

Let us work through a complete example to see every phase of the technique in action. We will evaluate the integral ∫ x² / √(9 − x²) dx, which contains the Case 1 radical √(a² − x²) with a = 3.

Evaluate ∫ x² / √(9 − x²) dx
1
Step 1 — Identify the Form and Choose the SubstitutionThe integrand contains √(9 − x²) = √(3² − x²), which matches Case 1. We set x = 3 sin θ, so dx = 3 cos θ dθ, and restrict θ ∈ [−π/2, π/2].
x = 3 sin θ, dx = 3 cos θ dθ
2
Step 2 — Simplify the RadicalSubstitute into the radical: √(9 − x²) = √(9 − 9 sin²θ) = √(9 cos²θ) = 3 cos θ. The absolute value is unnecessary because cos θ ≥ 0 on [−π/2, π/2].
√(9 − x²) = 3 cos θ
3
Step 3 — Rewrite the Entire Integrand in θReplace x² = 9 sin²θ, √(9 − x²) = 3 cos θ, and dx = 3 cos θ dθ into the integral: ∫ (9 sin²θ) / (3 cos θ) × (3 cos θ dθ) = ∫ 9 sin²θ dθ. The cos θ in the numerator and denominator cancel completely — a very satisfying simplification.
∫ 9 sin²θ dθ
4
Step 4 — Integrate Using the Power-Reduction IdentityApply sin²θ = (1 − cos 2θ)/2: ∫ 9 sin²θ dθ = 9 ∫ (1 − cos 2θ)/2 dθ = (9/2) ∫ (1 − cos 2θ) dθ = (9/2)(θ − sin 2θ / 2) + C = (9/2)θ − (9/4) sin 2θ + C. Using the double-angle identity sin 2θ = 2 sin θ cos θ, this becomes (9/2)θ − (9/2) sin θ cos θ + C.
(9/2)θ − (9/2) sin θ cos θ + C
5
Step 5 — Back-Substitute Using the Reference TriangleFrom x = 3 sin θ, we get sin θ = x/3, so θ = arcsin(x/3). The reference triangle has opposite side x, hypotenuse 3, and adjacent side √(9 − x²). Therefore cos θ = √(9 − x²)/3. Substituting: (9/2) arcsin(x/3) − (9/2) × (x/3) × (√(9 − x²)/3) + C = (9/2) arcsin(x/3) − (x √(9 − x²))/2 + C.
(9/2) arcsin(x/3) − (x√(9 − x²))/2 + C
VERIFICATION TIP
You can always verify your answer by differentiating the result and checking that you recover the original integrand. The differentiation involves the chain rule on arcsin(x/3) and the product rule on x√(9 − x²), which is an excellent exercise in its own right.

Strengths, Limitations & Comparison with Other Techniques

Trigonometric substitution is one of several techniques for handling integrals with algebraic complications, and understanding when to use it versus alternatives like u-substitution, integration by parts, or partial fractions is crucial for efficient problem-solving. The table below contrasts trig substitution with nearby techniques to clarify its niche.

Comparing trig substitution to other Calculus 2 integration techniques
FeatureTrig Substitutionu-SubstitutionPartial Fractions
Best forRadicals of quadratic expressions: √(a²±x²), √(x²−a²)Integrals where the integrand contains a function and its derivativeRational functions P(x)/Q(x) with factorable denominators
StrengthsEliminates radicals entirely; systematic and algorithmicQuick and elegant when applicable; minimal computationReduces any proper rational function to elementary integrals
LimitationsProduces trig integrals that may themselves be difficult; back-substitution can be involvedFails when no clean 'inner derivative' is presentCannot handle radicals; requires polynomial denominator
Typical complexityMedium to high — multiple transformation stepsLow — one substitution, one integrationMedium — algebraic decomposition required
WHEN TO REACH FOR TRIG SUBSTITUTION
Before committing to trig substitution, always check whether a simpler approach works. If the integral has the form ∫ x / √(4 − x²) dx, for instance, the substitution u = 4 − x² reduces it immediately — no trigonometry needed. Reserve trig substitution for cases where the radical cannot be eliminated by a direct algebraic substitution. The hallmark is an integrand where the variable appears in a way that prevents isolating the radical through u-sub, such as x² in the numerator alongside √(a² − x²) in the denominator.

Connections to Advanced Theory

Trigonometric substitution is not an isolated trick — it sits at the intersection of several deeper ideas in mathematics. Understanding these connections enriches your perspective and previews topics you will encounter in more advanced courses.

How trig substitution connects to more advanced mathematics
This LessonAdvanced Extension
Substitution x = a sin θ for √(a² − x²)Parametrization of the unit circle; connects to polar and parametric integration in multivariable calculus
Substitution x = a tan θ for √(a² + x²)Hyperbolic substitution x = a sinh t achieves the same simplification — central to differential geometry and special relativity
Substitution x = a sec θ for √(x² − a²)Hyperbolic substitution x = a cosh t provides an equivalent approach; both connect to the geometry of hyperbolae
Completing the square before substitutionTranslation of coordinates — a special case of affine transformations used in algebraic geometry and optimization
Reference triangle for back-substitutionInverse trigonometric identities; connects to the Weierstrass substitution t = tan(θ/2) for rational trig integrals

One particularly elegant connection is to hyperbolic substitution. For Cases 2 and 3, an alternative to trig substitution is to use x = a sinh t or x = a cosh t, exploiting the identities cosh²t − sinh²t = 1. These hyperbolic substitutions often produce integrals that are easier to evaluate (no need for reduction formulas on sec³θ, for instance) and arise naturally in physics problems involving relativistic motion and catenary curves. In many graduate-level treatments, hyperbolic substitutions are preferred over their trigonometric counterparts for their algebraic simplicity.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the substitution x = a sin θ is restricted to θ ∈ [−π/2, π/2] rather than using the full domain [0, 2π]. What would go wrong if θ were allowed to range over a full period?
PROBLEM 2BASIC CALCULATION
Evaluate ∫ 1 / √(4 − x²) dx using an appropriate trigonometric substitution.
PROBLEM 3INTERMEDIATE
Evaluate ∫ 1 / (x² √(x² + 4)) dx using an appropriate trigonometric substitution.
PROBLEM 4APPLIED
The electric field at a distance d from the center of a uniformly charged rod of length 2L and total charge Q, measured perpendicular to the rod, involves the integral ∫₋ₗ ᴸ d / (z² + d²)³ᐟ² dz. Evaluate this integral using trig substitution and express the result in terms of L, d, and Q.
PROBLEM 5CRITICAL THINKING
Consider the integral ∫ 1 / √(x² + 2x + 5) dx. This does not immediately fit any of the three standard forms. Show how to reduce it to a standard form, evaluate it, and explain why both a trig substitution and a hyperbolic substitution x + 1 = 2 sinh t yield the same result.

Summary

Trigonometric substitution is a systematic technique for evaluating integrals containing quadratic radicals of the forms √(a² − x²), √(a² + x²), and √(x² − a²). The method works by replacing x with a trigonometric function — x = a sin θ, x = a tan θ, or x = a sec θ — so that a Pythagorean identity collapses the radical into a single trigonometric function. The resulting integral, now entirely in the variable θ, is evaluated using standard trig techniques and then converted back to x via a reference triangle.

When the quadratic under the radical is not in standard form, completing the square is the essential preparatory step. The technique connects forward to hyperbolic substitution, parametric integration, and the broader idea of coordinate transformations in advanced mathematics. Mastery of trig substitution depends on recognizing the radical form, executing the algebra carefully, and using the reference triangle fluently for back-substitution — skills that become automatic with practice.

Varsity Tutors • Calculus 2 • Trig Substitution — Trigonometric Substitution for Quadratic Radicals