I've got an integration problem; I don't know how to go from the left 'red' side to the right. Can someone help me?
Assuming $a<b$ and $a,b\in \mathbb{R}$:
$$\int_{a}^{b}\left(\frac{\cos(x)\tan^{\pi}(x)}{\sin^3(x)}\right)dx=\int_{a}^{b}\left(\frac{1}{\sin^3(x)}\cdot \left(\cos(x)\tan^{\pi}(x)\right)\right)dx=$$ $$\int_{a}^{b}\left(\csc^3(x)\cdot \left(\cos(x)\tan^{\pi}(x)\right)\right)dx=\int_{a}^{b}\left(\csc^3(x)\cos(x)\tan^{\pi}(x)\right)dx=$$ $$\int_{a}^{b}\left(\csc^2(x)\cot(x)\tan^{\pi}(x)\right)dx=\int_{a}^{b}\left(\tan^{\pi-1}\left(x\right)\csc^2(x)\right)dx$$
$$\color{red}{\int_{a}^{b}\left(\tan^{\pi-1}\left(x\right)\csc^2(x)\right)dx=\left[\frac{\tan^{\pi-2}(x)}{\pi-2}\right]_{a}^{b}}=$$
$$\left(\frac{\tan^{\pi-2}(b)}{\pi-2}\right)-\left(\frac{\tan^{\pi-2}(a)}{\pi-2}\right)=\frac{\tan^{\pi-2}(b)-\tan^{\pi-2}(a)}{\pi-2}$$