Prove that for any polynomial function $f$, and any number $a$, there is a polynomial function $g$,and a number $b$, such that $f(x)=(x-a)g(x) + b$ for all $x$.
The following is the answer I'm given:
If the degree of $f$ is $1$, then $f$ is of the form $f(x)= cx + d = c(x-a) + (d+ac)$, so we can let $g(x)=c$ and $b= d + ac$. Suppose that the result is true for polynomials of degree $\le k$. If $f$ has degree $k+1$, then $f$ has the form $$f(x)=a_{k+1}x^{k+1} + \cdots + a_{1}x + a_{0}.$$
Now the polynomial function $h(x)=f(x)-a_{k+1}(x-a)$ has degree $\le k$, so we can write $$f(x)-a_{k+1}(x-1)=(x-a)g(x) + b,$$
or $$f(x)=(x-a)[g(x)+a_{k+1}] + b,$$
which is the required form.
I wanted to know if that $(x-1)$ should be $(x-a)$ instead? I know that $a$ can be any number, but we add $a_{k+1}(x-1)$ to both sides to get $f(x) = (x-a)[g(x)+a_{k+1}]$.