If $\displaystyle I_{n}\equiv \int^{\pi/4}_{0} \tan^{n}\left(\,\theta\,\right)\,{\rm d}\theta$ prove that $\displaystyle I_{n} = {1 \over n - 1} - I_{n - 2}$
I tried using integration by parts by first writing $tan\theta$ as $tan\theta^{n-1} tan\theta$ and then used the by parts formula but realized that it wouldn't work as $ln$ was coming into play.
I then tried it by writing $tan\theta$ as $tan\theta^{n-2}tan\theta^{2}$ and then putting $sec\theta^2 -1$ in place of $tan\theta^2$. I tried to simplify the result, getting $I_{n-2}$ in the process but failed to arrive at the given result.