Introduction to Modern Algebra

Contents › Chapter 11. Polynomial rings

11.2 Division and roots

An integer aa can be divided by a positive integer nn with a remainder: a=qn+ra = qn + r with 0≤r<n0 \le r < n. The remainder is smaller than the divisor, and that one fact built clock arithmetic. For polynomials the degree plays the part of size: divide ff by gg and the remainder has smaller degree than gg. Division by x−ax - a then ties roots to factors, and limits how many roots a polynomial can have.

Division with remainder

Theorem 11.2.1 (Division with remainder for polynomials).

Let RR be a ring, and let g∈R[x]g \in R[x] be a non-zero polynomial of degree nn whose leading coefficient is a unit of RR. Then for every f∈R[x]f \in R[x] there are unique polynomials q,r∈R[x]q, r \in R[x] with

f=qg+r,r=0 or deg⁡r<n.f = qg + r, \quad r = 0 \text{ or } \deg r < n.

This applies to every non-zero gg when R=FR = F is a field, and to every monic gg over any ring.

Proof.

Idea. Long division: subtract a multiple of gg that cancels the leading term of ff, so that the degree drops, and repeat until the degree is below nn. Uniqueness follows by comparing degrees.

  1. Multiplying by gg adds nn to the degree: for every non-zero h∈R[x]h \in R[x], the product hghg is non-zero and deg⁡(hg)=deg⁡h+n\deg(hg) = \deg h + n.

    Let bb be the leading coefficient of gg, a unit of RR. As in the proof of Theorem 11.1.2, the top coefficient of hghg is cbcb, where c≠0c \neq 0 is the leading coefficient of hh; and cb≠0cb \neq 0, since cb=0cb = 0 would give c=(cb)b−1=0c = (cb)b^{-1} = 0.

  2. Existence: f=qg+rf = qg + r for some q,r∈R[x]q, r \in R[x] with r=0r = 0 or deg⁡r<n\deg r < n.

    By strong induction on the degree of ff. If f=0f = 0 or deg⁡f<n\deg f < n, take q=0q = 0 and r=fr = f. Otherwise deg⁡f=m≥n\deg f = m \ge n; let aa be the leading coefficient of ff. The polynomial ab−1xm−ngab^{-1}x^{m-n}g has degree mm and leading coefficient ab−1b=aab^{-1}b = a, the same as ff. So in

    f1=f−ab−1xm−ngf_1 = f - ab^{-1}x^{m-n}g

    the terms in xmx^m cancel, and f1=0f_1 = 0 or deg⁡f1<m\deg f_1 < m. By induction (or directly, if f1=0f_1 = 0), f1=q1g+rf_1 = q_1g + r with r=0r = 0 or deg⁡r<n\deg r < n. Then f=(q1+ab−1xm−n)g+rf = (q_1 + ab^{-1}x^{m-n})g + r.

  3. Uniqueness: if qg+r=q′g+r′qg + r = q'g + r', with rr and r′r' each 00 or of degree less than nn, then q=q′q = q' and r=r′r = r'.

    Here (q−q′)g=r′−r(q - q')g = r' - r. If q≠q′q \neq q', the left side has degree at least nn by the first step, while the right side is 00 or has degree less than nn. So q=q′q = q', and then r=r′r = r'.

Over a field every non-zero element is a unit, and a monic polynomial has leading coefficient 11, so both cases at the end of the statement are covered. □

Roots and factors

A polynomial gg divides ff in R[x]R[x] if f=ghf = gh for some h∈R[x]h \in R[x]. Dividing by the monic polynomial x−ax - a always works, and the remainder is a value of ff.

Theorem 11.2.2 (Factor theorem).

Let RR be a ring, f∈R[x]f \in R[x] and a∈Ra \in R. Then

f=(x−a)q+f(a)f = (x - a)q + f(a)

for some q∈R[x]q \in R[x]. In particular, aa is a root of ff exactly when x−ax - a divides ff.

Proof.

Idea. Divide by x−ax - a and then evaluate at aa, which kills the multiple of x−ax - a and leaves the remainder.

  1. f=(x−a)q+cf = (x - a)q + c for some q∈R[x]q \in R[x] and some constant c∈Rc \in R.

    The polynomial x−ax - a is monic of degree 11, so by Theorem 11.2.1 there are qq and rr in R[x]R[x] with f=(x−a)q+rf = (x - a)q + r and r=0r = 0 or deg⁡r=0\deg r = 0. Either way rr is a constant c∈Rc \in R.

  2. The constant is c=f(a)c = f(a).

    Evaluation at aa is a ring homomorphism (Theorem 11.1.3), so

    f(a)=(a−a)q(a)+c=c.f(a) = (a - a)q(a) + c = c.
  3. aa is a root of ff exactly when x−ax - a divides ff.

    If f(a)=0f(a) = 0, then f=(x−a)qf = (x - a)q by the first two steps. Conversely, if f=(x−a)hf = (x - a)h, then f(a)=(a−a)h(a)=0f(a) = (a - a)h(a) = 0.

□

How many roots

Theorem 11.2.3 (At most nn roots).

Let RR be an integral domain, and let f∈R[x]f \in R[x] be a non-zero polynomial of degree nn. Then ff has at most nn roots in RR.

Proof.

Idea. Split off a factor x−ax - a for one root aa and show that every other root is a root of the quotient, which has degree n−1n - 1. Induction on nn then counts the roots.

  1. If n=0n = 0, then ff has no roots.

    ff is a non-zero constant, so its value at every element is that non-zero constant.

  2. Let n≥1n \ge 1. If aa is a root of ff, then f=(x−a)qf = (x - a)q with q∈R[x]q \in R[x] of degree n−1n - 1.

    By the factor theorem, f=(x−a)qf = (x - a)q for some q∈R[x]q \in R[x]. Here q≠0q \neq 0, and by Theorem 11.1.2 (which needs RR to be an integral domain), deg⁡q=n−1\deg q = n - 1.

  3. Every root b≠ab \neq a of ff is a root of qq.

    Evaluating at bb gives 0=f(b)=(b−a)q(b)0 = f(b) = (b - a)q(b). Since b−a≠0b - a \neq 0 and RR has no zero divisors, q(b)=0q(b) = 0.

  4. So ff has at most nn roots.

    If ff has no root, there is nothing to prove. Otherwise take a root aa and qq as in the second step. By induction qq has at most n−1n - 1 roots, and by the third step every root of ff other than aa is one of them. So ff has at most 1+(n−1)=n1 + (n - 1) = n roots.

□

So over an infinite integral domain, such as Z\mathbb{Z}, Q\mathbb{Q}, R\mathbb{R} or C\mathbb{C}, a polynomial is determined by its function after all. If ff and gg take the same value at every element, then f−gf - g has infinitely many roots, so it cannot have a degree, and f−g=0f - g = 0. Over a finite field there is no such escape: xp−xx^p - x and 00 define the same function on Fp\mathbb{F}_p.