Tutorials › Calculus II › Definite Integrals With x²−a² Radicals

Trigonometric Substitution · Tutorial 166 of 998

Definite Integrals With x²−a² Radicals

Use secant substitution to evaluate definite integrals with x²−a² radicals while keeping the bounds and branch choices correct.

Intermediate 10 min read

What You'll Learn

  • Identify the real domain of a radical involving x²−a².
  • Choose a secant substitution for the positive or negative branch.
  • Transform definite-integral bounds and preserve their orientation.
  • Evaluate definite integrals involving the radical and its reciprocal.
  • Handle endpoint values at which the reciprocal radical is unbounded.
  • Check results using antiderivatives and the original bounds.

Why the Bounds and Branch Matter

For a definite integral, a substitution changes more than the integrand: it changes the variable and the limits as well. With \(\sqrt{x^2-a^2}\), there is an additional issue. For real \(x\), the radical is defined only when \(x^2-a^2\ge 0\), so the integration interval must lie on one of the two branches \(x\ge a\) or \(x\le -a\), where \(a>0\).

The secant substitution turns the expression under the radical into a trigonometric identity. To use it reliably in a definite integral, choose a branch, transform both endpoints, and preserve the order of the limits. If an endpoint equals \(a\) or \(-a\), the reciprocal radical is unbounded there; the integral must be interpreted as an improper integral and its limiting value checked.

Domain condition: Throughout, \(a>0\). A real integral involving \(\sqrt{x^2-a^2}\) must have its interval within \(x\ge a\) or within \(x\le -a\). The square root denotes the nonnegative root.

Secant Substitution on the Positive Branch

When \(x\ge a\), use \(x=a\sec\theta\) with \(0\le\theta<\pi/2\). Then \(\sec\theta\ge1\) and \(\tan\theta\ge0\), so the principal square root is \(a\tan\theta\), not its negative. Differentiation gives \(dx=a\sec\theta\tan\theta\,d\theta\). For an endpoint \(x=c\ge a\), the corresponding angle is \(\theta=\operatorname{arcsec}(c/a)=\arccos(a/c)\).

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

In a definite integral from \(u\) to \(v\), where \(a\le u\le v\), the transformed limits are \(\theta_u=\arccos(a/u)\) and \(\theta_v=\arccos(a/v)\). They remain in increasing order because \(\arccos(a/x)\) increases as \(x\) increases on this branch. In particular, the endpoint \(x=a\) transforms to \(\theta=0\).

Bound rule: After substituting \(x=a\sec\theta\), evaluate the new limits by substituting the original \(x\)-endpoints into \(x=a\sec\theta\). Do not leave the original \(x\)-limits attached to an integral in \(\theta\).

What the Substitution Does to the Two Radicals

The square-root factor and its reciprocal produce different trigonometric integrands. The identities below follow by inserting the substitution and cancelling common factors. They are useful starting points for definite integrals; the limits must still be transformed separately.

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

For the first expression, \(\tan^2\theta=\sec^2\theta-1\), so its integral reduces to a combination of \(\int\sec^3\theta\,d\theta\) and \(\int\sec\theta\,d\theta\). For the reciprocal, it reduces directly to \(\int\sec\theta\,d\theta\). The standard antiderivatives needed here are \(\frac12(\sec\theta\tan\theta+\ln|\sec\theta+\tan\theta|)\) for \(\sec^3\theta\), and \(\ln|\sec\theta+\tan\theta|\) for \(\sec\theta\). Their derivatives verify these formulas on \(0\le\theta<\pi/2\).

A Definite-Integral Formula and Its Justification

The substitution provides a direct way to calculate, but it is also useful to have endpoint formulas. Define, on either real branch \(x\ge a\) or \(x\le-a\),

$$ F(x)=\frac12\left[ x\sqrt{x^2-a^2} -a^2\ln\left|\frac{x+\sqrt{x^2-a^2}}{a}\right| \right]. $$

For the reciprocal radical, define

$$ G(x)=\ln\left|\frac{x+\sqrt{x^2-a^2}}{a}\right|. $$

The logarithm arguments are nonzero on both branches. The scale \(a\) makes the logarithm’s argument dimensionless; it does not change the derivative. These expressions give the following definite-integral rules when the endpoints lie on the same branch and the integrals exist:

$$ \int_u^v\sqrt{x^2-a^2}\,dx=F(v)-F(u), \qquad \int_u^v\frac{dx}{\sqrt{x^2-a^2}}=G(v)-G(u). $$

