Question:
Find the antiderivative(s): $\int{\frac{1}{x^2-a^2}}\mathbb{d}x$
My book's attempt:
$$\int{\frac{1}{x^2-a^2}}\mathbb{d}x$$
$$\int{\frac{1}{(x+a)(x-a)}}\mathbb{d}x$$
$$\frac{1}{2a}\int\left({\frac{1}{x-a}-\frac{1}{x+a}}\right)\mathbb{d}x$$
$$\frac{1}{2a}[\ln(x-a)-\ln(x+a)]+C$$
$$\frac{1}{2a}\ln(|\frac{x-a}{x+a}|)+C,x\ne\pm a$$
$\frac{1}{x^2-a^2}$ is a discontinuous function, and there are three integration domains of it: $(-\infty, -a)$, $(-a,a)$ & $(a,+\infty)$. We will get three different family of functions as antiderivatives for the three different integration domains of this function, and two antiderivatives belonging to two different integration domains/family of functions will not differ by a constant.
My question is that my book found out the antiderivative belonging to which integration domain?
$$ \begin{cases} \frac{1}{2a}\ln(\frac{x-a}{x+a})+C_0,x<-a\ \frac{1}{2a}\ln(-\frac{x-a}{x+a})+C_1,-a<x<a\ \frac{1}{2a}\ln(\frac{x-a}{x+a})+C_2,a<x \end{cases} $$
Shouldn't you have written this?
– tryingtobeastoic Jan 28 '22 at 05:33