3. Trigonometric Integrals and Trigonometric Substitution

Root Expressions And Trig Substitution

Root Expressions and Trigonometric Substitution

students, imagine you are trying to find the area under a curve, but the integral includes a square root like $\sqrt{a^2-x^2}$ or $\sqrt{x^2-a^2}$. These expressions can look intimidating, but Calculus 2 gives you a clever tool called trigonometric substitution 😊. The big idea is to replace the variable $x$ with a trig expression that turns the square root into something simpler.

What You Will Learn

By the end of this lesson, you should be able to:

  • Explain why certain root expressions are good candidates for trigonometric substitution.
  • Recognize the three most common square-root forms.
  • Choose the correct trig substitution for each form.
  • Rewrite the integral and simplify it using trig identities.
  • Solve integrals that contain root expressions using Calculus 2 methods.

Trigonometric substitution connects algebra, geometry, and trigonometry. It is especially useful when the integrand contains a root that looks like the Pythagorean theorem in disguise, like $a^2-x^2$ or $x^2+a^2$. The substitution works because trig identities can replace the root with a cleaner expression, often removing the radical entirely.

Why Root Expressions Suggest Trig Substitution

A root expression often becomes simpler when paired with a trig identity. For example, the identity $\sin^2\theta+\cos^2\theta=1$ can help simplify expressions involving $\sqrt{a^2-x^2}$. If we let $x=a\sin\theta$, then $a^2-x^2=a^2-a^2\sin^2\theta=a^2(1-\sin^2\theta)=a^2\cos^2\theta$.

Then the square root becomes $\sqrt{a^2\cos^2\theta}=a|\cos\theta|$. On a carefully chosen interval, such as $-\frac{\pi}{2}\le \theta\le \frac{\pi}{2}$, we have $\cos\theta\ge 0$, so the absolute value is just $a\cos\theta$. That is the key payoff: a complicated root becomes a much easier trig expression.

This strategy is especially useful in three common patterns:

  • $\sqrt{a^2-x^2}$
  • $\sqrt{x^2+a^2}$
  • $\sqrt{x^2-a^2}$

Each one matches a different trig identity.

The Three Main Trigonometric Substitutions

Here are the standard substitutions used in Calculus 2:

1. For $\sqrt{a^2-x^2}$, use $x=a\sin\theta$

This works because

$$a^2-x^2=a^2-a^2\sin^2\theta=a^2\cos^2\theta.$$

So the radical simplifies to $a\cos\theta$ if the angle range is chosen so $\cos\theta\ge 0$.

2. For $\sqrt{x^2+a^2}$, use $x=a\tan\theta$

This works because

$$x^2+a^2=a^2\tan^2\theta+a^2=a^2(\tan^2\theta+1)=a^2\sec^2\theta.$$

So the radical becomes $a|\sec\theta|$. Usually we choose $-\frac{\pi}{2}<\theta<\frac{\pi}{2}$ so $\sec\theta>0$.

3. For $\sqrt{x^2-a^2}$, use $x=a\sec\theta$

This works because

$$x^2-a^2=a^2\sec^2\theta-a^2=a^2(\sec^2\theta-1)=a^2\tan^2\theta.$$

So the radical becomes $a|\tan\theta|$. We choose an interval where $\tan\theta$ has a predictable sign.

A quick memory trick is:

  • $a^2-x^2$ goes with $\sin$
  • $x^2+a^2$ goes with $\tan$
  • $x^2-a^2$ goes with $\sec$

How the Method Works Step by Step

students, when you see a root expression in an integral, follow this process:

  1. Identify the form of the radical.
  2. Choose the substitution that matches that form.
  3. Differentiate to find $dx$ in terms of $d\theta$.
  4. Rewrite the entire integral using the trig substitution.
  5. Simplify using identities such as $1+\tan^2\theta=\sec^2\theta$ or $1-\sin^2\theta=\cos^2\theta$.
  6. Integrate with respect to $\theta$.
  7. Convert back to $x$ using a triangle or algebraic relationships.

The last step is important. A trig answer in $\theta$ is usually not the final goal. You want the antiderivative in terms of $x$.

Example 1: A $\sqrt{a^2-x^2}$ Integral

Evaluate

$$\int \sqrt{9-x^2}\,dx.$$

Because the radical matches $\sqrt{a^2-x^2}$, use $x=3\sin\theta$. Then

$$dx=3\cos\theta\,d\theta,$$

and

$$\sqrt{9-x^2}=\sqrt{9-9\sin^2\theta}=\sqrt{9\cos^2\theta}=3\cos\theta.$$

So the integral becomes

$$\int \sqrt{9-x^2}\,dx=\int (3\cos\theta)(3\cos\theta\,d\theta)=9\int \cos^2\theta\,d\theta.$$

Now use the identity

$$\cos^2\theta=\frac{1+\cos 2\theta}{2}.$$

Then

$$9\int \cos^2\theta\,d\theta=\frac{9}{2}\int (1+\cos 2\theta)\,d\theta=\frac{9}{2}\left(\theta+\frac{1}{2}\sin 2\theta\right)+C.$$

To convert back, since $x=3\sin\theta$, we have $\sin\theta=\frac{x}{3}$ and $\theta=\arcsin\left(\frac{x}{3}\right)$. Also,

$$\sin 2\theta=2\sin\theta\cos\theta=2\left(\frac{x}{3}\right)\left(\frac{\sqrt{9-x^2}}{3}\right)=\frac{2x\sqrt{9-x^2}}{9}.$$

So the result is

$$\frac{9}{2}\arcsin\left(\frac{x}{3}\right)+\frac{x}{2}\sqrt{9-x^2}+C.$$

That is a standard Calculus 2 answer.

Example 2: A $\sqrt{x^2+a^2}$ Integral

Evaluate

$$\int \sqrt{x^2+16}\,dx.$$

This matches $\sqrt{x^2+a^2}$, so use $x=4\tan\theta$. Then

$$dx=4\sec^2\theta\,d\theta,$$

and

$$\sqrt{x^2+16}=\sqrt{16\tan^2\theta+16}=\sqrt{16\sec^2\theta}=4\sec\theta.$$

The integral becomes

$$\int \sqrt{x^2+16}\,dx=\int (4\sec\theta)(4\sec^2\theta\,d\theta)=16\int \sec^3\theta\,d\theta.$$

Now this is a classic trig integral. The antiderivative of $\sec^3\theta$ is known:

$$\int \sec^3\theta\,d\theta=\frac{1}{2}\left(\sec\theta\tan\theta+\ln|\sec\theta+\tan\theta|\right)+C.$$

Therefore,

$$16\int \sec^3\theta\,d\theta=8\sec\theta\tan\theta+8\ln|\sec\theta+\tan\theta|+C.$$

Now convert back. Since $x=4\tan\theta$, we get $\tan\theta=\frac{x}{4}$. Also,

$$\sec\theta=\sqrt{1+\tan^2\theta}=\sqrt{1+\frac{x^2}{16}}=\frac{\sqrt{x^2+16}}{4}.$$

So

$$8\sec\theta\tan\theta=8\left(\frac{\sqrt{x^2+16}}{4}\right)\left(\frac{x}{4}\right)=\frac{x\sqrt{x^2+16}}{2},$$

and

$$8\ln|\sec\theta+\tan\theta|=8\ln\left|\frac{\sqrt{x^2+16}}{4}+\frac{x}{4}\right|.$$

The constant from the $\ln$ term can be absorbed into $C$, giving a final answer equivalent to

$$\frac{x\sqrt{x^2+16}}{2}+8\ln\left|x+\sqrt{x^2+16}\right|+C.$$

Example 3: A $\sqrt{x^2-a^2}$ Integral

Evaluate

$$\int \frac{dx}{\sqrt{x^2-25}}.$$

