Showing independence of $\{1,\cos x, \sin x, \ldots, \cos nx, \sin nx\,,\ldots\}$
There's infinitely many terms so I'm not sure how to do the definition I'm familiar with, like $\alpha(1)+\beta\cos x+\gamma \sin x+\ldots+\psi\cos nx +\mu\sin nx=0\implies \alpha=\beta=\ldots=\psi=\mu=0$
Any hints to get started?