Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132930 views
License: OTHER
Kernel:
%%html <link href="http://mathbook.pugetsound.edu/beta/mathbook-content.css" rel="stylesheet" type="text/css" /> <link href="https://aimath.org/mathbook/mathbook-add-on.css" rel="stylesheet" type="text/css" /> <style>.subtitle {font-size:medium; display:block}</style> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic" rel="stylesheet" type="text/css" /> <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700&subset=latin,latin-ext" rel="stylesheet" type="text/css" /><!-- Hide this cell. --> <script> var cell = $(".container .cell").eq(0), ia = cell.find(".input_area") if (cell.find(".toggle-button").length == 0) { ia.after( $('<button class="toggle-button">Toggle hidden code</button>').click( function (){ ia.toggle() } ) ) ia.hide() } </script>

Important: to view this notebook properly you will need to execute the cell above, which assumes you have an Internet connection. It should already be selected, or place your cursor anywhere above to select. Then press the "Run" button in the menu bar above (the right-pointing arrowhead), or press Shift-Enter on your keyboard.

ParseError: KaTeX parse error: \newcommand{\lt} attempting to redefine \lt; use \renewcommand

Section17.3Irreducible Polynomials

A nonconstant polynomial f(x)F[x]f(x) \in F[x] is over a field FF if f(x)f(x) cannot be expressed as a product of two polynomials g(x)g(x) and h(x)h(x) in F[x],F[x]\text{,} where the degrees of g(x)g(x) and h(x)h(x) are both smaller than the degree of f(x).f(x)\text{.} Irreducible polynomials function as the “prime numbers” of polynomial rings.

Example17.11

The polynomial x22Q[x]x^2 - 2 \in {\mathbb Q}[x] is irreducible since it cannot be factored any further over the rational numbers. Similarly, x2+1x^2 + 1 is irreducible over the real numbers.

Example17.12

The polynomial p(x)=x3+x2+2p(x) = x^3 + x^2 + 2 is irreducible over Z3[x].{\mathbb Z}_3[x]\text{.} Suppose that this polynomial was reducible over Z3[x].{\mathbb Z}_3[x]\text{.} By the division algorithm there would have to be a factor of the form xa,x - a\text{,} where aa is some element in Z3[x].{\mathbb Z}_3[x]\text{.} Hence, it would have to be true that p(a)=0.p(a) = 0\text{.} However,

p(0)=2p(1)=1p(2)=2.\begin{align*} p(0) & = 2\\ p(1) & = 1\\ p(2) & = 2. \end{align*}

Therefore, p(x)p(x) has no zeros in Z3{\mathbb Z}_3 and must be irreducible.

Lemma17.13

Let p(x)Q[x].p(x) \in {\mathbb Q}[x]\text{.} Then

p(x)=rs(a0+a1x++anxn),\begin{equation*} p(x) = \frac{r}{s}(a_0 + a_1 x + \cdots + a_n x^n), \end{equation*}

where r,s,a0,,anr, s, a_0, \ldots, a_n are integers, the aia_i's are relatively prime, and rr and ss are relatively prime.

Proof

Suppose that

p(x)=b0c0+b1c1x++bncnxn,\begin{equation*} p(x) = \frac{b_0}{c_0} + \frac{b_1}{c_1} x + \cdots + \frac{b_n}{c_n} x^n, \end{equation*}

where the bib_i's and the cic_i's are integers. We can rewrite p(x)p(x) as

p(x)=1c0cn(d0+d1x++dnxn),\begin{equation*} p(x) = \frac{1}{c_0 \cdots c_n} (d_0 + d_1 x + \cdots + d_n x^n), \end{equation*}

where d0,,dnd_0, \ldots, d_n are integers. Let dd be the greatest common divisor of d0,,dn.d_0, \ldots, d_n\text{.} Then

p(x)=dc0cn(a0+a1x++anxn),\begin{equation*} p(x) = \frac{d}{c_0 \cdots c_n} (a_0 + a_1 x + \cdots + a_n x^n), \end{equation*}

where di=daid_i = d a_i and the aia_i's are relatively prime. Reducing d/(c0cn)d /(c_0 \cdots c_n) to its lowest terms, we can write

p(x)=rs(a0+a1x++anxn),\begin{equation*} p(x) = \frac{r}{s}(a_0 + a_1 x + \cdots + a_n x^n), \end{equation*}

where gcd(r,s)=1.\gcd(r,s) = 1\text{.}

Theorem17.14Gauss's Lemma

