1. ## Integration

Prove $\int tan^{n-2}\theta sec^2 \theta d\theta = \frac{1}{n-1} tan^{n-1} \theta + c$

2. let $\displaystyle u= tan \theta$

$\displaystyle du = \sec ^2 \theta d\theta$

3. sorry how does that help?
$u^{n-2}sec^4\theta$
im stupid

4. You have made the wrong sub, instead you can use the sub Amer made to get rid of sec^2(theta) and have an integral purely in terms of u

$\displaystyle \int u^{n-2} du$

5. ok i made a mistake.
never mind
i've got it.