Integral of $$$\sqrt{2} \left(\cot^{2}{\left(x \right)} - 1\right)$$$

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

Solution

Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=\sqrt{2}$$$ and $$$f{\left(x \right)} = \cot^{2}{\left(x \right)} - 1$$$:

$${\color{red}{\int{\sqrt{2} \left(\cot^{2}{\left(x \right)} - 1\right) d x}}} = {\color{red}{\sqrt{2} \int{\left(\cot^{2}{\left(x \right)} - 1\right)d x}}}$$

Integrate term by term:

$$\sqrt{2} {\color{red}{\int{\left(\cot^{2}{\left(x \right)} - 1\right)d x}}} = \sqrt{2} {\color{red}{\left(- \int{1 d x} + \int{\cot^{2}{\left(x \right)} d x}\right)}}$$

Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:

$$\sqrt{2} \left(\int{\cot^{2}{\left(x \right)} d x} - {\color{red}{\int{1 d x}}}\right) = \sqrt{2} \left(\int{\cot^{2}{\left(x \right)} d x} - {\color{red}{x}}\right)$$

Let $$$u=\cot{\left(x \right)}$$$.

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

Therefore,

$$\sqrt{2} \left(- x + {\color{red}{\int{\cot^{2}{\left(x \right)} d x}}}\right) = \sqrt{2} \left(- x + {\color{red}{\int{\left(- \frac{u^{2}}{u^{2} + 1}\right)d u}}}\right)$$

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{u^{2}}{u^{2} + 1}$$$:

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

Rewrite and split the fraction:

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

Integrate term by term:

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

Apply the constant rule $$$\int c\, du = c u$$$ with $$$c=1$$$:

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

The integral of $$$\frac{1}{u^{2} + 1}$$$ is $$$\int{\frac{1}{u^{2} + 1} d u} = \operatorname{atan}{\left(u \right)}$$$:

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

Recall that $$$u=\cot{\left(x \right)}$$$:

$$\sqrt{2} \left(- x + \operatorname{atan}{\left({\color{red}{u}} \right)} - {\color{red}{u}}\right) = \sqrt{2} \left(- x + \operatorname{atan}{\left({\color{red}{\cot{\left(x \right)}}} \right)} - {\color{red}{\cot{\left(x \right)}}}\right)$$

Therefore,

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

Add the constant of integration:

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

Answer

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


Please try a new game Rotatly