Let p(x)Z[x]p(x) \in {\mathbb Z}[x] be a monic polynomial such that p(x)p(x) factors into a product of two polynomials α(x)\alpha(x) and β(x)\beta(x) in Q[x],{\mathbb Q}[x]\text{,} where the degrees of both α(x)\alpha(x) and β(x)\beta(x) are less than the degree of p(x).p(x)\text{.} Then p(x)=a(x)b(x),p(x) = a(x) b(x)\text{,} where a(x)a(x) and b(x)b(x) are monic polynomials in Z[x]{\mathbb Z}[x] with degα(x)=dega(x)\deg \alpha(x) = \deg a(x) and degβ(x)=degb(x).\deg \beta(x) = \deg b(x)\text{.}

Proof

By Lemma 17.13, we can assume that

α(x)=c1d1(a0+a1x++amxm)=c1d1α1(x)β(x)=c2d2(b0+b1x++bnxn)=c2d2β1(x),\begin{align*} \alpha(x) & = \frac{c_1}{d_1} (a_0 + a_1 x + \cdots + a_m x^m ) = \frac{c_1}{d_1} \alpha_1(x)\\ \beta(x) & = \frac{c_2}{d_2} (b_0 + b_1 x + \cdots + b_n x^n) = \frac{c_2}{d_2} \beta_1(x), \end{align*}

where the aia_i's are relatively prime and the bib_i's are relatively prime. Consequently,

p(x)=α(x)β(x)=c1c2d1d2α1(x)β1(x)=cdα1(x)β1(x),\begin{equation*} p(x) = \alpha(x) \beta(x) = \frac{c_1 c_2}{d_1 d_2} \alpha_1(x) \beta_1(x) = \frac{c}{d} \alpha_1(x) \beta_1(x), \end{equation*}

where c/dc/d is the product of c1/d1c_1/d_1 and c2/d2c_2/d_2 expressed in lowest terms. Hence, dp(x)=cα1(x)β1(x).d p(x) = c \alpha_1(x) \beta_1(x)\text{.}

If d=1,d = 1\text{,} then cambn=1c a_m b_n = 1 since p(x)p(x) is a monic polynomial. Hence, either c=1c=1 or c=1.c = -1\text{.} If c=1,c=1\text{,} then either am=bn=1a_m = b_n = 1 or am=bn=1.a_m = b_n = -1\text{.} In the first case p(x)=α1(x)β1(x),p(x) = \alpha_1(x) \beta_1(x)\text{,} where α1(x)\alpha_1(x) and β1(x)\beta_1(x) are monic polynomials with degα(x)=degα1(x)\deg \alpha(x) = \deg \alpha_1(x) and degβ(x)=degβ1(x).\deg \beta(x) = \deg \beta_1(x)\text{.} In the second case a(x)=α1(x)a(x) = -\alpha_1(x) and b(x)=β1(x)b(x) = -\beta_1(x) are the correct monic polynomials since p(x)=(α1(x))(β1(x))=a(x)b(x).p(x) = (-\alpha_1(x))(- \beta_1(x)) = a(x) b(x)\text{.} The case in which c=1c = -1 can be handled similarly.

Now suppose that d1.d \neq 1\text{.} Since gcd(c,d)=1,\gcd(c, d) = 1\text{,} there exists a prime pp such that pdp \mid d and pc.p \notdivide c\text{.} Also, since the coefficients of α1(x)\alpha_1(x) are relatively prime, there exists a coefficient aia_i such that pai.p \notdivide a_i\text{.} Similarly, there exists a coefficient bjb_j of β1(x)\beta_1(x) such that pbj.p \notdivide b_j\text{.} Let α1(x)\alpha_1'(x) and β1(x)\beta_1'(x) be the polynomials in Zp[x]{\mathbb Z}_p[x] obtained by reducing the coefficients of α1(x)\alpha_1(x) and β1(x)\beta_1(x) modulo p.p\text{.} Since pd,p \mid d\text{,} α1(x)β1(x)=0\alpha_1'(x) \beta_1'(x) = 0 in Zp[x].{\mathbb Z}_p[x]\text{.} However, this is impossible since neither α1(x)\alpha_1'(x) nor β1(x)\beta_1'(x) is the zero polynomial and Zp[x]{\mathbb Z}_p[x] is an integral domain. Therefore, d=1d=1 and the theorem is proven.

Corollary17.15

