Definition: Let $C[a,b]$ be the set of continuous $\mathbb{C}$-valued functions on an interval $[a,b] \subseteq \mathbb{R}$ with $a < b$.
Claim: In $C[-\pi, \pi]$, the vectors $1, e^{it}, e^{2it}, \ldots, e^{nit}$ are linearly independent for each $n = 1,2, \ldots$
I'm having trouble understanding why this claim is true. I get that $C[-\pi, \pi]$ is a vector space, so the $e^{nit}$'s are vectors. But I don't get how to show these functions are linearly independent.
One approach I was thinking about was letting $x = e^{it}$. Then the list of vectors looks more like a list of polynomials: $1,x,x^2, \ldots, x^n$. I know these are linearly independent. But I'm not confident this is the correct way to think about it.
Reference: Garcia & Horn Linear Algebra e.g. 1.6.8.
Suppose the functions
$e^{ikt}, \; 0 \le k \le n, \tag 1$
were linearly dependent over $\Bbb C$; then we would have
$a_k \in \Bbb C, \; 0 \le k \le n, \tag 2$
not all $0$, with
$\displaystyle \sum_0^n a_k e^{ikt} = 0; \tag 3$
we note that
$a_k \ne 0 \tag 4$
for at least one $k \ge 1$; otherwise (3) reduces to
$a_0 \cdot 1 = 0, \; a_0 \ne 0 \Longrightarrow 1 = 0, \tag 5$
an absurdity; we may thus assume further that
$a_n \ne 0; \tag 6$
also, we may write (3) as
$\displaystyle \sum_0^n a_k (e^{it})^k = 0; \tag 7$
but (7) is a polynomial of degree $n$ in the $e^{it}$; as such (by the fundamental theorem of algebra), it has at most $n$ distinct zeroes
$\mu_i \in \Bbb C, 1 \le i \le n; \tag 8$
this further implies that
$\forall t \in [-\pi, \pi], \; e^{it} \in \{\mu_1, \mu_2, \ldots, \mu_n \}, \tag 9$
that is, $e^{it}$ may only take values in the finite set of zeroes of (7); but this assertion is patently false, since $e^{it}$ passes through every unimodular complex number as $-\pi \to t \to \pi$, i.e., the range of $e^{it}$ is uncountable. This contradiction implies that (3) cannot bind, and hence that the $e^{ikt}$ are linearly independent over $\Bbb C$ on $[-\pi, \pi]$.