Integral of $$$\frac{x}{x^{2} + 1}$$$

The calculator will find the integral/antiderivative of $$$\frac{x}{x^{2} + 1}$$$, 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{x}{x^{2} + 1}\, dx$$$.

Solution

Let $$$u=x^{2} + 1$$$.

Then $$$du=\left(x^{2} + 1\right)^{\prime }dx = 2 x dx$$$ (steps can be seen »), and we have that $$$x dx = \frac{du}{2}$$$.

Thus,

$${\color{red}{\int{\frac{x}{x^{2} + 1} d x}}} = {\color{red}{\int{\frac{1}{2 u} 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}$$$:

$${\color{red}{\int{\frac{1}{2 u} d u}}} = {\color{red}{\left(\frac{\int{\frac{1}{u} d u}}{2}\right)}}$$

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

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

Recall that $$$u=x^{2} + 1$$$:

$$\frac{\ln{\left(\left|{{\color{red}{u}}}\right| \right)}}{2} = \frac{\ln{\left(\left|{{\color{red}{\left(x^{2} + 1\right)}}}\right| \right)}}{2}$$

Therefore,

$$\int{\frac{x}{x^{2} + 1} d x} = \frac{\ln{\left(x^{2} + 1 \right)}}{2}$$

Add the constant of integration:

$$\int{\frac{x}{x^{2} + 1} d x} = \frac{\ln{\left(x^{2} + 1 \right)}}{2}+C$$

Answer

$$$\int \frac{x}{x^{2} + 1}\, dx = \frac{\ln\left(x^{2} + 1\right)}{2} + C$$$A