Is $\{\sin x,\cos x\}$ linearly independent in $\mathbb{R}^n$?
I thought they were not because I can write $\cos x=\sin (x+\pi/2)$.
My professor on the other hand said it was independent and his proof is as follows:
If $\{\sin x,\cos\}$ is independent in $[0,2\pi]$, then it will be independent on all of $\mathbb{R}.$ (He didn't prove this either.)
$a\cos x+b \sin x=0 ,\forall \vec{x}\in[0,2\pi].$
$x=0\implies a\cdot1+b\cdot0=0 \implies a=0$.
$x=\pi /2\implies a\cdot 0+b \cdot 1 \implies b=0$.
So $\{\sin x, \cos x\}$ is independent on $[0,2\pi],$ and thus independent everywhere. $QED$.
Is there something I am missing or not understanding...? Why is this set independent, when I can express an element of the set as a linear combination?
Although it is true that $\cos x=\sin (x+\pi/2)$, that relation does not use the definition of what it means for two functions to be linearly independent.
– Student Jul 10 '13 at 00:48