# Factoring Polynomials

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Factoring Polynomials Sue Geller June 19, 2006 Factoring polynomials over the rational numbers, real numbers, and complex numbers has long been a standard topic of high school algebra. With the advent of computers and the resultant development of error-correcting codes, factoring over finite fields (e.g., Z p, for p a prime number) has become important as well. To understand this discussion, you need to know what polynomials are, and how to add, subtract, multiply and divide them. Many of the theorems below will be familiar, but you may not have seen the proofs. Some may be new. All of them have been useful to various mathematicians. This is not an exhaustive list, but hopefully enough to give you an idea of the variety of information that can be gleaned and used. A field is a set F with two operations, usually denoted + and, such that F is an abelian group under the operation + with identity 0, F \ {0} is an abelian group under the operation with identity 1, and the distributive law, a(b+c) = ab+ac for all a,b,c F, holds. For example, the rational numbers, the real numbers, the complex numbers, and Z p, for p a prime number, are all fields. (For Z p, recall that x Z p has a multiplicative inverse (or generates the units) if and only if x 0. So Z p \ {0} is an abelian group, whence Z p is a field.) So for this dicussion F will always denote a field, and F[x] the ring of polynomials with coefficients in the field F. Similarly, Z[x] is the ring of polynomials with integer coefficients. We call F or Z the ground ring. You need not know what a ring is to understand what follows, but for completeness, a commutative (which all of ours are) ring is a set R with two operations, usually denoted + and, such that F is an abelian group Copyright c Susan C. Geller. All rights reserved. 1

2 under the operation + with identity 0, is a commutative, associative binary operation, and the distributive law holds. From high school algebra we know that the set of polynomials is a commutative ring which has a multiplicative identity 1. Recall that, for integers a,b with b 0, there exist unique integers q,r so that a = qb + r where 0 r < b, i.e., the division algorithm. Also recall that a polynomial f(x) = a n x n + a n 1 x n a 0 where a n 0 is said to have degree n. Note that the zero polynomial does not have a degree, so degree 0 polynomials are non-zero constants, i.e., are non-zero elements of the ground ring. So we can use the idea of the division algorithm on the degree of the polynomials to get a similar theorem for polynomials. Theorem 1 Division Algorithm: Let f, g be polynomials with rational (or real or complex or any other field) coefficients where g 0. Then there exist unique polynomials q,r with coefficients in the same field as f and g so that f = qg + r where r = 0 or deg(r) < deg(g). Proof: We start with existence. Let f(x) = a n x n + a n 1 x n a 0 and g(x) = b m x m + b m 1 x m b 0 be polynomials where a n 0 and b m 0. (Note: If f = 0, 0 = 0g + 0, so the assumption that a n 0 is okay.) We proceed by induction on the degree of f. If n = 0, then either f = c = (cd 1 )g, where g = d has degree 0 or f = 0g + f where degree(g) > 0 satisfies the conditions. Assume that, if n < k, then there exist polynomials q,r with coefficients in the same field as f so that f = qg + r where r = 0 or deg(r) < deg(g). Now assume that the degree of f is k. If k < m, then f = 0g + f satisfies the conditions. If m n, then f(x) a k (b 1 m )x n m g(x) has degree at most k 1 < k. So there exist q 1,r so that f(x) a k (b 1 m )x n m g(x) = q 1 (x)g(x) + r(x) where r = 0 or deg(r) < deg(g). Thus f(x) = (a k b 1 m x n m + q 1 (x))g(x) + r(x). Letting q(x) = a k b 1 m x n m + q 1 (x), we see that f = qg + r with the coeffiecients of q,r in the same field as f, as required. Now suppose that f = pg + s where s = 0 or deg(s) < deg(g). Then 0 = (p q)g + s r. So (p q)g = r s. If r s 0 (so p q), then deg(r s) < deg g deg((p q)g). Contradiction. Therefore, r = s, and pg = qg. Since g is not a zero-divisor, p = q. 2

3 NOTE: When we wrote b 1 m we used the fact that the coefficients came from a field, i.e., that all non-zero coefficients had inverses. We could just have easily allowed any coefficient ring (such as Z) and insisted that the leading coefficient, b m, of g be invertible (or ±1 in the case of Z). Example: 1. We can use long division to find that x 4 + 3x 3 2x 2 + 7x 16 = (x 2 + 6x + 12)(x 2 3x + 4) + (19x 64). 2. If f(x) = 8x 7 + 6x 5 3x + 2 and g(x) = 2x 3 3, then f(x) = (4x 4 + 3x 2 + 6x)g(x) + 9x x + 2. We now turn to a special case of the division algorithm, that of the divisor having degree one. This case helps us prove many of the theorems we used in high school algebra, especially the correspondence between roots of a polynomial and factors of that polynomial, and the fact that a polynomial of degree n has at most n roots in the ground field. Corollary 1 Remainder Theorem: Let f be a polynomial with coefficients in a field or in the integers or in any ring. Let a be a number in the ground ring. Then there exists a polynomial q with coefficients in the same field or ring as f such that f = (x a)q + f(a). Proof: Since the leading coefficient of x a is 1, we may apply the Division Algorithm to f(x) and (x a) and get that f = q(x a) + r where the coefficients of q,r are in the same field or ring as those of f and either r = 0 or deg r < deg(x a) = 1. So r(x) is a constant. Evaluating at a, we get f(a) = q(a)(a a) + r = r. By the uniqueness part of the Division Algorithm, f(x) = (x a)q(x) + f(a). Corollary 2 Factor Theorem: The number a is a root of f if and only if x a is a factor of f(x). Proof: The number a is a root of f if and only if f(a) = 0 if and only if f(x) = (x a)q(x). 3

