Tutorials › Calculus II › Choosing and Solving Mixed Radical Integrals

Trigonometric Substitution · Tutorial 170 of 998

Choosing and Solving Mixed Radical Integrals

Choose a substitution that simplifies the radical and the remaining factors, keep track of signs and domains, and verify the resulting antiderivative.

Intermediate 9 min read

What You'll Learn

  • Match the forms \(a^2-x^2\) and \(x^2-a^2\) to appropriate trigonometric substitutions.
  • Identify when the domain determines a branch or restricts the triangle interpretation.
  • Track radical, differential, polynomial, and reciprocal factors through a substitution.
  • Reconstruct trigonometric quantities using signed relations and right-triangle lengths.
  • Verify mixed-radical antiderivatives by differentiating them.

Why the Choice of Substitution Matters

An integral can combine a quadratic radical with factors of \(x\), \(1/x\), or a polynomial expression. The radical often signals a useful trigonometric substitution, but that choice must also simplify the other factors and respect the domain. A substitution that simplifies the square root but leaves a more complicated integrand may not be the best choice.

This tutorial focuses on integrals involving the forms \(\sqrt{a^2-x^2}\) and \(\sqrt{x^2-a^2}\), where \(a>0\). The goal is to select a substitution deliberately, carry every factor through it, return to the original variable with the correct signs, and check the final result by differentiation.

Definition: A trigonometric substitution is a change of variable that expresses \(x\) as a trigonometric function of a new variable \(\theta\), chosen so that an expression involving a quadratic radical simplifies by a trigonometric identity. For the two forms used here, the standard choices are \(x=a\sin\theta\) for \(a^2-x^2\), and \(x=a\sec\theta\) for \(x^2-a^2\), with the domain and branch chosen to make the resulting radical relation valid.

Choosing a Substitution and a Branch

For \(\sqrt{a^2-x^2}\), assume \(-a<x<a\) and take \(\theta=\arcsin(x/a)\), so \(-\pi/2<\theta<\pi/2\). Then \(\cos\theta>0\), and

$$ x=a\sin\theta,\qquad \sqrt{a^2-x^2}=a\cos\theta,\qquad dx=a\cos\theta\,d\theta. $$

These identities follow because \(a^2-x^2=a^2(1-\sin^2\theta)=a^2\cos^2\theta\), and \(\cos\theta\) is positive on this chosen interval. The sign of \(x\), however, is the sign of \(\sin\theta\); it need not be positive.

For a right-triangle picture with positive side lengths, it is simplest to restrict to \(0<x<a\). The triangle then has opposite side \(x\), adjacent side \(\sqrt{a^2-x^2}\), and hypotenuse \(a\). If \(-a<x<0\), the opposite side length is \(|x|\), not \(x\). The signed substitution still gives \(\cot\theta=\sqrt{a^2-x^2}/x\), which is negative in that case.

For \(\sqrt{x^2-a^2}\), the branch \(x>a\) is handled by \(x=a\sec\theta\) with \(0<\theta<\pi/2\). Here \(\tan\theta>0\), so

$$ x=a\sec\theta,\qquad \sqrt{x^2-a^2}=a\tan\theta,\qquad dx=a\sec\theta\tan\theta\,d\theta. $$

The radical relation follows from \(\sec^2\theta-1=\tan^2\theta\). Restricting to \(x>a\) ensures the stated positive square root is \(a\tan\theta\). Integrals on other domain intervals require their own branch and sign choices.

Radical form Useful substitution Domain used here
\(\sqrt{a^2-x^2}\) \(x=a\sin\theta\) \(-a<x<a\); triangle picture most direct for \(0<x<a\)
\(\sqrt{x^2-a^2}\) \(x=a\sec\theta\) \(x>a\)

After making the substitution, simplify the whole integrand, not just the radical. For example, a factor \(1/x^2\) becomes a reciprocal trigonometric factor under \(x=a\sin\theta\); it must be carried along with both the radical and \(dx\).

Worked Example: A Radical Divided by \(x\)

Worked Example: Integrating \(\sqrt{16-x^2}/x\)

Find an antiderivative on \(0<x<4\). Because the radical is \(\sqrt{4^2-x^2}\), use \(x=4\sin\theta\), with \(0<\theta<\pi/2\). Then \(\sqrt{16-x^2}=4\cos\theta\) and \(dx=4\cos\theta\,d\theta\).

$$ \begin{aligned} \int \frac{\sqrt{16-x^2}}{x}\,dx &=\int \frac{4\cos\theta}{4\sin\theta}(4\cos\theta)\,d\theta\\ &=4\int \frac{\cos^2\theta}{\sin\theta}\,d\theta\\ &=4\int(\csc\theta-\sin\theta)\,d\theta\\ &=4\ln\left|\tan\frac{\theta}{2}\right|+4\cos\theta+C. \end{aligned} $$

