In Jim Hefferon's free book on Linear Algebra, there is an exercise that mentions the following:
Prove that a polynomial gives rise to the zero function if and only if it is the zero polynomial. (Comment. This question is not a Linear Algebra matter but we often use the result. A polynomial gives rise to a function in the natural way: $x \mapsto c_n x^n + \cdots + c_1x + x_0$.)
And the proof given is the following:
In this ‘if and only if’ statement, the ‘if’ half is clear—if the polynomial is the zero polynomial then the function that arises from the action of the polynomial must be the zero function $x \mapsto 0$. For ‘only if’ we write $p(x) = c_n x_n + \cdots + c_1 x + c_0$. Plugging in zero $p(0) = 0$ gives that $c_0 = 0$. Taking the derivative and plugging in zero $p^{\prime}(0) = 0$ gives that $c_1 = 0$. Similarly we get that each $c_i$ is zero, and $p$ is the zero polynomial.
The ‘if’ half is indeed clear. However, the ‘only if’ part baffles me. How are derivatives related to all of this? Can anyone please shed some light?