The Reciprocal of a Radical of a Difference
The integral \(\int\frac{dx}{\sqrt{x^2-a^2}}\) is the secant-substitution analogue of the arcsine integral. It differs in an important way: the answer is a logarithm rather than an inverse trigonometric function. The integrand is defined for \(|x|>a\), a domain with two disconnected pieces, and the antiderivative has to respect both.
Deriving the Formula
Take the branch \(x>a\). Let \(x=a\sec\theta\) with \(0<\theta<\frac\pi2\). Then \(dx=a\sec\theta\tan\theta\,d\theta\) and \(\sqrt{x^2-a^2}=a\tan\theta\). The integral becomes
From the triangle with hypotenuse \(x\), adjacent side \(a\), and opposite side \(\sqrt{x^2-a^2}\), we have \(\sec\theta=\frac xa\) and \(\tan\theta=\frac{\sqrt{x^2-a^2}}{a}\). So the result is \(\ln\frac{x+\sqrt{x^2-a^2}}{a}+C\). The constant \(-\ln a\) is absorbed into \(C\), giving the stated formula.
Checking by Differentiation
Differentiate \(\ln(x+\sqrt{x^2-a^2})\) for \(x>a\). The chain rule gives \(\frac{1+\frac{x}{\sqrt{x^2-a^2}}}{x+\sqrt{x^2-a^2}}\). Writing the numerator as \(\frac{\sqrt{x^2-a^2}+x}{\sqrt{x^2-a^2}}\), the factor \(x+\sqrt{x^2-a^2}\) cancels with the denominator, leaving \(\frac{1}{\sqrt{x^2-a^2}}\).
Both Branches
For \(x<-a\), the quantity \(x+\sqrt{x^2-a^2}\) is negative, so the absolute value is needed. The derivative of \(\ln|x+\sqrt{x^2-a^2}|\) is the same expression as before, \(\frac{1}{\sqrt{x^2-a^2}}\), because \(\frac{d}{dx}\ln|g|=\frac{g'}{g}\) regardless of the sign of \(g\). Thus the formula holds on both branches, though the constant \(C\) may differ from one branch to the other. A definite integral must lie entirely within one branch.
Worked Examples
Worked Example: Radius One
Evaluate \(\int_1^2\frac{dx}{\sqrt{x^2-1}}\).
The antiderivative is \(\ln(x+\sqrt{x^2-1})\). At \(x=2\): \(\ln(2+\sqrt3)\). At \(x=1\): \(\ln1=0\). Hence
The integrand is unbounded at \(x=1\), so this integral is improper at its lower limit, but it converges because the singularity behaves like \(\frac{1}{\sqrt{x-1}}\).
Worked Example: Radius Three
Evaluate \(\int_3^5\frac{dx}{\sqrt{x^2-9}}\).
At \(x=5\): \(\sqrt{16}=4\), so the antiderivative is \(\ln(5+4)=\ln9\). At \(x=3\): \(\ln3\). So
The Pythagorean triple \(3\text{-}4\text{-}5\) makes the endpoint values exact and simple.
Worked Example: A Scaled Radical
Find \(\int\frac{dx}{\sqrt{4x^2-1}}\).
Let \(u=2x\), so \(dx=\frac{du}{2}\). The integral is \(\frac12\int\frac{du}{\sqrt{u^2-1}}\), so
The factor \(\frac12\) comes from the change of variable. Over \([1,3]\) the integral equals \(\frac12\bigl[\ln(6+\sqrt{35})-\ln(2+\sqrt3)\bigr]\approx0.580\).
Worked Example: The Left Branch
Evaluate \(\int_{-5}^{-3}\frac{dx}{\sqrt{x^2-9}}\).
The antiderivative is \(\ln|x+\sqrt{x^2-9}|\). At \(x=-3\): \(\ln|-3|=\ln3\). At \(x=-5\): \(\ln|-5+4|=\ln1=0\). Therefore
This agrees with the integral over \([3,5]\), as symmetry requires: the integrand is even, so the area on the left branch mirrors the area on the right branch.
A Reliable Procedure
Write the radicand as \(u^2-a^2\) with \(u=cx+d\).
Decide whether the interval lies where \(u>a\) or \(u<-a\).
Use \(\int\frac{du}{\sqrt{u^2-a^2}}=\ln|u+\sqrt{u^2-a^2}|\).
Multiply by \(\frac1c\) when \(u=cx+d\).
Differentiate, or confirm that the sign of the result matches the sign of the integrand.
Common Mistakes
A frequent mistake is to write \(\ln|x-\sqrt{x^2-a^2}|\) or to omit the radical altogether, producing \(\ln|x|\). Another is to confuse the result with the arcsecant: \(\int\frac{dx}{x\sqrt{x^2-a^2}}\) has an arcsecant, but \(\int\frac{dx}{\sqrt{x^2-a^2}}\) does not. A third mistake is to ignore the domain: the formula does not apply for \(|x|<a\), where the radicand is negative. Finally, do not drop the scale factor: \(\int\frac{dx}{\sqrt{4x^2-1}}\) is half of the logarithm, and leaving out the \(\frac12\) doubles the answer. A quick differentiation exposes the error, because the chain rule produces an extra factor of \(2\) from the inner function \(2x\), which the outside \(\frac12\) must cancel.
Quick Reference
| Integrand | Antiderivative | Domain |
|---|---|---|
| \(\frac{1}{\sqrt{x^2-a^2}}\) | \(\ln|x+\sqrt{x^2-a^2}|\) | \(|x|>a\) |
| \(\frac{1}{\sqrt{x^2-9}}\) | \(\ln|x+\sqrt{x^2-9}|\) | \(|x|>3\) |
| \(\frac{1}{\sqrt{4x^2-1}}\) | \(\frac12\ln|2x+\sqrt{4x^2-1}|\) | \(|x|>\frac12\) |
| \(\frac{1}{\sqrt{x^2+2x-3}}\) | \(\ln|x+1+\sqrt{x^2+2x-3}|\) | \(x>1\) or \(x<-3\) |
Interpreting the Result
The antiderivative \(\ln(x+\sqrt{x^2-a^2})\) equals \(\operatorname{arccosh}\frac xa+\ln a\), the inverse hyperbolic cosine. This matches the geometric meaning: as the circle was parametrized by angle, the hyperbola \(x^2-y^2=a^2\) is parametrized by hyperbolic angle, and the integral of the arc-length-like element \(\frac{dx}{\sqrt{x^2-a^2}}\) measures that parameter. For large \(x\), \(\ln(x+\sqrt{x^2-a^2})\approx\ln(2x)\), so the integral grows logarithmically, much more slowly than \(x\).
A Numerical Spot Check
Check the antiderivative on the sub-interval \([4,5]\), away from the singularity at \(x=3\). The exact value is \(\ln9-\ln(4+\sqrt7)\approx0.3032\). The midpoint rule with one rectangle uses the height at \(x=4.5\), namely \(\frac{1}{\sqrt{11.25}}\approx0.2981\), and gives \(0.298\). The estimate is slightly low because the integrand is convex and decreasing, and it agrees with the exact value to within two percent. The full integral \(\ln3\approx1.099\) is larger because the part over \([3,4]\) contributes about \(0.796\), where the integrand blows up near \(x=3\).
Practice Problems with Answers
Try each problem before reading the answer. Every answer below was checked by differentiation or by numerical integration.
- Evaluate \(\int_1^2\frac{dx}{\sqrt{x^2-1}}\). Hint: the lower limit gives \(\ln1=0\). Answer: \(\ln(2+\sqrt3)\)
- Evaluate \(\int_3^5\frac{dx}{\sqrt{x^2-9}}\). Hint: use the 3-4-5 triangle. Answer: \(\ln3\)
- Find an antiderivative of \(\frac{1}{\sqrt{4x^2-1}}\) for \(x>\frac12\). Hint: let \(u=2x\). Answer: \(\frac12\ln(2x+\sqrt{4x^2-1})\)
- Evaluate \(\int_{-5}^{-3}\frac{dx}{\sqrt{x^2-9}}\). Hint: use the absolute value or symmetry. Answer: \(\ln3\)
Worked Example: A Shifted Radicand
Evaluate \(\int_2^3\frac{dx}{\sqrt{x^2+2x-3}}\).
Complete the square: \(x^2+2x-3=(x+1)^2-4\). With \(u=x+1\) and \(a=2\), the antiderivative is \(\ln(x+1+\sqrt{x^2+2x-3})\). At \(x=3\): \(\sqrt{12}\), so \(\ln(4+2\sqrt3)\). At \(x=2\): \(\sqrt5\), so \(\ln(3+\sqrt5)\). Hence
The interval lies on the branch \(x>1\), where \(x+1>2\) and the radicand is positive, so no absolute value is needed.
The Hyperbolic Form
With \(x=a\cosh t\), \(t>0\), we have \(\sqrt{x^2-a^2}=a\sinh t\) and \(dx=a\sinh t\,dt\), so the integrand reduces to \(\int dt=t=\operatorname{arccosh}\frac xa\). This is the same function as \(\ln\bigl(\frac{x+\sqrt{x^2-a^2}}{a}\bigr)\). Textbooks often write the answer either way; the logarithmic form needs no special functions and is the one expected here.
Contrast with the Arcsine Integral
| Feature | \(\frac{1}{\sqrt{a^2-x^2}}\) | \(\frac{1}{\sqrt{x^2-a^2}}\) |
|---|---|---|
| Substitution | \(x=a\sin\theta\) | \(x=a\sec\theta\) |
| Leftover integral | \(\int d\theta\) | \(\int\sec\theta\,d\theta\) |
| Antiderivative | \(\arcsin\frac xa\) | \(\ln|x+\sqrt{x^2-a^2}|\) |
| Domain | \(|x|<a\) | \(|x|>a\) |
| Behavior at \(x=a\) | finite value | vertical asymptote, integrable |
The comparison shows that the two integrals live on complementary regions of the real line. Inside the circle the integral is bounded by \(\frac\pi2\), but outside it the integral grows without limit, though slowly, like \(\ln x\).
Why the Integral Converges at x = a
Near \(x=a\) the radicand factors as \(x^2-a^2=(x-a)(x+a)\approx2a(x-a)\), so the integrand behaves like \(\frac{1}{\sqrt{2a}\sqrt{x-a}}\). A function of the form \((x-a)^{-1/2}\) is integrable at \(a\), because its antiderivative \(2\sqrt{x-a}\) tends to zero. The logarithmic antiderivative reflects this: \(\ln(x+\sqrt{x^2-a^2})\) is continuous at \(x=a\), with value \(\ln a\). Integrals starting exactly at \(x=a\) are therefore improper but finite, and the usual Fundamental Theorem evaluation \(F(b)-F(a)\) is valid when interpreted as a limit.
Growth for Large x
For large \(x\), \(\sqrt{x^2-a^2}\approx x\), so the integrand is close to \(\frac1x\) and the integral resembles \(\ln x\). More precisely, \(\ln(x+\sqrt{x^2-a^2})\approx\ln(2x)\), which equals \(\ln x+\ln2\). This agrees with the idea that the integral of \(\frac1x\) is \(\ln x\), with a small correction from the radical. The estimate gives a quick consistency check: any proposed antiderivative should grow like a logarithm, not like a power of \(x\).
Choosing the Right Form of the Answer
Some instructors prefer \(\operatorname{arccosh}\frac xa\) and others prefer the logarithm. Because the two differ by the constant \(\ln a\), either is a correct antiderivative, and a definite integral gives the same number from both. On an exam, the logarithmic form is safer, since it uses only functions introduced earlier in the course and is easy to differentiate for verification.
Where This Fits in the Course
This tutorial belongs to the module “Trigonometric Substitution”. The tutorial just before it is “Integrating the Square Root of x²−a²,” and the one that follows is “Polynomial Factors Over √(x²−a²).” It pairs with the arcsine integral from earlier: the sine substitution gives an angle, and the secant substitution gives a logarithm. The next tutorials combine this reciprocal form with polynomial and reciprocal-variable factors, so the logarithmic antiderivative and the domain conditions stated here will reappear in each of them and should be second nature before you continue.
Check Your Understanding
Use the derivation and examples above to answer these questions.
- Why does \(x=a\sec\theta\) turn the integral into \(\int\sec\theta\,d\theta\)?
- Why is the absolute value needed when \(x<-a\)?
- Evaluate \(\int_3^5\frac{dx}{\sqrt{x^2-9}}\).
- What is the domain of \(\frac{1}{\sqrt{4x^2-1}}\)?
- Differentiate \(\ln(x+\sqrt{x^2-a^2})\) and show the result is the integrand.