The Chebyshev polynomials of the first and second kind are defined by $T_n(\cos\theta) = \cos(n\theta)$ and $U_n(\cos\theta) = \frac{\sin((n+1)\theta)}{\sin\theta}$ for $\theta \notin \pi\mathbb{Z}$.
Show that
$$\begin{cases} T_m \cdot T_n = \frac{1}{2}\left(T_{n+m} + T_{n-m}\right) & \text{for all integers } 0 \leqslant m \leqslant n \\ T_m \cdot U_{n-1} = \frac{1}{2}\left(U_{n+m-1} + U_{n-m-1}\right) & \text{for all integers } 0 \leqslant m < n \end{cases}$$