Jump to content

Polynomials/Field/Euclidean division/Introduction/Section

From Wikiversity


Theorem

Let K be a field and let K[X] be the polynomial ring over K. Let P,T∈K[X] be polynomials with T≠0. Then there exist unique polynomials Q,R∈K[X] such that

P=TQ+R and with deg⁡(R)<deg⁡(T) or R=0.

Proof  

We prove the statement about the existence by induction over the degree of P. If the degree of T is larger than the degree of P, then Q=0 and R=P is a solution.

Suppose that deg⁡(P)=0. By the remark just made also deg⁡(T)=0 holds, so T is a constant polynomial, and therefore (since T≠0 and K is a field) Q=P/T and R=0 is a solution.

So suppose now that deg⁡(P)=n and that the statement for smaller degrees is already proven. We write P=anXn+⋯+a1X+a0 and T=bkXk+⋯+b1X+b0 with an,bk≠0,k≤n. Then setting H=anbkXn−k we have the relation

P′:=P−TH=0Xn+(an−1−anbkbk−1)Xn−1+⋯+(an−k−anbkb0)Xn−k+an−k−1Xn−k−1+⋯+a0.

The degree of this polynomial P′ is smaller than n and we can apply the induction hypothesis to it. That means there exist Q′ and R′ such that

P′=TQ′+R′ and with deg⁡(R′)<deg⁡(T) or R′=0.

From this we get altogether

P=P′+TH=TQ′+TH+R′=T(Q′+H)+R′,

so that Q=Q′+H and R=R′ is a solution.

To prove uniqueness, let P=TQ+R=TQ′+R′, both fulfilling the stated conditions. Then T(Q−Q′)=R′−R. Since the degree of the difference R′−R is smaller than deg⁡(T), this implies R=R′ and so Q=Q′.

◻


The computation of the polynomials Q and R is also called long division. The polynomial T is a factor of P if and only if the division of P by T yields the remainder 0. The proof of this theorem is constructive, meaning it can be used to do the computation effectively. For this, one has to be able to do the computing operations in the field K. We give an example.



We want to apply the Euclidean division (over ℚ)

P=6X3+X+1 divided by T=3X2+2X−4.

So we want to divide a polynomial of degree 3 by a polynomial of degree 2, hence the quotient and also the remainder have (at most) degree 1. For the first step, we ask with which term we have to multiply T to achieve that the product and P have the same leading term. This is 2X. The product is

2X(3X2+2X−4)=6X3+4X2−8X.

The difference between P and this product is

6X3+X+1−(6X3+4X2−8X)=−4X2+9X+1.

We continue the division by T with this polynomial, which we call P′. In order to get coincidence with the leading coefficient we have to multiply T with −43. This yields

−43T=−43(3X2+2X−4)=−4X2−83X+163.

The difference between this and P′ is therefore

−4X2+9X+1−(−4X2−83X+163)=353X−133.

This is the remainder and altogether we get

6X3+X+1=(3X2+2X−4)(2X−43)+353X−133.


Lemma

Let K be a field and let K[X] be the polynomial ring over K. Let P∈K[X] be a polynomial and a∈K. Then a is a zero

of P if and only if P is a multiple of the linear polynomial X−a.

Proof  

If P is a multiple of X−a, then we can write

P=(X−a)Q

with another polynomial Q. Inserting a yields

P(a)=(a−a)Q(a)=0.

In general, there exists, due to fact, a representation

P=(X−a)Q+R,

where either R=0 or the degree of R is 0, so in both cases R is a constant. Inserting a yields

P(a)=R.

So if P(a)=0 holds, then the remainder must be R=0, and this means P=(X−a)Q.

◻



Corollary

Let K be a field and let K[X] be the polynomial ring over K. Let P∈K[X] be a polynomial (≠0) of degree

d. Then P has at most d zeroes.

Proof  

We prove the statement by induction over d. For d=0,1 the statement holds. So suppose that d≥2 and that the statement is already proven for smaller degrees. Let a be a zero of P (if P does not have a zero at all, we are done anyway). Hence, P=Q(X−a) by fact and the degree of Q is d−1, so we can apply to Q the induction hypothesis. The polynomial Q has at most d−1 zeroes. For b∈K we have P(b)=Q(b)(b−a). This can be zero, due to fact  (5), only if one factor is 0, so the zeroes of P are a or a zero of Q. Hence, there are at most d zeroes of P.

◻