lesson

Unit 2 - Integration Methods as Structural Rewriting · AP

Trigonometric Substitution

Match a quadratic radical to a Pythagorean identity, use a reference triangle to return to the original variable, and check domain restrictions.

Overview

Central question: How can a triangle encode a radical identity? You will match the form under a square root to a Pythagorean identity, choose a substitution that removes the radical, and return to the original variable without losing the domain. Trigonometric substitution is structural rewriting: the point is not to introduce an angle arbitrarily, but to make a stubborn quadratic expression equal to a square.

Inspect 9−x2\sqrt{9-x^2}. It matches a2−x2a^2-x^2 with a=3a=3. The identity 1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta suggests x=3sin⁡θx=3\sin\theta. Before calculating, predict what happens to the radicand:

9−x2=9−9sin⁡2θ=9cos⁡2θ.9-x^2=9-9\sin^2\theta=9\cos^2\theta.

On an interval where cos⁡θ≥0\cos\theta\ge0, the root becomes 3cos⁡θ3\cos\theta. The interval condition matters because 9cos⁡2θ=3∣cos⁡θ∣\sqrt{9\cos^2\theta}=3|\cos\theta|, not automatically 3cos⁡θ3\cos\theta.

Match the radical to the identity

The three standard patterns are

a2−x2:x=asin⁡θ,a2+x2:x=atan⁡θ,x2−a2:x=asec⁡θ.\sqrt{a^2-x^2}:\quad x=a\sin\theta, \qquad \sqrt{a^2+x^2}:\quad x=a\tan\theta, \qquad \sqrt{x^2-a^2}:\quad x=a\sec\theta.

Each is chosen so the identity 1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta, 1+tan⁡2θ=sec⁡2θ1+\tan^2\theta=\sec^2\theta, or sec⁡2θ−1=tan⁡2θ\sec^2\theta-1=\tan^2\theta collapses the radical. These are patterns to justify, not a list to apply by visual resemblance alone.

L4-V01 - Radical matching cards. Place it after the three patterns. It is a static three-card diagram with one radical form, the matching substitution, and the identity that makes the radicand a square on each cardThree quadratic-radical forms are matched to sine, tangent, and secant substitutions through their Pythagorean identities.
L4-V01 - Radical matching cards. Place it after the three patterns. It is a static three-card diagram with one radical form, the matching substitution, and the identity that makes the radicand a square on each card

Work one complete example

Evaluate

∫dx9−x2.\int\frac{dx}{\sqrt{9-x^2}}.

Put x=3sin⁡θx=3\sin\theta. Then dx=3cos⁡θ dθdx=3\cos\theta\,d\theta, and on the principal interval −π2≤θ≤π2-\frac\pi2\le\theta\le\frac\pi2 the radical is 3cos⁡θ3\cos\theta. Thus

∫dx9−x2=∫3cos⁡θ dθ3cos⁡θ=∫dθ=θ+C.\int\frac{dx}{\sqrt{9-x^2}} =\int\frac{3\cos\theta\,d\theta}{3\cos\theta} =\int d\theta =\theta+C.

The substitution has removed the radical, but the answer is not yet in the original variable. From x=3sin⁡θx=3\sin\theta, draw a right triangle with opposite side xx and hypotenuse 33. Then θ=arcsin⁡(x3)\theta=\arcsin\left(\frac{x}{3}\right), so

∫dx9−x2=arcsin⁡(x3)+C.\int\frac{dx}{\sqrt{9-x^2}} =\arcsin\left(\frac{x}{3}\right)+C.
L4-V02 - Reference triangle. Place it beside the return substitution. It is a static right triangle labeled with hypotenuse 333, opposite side xxx, adjacent side 9−x2\sqrt{9-x^2}9−x2​, and angle θ\thetaθ. It states sin⁡θ=x3\sin\theta=\frac{x}{3}sinθ=3x​ and θ=arcsin⁡(x3)\theta=\arcsin\left(\frac{x}{3}\right)θ=arcsin(3x​)A right triangle converts the substitution x equals three sine theta back into an inverse-sine expression.
L4-V02 - Reference triangle. Place it beside the return substitution. It is a static right triangle labeled with hypotenuse 333, opposite side xxx, adjacent side 9−x2\sqrt{9-x^2}9−x2​, and angle θ\thetaθ. It states sin⁡θ=x3\sin\theta=\frac{x}{3}sinθ=3x​ and θ=arcsin⁡(x3)\theta=\arcsin\left(\frac{x}{3}\right)θ=arcsin(3x​)

Contrast cases and domain checks

The integral ∫dxx2+9\int\frac{dx}{\sqrt{x^2+9}} does not use sine because the plus sign requires 1+tan⁡2θ=sec⁡2θ1+\tan^2\theta=\sec^2\theta. The integral ∫dxx2−9\int\frac{dx}{\sqrt{x^2-9}} requires secant because sec⁡2θ−1=tan⁡2θ\sec^2\theta-1=\tan^2\theta. The sign under the radical controls the substitution.

After any trig substitution, differentiate the returned answer or use the original triangle relationship to check it. For the example above, differentiating arcsin⁡(x/3)\arcsin(x/3) produces 19−x2\frac{1}{\sqrt{9-x^2}} on −3<x<3-3<x<3, matching both the integrand and its natural domain.

