I, just for fun, want to find a contradiction to the assumption that $C([0,1],\Bbb R)$ is finite-dimensional by constructing a continuous function that cannot be a linear combination of the proposed finite Hamel basis $\{f_1, ..., f_N \}$.
To be clear we have the assumed properties that $\forall f \in C([0,1], \Bbb R)$
$$ f = \sum_{k = 1}^N\alpha_kf_k$$
and
$$ \sum_{k = 1}^N\alpha_kf_k = 0 \implies \alpha_k = 0 \space \space\forall k \leq N$$
Now it is clear that if we take some countable linearly independent sequence of functions like $\sin (nx)$ or $x^n$, the assumption that they can all be written as a finite sum of our basis vectors can lead us to a contradiction, but I want instead to construct a single continuous function as a counterexample.
My construction, which is wrong:
we must have that each $f_k$ is nonzero in some neighbourhood contained in some $(\frac jN,\frac{j+1}N)$, then either:
- we can ensure that these neighbourhoods lie in distinct such intervals,
or
- otherwise there would be some $k$ intervals where at most $k-1$ of the proposed basis functions are nonzero (by Hall's marriage theorem), and we will continue the construction only using those $k-1$ functions, and setting $f$ to be zero outside of the $k$ intervals.
Now $f$ defined to be equal to $1$ on $\{\frac jN : j \leq N\}$, $0$ at the point in the middle of the distinct neighbourhoods where each $f_k$ is nonzero, and linear in between.
I wanted to conclude that all $\alpha_k$ must be zero, but this isn't true necessarily.
I'm asking really for an elegant construction; a nice function that evades linear combinations of out $\{f_1,...f_N\}$