I've been stuck on the following problem for a some time: Let $f$ be a continuous function on $[a,b]$. Show that there exists a sequence $(p_n)$ of polynomials such that $p_n \to f$ uniformly on $[a,b]$ and such that $p_n(a) = f(a)$ for all $n$.
Since $f$ is a continuous function on $[a,b]$, I know by the Weierstrass Approximation Theorem that there exists a sequence $(p_n)$ of polynomials such that $p_n \to f$ uniformly on $[a,b]$.
But I had trouble trying to show that $p_n(a) = f(a)$ for all $n$.
This is what I tried:
Direct Approach: Since I know $p_n \to f$ uniformly on $[a,b]$, by definition $(\forall \varepsilon > 0)(\exists N_0 \in \mathbb{N})$ such that $(\forall n > N_0)(\forall x \in [a,b])$ we have $|p_n(x) - f(x)| < \varepsilon$. Then for $n > N_0$ if I plug in $x=a$, I would be done. For the case $n \leq N_0$, I thought about bounding $|p_n(x) - f(x)|$ but got stuck.
Proof by Contradiction: Suppose that there exists an $n$ such that $p_n(a) \neq f(a)$. Suppose if $f(a) > p_n(a)$ and let $\varepsilon = f(a) - p_n(a)$. I tried using the definition of $p_n \to f$ uniformly on $[a,b]$, but didn't see how to get a contradiction.
I've thought about the contrapositive as well but didn't think that approach would be successful.
Are all of my approaches dead ends? Any hints would be appreciated.