L4-V03 - Return and verify. Place it after the domain discussion. It is a static before-and-after comparison: the original interval −3<x<3-3<x<3−3<x<3, the chosen angle interval, and the derivative check for arcsin⁡(x/3)\arcsin(x/3)arcsin(x/3)The angle interval keeps cosine nonnegative and the derivative of the inverse-sine answer restores the original radical integrand.
L4-V03 - Return and verify. Place it after the domain discussion. It is a static before-and-after comparison: the original interval −3<x<3-3<x<3−3<x<3, the chosen angle interval, and the derivative check for arcsin⁡(x/3)\arcsin(x/3)arcsin(x/3)

Follow the substitution through a nontrivial integral

The integral ∫16−x2 dx\int\sqrt{16-x^2}\,dx uses the same pattern but does not cancel immediately. Put x=4sin⁡θx=4\sin\theta, so dx=4cos⁡θ dθdx=4\cos\theta\,d\theta. On −π2≤θ≤π2-\frac\pi2\le\theta\le\frac\pi2, the radical becomes 4cos⁡θ4\cos\theta. Thus

∫16−x2 dx=16∫cos⁡2θ dθ.\int\sqrt{16-x^2}\,dx =16\int\cos^2\theta\,d\theta.

The trigonometric substitution has done its job by removing the radical; a half-angle identity finishes the remaining trig integral:

16∫cos⁡2θ dθ=8∫(1+cos⁡2θ) dθ=8θ+4sin⁡2θ+C.16\int\cos^2\theta\,d\theta =8\int\left(1+\cos2\theta\right)\,d\theta =8\theta+4\sin2\theta+C.

To return, use θ=arcsin⁡(x4)\theta=\arcsin\left(\frac{x}{4}\right). The triangle also gives sin⁡θ=x4\sin\theta=\frac{x}{4} and cos⁡θ=16−x24\cos\theta=\frac{\sqrt{16-x^2}}{4}, so

sin⁡2θ=2sin⁡θcos⁡θ=x16−x28.\sin2\theta=2\sin\theta\cos\theta =\frac{x\sqrt{16-x^2}}{8}.

The antiderivative can therefore be written as

4arcsin⁡(x4)+x16−x22+C.4\arcsin\left(\frac{x}{4}\right) +\frac{x\sqrt{16-x^2}}{2}+C.

This longer example explains why a triangle is a reasoning tool rather than a decorative picture. It translates the trigonometric answer back into the original variable and keeps the radical’s positive branch visible. Differentiate the final expression to check it; the product rule terms cancel, leaving 16−x2\sqrt{16-x^2}.

Choosing a domain deliberately

The substitution x=4sin⁡θx=4\sin\theta is not one-to-one on all real angles. Restricting θ\theta to [−π2,π2]\left[-\frac\pi2,\frac\pi2\right] makes sine one-to-one and makes cosine nonnegative. This is what lets the square root simplify consistently. A substitution is incomplete until its interval or other condition makes each inverse and each square root unambiguous.

For definite integrals, you may either convert the xx-bounds to angle bounds or return to xx before evaluating. Do not mix an angle integrand with the old xx-bounds. The same variable-consistency rule from ordinary substitution still applies.

Compare the three radical families

The difference between a2−x2a^2-x^2, a2+x2a^2+x^2, and x2−a2x^2-a^2 is not superficial. The first describes values of xx constrained by ∣x∣≤a|x|\le a when the radical is real. It naturally produces an inverse sine when the work is returned to the original variable. The second is positive for every real xx and typically leads to logarithmic or inverse-hyperbolic-looking expressions after a tangent substitution. The third is real only outside the interval from −a-a to aa and requires separate attention to sign when returning through a secant triangle.

Before committing to a substitution, factor out any positive constant and complete the square if needed. For example, x2+6x+13x^2+6x+13 becomes (x+3)2+4(x+3)^2+4, which reveals an a2+u2a^2+u^2 pattern after the shift u=x+3u=x+3. This preliminary algebra is part of recognition. A trigonometric substitution should emerge from a clear quadratic form, not from a vague impression that a square root is present.

Stop and check

A tempting but incorrect statement is 9cos⁡2θ=3cos⁡θ\sqrt{9\cos^2\theta}=3\cos\theta for every angle. The misconception is forgetting that a square root is nonnegative. The correction is to write 3∣cos⁡θ∣3|\cos\theta| first, then choose and state an angle interval where the absolute value simplifies legitimately.

Retrieval check

For ∫16−x2 dx\int\sqrt{16-x^2}\,dx, state the substitution, its differential, and the identity that removes the radical. Choose x=4sin⁡θx=4\sin\theta, so dx=4cos⁡θ dθdx=4\cos\theta\,d\theta and 16−x2=4cos⁡θ\sqrt{16-x^2}=4\cos\theta on the selected interval. Explain why the new integral contains cos⁡2θ\cos^2\theta rather than a remaining radical.

The next lesson returns from trigonometric identities to algebraic structure. A rational function is often not integrated as written; it is decomposed into simpler fractions whose antiderivatives are visible.

Knowledge Map

Where this lesson fits

Prerequisites

Unit 2 - Integration Techniques and VerificationTrigonometric Integrals

Next lessons

Unit 2 - Integration Techniques and VerificationPartial Fractions and Algebraic DecompositionUnit 2 - Integration Techniques and VerificationTechnique Synthesis and Verification