This matches $\sqrt{x^2-a^2}$, so use $x=5\sec\theta$. Then

$$dx=5\sec\theta\tan\theta\,d\theta,$$

and

$$\sqrt{x^2-25}=\sqrt{25\sec^2\theta-25}=\sqrt{25\tan^2\theta}=5|\tan\theta|.$$

On the appropriate interval, this becomes $5\tan\theta$. Then the integral is

$$\int \frac{dx}{\sqrt{x^2-25}}=\int \frac{5\sec\theta\tan\theta\,d\theta}{5\tan\theta}=\int \sec\theta\,d\theta.$$

A standard result is

$$\int \sec\theta\,d\theta=\ln|\sec\theta+\tan\theta|+C.$$

Convert back using $\sec\theta=\frac{x}{5}$ and

$$\tan\theta=\sqrt{\sec^2\theta-1}=\sqrt{\frac{x^2}{25}-1}=\frac{\sqrt{x^2-25}}{5}.$$

So the answer is

$$\ln\left|x+\sqrt{x^2-25}\right|+C,$$

which is a common final form.

Geometry Behind the Substitution

A right triangle often helps with the back-substitution step. For instance, if $x=a\sin\theta$, then $\sin\theta=\frac{x}{a}$. You can draw a triangle with opposite side $x$, hypotenuse $a$, and adjacent side $\sqrt{a^2-x^2}$. That triangle shows why $\cos\theta=\frac{\sqrt{a^2-x^2}}{a}$.

Similarly:

  • If $x=a\tan\theta$, then opposite is $x$, adjacent is $a$, and hypotenuse is $\sqrt{x^2+a^2}$.
  • If $x=a\sec\theta$, then adjacent is $a$, hypotenuse is $x$, and opposite is $\sqrt{x^2-a^2}$.

This geometric picture is not just decoration πŸ“. It helps you move between $\theta$ and $x$ without guessing.

Common Mistakes to Avoid

Here are a few errors students often make:

  • Forgetting to change $dx$ into $d\theta$.
  • Replacing the radical incorrectly, especially missing an absolute value.
  • Using the wrong trig identity.
  • Forgetting to convert back to $x$ at the end.
  • Choosing the substitution form based on the outside expression instead of the radical inside.

A good habit is to pause and ask: β€œDoes the radical match $a^2-x^2$, $x^2+a^2$, or $x^2-a^2$?” That question usually points you to the correct substitution.

Conclusion

Root expressions and trigonometric substitution are a powerful partnership in Calculus 2. students, when an integral contains a square root built from a quadratic expression, trig substitution often turns the radical into a manageable trig expression using identities like $\sin^2\theta+\cos^2\theta=1$ and $1+\tan^2\theta=\sec^2\theta$. The three standard patterns are $x=a\sin\theta$, $x=a\tan\theta$, and $x=a\sec\theta$. Once you recognize the pattern, the rest is a careful process of substitution, simplification, integration, and conversion back to $x$.

Study Notes

  • Root expressions in integrals often match one of three patterns: $\sqrt{a^2-x^2}$, $\sqrt{x^2+a^2}$, or $\sqrt{x^2-a^2}$.
  • Use $x=a\sin\theta$ for $\sqrt{a^2-x^2}$.
  • Use $x=a\tan\theta$ for $\sqrt{x^2+a^2}$.
  • Use $x=a\sec\theta$ for $\sqrt{x^2-a^2}$.
  • Always find $dx$ and rewrite the entire integral in terms of $\theta$.
  • Use trig identities to simplify radicals and powers.
  • Convert back to $x$ at the end using a triangle or algebra.
  • Absolute values matter when simplifying square roots like $\sqrt{\tan^2\theta}$ or $\sqrt{\sec^2\theta}$.
  • Trigonometric substitution is a major technique for integrals with radicals in Calculus 2.
  • The method works because trig identities mirror algebraic square-root patterns.

Practice Quiz

5 questions to test your understanding