Let p(x)=xn+an1xn1++a0p(x) = x^n + a_{n - 1} x^{n - 1} + \cdots + a_0 be a polynomial with coefficients in Z{\mathbb Z} and a00.a_0 \neq 0\text{.} If p(x)p(x) has a zero in Q,{\mathbb Q}\text{,} then p(x)p(x) also has a zero α\alpha in Z.{\mathbb Z}\text{.} Furthermore, α\alpha divides a0.a_0\text{.}

Proof

Let p(x)p(x) have a zero aQ.a \in {\mathbb Q}\text{.} Then p(x)p(x) must have a linear factor xa.x-a\text{.} By Gauss's Lemma, p(x)p(x) has a factorization with a linear factor in Z[x].{\mathbb Z}[x]\text{.} Hence, for some αZ\alpha \in {\mathbb Z}

p(x)=(xα)(xn1+a0/α).\begin{equation*} p(x) = (x - \alpha)( x^{n - 1} + \cdots - a_0 / \alpha ). \end{equation*}

Thus a0/αZa_0 /\alpha \in {\mathbb Z} and so αa0.\alpha \mid a_0\text{.}

Example17.16

Let p(x)=x42x3+x+1.p(x) = x^4 - 2 x^3 + x + 1\text{.} We shall show that p(x)p(x) is irreducible over Q[x].{\mathbb Q}[x]\text{.} Assume that p(x)p(x) is reducible. Then either p(x)p(x) has a linear factor, say p(x)=(xα)q(x),p(x) = (x - \alpha) q(x)\text{,} where q(x)q(x) is a polynomial of degree three, or p(x)p(x) has two quadratic factors.

If p(x)p(x) has a linear factor in Q[x],{\mathbb Q}[x]\text{,} then it has a zero in Z.{\mathbb Z}\text{.} By Corollary 17.15, any zero must divide 1 and therefore must be ±1;\pm 1\text{;} however, p(1)=1p(1) = 1 and p(1)=3.p(-1)= 3\text{.} Consequently, we have eliminated the possibility that p(x)p(x) has any linear factors.

Therefore, if p(x)p(x) is reducible it must factor into two quadratic polynomials, say

p(x)=(x2+ax+b)(x2+cx+d)=x4+(a+c)x3+(ac+b+d)x2+(ad+bc)x+bd,\begin{align*} p(x) & = (x^2 + ax + b )( x^2 + cx + d )\\ & = x^4 + (a + c)x^3 + (ac + b + d)x^2 + (ad + bc)x + bd, \end{align*}

where each factor is in Z[x]{\mathbb Z}[x] by Gauss's Lemma. Hence,

a+c=2ac+b+d=0ad+bc=1bd=1.\begin{align*} a + c & = - 2\\ ac + b + d & = 0\\ ad + bc & = 1\\ bd & = 1. \end{align*}

Since bd=1,bd = 1\text{,} either b=d=1b = d = 1 or b=d=1.b = d = -1\text{.} In either case b=db = d and so

ad+bc=b(a+c)=1.\begin{equation*} ad + bc = b( a + c ) = 1. \end{equation*}

Since a+c=2,a + c = -2\text{,} we know that 2b=1.-2b = 1\text{.} This is impossible since bb is an integer. Therefore, p(x)p(x) must be irreducible over Q.{\mathbb Q}\text{.}

Theorem17.17Eisenstein's Criterion

Let pp be a prime and suppose that

f(x)=anxn++a0Z[x].\begin{equation*} f(x) = a_n x^n + \cdots + a_0 \in {\mathbb Z}[x]. \end{equation*}

If paip \mid a_i for i=0,1,,n1,i = 0, 1, \ldots, n-1\text{,} but panp \notdivide a_n and p2a0,p^2 \notdivide a_0\text{,} then f(x)f(x) is irreducible over Q.{\mathbb Q}\text{.}

Proof

By Gauss's Lemma, we need only show that f(x)f(x) does not factor into polynomials of lower degree in Z[x].{\mathbb Z}[x]\text{.} Let

f(x)=(brxr++b0)(csxs++c0)\begin{equation*} f(x) = (b_rx^r + \cdots + b_0)(c_s x^s + \cdots + c_0 ) \end{equation*}

be a factorization in Z[x],{\mathbb Z}[x]\text{,} with brb_r and csc_s not equal to zero and r,s<n.r, s \lt n\text{.} Since p2p^2 does not divide a0=b0c0,a_0 = b_0 c_0\text{,} either b0b_0 or c0c_0 is not divisible by p.p\text{.} Suppose that pb0p \notdivide b_0 and pc0.p \mid c_0\text{.} Since panp \notdivide a_n and an=brcs,a_n = b_r c_s\text{,} neither brb_r nor csc_s is divisible by p.p\text{.} Let mm be the smallest value of kk such that pck.p \notdivide c_k\text{.} Then