4 Theorem 2 A polynomial of degree n with coefficients in a field or in Z has at most n roots in that field or in Z.. Proof: Let f be a polynomial of degree n. Let a 1,... be the roots of f(x). By repeated applications of the factor theorem, after t roots we have f(x) = (x a 1 )g 1 (x) = (x a 1 )(x a 2 )g 2 (x) = = (x a 1 )...(x a t )g t (x). Then n = deg f(x) = t + deg g t (x). So t n. Thus the number of roots is finite and at most n. We now turn our attention to theorems that help us factor polynomials over the rational numbers. If f(x) = a n x n + + a 0 is a polynomial with rational coefficients, let d be the least common multiple of the denominators of the a i. Then g = df is a polynomial with integer coefficients which has the same roots as f, since multiplying by a non-zero constant does not change the solutions to f(x) = 0. Thus we may assume that we start with a polynomial with integer coefficients, rather than rational coefficients, when we try to find ways to factor rational polynomials. Theorem 3 Let f(x) = a n x n + a n 1 x n a 0 where a n 0 and the a i are integers. If p and q are relatively prime integers so that f(p/q) = 0, then q divides a n and p divides a 0. Proof: By assumption, 0 = f(p/q) = a n (p/q) n a 1 (p/q) + a 0. Multiplying the equation by q n we find that 0 = a n p n + a n 1 qp n a 1 q n 1 p + a 0 q n. Since p divides a i q n i p i for i = 1,...,n, p divides a 0 q n. But p and q are relatively prime, so p divides a 0. Similarly, q divides a i q n i p i for i = 0,...,n 1, whence q divides a n p n. But p and q are relatively prime, so q divides a n. Example: Let f(x) = 2x 4 + 3x 3 2x 2 + 7x 6. Since p divides 6 and q divides 2, the possible rational roots are ±1, ±2, ±3, ±6, ±1/2, ±3/2. Testing shows that none of these possibilities is in fact a root. Theorem 4 Let f(x) = a n x n + a n 1 x n a 0 where a n 0, and the a i are integers. If a 0,a n,f(1) are all odd, then f has no rational roots. Proof: First we note that, if n = 1 and a 0,a 1 are odd, then f(1) = a 1 +a 0 is even. So we may assume that n 2. 4

5 We will prove this one by contradiction, the most commonly used proof technique to show something doesn t happen. (Even in life it is hard to prove something isn t, but easier to prove something is.) So suppose that such an f has a rational root p/q where p and q are relatively prime. By the previous theorem, we know that p divides a 0 and q divides a n. In particular we now know that p and q are odd because a 0,a n are. Thus p i q j is also odd for every pair of nonnegative integers i,j. Since f(p/q) = 0 we have as we did in the last proof that 0 = q n f(p/q) = a n p n +a n 1 qp n 1 + +a 1 q n 1 p+a 0 q n. Since f(1) = Σa i is odd, an odd number of the a i are odd. Therefore the expansion of q n f(p/q) has an odd number of odd terms, so cannot be zero. This is a contradiction. Therefore, f has no rational roots. Example: Let f(x) = 15x 19 +7x 13 2x 8 +13x 6 12x 4 3x 3 +2x 2 +28x+343. We easily observe that a n = 15, and a 0 = 343 are odd. Rather than compute f(1), note that 5 of the coefficients are odd, so f(1) is odd. Therefore f does not have any rational roots. Theorem 5 Let f(x) = a n x n + a n 1 x n a 0 where a n 0 and the a i are integers. Suppose f(a) 0, a Z. If p and q are relatively prime integers so that f(p/q) = 0, then (p aq) divides f(a). Proof: Let p/q be a rational root of f where p and q are relatively prime. Next note that f f(a) is a polynomial of positive degree n that has a as a root. Thus, by the Factor Theorem, f f(a) = (x a)g where g is also a polynomial with integer coefficients. If we evaluate at p/q, we get ((p/q) a)g(p/q) = f(p/q) f(a) = f(a) 0. Multiplying by q n we see that (p aq)q n 1 g(p/q) = q n f(a). Since deg g = n 1, the number q n 1 g(p/q) is an integer. Thus p aq divides q n f(a). But p and q are relatively prime, so q and p aq are also relatively prime. Thus p aq divides f(a). Example: Let f(x) = 60x 6 212x x 4 +48x 3 133x 2 +10x+24. There are lots of factors of 60 and 24 and I don t want to check all of them (there are 72 combinations after deleting repeats). First I check f(1) = 0 and get a root. In fact it is a double root and f(x) = (x 1) 2 (60x 4 92x 3 41x 2 +58x+24). Note that removing factors of x±1 does not change the leading coefficient nor the absolute value of the constant term. So we still have 72 possible rational roots. Let s see what we can eliminate. f( 1) = 308. So p + q divides 308. Also f(2) = 200. So p 2q divides 200. This pair of constraints reduces 5

