Proof (interpolation theorem)

Existence

See the Lagrange form.

Uniqueness

Suppose $p,q\in \mathcal{P}_n$ satisfy $p(x_i) = q(x_i)$ for $i=0,\ldots,n$. Then $r := p - q$ has degree at most $n$ and has $(n+1)$ roots, namely $x_0, \ldots, x_n$. Therefore $r\equiv 0$ and thus $p=q$.