x2−9 has the form x2−a2 with a=3, so the secant fits. Let x=3secθ, with θ between 0 and π/2 because x>3.
x=3secθ
2
Find dx
The derivative of secθ is secθtanθ, so dx=3secθtanθdθ. This factor goes into the integral in place of dx.
dx=3secθtanθdθ
3
Simplify the root
x2−9=9sec2θ−9=9tan2θ, and tanθ is positive on this range, so the root is 3tanθ.
√9sec2θ−9=3tanθ
4
Integrate in θ
The integrand is 3secθtanθ over (9sec2θ)(3tanθ). The tangents cancel and one secant stays in the denominator, which leaves (1/9)cosθ.
∫91cosθdθ=91sinθ+C
5
Read sinθ from the triangle
secθ=x/3 means the hypotenuse is x and the side adjacent to θ is 3, so the opposite side is √x2−9. Sine is opposite over hypotenuse.
sinθ=x√x2−9
The triangle for x=3secθ
Side
Length
Hypotenuse
x
Adjacent to θ
3
Opposite θ
√x2−9
6
Write the answer and check it
Substitute for sinθ. To check, differentiate √x2−9/(9x) with the quotient rule: the result simplifies to (x2−(x2−9))/(9x2√x2−9)=1/(x2√x2−9), the integrand.
9x√x2−9+C
Result
∫dx/(x2√x2−9)=√x2−9/(9x)+C for x>3. The answer starts at 0 when x=3 and creeps up toward 1/9 as x grows.
Your turn
1. One like the example
Find ∫dx/(x√x2−4) for x>2.
Show the answer and explanation
(1/2)arccos(2/x)+C, also written (1/2)arcsec(x/2)+C.
Let x=2secθ, so dx=2secθtanθdθ and √x2−4=2tanθ. The integrand becomes (2secθtanθ)/((2secθ)(2tanθ))=1/2, so the integral is θ/2+C. Since secθ=x/2,cosθ=2/x and θ=arccos(2/x). Chalk checks the θ-integral and leaves the arccos answer at “?” here. Written straight under ∫dx/(x√x2−4), it reads ✓.
Find ∫dx/(x2−4)3/2 for x>2. The root is now raised to a power.
Show the answer and explanation
−x/(4√x2−4)+C.
With x=2secθ,(x2−4)3/2=(2tanθ)3=8tan3θ, and dx=2secθtanθdθ. The integrand becomes secθ/(4tan2θ)=(1/4)cscθcotθ, whose antiderivative is −(1/4)cscθ. The triangle gives cscθ=x/√x2−4. Chalk checks the θ-integral and this answer in x.
Evaluate ∫dx/(x2√x2−9) from x=3 to x=6. Change the limits instead of returning to x.
Show the answer and explanation
√3/18≈0.0962.
With x=3secθ,x=3 gives secθ=1, so θ=0, and x=6 gives secθ=2, so θ=π/3. The θ-integral of (1/9)cosθ from 0 to π/3 is (1/9)sin(π/3)=(1/9)(√3/2)=√3/18. The worked example’s answer agrees, √27/54−0=√3/18.
Check it in Math, then change the answer to 1/(3x)+C, the answer you get by reading sinθ as 3/x, which is cosθ. The row turns to ✗: it isn’t an antiderivative of the integrand.