All the above integrals are standard integrals . We will now try to derive these formulae using substitution. But it is recommended to remember these formulae.
1. ∫dx√x2+a2
Since we have the term, x2 + a2, we will go for the substitution x=atanθ. We can also go for the substitution x=acotθ. We do this because x2 + a2 gives a familiar trigonometric function as we proceed.
x=atanθ
⇒dx=asec2θ.dθ
Also,
x2+a2=(atanθ)2+a2=a2(tanθ2+1)=a2sec2θ⇒∫dx√x2+a2=∫asec2θ.dθ√a2sec2θ=∫|secθ|dθ=ln|secθ+tanθ|+c
We have tanθ=xa from the substitution we made. We can find secθ using the relation secθ2=tanθ2+
1.
So, we get secθ=√x2+a2a.
Substituting these values we get
∫dx√x2+a2=ln|secθ+tanθ|=ln∣∣∣x+√x2+a2a∣∣∣+c=ln|x+√x2+a2|−ln|a|+c
We can combine ‘ - ln |a|’ and ‘c’ and call it as C, because both are constants. So, the first integral is correct.
2. We can find the integral ∫dx√x2−a2 in a similar way with the substitution,
x=asecθ
We will get,
∫dx√x2−a2=ln|x+√x2−a2|+C
This is different from the integral given in statement 2. So second statement is wrong.
3. ∫dxx2−a2
We will solve this question by rearranging the terms.
We can write,
1x2−a2=12a[1x−a−1x+a]
So we get,
∫dxx2−a2=12a[∫1x−a−∫1x+a]=12a[ln(|x−a|−ln|x+a|)]+C=12a[ln∣∣x−ax+a∣∣]+C
Rearranging terms in this way and finding integral is covered in integration by partial fractions in detail
4. We can find this integral in the same way we found the third integral. We get ∫dxa2−x2=12aln∣∣x+ax−a∣∣+C