The third line uses \(\cos^2\theta=1-\sin^2\theta\). To return to \(x\), the triangle has opposite side \(x\), adjacent side \(\sqrt{16-x^2}\), and hypotenuse \(4\). Thus \(\cos\theta=\sqrt{16-x^2}/4\), and the half-angle identity gives \(\tan(\theta/2)=x/(4+\sqrt{16-x^2})\). Therefore

$$ \int \frac{\sqrt{16-x^2}}{x}\,dx = \sqrt{16-x^2} -4\ln\left(\frac{4+\sqrt{16-x^2}}{x}\right)+C. $$

Check by differentiation. Write \(s=\sqrt{16-x^2}\), so \(s'=-x/s\). Also,

$$ \frac{d}{dx}\ln\left(\frac{4+s}{x}\right) = \frac{s'}{4+s}-\frac1x = -\frac{x}{s(4+s)}-\frac1x = -\frac{4}{sx}. $$

The last equality follows by putting the terms over a common denominator and using \(x^2=(4-s)(4+s)\). Hence the derivative of the proposed antiderivative is

$$ -\frac{x}{s}-4\left(-\frac{4}{sx}\right) = \frac{16-x^2}{sx} = \frac{s}{x}, $$

which is the original integrand.

Worked Example: A Radical Divided by \(x^2\)

Worked Example: Integrating \(\sqrt{x^2-9}/x^2\)

Find an antiderivative for \(x>3\). The radical has the form \(\sqrt{x^2-3^2}\), so set \(x=3\sec\theta\), where \(0<\theta<\pi/2\). Then \(\sqrt{x^2-9}=3\tan\theta\), \(dx=3\sec\theta\tan\theta\,d\theta\), and \(x^2=9\sec^2\theta\).

$$ \begin{aligned} \int \frac{\sqrt{x^2-9}}{x^2}\,dx &=\int \frac{3\tan\theta}{9\sec^2\theta} (3\sec\theta\tan\theta)\,d\theta\\ &=\int \frac{\tan^2\theta}{\sec\theta}\,d\theta\\ &=\int(\sec\theta-\cos\theta)\,d\theta\\ &=\ln|\sec\theta+\tan\theta|-\sin\theta+C. \end{aligned} $$

Here \(\tan^2\theta=\sec^2\theta-1\). A triangle has adjacent side \(3\), hypotenuse \(x\), and opposite side \(\sqrt{x^2-9}\). It follows that \(\sec\theta=x/3\) and \(\sin\theta=\sqrt{x^2-9}/x\). Thus

$$ \int \frac{\sqrt{x^2-9}}{x^2}\,dx = \ln\left(\frac{x+\sqrt{x^2-9}}{3}\right) -\frac{\sqrt{x^2-9}}{x}+C. $$

For a derivative check, let \(s=\sqrt{x^2-9}\), so \(s'=x/s\). Then

$$ \frac{d}{dx}\ln\left(\frac{x+s}{3}\right)=\frac1s, \qquad \frac{d}{dx}\left(\frac{s}{x}\right) =\frac{x^2/s-s}{x^2} =\frac{9}{sx^2}. $$

Therefore the derivative of the proposed answer is

$$ \frac1s-\frac{9}{sx^2} = \frac{x^2-9}{sx^2} = \frac{s}{x^2}, $$

as required.

Worked Example: Combining Polynomial and Reciprocal Factors

Worked Example: Integrating \((x^2+4)/(x^2\sqrt{25-x^2})\)

Find an antiderivative for \(0<x<5\). The radical suggests \(x=5\sin\theta\), with \(0<\theta<\pi/2\). Then \(\sqrt{25-x^2}=5\cos\theta\) and \(dx=5\cos\theta\,d\theta\). Keeping the \(x^2\) in the denominator is important:

$$ \begin{aligned} \int \frac{x^2+4}{x^2\sqrt{25-x^2}}\,dx &=\int \frac{25\sin^2\theta+4} {25\sin^2\theta\cdot 5\cos\theta} (5\cos\theta)\,d\theta\\ &=\int\left(1+\frac{4}{25}\csc^2\theta\right)d\theta\\ &=\theta-\frac{4}{25}\cot\theta+C. \end{aligned} $$

The triangle has opposite side \(x\), adjacent side \(\sqrt{25-x^2}\), and hypotenuse \(5\). Hence \(\theta=\arcsin(x/5)\) and \(\cot\theta=\sqrt{25-x^2}/x\). Back-substitution gives

$$ \int \frac{x^2+4}{x^2\sqrt{25-x^2}}\,dx = \arcsin\left(\frac{x}{5}\right) -\frac{4\sqrt{25-x^2}}{25x}+C. $$

To check, let \(s=\sqrt{25-x^2}\). Then \(s'=-x/s\), so

$$ \frac{d}{dx}\left(\frac{s}{x}\right) = \frac{-x^2/s-s}{x^2} = -\frac{25}{sx^2}. $$

Also, \(\frac{d}{dx}\arcsin(x/5)=1/s\). Therefore the derivative of the answer is

$$ \frac1s-\frac4{25}\left(-\frac{25}{sx^2}\right) = \frac1s+\frac4{sx^2} = \frac{x^2+4}{x^2\sqrt{25-x^2}}, $$

which matches the integrand.

Why the Substitution Works

The substitution is useful because it converts the quadratic expression under the radical into a trigonometric identity and also supplies a differential that often cancels a trigonometric factor. For the sine substitution, the complete change of variables is

$$ a^2-x^2 =a^2-a^2\sin^2\theta =a^2\cos^2\theta, \qquad dx=a\cos\theta\,d\theta. $$

On the principal arcsine branch, \(\cos\theta>0\), so taking the positive square root gives \(\sqrt{a^2-x^2}=a\cos\theta\), not an expression with an undetermined sign. Similarly, for the secant substitution on \(x>a\),

$$ x^2-a^2 =a^2\sec^2\theta-a^2 =a^2\tan^2\theta, \qquad dx=a\sec\theta\tan\theta\,d\theta. $$

Because \(0<\theta<\pi/2\), both \(\sec\theta\) and \(\tan\theta\) are positive, giving \(\sqrt{x^2-a^2}=a\tan\theta\). These branch conditions justify the radical formulas used in the examples.

1
Inspect the radical.
Match \(a^2-x^2\) with a sine substitution or \(x^2-a^2\) with a secant substitution, after specifying an interval on which the radical is defined.
2
Transform every factor.
Substitute for \(x\), the radical, and \(dx\), including all polynomial and reciprocal factors.
3
Integrate and reconstruct.
Simplify using trigonometric identities, integrate, and use a triangle or signed trigonometric relations to return to \(x\).
4
Check the result.
Differentiate the proposed antiderivative and confirm that it equals the original integrand on the stated interval.

A Sign and Triangle Pitfall

A right triangle records positive lengths, whereas a trigonometric substitution can involve a negative \(x\). For example, if \(x=-2\) and \(a=4\), then \(\theta=\arcsin(-2/4)=-\pi/6\). The radical is \(\sqrt{16-(-2)^2}=2\sqrt3\).

A wrong triangle description would call the opposite side \(-2\). That cannot be a side length. The correct triangle has opposite side \(|x|=2\), adjacent side \(2\sqrt3\), and hypotenuse \(4\). The angle is negative, which preserves the sign in the trigonometric ratios:

$$ \sin\theta=\frac{x}{4}=-\frac12, \qquad \cot\theta=\frac{\sqrt{16-x^2}}{x} =-\sqrt3. $$

Thus the triangle supplies side lengths, while the signed substitution determines whether a trigonometric ratio is positive or negative. On an interval where \(x>0\), the simpler positive-side triangle used in the first and third examples is valid.

Why Verification Is Part of the Method

Back-substitution can introduce errors even when the trigonometric integration is correct. Common sources include losing a factor of \(a\), replacing a signed ratio with a positive side-length ratio, or simplifying a logarithm incorrectly. Differentiating the final expression tests all of these decisions at once.

The check must use the original variable and the original domain. It is not enough that an expression looks plausible or agrees at one sample value: its derivative must equal the integrand throughout the interval where the formula is claimed. When a domain has multiple intervals, an antiderivative is considered separately on each interval, and the constant of integration may differ from one interval to another.

Takeaway: Choose the substitution from the quadratic radical, but judge it by the complete transformed integrand. State the interval, use positive triangle lengths, retain signs through the trigonometric ratios, and verify the final expression by differentiation.

Check Your Understanding

For each question, keep the domain and the signs of the trigonometric quantities in view.

  1. Which substitution simplifies \(\sqrt{36-x^2}\), and what interval for \(\theta\) makes the square-root relation direct?
  2. For \(x=-3\) and \(a=5\), what is the opposite-side length in the triangle for \(x=a\sin\theta\), and what is the sign of \(\cot\theta\)?
  3. For an integral containing \(\sqrt{x^2-16}\) on \(x>4\), state the secant substitution and the corresponding expression for the radical.
  4. When substituting into an integrand that contains \(1/x^2\), which parts of the differential expression must also be transformed?
  5. What calculation confirms that a proposed antiderivative is correct on its stated interval?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon