Integral of $$$\frac{1}{s \left(s^{2} - 1\right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \frac{1}{s \left(s^{2} - 1\right)}\, ds$$$.
Solution
Let $$$u=s^{2} - 1$$$.
Then $$$du=\left(s^{2} - 1\right)^{\prime }ds = 2 s ds$$$ (steps can be seen »), and we have that $$$s ds = \frac{du}{2}$$$.
So,
$${\color{red}{\int{\frac{1}{s \left(s^{2} - 1\right)} d s}}} = {\color{red}{\int{\frac{1}{2 u \left(u + 1\right)} d u}}}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(u \right)} = \frac{1}{u \left(u + 1\right)}$$$:
$${\color{red}{\int{\frac{1}{2 u \left(u + 1\right)} d u}}} = {\color{red}{\left(\frac{\int{\frac{1}{u \left(u + 1\right)} d u}}{2}\right)}}$$
Perform partial fraction decomposition (steps can be seen »):
$$\frac{{\color{red}{\int{\frac{1}{u \left(u + 1\right)} d u}}}}{2} = \frac{{\color{red}{\int{\left(- \frac{1}{u + 1} + \frac{1}{u}\right)d u}}}}{2}$$
Integrate term by term:
$$\frac{{\color{red}{\int{\left(- \frac{1}{u + 1} + \frac{1}{u}\right)d u}}}}{2} = \frac{{\color{red}{\left(\int{\frac{1}{u} d u} - \int{\frac{1}{u + 1} d u}\right)}}}{2}$$
The integral of $$$\frac{1}{u}$$$ is $$$\int{\frac{1}{u} d u} = \ln{\left(\left|{u}\right| \right)}$$$:
$$- \frac{\int{\frac{1}{u + 1} d u}}{2} + \frac{{\color{red}{\int{\frac{1}{u} d u}}}}{2} = - \frac{\int{\frac{1}{u + 1} d u}}{2} + \frac{{\color{red}{\ln{\left(\left|{u}\right| \right)}}}}{2}$$
Let $$$v=u + 1$$$.
Then $$$dv=\left(u + 1\right)^{\prime }du = 1 du$$$ (steps can be seen »), and we have that $$$du = dv$$$.
The integral becomes
$$\frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{{\color{red}{\int{\frac{1}{u + 1} d u}}}}{2} = \frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{{\color{red}{\int{\frac{1}{v} d v}}}}{2}$$
The integral of $$$\frac{1}{v}$$$ is $$$\int{\frac{1}{v} d v} = \ln{\left(\left|{v}\right| \right)}$$$:
$$\frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{{\color{red}{\int{\frac{1}{v} d v}}}}{2} = \frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{{\color{red}{\ln{\left(\left|{v}\right| \right)}}}}{2}$$
Recall that $$$v=u + 1$$$:
$$\frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{\ln{\left(\left|{{\color{red}{v}}}\right| \right)}}{2} = \frac{\ln{\left(\left|{u}\right| \right)}}{2} - \frac{\ln{\left(\left|{{\color{red}{\left(u + 1\right)}}}\right| \right)}}{2}$$
Recall that $$$u=s^{2} - 1$$$:
$$- \frac{\ln{\left(\left|{1 + {\color{red}{u}}}\right| \right)}}{2} + \frac{\ln{\left(\left|{{\color{red}{u}}}\right| \right)}}{2} = - \frac{\ln{\left(\left|{1 + {\color{red}{\left(s^{2} - 1\right)}}}\right| \right)}}{2} + \frac{\ln{\left(\left|{{\color{red}{\left(s^{2} - 1\right)}}}\right| \right)}}{2}$$
Therefore,
$$\int{\frac{1}{s \left(s^{2} - 1\right)} d s} = - \frac{\ln{\left(s^{2} \right)}}{2} + \frac{\ln{\left(\left|{s^{2} - 1}\right| \right)}}{2}$$
Simplify:
$$\int{\frac{1}{s \left(s^{2} - 1\right)} d s} = - \ln{\left(s \right)} + \frac{\ln{\left(\left|{s^{2} - 1}\right| \right)}}{2}$$
Add the constant of integration:
$$\int{\frac{1}{s \left(s^{2} - 1\right)} d s} = - \ln{\left(s \right)} + \frac{\ln{\left(\left|{s^{2} - 1}\right| \right)}}{2}+C$$
Answer
$$$\int \frac{1}{s \left(s^{2} - 1\right)}\, ds = \left(- \ln\left(s\right) + \frac{\ln\left(\left|{s^{2} - 1}\right|\right)}{2}\right) + C$$$A