Solving the Indefinite integral: $$\int\frac{2\cos^2x+2}{\sin^3x}\, \operatorname{d}\!x$$
What's the proper way of finding Indefinite integral in this one? can't get rid of either $\cos$ or $\sin$.
Thanks.
Solving the Indefinite integral: $$\int\frac{2\cos^2x+2}{\sin^3x}\, \operatorname{d}\!x$$
What's the proper way of finding Indefinite integral in this one? can't get rid of either $\cos$ or $\sin$.
Thanks.
Let $u=\cos x$ so $du=-\sin x dx$ and we have $$\int\frac{2\cos^2 x+2}{\sin^3x}dx=-2\int\frac{u^2+1}{(1-u^2)^2}du=-\int\frac{du}{(1-u)^2}-\int\frac{du}{(u+1)^2}\\=-(1-u)^{-1}+(1+u)^{-1}+C=\frac{1}{1+\cos x}-\frac{1}{1-\cos x}+C=-2\frac{\cos x}{\sin^2 x}+C$$