Fiveable

Calculus II Unit 3 Review

QR code for Calculus II practice questions

3.3 Trigonometric Substitution

3.3 Trigonometric Substitution

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Calculus II
Unit & Topic Study Guides

Trigonometric substitution transforms integrals containing square roots of quadratic expressions into trigonometric integrals that are easier to evaluate. It works by exploiting the Pythagorean identities to eliminate square roots entirely.

Trigonometric Substitution

Trigonometric substitution for square roots

This technique applies to integrals containing expressions of the form ax2+bx+c\sqrt{ax^2 + bx + c}. The core idea: if you can match the expression under the square root to one of three standard forms, you can substitute a trig function for xx that causes the square root to collapse via a Pythagorean identity.

The three standard forms are:

  • a2x2\sqrt{a^2 - x^2} (difference form)
  • a2+x2\sqrt{a^2 + x^2} (sum form)
  • x2a2\sqrt{x^2 - a^2} (reverse difference form)

If your integrand doesn't immediately match one of these, you may need to complete the square first to get it into the right shape.

Trigonometric substitution for square roots, Trigonometric Substitution · Calculus

Choosing appropriate substitutions

Each form has a specific substitution paired with the Pythagorean identity that eliminates the square root.

When you see a2x2\sqrt{a^2 - x^2}, substitute x=asinθx = a\sin\theta:

  • Then dx=acosθdθdx = a\cos\theta \, d\theta
  • The square root simplifies: a2a2sin2θ=a1sin2θ=acosθ\sqrt{a^2 - a^2\sin^2\theta} = a\sqrt{1 - \sin^2\theta} = a\cos\theta
  • Restrict θ[π2,π2]\theta \in [-\frac{\pi}{2}, \frac{\pi}{2}] so that cosθ0\cos\theta \geq 0
  • Example: For 9x2dx\int \sqrt{9 - x^2} \, dx, identify a=3a = 3 and set x=3sinθx = 3\sin\theta

When you see a2+x2\sqrt{a^2 + x^2}, substitute x=atanθx = a\tan\theta:

  • Then dx=asec2θdθdx = a\sec^2\theta \, d\theta
  • The square root simplifies: a2+a2tan2θ=a1+tan2θ=asecθ\sqrt{a^2 + a^2\tan^2\theta} = a\sqrt{1 + \tan^2\theta} = a\sec\theta
  • Restrict θ(π2,π2)\theta \in (-\frac{\pi}{2}, \frac{\pi}{2}) so that secθ>0\sec\theta > 0
  • Example: For x4+x2dx\int \frac{x}{\sqrt{4 + x^2}} \, dx, identify a=2a = 2 and set x=2tanθx = 2\tan\theta

When you see x2a2\sqrt{x^2 - a^2}, substitute x=asecθx = a\sec\theta:

  • Then dx=asecθtanθdθdx = a\sec\theta\tan\theta \, d\theta
  • The square root simplifies: a2sec2θa2=asec2θ1=atanθ\sqrt{a^2\sec^2\theta - a^2} = a\sqrt{\sec^2\theta - 1} = a\tan\theta
  • Restrict θ[0,π2)\theta \in [0, \frac{\pi}{2}) for x>ax > a or θ(π2,π]\theta \in (\frac{\pi}{2}, \pi] for x<ax < -a, so that tanθ\tan\theta has the correct sign
  • Example: For x21dx\int \sqrt{x^2 - 1} \, dx, identify a=1a = 1 and set x=secθx = \sec\theta

Quick reference: The substitution always matches the variable to the trig function whose Pythagorean identity produces the form under the radical. Think: 1sin2=cos21 - \sin^2 = \cos^2, 1+tan2=sec21 + \tan^2 = \sec^2, sec21=tan2\sec^2 - 1 = \tan^2.

Trigonometric substitution for square roots, Trigonometric Substitution · Calculus

Converting solutions back to xx

After integrating in θ\theta, you need to rewrite everything in terms of xx. Here's a reliable process:

  1. Solve for θ\theta using the inverse of your substitution:

    • x=asinθ    θ=arcsin ⁣(xa)x = a\sin\theta \implies \theta = \arcsin\!\left(\frac{x}{a}\right)
    • x=atanθ    θ=arctan ⁣(xa)x = a\tan\theta \implies \theta = \arctan\!\left(\frac{x}{a}\right)
    • x=asecθ    θ=arcsec ⁣(xa)x = a\sec\theta \implies \theta = \text{arcsec}\!\left(\frac{x}{a}\right)
  2. Draw a reference right triangle labeled with the substitution. For instance, if x=atanθx = a\tan\theta, the triangle has opposite side xx, adjacent side aa, and hypotenuse a2+x2\sqrt{a^2 + x^2}. This lets you read off any trig function of θ\theta directly in terms of xx.

  3. Replace all trig functions of θ\theta in your answer using the triangle, and simplify.

Example: Suppose after substituting x=3tanθx = 3\tan\theta you get 2θ+sinθcosθ+C2\theta + \sin\theta\cos\theta + C. From the triangle: sinθ=x9+x2\sin\theta = \frac{x}{\sqrt{9+x^2}} and cosθ=39+x2\cos\theta = \frac{3}{\sqrt{9+x^2}}. So the final answer is:

2arctan ⁣(x3)+3x9+x2+C2\arctan\!\left(\frac{x}{3}\right) + \frac{3x}{9+x^2} + C

The reference triangle step is the most reliable way to handle the back-substitution. Trying to convert without it often leads to sign errors or missed simplifications.

  • Completing the square is often a necessary first step. An expression like x2+6x5\sqrt{-x^2 + 6x - 5} doesn't match any standard form until you rewrite it as 4(x3)2\sqrt{4 - (x-3)^2}, then substitute x3=2sinθx - 3 = 2\sin\theta.
  • Integration by parts sometimes appears after the trig substitution, particularly with the secθ\sec\theta substitution (e.g., sec3θdθ\int \sec^3\theta \, d\theta requires integration by parts).
  • Hyperbolic substitutions (e.g., x=asinhtx = a\sinh t) can replace trig substitutions in some cases and avoid dealing with secant integrals, though they're less commonly tested.
  • Partial fractions may be needed if, after substitution, the integrand becomes a rational function of trig functions.
2,589 studying →