Here is why the formulas work. Write \(R=\sqrt{x^2-a^2}\) at an interior point of either branch. Then \(R'=x/R\). By the product rule,

$$ \frac{d}{dx}(xR)=R+\frac{x^2}{R}. $$

Also, differentiating the logarithm gives

$$ \frac{d}{dx}\ln\left|\frac{x+R}{a}\right| =\frac{1+x/R}{x+R} =\frac{1}{R}. $$

Consequently,

$$ F'(x) =\frac12\left(R+\frac{x^2-a^2}{R}\right) =R, \qquad G'(x)=\frac1R. $$

The Fundamental Theorem of Calculus gives the endpoint formulas on intervals where the integrands are continuous. If an endpoint is \(a\) or \(-a\), apply the formulas by taking a one-sided limit from within the interval. The square-root integrand extends continuously to zero there. The reciprocal is unbounded, but its limiting integral is finite: in the transformed variable, it is an integral of \(\sec\theta\) starting or ending at \(\theta=0\), where \(\sec\theta\) is continuous.

Worked Examples

Worked Example: A Square-Root Integral from the Branch Endpoint

Evaluate \(\int_3^5\sqrt{x^2-9}\,dx\). Here \(a=3\), and the interval is on the positive branch. Set \(x=3\sec\theta\). The endpoint \(x=3\) gives \(\theta=0\), while \(x=5\) gives \(\sec\theta=5/3\), hence \(\tan\theta=4/3\). The transformed integral is

$$ \int_0^{\arccos(3/5)}9\sec\theta\tan^2\theta\,d\theta =9\int_0^{\arccos(3/5)}(\sec^3\theta-\sec\theta)\,d\theta. $$

Using the antiderivatives above, an antiderivative of the transformed integrand is \(\frac92(\sec\theta\tan\theta-\ln|\sec\theta+\tan\theta|)\). At the upper limit, \(\sec\theta\tan\theta=(5/3)(4/3)=20/9\) and \(\sec\theta+\tan\theta=3\). At the lower limit, \(\sec 0=1\), \(\tan 0=0\), and \(\ln 1=0\). Therefore,

$$ \int_3^5\sqrt{x^2-9}\,dx =\frac92\left(\frac{20}{9}-\ln3\right) -\frac92(0) =10-\frac92\ln3. $$

Check with \(F\): at \(x=5\), the radical is \(4\), so \(F(5)=\frac12(20-9\ln3)\); at \(x=3\), the radical is \(0\) and the logarithm is \(\ln1=0\), so \(F(3)=0\). Their difference is the same result.

Worked Example: A Reciprocal Radical at the Endpoint

Evaluate the improper integral \(\int_3^5\frac{dx}{\sqrt{x^2-9}}\). The integrand is unbounded at \(x=3\), so first interpret the integral as a limit:

$$ \int_3^5\frac{dx}{\sqrt{x^2-9}} =\lim_{b\to3^+}\int_b^5\frac{dx}{\sqrt{x^2-9}}. $$

Use \(x=3\sec\theta\). The lower limit \(b\) corresponds to \(\theta_b=\arccos(3/b)\), which tends to \(0\) as \(b\to3^+\). The upper limit is \(\alpha=\arccos(3/5)\), with \(\sec\alpha=5/3\) and \(\tan\alpha=4/3\). Since the transformed integrand is \(\sec\theta\),

$$ \lim_{b\to3^+}\int_{\theta_b}^{\alpha}\sec\theta\,d\theta =\lim_{b\to3^+} \left[\ln|\sec\theta+\tan\theta|\right]_{\theta_b}^{\alpha} =\ln3-\ln1 =\ln3. $$

The limit is finite, so the improper integral converges. As a check, \(G(5)=\ln((5+4)/3)=\ln3\), while \(G(3)=\ln(3/3)=0\). The endpoint difference is again \(\ln3\).

Worked Example: A Square-Root Integral on the Negative Branch

Evaluate \(\int_{-5}^{-3}\sqrt{x^2-9}\,dx\). The interval lies on \(x\le-3\), so use \(x=-3\sec\theta\) with \(0\le\theta<\pi/2\). Then \(\sqrt{x^2-9}=3\tan\theta\) and \(dx=-3\sec\theta\tan\theta\,d\theta\). At \(x=-5\), \(\sec\theta=5/3\), so \(\theta=\alpha=\arccos(3/5)\); at \(x=-3\), \(\theta=0\). Notice the transformed bounds decrease. Substitution gives

$$ \int_{-5}^{-3}\sqrt{x^2-9}\,dx =-9\int_\alpha^0\sec\theta\tan^2\theta\,d\theta =9\int_0^\alpha\sec\theta\tan^2\theta\,d\theta. $$

The last integral is the one evaluated in the first example: its value is \(10-\frac92\ln3\). The sign change comes from reversing the transformed limits, not from changing the sign of the square root. Check using \(F\): \(F(-3)=0\), and \(F(-5)=\frac12(-20-9\ln(1/3))=-10+\frac92\ln3\). Thus \(F(-3)-F(-5)=10-\frac92\ln3\), as required.

Endpoint and Branch Pitfalls

A common error is to use the positive-branch substitution \(x=a\sec\theta\) for a negative interval without accounting for the sign of \(x\) and the order of the transformed limits. For example, on \([-5,-3]\), writing \(x=3\sec\theta\) cannot represent any point in the interval: \(3\sec\theta\ge3\), whereas every \(x\) in the interval is negative. Even with the correct negative-branch substitution \(x=-3\sec\theta\), the bounds go from \(\alpha\) down to \(0\), not from \(0\) up to \(\alpha\). Reversing those bounds without also changing the sign would give a negative answer for an integral of a nonnegative function.

Practical check: Before evaluating, verify that the chosen substitution represents the entire interval, that each endpoint produces the stated angle, and that the transformed limits have the correct orientation. A nonnegative integrand over an interval of positive length cannot have a negative integral.

At a branch endpoint, do not substitute into an expression as if the reciprocal radical were defined there. Instead, use a one-sided limit. In this case the improper integral converges because the transformed integrand \(\sec\theta\) stays bounded as \(\theta\) approaches \(0\). This endpoint argument applies to a finite interval on either branch; it does not assert convergence for an interval extending to infinity.

Check Your Understanding

Use the branch, the transformed bounds, and endpoint behavior to guide each calculation.

  1. For an integral from \(a\) to \(c\), where \(c>a>0\), what are the secant-substitution limits?
  2. Why is \(\sqrt{x^2-a^2}=a\tan\theta\), rather than \(-a\tan\theta\), on the positive branch with \(0\le\theta<\pi/2\)?
  3. What substitution and transformed bounds apply on an interval \([u,v]\) with \(u<v\le-a\)?
  4. Why does the reciprocal radical have a finite improper integral at \(x=a\) over a finite interval on the positive branch?
  5. Use the endpoint formula for \(G\) to evaluate \(\int_4^5\frac{dx}{\sqrt{x^2-16}}\), interpreting the lower endpoint as improper.

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