6 the list of possible roots to 16 possibilities. For example, ±1/60 are possible roots. But = 61 and = 59 do not divide 308. So they are not roots. Can you eliminate the other 54 possible roots that I eliminated? Theorem 6 Descartes Rule of Signs: If f(x) = a n x n + a n 1 x n a 0 is a polynomial with real coefficients, then the number of positive roots of the polynomial equation f(x) = 0 is either equal to the number of times the coefficients in f change sign or less than that by an even number. The number of negative roots of f is obtained by applying the above rule for the number of positive roots to f( x). In the above example, f(x) = 60x 6 212x x x 3 133x x+24, there are are 4 changes in sign, so f(x) has 0, 2, or 4 positive roots. If g(x) = x 8 + 3x 6 x 2 + 7, there are 2 changes of sign, so g(x) has 0 or 2 positive roots. Proof: Let f(x) = a n x n + a n 1 x n a 0. Since we are counting positive roots, we may assume that a 0 0, namely, if f = x i g where g(0) 0, we can work with g which has the same number of sign changes and positive roots as f. Recall that the derivative of f(x) is f (x) = na n x n 1 + (n 1)a n 1 x n a 1. Let C(f) (resp., C(f )) be the number of sign changes of f (resp., f ). Similarly, let Z + (f) (resp., Z + (f )) be the number of positive roots of f (resp., f ) counting multiplicities e.g., f(x) = (x+1) 3 (x 4) 7 (x 5) has Z + (f) = 8 since the roots are 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 5. We are first going to find relationships between Z + (f) and Z + (f ) and between C(f) and C(f ). Note that we assumed that a 0 0, but it is possible that a 1 = 0. If a 1 0, let l = 1, and if a 1 = 0, let l be the first index so that a l 0 (and a l 1 = = a 1 = 0). We now need a theorem from calculus. Rolle s Theorem Suppose f(a) = f(b) for a function that is differentiable on [a,b]. Then there is a number c (a,b) so that f (c) = 0. Proof continued: Since polynomials are differentiable everywhere, by Rolle s Theorem, between every two distinct roots of our polynomial f there is at least one root of f. If a is a multiple root of f of order q, then a is root of f of order q 1. Thus if f has n positive roots, f has at least n 1 positive roots, or in symbols Z + (f) Z + (f ) + 1. (1) 6

