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:

  • a2โˆ’x2\sqrt{a^2 - x^2} (difference form)
  • a2+x2\sqrt{a^2 + x^2} (sum form)
  • x2โˆ’a2\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 a2โˆ’x2\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: a2โˆ’a2sinโก2ฮธ=a1โˆ’sinโก2ฮธ=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 โˆซ9โˆ’x2โ€‰dx\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=asecโก2ฮธโ€‰dฮธdx = a\sec^2\theta \, d\theta
  • The square root simplifies: a2+a2tanโก2ฮธ=a1+tanโก2ฮธ=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+x2โ€‰dx\int \frac{x}{\sqrt{4 + x^2}} \, dx, identify a=2a = 2 and set x=2tanโกฮธx = 2\tan\theta

When you see x2โˆ’a2\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: a2secโก2ฮธโˆ’a2=asecโก2ฮธโˆ’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 โˆซx2โˆ’1โ€‰dx\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: 1โˆ’sinโก2=cosโก21 - \sin^2 = \cos^2, 1+tanโก2=secโก21 + \tan^2 = \sec^2, secโก2โˆ’1=tanโก2\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+6xโˆ’5\sqrt{-x^2 + 6x - 5} doesn't match any standard form until you rewrite it as 4โˆ’(xโˆ’3)2\sqrt{4 - (x-3)^2}, then substitute xโˆ’3=2sinโกฮธx - 3 = 2\sin\theta.
  • Integration by parts sometimes appears after the trig substitution, particularly with the secโกฮธ\sec\theta substitution (e.g., โˆซsecโก3ฮธโ€‰dฮธ\int \sec^3\theta \, d\theta requires integration by parts).
  • Hyperbolic substitutions (e.g., x=asinhโกtx = 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.