# Thread: Good examples on Integrals

1. ## Good examples on Integrals

Hey!

Can anyone give me good examples on how to solve integrals like:

$\int_{0}^{\pi/2} \frac{cos x}{sin^2x + sin^3 x} dx$

with partial integration/substitution methods?

2. First rewrite the integrand as follows

$\int_0^{\pi/2}\frac{\cos x}{\sin^2x+\sin^3x}\,dx=\int_0^{\pi/2}\frac{\cos x}{\sin^2x(1+\sin x)}\,dx$

Then set $u=1+\sin x\implies du=\cos x\,dx$, which yields

$\int_1^2\frac1{u(u-1)^2}\,du$

Just post if you cannot take it from there.

3. Just be careful this is a "Improper Integral of the 2nd Type".

4. Originally Posted by Krizalid
First rewrite the integrand as follows

$\int_0^{\pi/2}\frac{\cos x}{\sin^2x+\sin^3x}\,dx=\int_0^{\pi/2}\frac{\cos x}{\sin^2x(1+\sin x)}\,dx$

Then set $u=1+\sin x\implies du=\cos x\,dx$, which yields

$\int_1^2\frac1{u(u-1)^2}\,du$

Just post if you cannot take it from there.
so $\int_1^2\frac1{u(u-1)^2}\,du$ can be put as

$u \int_1^2\frac1{(u-1)^2}\,du$ and $\frac1{(u-1)^2}\$ is $ln((u-1)^2)$ or am i thinking it totally wrong now?

5. neuu of course...

i part integrate it so i get $\frac{a}{u^2} + \frac{b}{u} + \frac{c}{u + 1}$

6. Originally Posted by wizzler
so $\int_1^2\frac1{u(u-1)^2}\,du$ can be put as

$u \int_1^2\frac1{(u-1)^2}\,du$
This step is not correct 'cause "u" it's a function of "x", not a constant.

We have


\begin{aligned}
\frac1{u(u-1)^2}&=\frac{u^2-2u+1+u-u^2+u}{u(u-1)^2}\\&=\frac{(u-1)^2+u-u(u-1)}{u(u-1)^2}\\&=\frac1u+\frac1{(u-1)^2}-\frac1{u-1}
\end{aligned}

Kill it now.