Integral of $$$\frac{\cos{\left(\frac{x}{2} - 1 \right)}}{\sin^{2}{\left(\frac{x}{2} - 1 \right)}}$$$

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

Solution

Let $$$u=\sin{\left(\frac{x}{2} - 1 \right)}$$$.

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

The integral becomes

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

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

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

Apply the power rule $$$\int u^{n}\, du = \frac{u^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=-2$$$:

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

Recall that $$$u=\sin{\left(\frac{x}{2} - 1 \right)}$$$:

$$- 2 {\color{red}{u}}^{-1} = - 2 {\color{red}{\sin{\left(\frac{x}{2} - 1 \right)}}}^{-1}$$

Therefore,

$$\int{\frac{\cos{\left(\frac{x}{2} - 1 \right)}}{\sin^{2}{\left(\frac{x}{2} - 1 \right)}} d x} = - \frac{2}{\sin{\left(\frac{x}{2} - 1 \right)}}$$

Add the constant of integration:

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

Answer

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


Please try a new game Rotatly