I have spent quite a time trying to calculate the integral below:
$$∫^π_0 \cos \left(\left(n+1\right)x\right)\left(\cos x\right)^jdx \text{ for } j=0,1,...,n$$
I applied many trigonometric identities, but after some iterations they got out of control.
Any hint is very well appreciated.
Note: I am trying to show it is equal to zero for all $0\leq j \leq n$ and $n\in \mathbb{N}$
A simple solution by induction. All the integrals below are from $0$ to $\pi$.
Let $k\in \mathbb N$. Assume that for all $ 0 \le i < k$, it has been proven that if $n > i$, then $\int \cos nx (\cos x)^i = 0$. The base case $i=0$ is clear.
Now consider the case $i=k$. Let $n$ be any integer such that $n>k$. Let $T_n(x)$ be the $n$-th Chebyshev polynomial. So, $T_n( \cos x) = \cos (nx)$.
Then, $x^{k-1} T_{n+1} (x) = 2 x^k T_n(x) - x^{k-1} T_{n-1} (x)$. (*)
By induction, $\int \cos ((n+1) x) \cos x^{k-1} = 0$ and $\int \cos ((n-1) x) \cos x^{k-1} = 0$.
Therefore, by (*), $ \int \cos (nx) \cos x^{k} = 0$.
Note: Using the method above, we obtain the following: