Skip to content

Trigonometric substitution, step by step

5 min read

Short answer

Match the square root to a Pythagorean identity: a2−x2→x=asin⁡θ\sqrt{a^2-x^2}\to x=a\sin\theta, a2+x2→x=atan⁡θ\sqrt{a^2+x^2}\to x=a\tan\theta, x2−a2→x=asec⁡θ\sqrt{x^2-a^2}\to x=a\sec\theta. The root collapses to a trig function, you integrate in θ\theta, and a right triangle converts back to xx.

Root form → substitution compared with What the root becomesRoot form →substitution√(a² − x²) → x = a sinθ√(a² + x²) → x = a tanθ√(x² − a²) → x = a secθWhat the rootbecomesa cos θa sec θa tan θ
Each substitution turns the root into a single trig function.

Why it works

1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta, 1+tan⁡2θ=sec⁡2θ1+\tan^2\theta=\sec^2\theta and sec⁡2θ−1=tan⁡2θ\sec^2\theta-1=\tan^2\theta. Choosing xx so that the expression under the root fits one of these identities removes the root.

Converting back

Draw a right triangle from the substitution. For x=asin⁡θx=a\sin\theta, the opposite side is xx, the hypotenuse is aa, and the adjacent side is a2−x2\sqrt{a^2-x^2}. Read off any trig function of θ\theta from it.

Worked example

Evaluate ∫dx4−x2\displaystyle\int\frac{dx}{\sqrt{4-x^2}}.

Let x=2sin⁡θx=2\sin\theta, dx=2cos⁡θ dθdx=2\cos\theta\,d\theta, and 4−x2=2cos⁡θ\sqrt{4-x^2}=2\cos\theta. The integral becomes ∫dθ=θ+C=arcsin⁡x2+C\int d\theta=\theta+C=\arcsin\dfrac x2+C.

Try it yourself

Evaluate ∫dxx2+9\displaystyle\int\frac{dx}{x^2+9}.

Show the answer

Let x=3tan⁡θx=3\tan\theta: dx=3sec⁡2θ dθdx=3\sec^2\theta\,d\theta and x2+9=9sec⁡2θx^2+9=9\sec^2\theta. The integral is 13θ+C=13arctan⁡x3+C\tfrac13\theta+C=\tfrac13\arctan\dfrac x3+C.

Keep going with practice

Vidi's polar-coordinate lessons rely on the same identities to simplify area integrals.