Now let’s tackle expressions involving [latex]\sqrt{{a}^{2}+{x}^{2}}[/latex]. This requires a different approach than what we just learned.
The key difference here is domain. Unlike [latex]\sqrt{{a}^{2}-{x}^{2}}[/latex], the expression [latex]\sqrt{{a}^{2}+{x}^{2}}[/latex] is defined for all real values of [latex]x[/latex]. This means we need a trigonometric function that also has a range of all real numbers.
Our options:
[latex]x = a\tan\theta[/latex] ✓ (tangent has range [latex](-\infty, \infty)[/latex])
[latex]x = a\cot\theta[/latex] ✓ (cotangent has range [latex](-\infty, \infty)[/latex])
Either of these substitutions would actually work, but the standard substitution is [latex]x=a\tan\theta[/latex] or, equivalently, [latex]\tan\theta =\frac{x}{a}[/latex], where [latex]-\frac{\pi}{2} < \theta < \frac{\pi}{2}[/latex].
Why This Substitution Works
When you substitute [latex]x = a\tan\theta[/latex]:
This substitution relies on the identity [latex]1 + \tan^2\theta = \sec^2\theta[/latex]. Since [latex]\sec\theta > 0[/latex] over the interval [latex](-\frac{\pi}{2}, \frac{\pi}{2})[/latex], we have [latex]|a\sec\theta| = a\sec\theta[/latex].
Since [latex]\tan\theta = \frac{x}{a}[/latex], you can build this reference triangle:
A reference triangle can be constructed to express the trigonometric functions evaluated at [latex]\theta [/latex] in terms of [latex]x[/latex].The reference triangle assumes [latex]x > 0[/latex], but don’t worry! The trigonometric ratios it produces work for all values of [latex]x[/latex], including when [latex]x \leq 0[/latex].Problem-Solving Strategy for [latex]\sqrt{{a}^{2}+{x}^{2}}[/latex]
Check first: Can this integral be solved more easily another way? In some cases, it is more convenient to use an alternative method.
Substitute: [latex]x = a\tan\theta[/latex] and [latex]dx = a\sec^2\theta , d\theta[/latex].
Simplify: Use [latex]\sqrt{{a}^{2}+{x}^{2}} = a\sec\theta[/latex]
Integrate: Use trigonometric integration techniques
Convert back: Use the reference triangle to express the result in terms of [latex]x[/latex]. You may also need to use some trigonometric identities and the relationship [latex]\theta ={\tan}^{-1}\left(\frac{x}{a}\right)[/latex].
Evaluate [latex]\displaystyle\int \frac{dx}{\sqrt{1+{x}^{2}}}[/latex] and check the solution by differentiating.
Begin with the substitution [latex]x=\tan\theta[/latex] and [latex]dx={\sec}^{2}\theta d\theta[/latex]. Since [latex]\tan\theta =x[/latex], draw the reference triangle in the following figure.
Figure 5. The reference triangle for this example.
Since [latex]\sqrt{1+{x}^{2}}+x>0[/latex] for all values of [latex]x[/latex], we could rewrite [latex]\text{ln}|\sqrt{1+{x}^{2}}+x|+C=\text{ln}\left(\sqrt{1+{x}^{2}}+x\right)+C[/latex], if desired.
In the example below, we explore how to use hyperbolic trigonometric functions as an alternative substitution method. First, we briefly review the definition of these functions and their derivatives.
For any real number [latex]x[/latex], the hyperbolic sine and hyperbolic cosine are defined as:
[latex]\sinh x = \frac{e^x - e^{-x}}{2} \: \text{and}\:\cosh x = \frac{e^x + e^{-x}}{2}[/latex]
Their derivatives are given by:
[latex]\frac{d}{dx} \left( \sinh x \right) = \cosh x \:\text{and}\:\frac{d}{dx} \left( \cosh x \right) = \sinh x[/latex]
Use the substitution [latex]x=\text{sinh}\theta[/latex] to evaluate [latex]\displaystyle\int \frac{dx}{\sqrt{1+{x}^{2}}}[/latex].
Because [latex]\text{sinh}\theta[/latex] has a range of all real numbers, and [latex]1+{\text{sinh}}^{2}\theta ={\text{cosh}}^{2}\theta[/latex], we may also use the substitution [latex]x=\text{sinh}\theta[/latex] to evaluate this integral. In this case, [latex]dx=\text{cosh}\theta d\theta[/latex]. Consequently,
This answer looks quite different from the answer obtained using the substitution [latex]x=\tan\theta[/latex]. To see that the solutions are the same, set [latex]y={\text{sinh}}^{-1}x[/latex]. Thus, [latex]\text{sinh}y=x[/latex]. From this equation we obtain: