Let $P$ denote the subspace of $C^0([0,1])$ defined by polynomials restricted to [0,1]. Suppose that $l:P\rightarrow \mathbb{R}$ is a linear function with the property that
$p(x)\geq 0$ in $x\in [0,1]$ implies $l(p)\geq 0$.
Then how can we show that $l$ can be extend to define a linear function $\hat{l}$ on $C^0([0,1])$ satisfying an estimate of the form $|\hat{l}(f)|\leq C||f||_{\infty}$?
I may need the Hahn-Banach theorem, but I think the set {p: $p(x)\geq 0$ }is not a linear subspace then I don't know how to do it. Thanks for any hint!