am=b0cm+b1cm1++bmc0\begin{equation*} a_m = b_0 c_m + b_1 c_{m - 1} + \cdots + b_m c_0 \end{equation*}

is not divisible by p,p\text{,} since each term on the right-hand side of the equation is divisible by pp except for b0cm.b_0 c_m\text{.} Therefore, m=nm = n since aia_i is divisible by pp for m<n.m \lt n\text{.} Hence, f(x)f(x) cannot be factored into polynomials of lower degree and therefore must be irreducible.

Example17.18

The polynomial

f(x)=16x59x4+3x2+6x21\begin{equation*} f(x) = 16 x^5 - 9 x^4 + 3x^2 + 6 x - 21 \end{equation*}

is easily seen to be irreducible over Q{\mathbb Q} by Eisenstein's Criterion if we let p=3.p = 3\text{.}

Eisenstein's Criterion is more useful in constructing irreducible polynomials of a certain degree over Q{\mathbb Q} than in determining the irreducibility of an arbitrary polynomial in Q[x]:{\mathbb Q}[x]\text{:} given an arbitrary polynomial, it is not very likely that we can apply Eisenstein's Criterion. The real value of Theorem 17.17 is that we now have an easy method of generating irreducible polynomials of any degree.

SubsectionIdeals in F[x]F\lbrack x \rbrack

Let FF be a field. Recall that a principal ideal in F[x]F[x] is an ideal p(x)\langle p(x) \rangle generated by some polynomial p(x);p(x)\text{;} that is,

p(x)={p(x)q(x):q(x)F[x]}.\begin{equation*} \langle p(x) \rangle = \{ p(x) q(x) : q(x) \in F[x] \}. \end{equation*}
Example17.19

The polynomial x2x^2 in F[x]F[x] generates the ideal x2\langle x^2 \rangle consisting of all polynomials with no constant term or term of degree 1.

Theorem17.20

If FF is a field, then every ideal in F[x]F[x] is a principal ideal.

Proof

Let II be an ideal of F[x].F[x]\text{.} If II is the zero ideal, the theorem is easily true. Suppose that II is a nontrivial ideal in F[x],F[x]\text{,} and let p(x)Ip(x) \in I be a nonzero element of minimal degree. If degp(x)=0,\deg p(x)= 0\text{,} then p(x)p(x) is a nonzero constant and 1 must be in I.I\text{.} Since 1 generates all of F[x],F[x]\text{,} 1=I=F[x]\langle 1 \rangle = I = F[x] and II is again a principal ideal.

Now assume that degp(x)1\deg p(x) \geq 1 and let f(x)f(x) be any element in I.I\text{.} By the division algorithm there exist q(x)q(x) and r(x)r(x) in F[x]F[x] such that f(x)=p(x)q(x)+r(x)f(x) = p(x) q(x) + r(x) and degr(x)<degp(x).\deg r(x) \lt \deg p(x)\text{.} Since f(x),p(x)If(x), p(x) \in I and II is an ideal, r(x)=f(x)p(x)q(x)r(x) = f(x) - p(x) q(x) is also in I.I\text{.} However, since we chose p(x)p(x) to be of minimal degree, r(x)r(x) must be the zero polynomial. Since we can write any element f(x)f(x) in II as p(x)q(x)p(x) q(x) for some q(x)F[x],q(x) \in F[x]\text{,} it must be the case that I=p(x).I = \langle p(x) \rangle\text{.}

Example17.21

It is not the case that every ideal in the ring F[x,y]F[x,y] is a principal ideal. Consider the ideal of F[x,y]F[x, y] generated by the polynomials xx and y.y\text{.} This is the ideal of F[x,y]F[x, y] consisting of all polynomials with no constant term. Since both xx and yy are in the ideal, no single polynomial can generate the entire ideal.

Theorem17.22

Let FF be a field and suppose that p(x)F[x].p(x) \in F[x]\text{.} Then the ideal generated by p(x)p(x) is maximal if and only if p(x)p(x) is irreducible.

Proof

