There's something I've never understood about polynomials.
Suppose $p(x) \in \mathbb{R}[x]$ is a real polynomial. Then obviously,
$$(x-a) \mid p(x)\, \longrightarrow\, p(a) = 0.$$
The converse of this statement was used throughout high school, but I never really understood why it was true. I think maybe a proof was given in 3rd year university algebra, but obviously it went over my head at the time. So anyway:
Question. Why does $p(a)=0$ imply $(x-a) \mid p(x)$?
I'd especially appreciate an answer from a commutative algebra perspective.