7 Also, by considering the graph of f(x) as x gets very large, we see that if a n and a 0 (resp., a l ) have the same sign, f (resp., f ) has an even number of positive zeroes, and if differing signs, an odd number of positive zeroes. So if a 0 and a l have the same sign, then Z + (f) Z + (f ) (mod 2) and Z + (f) Z + (f ). (2) If a 0 and a l have opposite signs, then Z + (f) Z + (f ) + 1 (mod 2). (3) Lastly, a straightforward counting argument shows that { C(f ) if a 0 and a l have the same sign, C(f) = C(f ) + 1 if a 0 and a l have opposite signs. (4) We now proceed by induction on the degree of f. When deg f = 1, f(x) = a 1 x + a 0 which has one positive root and C(f) = 1 if the signs of a 0 and a 1 are different, but no positive roots and C(f) = 0 if the signs of a 0 and a 1 are the same. Assume that Descartes rule of signs is true if deg f = k 1. Let f be a polynomial of degree k. Then deg f = k 1. By the induction assumption, Z + (f ) C(f ) (mod 2) and Z + (f ) C(f ). We now consider two cases depending on the signs of a 0 and a l. Case I: Suppose the signs of a 0 and a l are the same. Then Z + (f) 2 Z + (f ) ind C(f ) 4 = C(f), and Z + (f) 2 Z + (f ) ind C(f ) 4 C(f) (mod 2). Case II: Suppose that the signs of a 0 and a l are different. Then Z + (f) 1 Z + (f ) + 1 ind C(f ) = C(f), and Z + (f) 3 Z + (f ) + 1 ind C(f ) C(f) (mod 2). We now go to the other extreme. Instead of looking for roots, we will develop some criteria to tell us that not only are there no roots in the ground field, but the polynomial doesn t even factor over that field. 7

8 Definition: A polynomial of positive degree i.e., not a constant over a field is reducible over that field if it is the product of two polynomials both of lower degree (equivalently, both of degree at least one). A polynomial is irreducible over a field if it is not reducible over that field. Over Z, a non-constant polynomial is reducible if its coefficients have a common prime factor or if it is the product of two polynomials both of lower degree. Example: 2x = 2(x 2 + 2) is reducible over Z, but is irreducible over the rationals. Our first simplification is similar to what we did for roots of polynomials with rational coefficients, namely, we reduce our problem to one over the integers. Theorem 7 Let f be a polynomial with rational coefficients in lowest terms so that the numerators of the coefficients are relatively prime (i.e., have no common prime factor). Let d be the least common multiple (lcm) of the denominators of the coefficients of f. Let g = df. Then g has integer coefficients. Furthermore, f is irreducible over the rationals if and only if g is irreducible over the integers. Proof: First note that by starting with rational coefficients in lowest terms and then multiplying by the lcm of the denominators, the integer coefficients of g have no common prime factor (or their gcd is 1). Thus g has no factors of degree 0 other than ±1. Also note that the degree of f equals the degree of g. We will now prove the theorem by contrapositive, namely, f is reducible over the rationals if and only if g is reducible over the integers. So f is reducible over the rationals if and only if there exist polynomials p,q Q[x], both of degree less than the degree of f, so that f = pq. Since df Z[x], dpq Z[x]. Thus dpq = rs where r,s Z[x] and the degrees of r,s are less than the degree of g. Similarly, g is reducible over the integers if and only if there exist polynomials p,q Z[x], both of degree less than the degree of g, so that g = pq = df. Thus f = (d 1 p)q where d 1 p,q Q[x] and the degrees of d 1 p,q are both less than the degree of f. The following is a famous theorem about irreducible polynomials. 8

9 Theorem 8 Eisenstein s Irreducibility Criterion: Let f(x) = a n x n + a n 1 x n a 0 be a polynomial with integer coefficients and of positive degree. Suppose there is a prime p so that p does not divide a n, p divides a i, i = 0,...,n 1, and p 2 does not divide a 0. Then f is irreducible over the rational numbers. Proof: Since we are interested in irreducibility over the rational numbers, we may assume that the a i have no prime factor in common i.e., that the a i are relatively prime. By the previous theorem we need only prove that f is irreducible over the integers. We will do so by contradiction. Suppose f is reducible over the integers. Then there exist polynomials g(x) = b r x r + + b 0,h(x) = c s x s + + c 0 Z[x] with r,s 1 so that f = gh. Since p divides a 0 = b 0 c 0, and p 2 does not divide a 0 = b 0 c 0, either p divides b 0 or p divides c 0 but not both. Without loss of generality we may assume that p divides b 0. Since p does not divide a n = b r c s, p does not divide b r. Let k be the least integer so that p divides b i for i < k and p does not divide b k. So 1 k r < n. Then a k = b 0 c k + + b k 1 c 1 + b k c 0. Since p divides a k (since k < n) and p divides b i, i = 0,...,k 1 (by choice of k), p divides b k c 0. But p does not divide c 0 nor b k. Contradiction. Therefore f is irreducible over the rational numbers. Example: 3x 19 7x x 10 28x 6 35 is irreducible over the rational numbers because 7 does not divide 3, 7 does divide 7, 49, 28, 35 and 7 2 = 49 does not divide 35. We can make Eisenstein s Irreducibility Criterion more widely applicable by changing variables. Theorem 9 Let f be a polynomial over a field (such as the rationals). Then f is irreducible if and only if g = f(ax + b), a 0, is irreducible. If f is a polynomial over the integers, then f is irreducible if and only if g = f(x + b) is irreducible. Proof: We shall prove the contrapositive, namely, f is reducible over a field (resp., the integers) if and only if g = f(ax+b), a 0, (resp., f(x+b)) is reducible. Suppose f is reducible. Then f = pq for some polynomials p,q of positive degree. By substituting ax + b for x, we get that g(x) = f(ax + b) = 9

10 p(ax + b)q(ax + b), whence g is reducible. Note that there is no difference here between fields and integers. Suppose g = f(ax+b) is reducible. Then g = g(x) = f(ax+b) = p(x)q(x) for some polynomials p,q of positive degree. By substiting a 1 (x b) for x, we get that f(x) = p(a 1 (x b))q(a 1 (x b)), whence f is reducible. Note that we used the fact that in a field, a non-zero element has an inverse. Over the integers, if f(x + b) is reducible, we can duplicate the argument with a = 1. Example: We know that f(x) = x 2 + x + 1 is irreducible over the rational numbers since, by the quadratic formula, the roots of f(x) are ( 1±i 3)/2. All the coefficients are 1, so Eisenstein s Irreducibility Criterion does not apply directly. But f(x + 1) = (x + 1) 2 + (x + 1) + 1 = x 2 + 3x + 3 which is irreducible by Eisenstein s Irreducibility Criterion. Thus f is also irreducible over the rational numbers. Problems 1. Use the above theorems to factor the following polynomials over the rationals. Then factor them over the complex numbers. (a) x 5 9x 3 8x (b) x 5 + x 4 + x 3 + x 2 + x + 1 (c) x 4 x 3 x 2 5x 30 (d) 12x x x 3 135x 2 158x 40 (e) 20x x x 4 35x 3 55x 2 + 7x Use Eisenstein s Irreducibility Criterion to prove that 2x 17 18x x x 6 30x 3 6 is irreducible. 10

11 3. Let f p (x) = x p 1 + x p x + 1. (a) Show that f p has no linear factors over the rationals when p is odd. (b) Use Eisenstein s Irreducibility Criterion and a change of variables (say x y + 1) to prove that f 5 is irreducible over the rational numbers. (c) Use Eisenstein s Irreducibility Criterion to prove that f p is irreducible over the rational numbers for every prime number p. Hint: x p 1 = (x 1)f p. 11

### Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize

### Math 345-60 Abstract Algebra I Questions for Section 23: Factoring Polynomials over a Field

Math 345-60 Abstract Algebra I Questions for Section 23: Factoring Polynomials over a Field 1. Throughout this section, F is a field and F [x] is the ring of polynomials with coefficients in F. We will

### it is easy to see that α = a

21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore

### H/wk 13, Solutions to selected problems

H/wk 13, Solutions to selected problems Ch. 4.1, Problem 5 (a) Find the number of roots of x x in Z 4, Z Z, any integral domain, Z 6. (b) Find a commutative ring in which x x has infinitely many roots.

### Polynomials can be added or subtracted simply by adding or subtracting the corresponding terms, e.g., if

1. Polynomials 1.1. Definitions A polynomial in x is an expression obtained by taking powers of x, multiplying them by constants, and adding them. It can be written in the form c 0 x n + c 1 x n 1 + c

### Quotient Rings and Field Extensions

Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

### PROBLEM SET 6: POLYNOMIALS

PROBLEM SET 6: POLYNOMIALS 1. introduction In this problem set we will consider polynomials with coefficients in K, where K is the real numbers R, the complex numbers C, the rational numbers Q or any other

### Unique Factorization

Unique Factorization Waffle Mathcamp 2010 Throughout these notes, all rings will be assumed to be commutative. 1 Factorization in domains: definitions and examples In this class, we will study the phenomenon

### Introduction to polynomials

Worksheet 4.5 Polynomials Section 1 Introduction to polynomials A polynomial is an expression of the form p(x) = p 0 + p 1 x + p 2 x 2 + + p n x n, (n N) where p 0, p 1,..., p n are constants and x os

### Factorization in Polynomial Rings

Factorization in Polynomial Rings These notes are a summary of some of the important points on divisibility in polynomial rings from 17 and 18 of Gallian s Contemporary Abstract Algebra. Most of the important

### The Division Algorithm for Polynomials Handout Monday March 5, 2012

The Division Algorithm for Polynomials Handout Monday March 5, 0 Let F be a field (such as R, Q, C, or F p for some prime p. This will allow us to divide by any nonzero scalar. (For some of the following,

### Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2)

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2) Kevin Broughan University of Waikato, Hamilton, New Zealand May 13, 2010 Remainder and Factor Theorem 15 Definition of factor If f (x)

### Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com

Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).

### 3 1. Note that all cubes solve it; therefore, there are no more

Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if

### Problem Set 7 - Fall 2008 Due Tuesday, Oct. 28 at 1:00

18.781 Problem Set 7 - Fall 2008 Due Tuesday, Oct. 28 at 1:00 Throughout this assignment, f(x) always denotes a polynomial with integer coefficients. 1. (a) Show that e 32 (3) = 8, and write down a list

### Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}

### March 29, 2011. 171S4.4 Theorems about Zeros of Polynomial Functions

MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 4: Polynomial and Rational Functions 4.1 Polynomial Functions and Models 4.2 Graphing Polynomial Functions 4.3 Polynomial

### MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu

Integer Polynomials June 9, 007 Yufei Zhao yufeiz@mit.edu We will use Z[x] to denote the ring of polynomials with integer coefficients. We begin by summarizing some of the common approaches used in dealing

### Worksheet 4.7. Polynomials. Section 1. Introduction to Polynomials. A polynomial is an expression of the form

Worksheet 4.7 Polynomials Section 1 Introduction to Polynomials A polynomial is an expression of the form p(x) = p 0 + p 1 x + p 2 x 2 + + p n x n (n N) where p 0, p 1,..., p n are constants and x is a

### 9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

9. POLYNOMIALS 9.1. Definition of a Polynomial A polynomial is an expression of the form: a(x) = a n x n + a n-1 x n-1 +... + a 1 x + a 0. The symbol x is called an indeterminate and simply plays the role

### 3.6 The Real Zeros of a Polynomial Function

SECTION 3.6 The Real Zeros of a Polynomial Function 219 3.6 The Real Zeros of a Polynomial Function PREPARING FOR THIS SECTION Before getting started, review the following: Classification of Numbers (Appendix,

### z = i ± 9 2 2 so z = 2i or z = i are the solutions. (c) z 4 + 2z 2 + 4 = 0. By the quadratic formula,

91 Homework 8 solutions Exercises.: 18. Show that Z[i] is an integral domain, describe its field of fractions and find the units. There are two ways to show it is an integral domain. The first is to observe:

### POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS

POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS RUSS WOODROOFE 1. Unique Factorization Domains Throughout the following, we think of R as sitting inside R[x] as the constant polynomials (of degree 0).

### PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

### Elementary Number Theory We begin with a bit of elementary number theory, which is concerned

CONSTRUCTION OF THE FINITE FIELDS Z p S. R. DOTY Elementary Number Theory We begin with a bit of elementary number theory, which is concerned solely with questions about the set of integers Z = {0, ±1,

### APPLICATIONS OF THE ORDER FUNCTION

APPLICATIONS OF THE ORDER FUNCTION LECTURE NOTES: MATH 432, CSUSM, SPRING 2009. PROF. WAYNE AITKEN In this lecture we will explore several applications of order functions including formulas for GCDs and

### Appendix A. Appendix. A.1 Algebra. Fields and Rings

Appendix A Appendix A.1 Algebra Algebra is the foundation of algebraic geometry; here we collect some of the basic algebra on which we rely. We develop some algebraic background that is needed in the text.

### SOLVING POLYNOMIAL EQUATIONS

C SOLVING POLYNOMIAL EQUATIONS We will assume in this appendix that you know how to divide polynomials using long division and synthetic division. If you need to review those techniques, refer to an algebra

3. QUADRATIC CONGRUENCES 3.1. Quadratics Over a Finite Field We re all familiar with the quadratic equation in the context of real or complex numbers. The formula for the solutions to ax + bx + c = 0 (where

### Zeros of a Polynomial Function

Zeros of a Polynomial Function An important consequence of the Factor Theorem is that finding the zeros of a polynomial is really the same thing as factoring it into linear factors. In this section we

### JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

### 3 Factorisation into irreducibles

3 Factorisation into irreducibles Consider the factorisation of a non-zero, non-invertible integer n as a product of primes: n = p 1 p t. If you insist that primes should be positive then, since n could

### Finite Fields and Error-Correcting Codes

Lecture Notes in Mathematics Finite Fields and Error-Correcting Codes Karl-Gustav Andersson (Lund University) (version 1.013-16 September 2015) Translated from Swedish by Sigmundur Gudmundsson Contents

### Rolle s Theorem. q( x) = 1

Lecture 1 :The Mean Value Theorem We know that constant functions have derivative zero. Is it possible for a more complicated function to have derivative zero? In this section we will answer this question

### Real Roots of Univariate Polynomials with Real Coefficients

Real Roots of Univariate Polynomials with Real Coefficients mostly written by Christina Hewitt March 22, 2012 1 Introduction Polynomial equations are used throughout mathematics. When solving polynomials

### Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important

### RESULTANT AND DISCRIMINANT OF POLYNOMIALS

RESULTANT AND DISCRIMINANT OF POLYNOMIALS SVANTE JANSON Abstract. This is a collection of classical results about resultants and discriminants for polynomials, compiled mainly for my own use. All results

### a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x

### Introduction to Finite Fields (cont.)

Chapter 6 Introduction to Finite Fields (cont.) 6.1 Recall Theorem. Z m is a field m is a prime number. Theorem (Subfield Isomorphic to Z p ). Every finite field has the order of a power of a prime number

### CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

### 3.7 Complex Zeros; Fundamental Theorem of Algebra

SECTION.7 Complex Zeros; Fundamental Theorem of Algebra 2.7 Complex Zeros; Fundamental Theorem of Algebra PREPARING FOR THIS SECTION Before getting started, review the following: Complex Numbers (Appendix,

### Zeros of Polynomial Functions

Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of

### Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.

Some Polynomial Theorems by John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.com This paper contains a collection of 31 theorems, lemmas,

### minimal polyonomial Example

Minimal Polynomials Definition Let α be an element in GF(p e ). We call the monic polynomial of smallest degree which has coefficients in GF(p) and α as a root, the minimal polyonomial of α. Example: We

### Integer roots of quadratic and cubic polynomials with integer coefficients

Integer roots of quadratic and cubic polynomials with integer coefficients Konstantine Zelator Mathematics, Computer Science and Statistics 212 Ben Franklin Hall Bloomsburg University 400 East Second Street

### SECTION 2.5: FINDING ZEROS OF POLYNOMIAL FUNCTIONS

SECTION 2.5: FINDING ZEROS OF POLYNOMIAL FUNCTIONS Assume f ( x) is a nonconstant polynomial with real coefficients written in standard form. PART A: TECHNIQUES WE HAVE ALREADY SEEN Refer to: Notes 1.31

### Chapter 13: Basic ring theory

Chapter 3: Basic ring theory Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 42, Spring 24 M. Macauley (Clemson) Chapter 3: Basic ring

### Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.

Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole

### STUDY GUIDE FOR SOME BASIC INTERMEDIATE ALGEBRA SKILLS

STUDY GUIDE FOR SOME BASIC INTERMEDIATE ALGEBRA SKILLS The intermediate algebra skills illustrated here will be used extensively and regularly throughout the semester Thus, mastering these skills is an

### 6.4 The Remainder Theorem

6.4. THE REMAINDER THEOREM 6.3.2 Check the two divisions we performed in Problem 6.12 by multiplying the quotient by the divisor, then adding the remainder. 6.3.3 Find the quotient and remainder when x

### Lecture 6: Finite Fields (PART 3) PART 3: Polynomial Arithmetic. Theoretical Underpinnings of Modern Cryptography

Lecture 6: Finite Fields (PART 3) PART 3: Polynomial Arithmetic Theoretical Underpinnings of Modern Cryptography Lecture Notes on Computer and Network Security by Avi Kak (kak@purdue.edu) January 29, 2015

### 1 Homework 1. [p 0 q i+j +... + p i 1 q j+1 ] + [p i q j ] + [p i+1 q j 1 +... + p i+j q 0 ]

1 Homework 1 (1) Prove the ideal (3,x) is a maximal ideal in Z[x]. SOLUTION: Suppose we expand this ideal by including another generator polynomial, P / (3, x). Write P = n + x Q with n an integer not

### U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory

### 7. Some irreducible polynomials

7. Some irreducible polynomials 7.1 Irreducibles over a finite field 7.2 Worked examples Linear factors x α of a polynomial P (x) with coefficients in a field k correspond precisely to roots α k [1] of

### 5. Factoring by the QF method

5. Factoring by the QF method 5.0 Preliminaries 5.1 The QF view of factorability 5.2 Illustration of the QF view of factorability 5.3 The QF approach to factorization 5.4 Alternative factorization by the

### Lecture Notes on Polynomials

Lecture Notes on Polynomials Arne Jensen Department of Mathematical Sciences Aalborg University c 008 Introduction These lecture notes give a very short introduction to polynomials with real and complex

### Zeros of Polynomial Functions

Review: Synthetic Division Find (x 2-5x - 5x 3 + x 4 ) (5 + x). Factor Theorem Solve 2x 3-5x 2 + x + 2 =0 given that 2 is a zero of f(x) = 2x 3-5x 2 + x + 2. Zeros of Polynomial Functions Introduction

### INTRODUCTION TO PROOFS: HOMEWORK SOLUTIONS

INTRODUCTION TO PROOFS: HOMEWORK SOLUTIONS STEVEN HEILMAN Contents 1. Homework 1 1 2. Homework 2 6 3. Homework 3 10 4. Homework 4 16 5. Homework 5 19 6. Homework 6 21 7. Homework 7 25 8. Homework 8 28

### Polynomials Classwork

Polynomials Classwork What Is a Polynomial Function? Numerical, Analytical and Graphical Approaches Anatomy of an n th -degree polynomial function Def.: A polynomial function of degree n in the vaiable

### some algebra prelim solutions

some algebra prelim solutions David Morawski August 19, 2012 Problem (Spring 2008, #5). Show that f(x) = x p x + a is irreducible over F p whenever a F p is not zero. Proof. First, note that f(x) has no

### CLASS NOTES. We bring down (copy) the leading coefficient below the line in the same column.

SYNTHETIC DIVISION CLASS NOTES When factoring or evaluating polynomials we often find that it is convenient to divide a polynomial by a linear (first degree) binomial of the form x k where k is a real

### Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year.

This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra

### 36 Fields of Rational Functions

36 Fields of Rational Functions The reader might have missed the familiar quotient rule (\f(f,g)) = f g fg in Lemma 35.5. It was missing because f is not a polynomial. g We now introduce these quotients

### FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z DANIEL BIRMAJER, JUAN B GIL, AND MICHAEL WEINER Abstract We consider polynomials with integer coefficients and discuss their factorization

### 5.1 The Remainder and Factor Theorems; Synthetic Division

5.1 The Remainder and Factor Theorems; Synthetic Division In this section you will learn to: understand the definition of a zero of a polynomial function use long and synthetic division to divide polynomials

### Homework 5 Solutions

Homework 5 Solutions 4.2: 2: a. 321 = 256 + 64 + 1 = (01000001) 2 b. 1023 = 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = (1111111111) 2. Note that this is 1 less than the next power of 2, 1024, which

### Computer Algebra for Computer Engineers

p.1/14 Computer Algebra for Computer Engineers Preliminaries Priyank Kalla Department of Electrical and Computer Engineering University of Utah, Salt Lake City p.2/14 Notation R: Real Numbers Q: Fractions

### Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

### 5.1 Commutative rings; Integral Domains

5.1 J.A.Beachy 1 5.1 Commutative rings; Integral Domains from A Study Guide for Beginner s by J.A.Beachy, a supplement to Abstract Algebra by Beachy / Blair 23. Let R be a commutative ring. Prove the following

### FACTORING IN QUADRATIC FIELDS. 1. Introduction. This is called a quadratic field and it has degree 2 over Q. Similarly, set

FACTORING IN QUADRATIC FIELDS KEITH CONRAD For a squarefree integer d other than 1, let 1. Introduction K = Q[ d] = {x + y d : x, y Q}. This is called a quadratic field and it has degree 2 over Q. Similarly,

### (a) Write each of p and q as a polynomial in x with coefficients in Z[y, z]. deg(p) = 7 deg(q) = 9

Homework #01, due 1/20/10 = 9.1.2, 9.1.4, 9.1.6, 9.1.8, 9.2.3 Additional problems for study: 9.1.1, 9.1.3, 9.1.5, 9.1.13, 9.2.1, 9.2.2, 9.2.4, 9.2.5, 9.2.6, 9.3.2, 9.3.3 9.1.1 (This problem was not assigned

### Algebraic Systems, Fall 2013, September 1, 2013 Edition. Todd Cochrane

Algebraic Systems, Fall 2013, September 1, 2013 Edition Todd Cochrane Contents Notation 5 Chapter 0. Axioms for the set of Integers Z. 7 Chapter 1. Algebraic Properties of the Integers 9 1.1. Background

### SECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS

(Section 0.6: Polynomial, Rational, and Algebraic Expressions) 0.6.1 SECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS LEARNING OBJECTIVES Be able to identify polynomial, rational, and algebraic

### MODULAR ARITHMETIC. a smallest member. It is equivalent to the Principle of Mathematical Induction.

MODULAR ARITHMETIC 1 Working With Integers The usual arithmetic operations of addition, subtraction and multiplication can be performed on integers, and the result is always another integer Division, on

### Part V, Abstract Algebra CS131 Mathematics for Computer Scientists II Note 29 RINGS AND FIELDS

CS131 Part V, Abstract Algebra CS131 Mathematics for Computer Scientists II Note 29 RINGS AND FIELDS We now look at some algebraic structures which have more than one binary operation. Rings and fields

### 3.2 The Factor Theorem and The Remainder Theorem

3. The Factor Theorem and The Remainder Theorem 57 3. The Factor Theorem and The Remainder Theorem Suppose we wish to find the zeros of f(x) = x 3 + 4x 5x 4. Setting f(x) = 0 results in the polynomial

### Die ganzen zahlen hat Gott gemacht

Die ganzen zahlen hat Gott gemacht Polynomials with integer values B.Sury A quote attributed to the famous mathematician L.Kronecker is Die Ganzen Zahlen hat Gott gemacht, alles andere ist Menschenwerk.

### Integral Domains. As always in this course, a ring R is understood to be a commutative ring with unity.

Integral Domains As always in this course, a ring R is understood to be a commutative ring with unity. 1 First definitions and properties Definition 1.1. Let R be a ring. A divisor of zero or zero divisor

### 2.5 Zeros of a Polynomial Functions

.5 Zeros of a Polynomial Functions Section.5 Notes Page 1 The first rule we will talk about is Descartes Rule of Signs, which can be used to determine the possible times a graph crosses the x-axis and

### Rational Polynomial Functions

Rational Polynomial Functions Rational Polynomial Functions and Their Domains Today we discuss rational polynomial functions. A function f(x) is a rational polynomial function if it is the quotient of

### Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

Partial Fractions Combining fractions over a common denominator is a familiar operation from algebra: From the standpoint of integration, the left side of Equation 1 would be much easier to work with than

### Proofs are short works of prose and need to be written in complete sentences, with mathematical symbols used where appropriate.

Advice for homework: Proofs are short works of prose and need to be written in complete sentences, with mathematical symbols used where appropriate. Even if a problem is a simple exercise that doesn t

### Review for Final Exam

Review for Final Exam Note: Warning, this is probably not exhaustive and probably does contain typos (which I d like to hear about), but represents a review of most of the material covered in Chapters

### Discrete Mathematics Lecture 3 Elementary Number Theory and Methods of Proof. Harper Langston New York University

Discrete Mathematics Lecture 3 Elementary Number Theory and Methods of Proof Harper Langston New York University Proof and Counterexample Discovery and proof Even and odd numbers number n from Z is called

### Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a

### 2.3. Finding polynomial functions. An Introduction:

2.3. Finding polynomial functions. An Introduction: As is usually the case when learning a new concept in mathematics, the new concept is the reverse of the previous one. Remember how you first learned

### Lecture 10: Distinct Degree Factoring

CS681 Computational Number Theory Lecture 10: Distinct Degree Factoring Instructor: Piyush P Kurur Scribe: Ramprasad Saptharishi Overview Last class we left of with a glimpse into distant degree factorization.

### CHAPTER 5: MODULAR ARITHMETIC

CHAPTER 5: MODULAR ARITHMETIC LECTURE NOTES FOR MATH 378 (CSUSM, SPRING 2009). WAYNE AITKEN 1. Introduction In this chapter we will consider congruence modulo m, and explore the associated arithmetic called

### MATH 436 Notes: Examples of Rings.

MATH 436 Notes: Examples of Rings. Jonathan Pakianathan November 20, 2003 1 Formal power series and polynomials Let R be a ring. We will now define the ring of formal power series on a variable x with

### ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair

### GREATEST COMMON DIVISOR

DEFINITION: GREATEST COMMON DIVISOR The greatest common divisor (gcd) of a and b, denoted by (a, b), is the largest common divisor of integers a and b. THEOREM: If a and b are nonzero integers, then their

### calculating the result modulo 3, as follows: p(0) = 0 3 + 0 + 1 = 1 0,

Homework #02, due 1/27/10 = 9.4.1, 9.4.2, 9.4.5, 9.4.6, 9.4.7. Additional problems recommended for study: (9.4.3), 9.4.4, 9.4.9, 9.4.11, 9.4.13, (9.4.14), 9.4.17 9.4.1 Determine whether the following polynomials

### (x + a) n = x n + a Z n [x]. Proof. If n is prime then the map

22. A quick primality test Prime numbers are one of the most basic objects in mathematics and one of the most basic questions is to decide which numbers are prime (a clearly related problem is to find

### Quotient Rings of Polynomial Rings

Quotient Rings of Polynomial Rings 8-7-009 Let F be a field. is a field if and only if p(x) is irreducible. In this section, I ll look at quotient rings of polynomial rings. Let F be a field, and suppose

### Algebra for Digital Communication

EPFL - Section de Mathématiques Algebra for Digital Communication Fall semester 2008 Solutions for exercise sheet 1 Exercise 1. i) We will do a proof by contradiction. Suppose 2 a 2 but 2 a. We will obtain

### 3. Applications of Number Theory

3. APPLICATIONS OF NUMBER THEORY 163 3. Applications of Number Theory 3.1. Representation of Integers. Theorem 3.1.1. Given an integer b > 1, every positive integer n can be expresses uniquely as n = a

### Definition: Group A group is a set G together with a binary operation on G, satisfying the following axioms: a (b c) = (a b) c.

Algebraic Structures Abstract algebra is the study of algebraic structures. Such a structure consists of a set together with one or more binary operations, which are required to satisfy certain axioms.

### Putnam Notes Polynomials and palindromes

Putnam Notes Polynomials and palindromes Polynomials show up one way or another in just about every area of math. You will hardly ever see any math competition without at least one problem explicitly concerning