Unit roots/Divisibility of polynomials: Difference between revisions

From testwiki
Jump to navigation Jump to search
change 'q(x)' to 'q(b)' in f(b)
 
(No difference)

Latest revision as of 23:16, 24 October 2020

This chapter demonstrates the use of unit roots in problems of divisibility of polynomials.

Divisibility of polynomials

Let f(x) and p(x) be two polynomials.

Assume that there is another polynomial q(x), such that:

f(x)=p(x)q(x).

If f(x), p(x) and q(x) are polynomials with integer coefficients, then, f(x) is said to be divisible by p(x) over the integers.

Similarly, if f(x), p(x) and q(x) are polynomials with rational coefficients, then, f(x) is said to be divisible by p(x) over the rational numbers.

If f(x), p(x) and q(x) are polynomials with real coefficients or complex coefficients, then, f(x) is said to be divisible by p(x) over the real numbers or the complex numbers.

Example 1 Let f(x)=x21 and p(x)=2x+2. The coefficients of these two polynomials are integers. However:

x21=(2x+2)(12x12).

The polynomial in the second bracket of the right hand side 12x12 does not have integer coefficients. Therefore, f(x) is not divisible by p(x) over the integers.

However, if we consider that f(x) and p(x) are polynomials with rational, real, or complex coefficients, then 12x12 is also a polynomial with rational, real, or complex coefficients. So, f(x) is divisible by p(x) over the rational numbers, the real numbers, or the complex numbers. QED

Therefore, the divisibility of polynomials is highly associated with the set of numbers that we allow the coefficients to take. However, as both f(x) and p(x) are known polynomials, the coefficients of the quotient q(x) is key to the divisibility.

Now, let f(x)=p(x)q(x), where f(x) and p(x) have coefficients in the set of numbers we have specified. How can we determine whether q(x) is also a polynomial with coefficients in the same set? The answer of this question is given in the following rule:

Rule 1 Let f(x)=p(x)q(x).

  • If f(x) and p(x) have complex coefficients, then q(x) has complex coefficients. f(x) is divisible by p(x) over the complex numbers.
  • If f(x) and p(x) have real coefficients, then q(x) has real coefficients. f(x) is divisible by p(x) over the real numbers.
  • If f(x) and p(x) have rational coefficients, then q(x) has rational coefficients. f(x) is divisible by p(x) over the rational numbers.
  • If f(x) and p(x) have integer coefficients, and (sufficiently by not necessarily) p0=1 then q(x) has integer coefficients. f(x) is divisible by p(x) over the integers.

This rule is proved in the appendix.

When we consider only integer coefficients, the condition p0=1 is not necessary. For example, let f(x)=2x22 and p(x)=2x+2, then p0=2 but 2x22=(2x+2)(x1).

Factor theorem and unit roots

In elementary algebra, we have the remainder theorem. It is stated here without an accompanying proof:

Remainder theorem The remainder of the division of a polynomial f(x) by xa equals f(a).

From this theorem we can have the following result, commonly called the "factor theorem":
Factor theorem A polynomial f(x) is divisible by xa, if and only if f(a)=0.
(Note that f(x) and a are known, and we automatically assume that it falls in the set of numbers over which divisibility is considered.)

Proof Suppose f(x) is divisible by xa, then the remainder of the division of a polynomial f(x) by xa equals zero. So, f(a)=0.
On the other hand, if f(a)=0, then the remainder of the division of a polynomial f(x) by xa equals zero. So, f(x)=(xa)q(x). Moreover, the leading coefficient of the divisor is p0=1. Therefore, by rule 1, f(x) is divisible by xa over the integers, the rational numbers, the real numbers and the complex numbers.

Repeated applications of the factor theorem results in more complicated divisors:
Rule 2 If a polynomial f(x) satisfies:

f(a)=f(b)=0,ab,

then f(x) is divisible by x2(a+b)x+ab.
Proof By factor theorem, since f(a)=0, there exists a polynomial q(x) such that:

f(x)=(xa)q(x).

Put x=b:

f(b)=(ba)q(b).

Since f(b)=0 and ab, we conclude that q(b)=0. By factor theorem, there exists a polynomial s(x) such that:

q(x)=(xb)s(x).

Therefore:

f(x)=(xa)(xb)s(x),
f(x)=(x2(a+b)x+ab)s(x).

Note that the leading coefficient of the divisor is 1.

Corollary 1 If a polynomial f(x) with real coefficient satisfies f(α+βi)=0, where α and β are real numbers and β0, then f(x) is divisible by x22αx+(α2+β2).
Proof In algebra, we have already known that if a polynomial f(x) with real coefficients vanishes at some complex number z=α+βi, then it also vanishes at z=αβi. So, we can apply rule 2 to obtain the required result, since β0 implies α+βiαβi.

The above corollary has a useful special case as shown below:
Corollary 2 If a polynomial f(x) with integer coefficient satisfies f(ω)=0, where ω=12+32i is a cube root of unity, then f(x) is divisible by x2+x+1.

Corollary 1 is an example of the application of the complex numbers in dealing with divisibility of polynomials with real coefficients. Corollary 2 further restricts to divisibility over the integers by the aid of the cube root of unity.

We can also apply other roots of unity in problems of polynomial divisibility, but we need some results similar to those shown above.

Rule 3 If a polynomial f(x) satisfies:

f(a1)=f(a2)==f(an)=0

for n distinct numbers a1,a2,,an, then f(x) is divisible by the product (xa1)(xa2)(xan).

Rule 4 is analogous to rule 3: they are repeated applications of the factor theorem.

Corollary 3 If a polynomial f(x) with integer coefficient satisfies:

f(ϵk)=0 where k={1,2,,n2if n is even1,2,,n12if n is odd,

then f(x) is divisible by xn1+xn2++x2+x+1.

To prove this corollary, we have to use the result that conjugate of non-real roots of unity are also non-real roots of unity.

Using unit roots in problems of divisibility of polynomials

Example 2 Let f(x)=x3m+1+x3n+2+1, where m and n are integers. Prove that f(x) is divisible by x2+x+1.
Proof Put x=ω, then:

f(ω)=ω3m+1+ω3n+2+1=ω+ω2+1=0,

By corollary 2, f(x) is divisible by x2+x+1.

Example 3 Let n be a natural number, and:

f(x)=xn+2+(x+1)2n+1.

Prove that for any integer k, f(k) is a multiple of k2+k+1.
Proof It is easy to show that f(ω)=0 and f(x) is a polynomial with integer coefficient. Therefore, f(x) is divisible by x2+x+1. As both f(x) and x2+x+1 are polynomials with integer coefficients, so is the quotient, say q(x). Therefore, when k is an integer, f(k) is an integral multiple of k2+k+1.

Example 4 Find the remainder from the division of x10011 by x4+x3+2x2+x+1.
Solution Write f(x)=x10011 and p(x)=x4+x3+2x2+x+1. Let the remainder be r(x), then:

f(x)=p(x)q(x)+r(x),

where q(x) represents the quotient. Since the degree of the divisor p(x) is 4, the degree of the remainder r(x) is at most three. Therefore, we let:

r(x)=ax3+bx2+cx+d.

Now we are going to determine the coefficients of r(x).
From:

p(x)=(x2+1)(x2+x+1),

we know that:

p(i)=p(ω)=0,

So:

f(i)=r(i),f(ω)=r(ω)
i1=aib+ci+d,3232i=a+d+b2c2+(c32b32)i

Compare the real parts and imaginary parts of both sides of these equations:

db=1,ca=1,a+db2c2=32,c32b32=32

Solving, a=1,b=1,c=d=0. So, the remainder is r(x)=x3+x2.

Example 5 Let P(x), Q(x), R(x) and S(x) be polynomials satisfying the identity:

P(x5)+xQ(x5)+x2R(x5)=(x4+x3+x2+x+1)S(x).

Prove that x1 is a factor of P(x).
Proof Let:

P(x)=pmxm+pm1xm1++p1x1+p0,
S(x)=snxn+sn1xn1++s1x1+s0.

Note that P(x5)+xQ(x5)+x2R(x5) only has x5k-terms, x5k+1-terms and x5k+2-terms for non-negative integers k. Therefore, coefficients of x5k1-terms are all zero. Then:

s5k1+s5k2+s5k3+s5k4+s5k5=0.

On the other hand, by comparing the coefficients of x5k-terms:

p0=s0,
pk=s5k+s5k1+s5k2+s5k3+s5k4

Therefore, pk=s5ks5k5.
Now, we will prove s5m=0. First, note that:

0=pm+1=pm+2==pm+h

So,

0=pm+1+pm+2++pm+h
=(s5m+5s5m)+(s5m+10s5m+5)++(s5m+5hs5m+5(h1))
=s5m+5hs5m for any h>0.

In other words, s5m=s5m+5=s5m+10=. Observe that S(x) is a polynomial and therefore it has a finite degree. s5m0 will result in a contradiction to this. Therefore, s5m=0.
So:

P(x)=s0+(s5s0)x+(s10s5)x2++(s5m5s5m10)xm1+s5m5xm
=(x1)(s0+s5x+s10x2++s5m5xm1). QED

Alternative proof Let ϵk be a complex fifth root of unity, then:

(ϵk)5=1, (ϵk)2=ϵ2k, (ϵk)4+(ϵk)3+(ϵk)2+ϵk+1=0.

Put x=ϵk into the given identity:

P(1)+ϵkQ(1)+ϵ2kR(1)=0.

We can obtain the following by first putting k=1,2 and then comparing the real parts and the imaginary parts respectively:

P(1)+514Q(1)5+14R(1)=0,
P(1)5+14Q(1)+514R(1)=0,
10+254Q(1)+10254R(1)=0,
10254Q(1)10+254R(1)=0,

We can solve these equation easily:

P(1)=Q(1)=R(1)=0.

From factor theorem, x1 is a factor of P(x). QED

The alternative proof makes use of the properties of unit roots. By doing so, we can also conclude that x1 is a factor of Q(x) and R(x), which implies that S(x) also contains the factor x1.

In the first proof, we only requires that the coefficients of x5k1-terms be zero. So, we can add one more term x3T(x5) and the statement still holds:

Example 6 Let P(x), Q(x), R(x), T(x) and S(x) be polynomials satisfying the identity:

P(x5)+xQ(x5)+x2R(x5)+x3T(x5)=(x4+x3+x2+x+1)S(x).

Prove that x1 is a factor of P(x).
Proof Repeat the first proof of the previous example.
Alternative proof Repeat the alternative proof of the previous example: putting x=ϵ1,ϵ2 and comparing the real parts and imaginary parts. By this method, we can also conclude that all the polynomials P(x), Q(x), R(x), T(x) and S(x) have the factor x1.

Template:BookCat