# Statement about divisors of polynomials and their roots

I am a 10th grade student and there is a statement in my math book

If $a$ is a root of the polynomial $f(x)$ then $(x-a)$ is a divisor of $f(x)$

Why is $(x-a)$ a divisor of $f(x)$? Can you please tell me?

• Since a is a root it is $f(a)=0$. Therefore your polynomial includes the factor $(x-a)$. You might observe an example. $x^2-2x+1=0$ has the solutions $x_1=-1$ and $x_2=-1$. You can factor it as $(x-1)^2=0$ with the binomic formula. – MrTopology Jul 6 '16 at 10:44
• It's an prompt result of factor theorem – Zack Ni Jul 6 '16 at 10:45
• Have you learned about synthetic division? If $f(x),g(x)$ are arbitrary polynomials, we can "divide $f$ by $g$" in the sense that we can write $f(x)=g(x)q(x) +r(x)$ where $q(x), r(x)$ are also polynomials and $deg(r(x))<deg(g(x))$. Can you see that this suffices? – lulu Jul 6 '16 at 10:46
• @TheGreatDuck Why are you saying this??!!! a root of a polynomial is simply a number you plug in that makes it zero, the fact that $(x-\text{root})$ divides the polynomial is a very different story. For instance, one talkes about roots of functions (not necessarily polynomials) where this theorem actually does not hold. – Daniel Jul 6 '16 at 23:22
• @SolidSnake i forgot that the dividing point is zero. – user64742 Jul 7 '16 at 0:46

It's a great thing that you feel curiosity for the reasons of the statements that are taught to you!

For this, you have to know a little bit about long division of polynomials. Just like integers, we can divide polynomials, obtaining a quotient and a remainder. More precisely:

Given any polynomials $f$ and $g$, there exist polynomials $q$ (the quotient) and $r$ (remainder) such that $$f = q\cdot g + r$$ and the degree of $r$ is strictly smaller than the degree of $g$.

Now, try to prove your theorem. At first, assume that $a$ is a root of $f(x)$, set $g(x) = x-a$ and apply long division (I'm sure you can do it). The procedure is below, but try to do it by yourself at first.

If we apply long division, you get $q$ and $r$ such that $f = q\cdot (x-a) + r$ and $r$ has degree $0$ (why?), so $r$ is a constant. Since $f(a)=0$, we got $0=f(a)=q(a)\cdot (a-a) + r = 0 + r = r$, so $r=0$ and therefore $f = q\cdot (x-a)$.

The other direction is even easier: if $f(x) = q(x)\cdot(x-a)$, can you see why $f(a)=0$?

• This is a verification. But isn't there a proof? I already know about polynomial division and this way of verifying. – MartianCactus Jul 6 '16 at 17:46
• @Adi this is a proof. It's also an 'if and only if' statement or iff. As in $f(a)=0 \text{ iff } (x-a)|f(x)$ – snulty Jul 6 '16 at 19:22
• @Adi Why do you say this is a verification? usually, when I think in "verification", I think in particular cases, but we're being very general here. – Daniel Jul 6 '16 at 23:19
• I guess that he means that the existence of the remainder and quotient is not proved here. – YoTengoUnLCD Jul 7 '16 at 1:34

Let $$f (x)=a_n x^n+... +a_1 x+a_0$$ Suppose $f (r)=0$. Hence $$a_n r^n +... + a_1 r +a_0 =0$$

Then $$f (x)=a_n x^n + ... + a_1 x + a_0 - ( a_n r^n +... + a_1 r +a_0)$$

since the expression between parentheses is zero.

After reordering,

$$f (x) = a_n (x^n - r^n) + ... + a_1 ( x-r)$$ Note that $$b^n - t^n= (b-t)(b^{n-1} + b^{n-2} t+... + b t^{n-2}+ t^{n-1})$$ (you can check it?) Hence \begin{align} f (x)&= a_n (x-r)(x^{n-1}+...+r^{n-1})+...+a_1 (x-r)\\&= (x-r)(a_n (x^{n-1}+...+r^{n-1})+...+a_1) \end{align} For example, suppose $$f (x)= a_2 x^2+a_1 x + a_0$$ and $f (r)=0$. Hence \begin{align} f (x) &= a_2 x^2 + a_1 x + a_0 - ( a_2 r^2 + a_1 r + a_0)\\&= a_2 (x-r)(x+r)+ a_1 (x-r)\\&= (x-r)(a_2 (x+r)+ a_1) \end{align}

• I like this answer because it works from first principles and doesn't require the reader to know the factor theorem or remainder theorem or how to do polynomial. (Though Adi, if you're reading, those things are well worth knowing.) – Gareth McCaughan Jul 6 '16 at 16:47

This is essentially Factor Theorem, which is a consequence of Remainder Theorem

If you let the polynomial $f(x)$ be represented as $f(x) = (x-a)Q(x) + R$, then you will note that the remainder $R = 0$ if and only if $f(a) = 0$ (i.e. $a$ is a root of $f(x)$). In this circumstance, the polynomial may be represented by $f(x) = (x-a)Q(x)$ and therefore $f(x)$ is divisible by $(x-a)$.

Recall the factor theorem for polynomials. $$f(x) = (x-a) q(x) + r$$ where $r = f(a)$.