Let $f$ be a polynomial of degree $\leqslant n$ and let $c$ be a root. Then there exists a polynomial $g$ of degree $\leqslant n-1$ such that for numbers $x$ we have $$ f(x)=(x-c)g(x)$$
Proof: Write
$$ f(x)=a_{0}+a_{1}x+a_{2}x^{2}+ ... + a_{n}x^{n} $$
Then substitute the value
$$ x = (x-c) + c$$
for each x.
Here is the point where I get stuck, as after substituting $x$, the author derives
$$ f(x)=b_{0}+b_{1}(x-c)+b_{2}(x-c)^{2}+ ... + b_{n}(x-c)^{n} $$
I cannot understand how he gets the above function as it looks like that he keeps only the term $(x-c)^n$ of every expansion $ ((x-c) + c)^n$.
Any hints?
If you divide $f$ with $x-c$ then you get some $g$ of degree $n-1$ and residue $r$ (constant polynomial) such that $$f(x) = g(x)(x-c)+r$$
Now since $c$ is a root of $f$ we have $$0=f(c) = g(c)(c-c) +r\implies r=0$$
so we have $$ f(x)= (x-c)g(x)$$