Integral of $$$\frac{1}{y \left(1 - y\right)}$$$

The calculator will find the integral/antiderivative of $$$\frac{1}{y \left(1 - y\right)}$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int \frac{1}{y \left(1 - y\right)}\, dy$$$.

Solution

Perform partial fraction decomposition (steps can be seen »):

$${\color{red}{\int{\frac{1}{y \left(1 - y\right)} d y}}} = {\color{red}{\int{\left(\frac{1}{1 - y} + \frac{1}{y}\right)d y}}}$$

Integrate term by term:

$${\color{red}{\int{\left(\frac{1}{1 - y} + \frac{1}{y}\right)d y}}} = {\color{red}{\left(\int{\frac{1}{y} d y} + \int{\frac{1}{1 - y} d y}\right)}}$$

The integral of $$$\frac{1}{y}$$$ is $$$\int{\frac{1}{y} d y} = \ln{\left(\left|{y}\right| \right)}$$$:

$$\int{\frac{1}{1 - y} d y} + {\color{red}{\int{\frac{1}{y} d y}}} = \int{\frac{1}{1 - y} d y} + {\color{red}{\ln{\left(\left|{y}\right| \right)}}}$$

Let $$$u=1 - y$$$.

Then $$$du=\left(1 - y\right)^{\prime }dy = - dy$$$ (steps can be seen »), and we have that $$$dy = - du$$$.

The integral becomes

$$\ln{\left(\left|{y}\right| \right)} + {\color{red}{\int{\frac{1}{1 - y} d y}}} = \ln{\left(\left|{y}\right| \right)} + {\color{red}{\int{\left(- \frac{1}{u}\right)d u}}}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=-1$$$ and $$$f{\left(u \right)} = \frac{1}{u}$$$:

$$\ln{\left(\left|{y}\right| \right)} + {\color{red}{\int{\left(- \frac{1}{u}\right)d u}}} = \ln{\left(\left|{y}\right| \right)} + {\color{red}{\left(- \int{\frac{1}{u} d u}\right)}}$$

The integral of $$$\frac{1}{u}$$$ is $$$\int{\frac{1}{u} d u} = \ln{\left(\left|{u}\right| \right)}$$$:

$$\ln{\left(\left|{y}\right| \right)} - {\color{red}{\int{\frac{1}{u} d u}}} = \ln{\left(\left|{y}\right| \right)} - {\color{red}{\ln{\left(\left|{u}\right| \right)}}}$$

Recall that $$$u=1 - y$$$:

$$\ln{\left(\left|{y}\right| \right)} - \ln{\left(\left|{{\color{red}{u}}}\right| \right)} = \ln{\left(\left|{y}\right| \right)} - \ln{\left(\left|{{\color{red}{\left(1 - y\right)}}}\right| \right)}$$

Therefore,

$$\int{\frac{1}{y \left(1 - y\right)} d y} = \ln{\left(\left|{y}\right| \right)} - \ln{\left(\left|{y - 1}\right| \right)}$$

Add the constant of integration:

$$\int{\frac{1}{y \left(1 - y\right)} d y} = \ln{\left(\left|{y}\right| \right)} - \ln{\left(\left|{y - 1}\right| \right)}+C$$

Answer

$$$\int \frac{1}{y \left(1 - y\right)}\, dy = \left(\ln\left(\left|{y}\right|\right) - \ln\left(\left|{y - 1}\right|\right)\right) + C$$$A


Please try a new game Rotatly