Suppose that p(x)p(x) generates a maximal ideal of F[x].F[x]\text{.} Then p(x)\langle p(x) \rangle is also a prime ideal of F[x].F[x]\text{.} Since a maximal ideal must be properly contained inside F[x],F[x]\text{,} p(x)p(x) cannot be a constant polynomial. Let us assume that p(x)p(x) factors into two polynomials of lesser degree, say p(x)=f(x)g(x).p(x) = f(x) g(x)\text{.} Since p(x)\langle p(x) \rangle is a prime ideal one of these factors, say f(x),f(x)\text{,} is in p(x)\langle p(x) \rangle and therefore be a multiple of p(x).p(x)\text{.} But this would imply that p(x)f(x),\langle p(x) \rangle \subset \langle f(x) \rangle\text{,} which is impossible since p(x)\langle p(x) \rangle is maximal.

Conversely, suppose that p(x)p(x) is irreducible over F[x].F[x]\text{.} Let II be an ideal in F[x]F[x] containing p(x).\langle p(x) \rangle\text{.} By Theorem 17.20, II is a principal ideal; hence, I=f(x)I = \langle f(x) \rangle for some f(x)F[x].f(x) \in F[x]\text{.} Since p(x)I,p(x) \in I\text{,} it must be the case that p(x)=f(x)g(x)p(x) = f(x) g(x) for some g(x)F[x].g(x) \in F[x]\text{.} However, p(x)p(x) is irreducible; hence, either f(x)f(x) or g(x)g(x) is a constant polynomial. If f(x)f(x) is constant, then I=F[x]I = F[x] and we are done. If g(x)g(x) is constant, then f(x)f(x) is a constant multiple of II and I=p(x).I = \langle p(x) \rangle\text{.} Thus, there are no proper ideals of F[x]F[x] that properly contain p(x).\langle p(x)\rangle\text{.}

SubsectionHistorical Note

Throughout history, the solution of polynomial equations has been a challenging problem. The Babylonians knew how to solve the equation ax2+bx+c=0.ax^2 + bx + c = 0\text{.} Omar Khayyam (1048–1131) devised methods of solving cubic equations through the use of geometric constructions and conic sections. The algebraic solution of the general cubic equation ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0 was not discovered until the sixteenth century. An Italian mathematician, Luca Pacioli (ca. 1445–1509), wrote in Summa de Arithmetica that the solution of the cubic was impossible. This was taken as a challenge by the rest of the mathematical community.

Scipione del Ferro (1465–1526), of the University of Bologna, solved the “depressed cubic,”

ax3+cx+d=0.\begin{equation*} ax^3 + cx + d = 0. \end{equation*}

He kept his solution an absolute secret. This may seem surprising today, when mathematicians are usually very eager to publish their results, but in the days of the Italian Renaissance secrecy was customary. Academic appointments were not easy to secure and depended on the ability to prevail in public contests. Such challenges could be issued at any time. Consequently, any major new discovery was a valuable weapon in such a contest. If an opponent presented a list of problems to be solved, del Ferro could in turn present a list of depressed cubics. He kept the secret of his discovery throughout his life, passing it on only on his deathbed to his student Antonio Fior (ca. 1506–?).

Although Fior was not the equal of his teacher, he immediately issued a challenge to Niccolo Fontana (1499–1557). Fontana was known as Tartaglia (the Stammerer). As a youth he had suffered a blow from the sword of a French soldier during an attack on his village. He survived the savage wound, but his speech was permanently impaired. Tartaglia sent Fior a list of 30 various mathematical problems; Fior countered by sending Tartaglia a list of 30 depressed cubics. Tartaglia would either solve all 30 of the problems or absolutely fail. After much effort Tartaglia finally succeeded in solving the depressed cubic and defeated Fior, who faded into obscurity.

At this point another mathematician, Gerolamo Cardano (1501–1576), entered the story. Cardano wrote to Tartaglia, begging him for the solution to the depressed cubic. Tartaglia refused several of his requests, then finally revealed the solution to Cardano after the latter swore an oath not to publish the secret or to pass it on to anyone else. Using the knowledge that he had obtained from Tartaglia, Cardano eventually solved the general cubic

ax3+bx2+cx+d=0.\begin{equation*} a x^3 + bx^2 +cx +d = 0. \end{equation*}

Cardano shared the secret with his student, Ludovico Ferrari (1522–1565), who solved the general quartic equation,

ax4+bx3+cx2+dx+e=0.\begin{equation*} a x^4 + b x^3 + cx^2 + d x + e = 0. \end{equation*}

In 1543, Cardano and Ferrari examined del Ferro's papers and discovered that he had also solved the depressed cubic. Cardano felt that this relieved him of his obligation to Tartaglia, so he proceeded to publish the solutions in Ars Magna (1545), in which he gave credit to del Ferro for solving the special case of the cubic. This resulted in a bitter dispute between Cardano and Tartaglia, who published the story of the oath a year later.