Primitive of Reciprocal of a squared minus x squared/Logarithm Form 2

Theorem
Let $a \in \R_{>0}$ be a strictly positive real constant.

Let $x \in \R$ such that $\size x \ne a$.


 * $\ds \int \frac {\d x} {a^2 - x^2} = \dfrac 1 {2 a} \ln \size {\dfrac {a + x} {a - x} } + C$

Proof
From the $1$st logarithm form:


 * $\ds \int \frac {\d x} {a^2 - x^2} = \begin {cases} \dfrac 1 {2 a} \map \ln {\dfrac {a + x} {a - x} } + C & : \size x < a\\

& \\ \dfrac 1 {2 a} \map \ln {\dfrac {x + a} {x - a} } + C & : \size x > a \\ & \\ \text {undefined} & : \size x = a \end {cases}$

From Primitive of Reciprocal of a squared minus x squared: Logarithm Form: Lemma:


 * $\map \ln {\dfrac {a + x} {a - x} }$ is defined $\size x < a$


 * $\map \ln {\dfrac {x + a} {x - a} }$ is defined $\size x > a$

Let $\size x < a$.

Then $\map \ln {\dfrac {a + x} {a - x} }$ is defined.

We have that:

So the result holds for $\size x < a$.

Let $\size x > a$.

Then $\map \ln {\dfrac {x + a} {x - a} }$ is defined.

We have:

We have that:

The result follows.