Integral of $$$2 \operatorname{atan}{\left(x \right)}$$$

The calculator will find the integral/antiderivative of $$$2 \operatorname{atan}{\left(x \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 2 \operatorname{atan}{\left(x \right)}\, dx$$$.

Solution

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=2$$$ and $$$f{\left(x \right)} = \operatorname{atan}{\left(x \right)}$$$:

$${\color{red}{\int{2 \operatorname{atan}{\left(x \right)} d x}}} = {\color{red}{\left(2 \int{\operatorname{atan}{\left(x \right)} d x}\right)}}$$

For the integral $$$\int{\operatorname{atan}{\left(x \right)} d x}$$$, use integration by parts $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$.

Let $$$\operatorname{u}=\operatorname{atan}{\left(x \right)}$$$ and $$$\operatorname{dv}=dx$$$.

Then $$$\operatorname{du}=\left(\operatorname{atan}{\left(x \right)}\right)^{\prime }dx=\frac{dx}{x^{2} + 1}$$$ (steps can be seen ») and $$$\operatorname{v}=\int{1 d x}=x$$$ (steps can be seen »).

The integral becomes

$$2 {\color{red}{\int{\operatorname{atan}{\left(x \right)} d x}}}=2 {\color{red}{\left(\operatorname{atan}{\left(x \right)} \cdot x-\int{x \cdot \frac{1}{x^{2} + 1} d x}\right)}}=2 {\color{red}{\left(x \operatorname{atan}{\left(x \right)} - \int{\frac{x}{x^{2} + 1} d x}\right)}}$$

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}$$$.

So,

$$2 x \operatorname{atan}{\left(x \right)} - 2 {\color{red}{\int{\frac{x}{x^{2} + 1} d x}}} = 2 x \operatorname{atan}{\left(x \right)} - 2 {\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}$$$:

$$2 x \operatorname{atan}{\left(x \right)} - 2 {\color{red}{\int{\frac{1}{2 u} d u}}} = 2 x \operatorname{atan}{\left(x \right)} - 2 {\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)}$$$:

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

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

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

Therefore,

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

Add the constant of integration:

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

Answer

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


Please try a new game Rotatly