A problem on indefinite integral: $\int(\cos x)^m\sin(nx) \mathrm dx$ 
If
$$I(m,n)=\int(\cos x)^m\sin(nx) ~\mathrm dx,$$
How do I get $7I(4,3)-4I(3,2)$?


A general solution

$$\begin{align} 
I(m,n)
&=\int(\cos x)^m \sin(nx) ~\mathrm{d}x \\
&=\int(\cos x)^m\sin((n-1)x+x) ~\mathrm{d}x \\
&=\int(\cos x)^{m+1}\sin((n-1)x) ~\mathrm{d}x+\int(\cos x)^m\cos((n-1)x)(\sin x)~\mathrm{d}x \\ 
&\stackrel{\color{red}{\text{IBP}}}{=}-\dfrac{\cos((n-1)x)}{n-1}(\cos x)^{m+1}-\left(\dfrac{m+1}{n-1}-1\right)\int(\cos x)^m\cos((n-1)x)(\sin x)~\mathrm{d}x \\
&=-\dfrac{\cos((n-1)x)}{n-1}(\cos x)^{m+1}-\left(\dfrac{m-n+2}{n-1}\right)\int(\cos x)^m\cos((n-1)x)(\sin x)~\mathrm{d}x 
\end{align}$$
Now
$$\begin{align}
&\int(\cos x)^m\cos((n-1)x)(\sin x)~\mathrm{d}x \\ 
&\stackrel{\color{red}{\text{IBP}}}{=} -\dfrac{(\cos x)^{m+1}\cos((n-1)x)}{m+1}+\left(\dfrac{n-1}{m+1}\right)\int (\cos x)^{m+1}\sin((n-1)x) ~\mathrm{d}x \\ 
&=-\dfrac{(\cos x)^{m+1}\cos((n-1)x)}{m+1}+\left(\dfrac{n-1}{m+1}\right) I(m+1,n-1)
\end{align}$$
This is tedious but now everything can be evaluated by successively putting values into it. It would be great if someone shows a nice way of evaluating the given value by some manipulation.
