콘텐츠로 이동

23. Factorization of Polynomials over a Field

The Division Algorithm in \(F[x]\)

Theorem 23.1 : Division algorithm for \(F[x]\)

Let

\[ f(x)=a_{n} x^{n}+a_{n-1} x^{n-1}+\cdots+a_{0} \]

and

\[ g(x)=b_{m} x^{m}+b_{m-1} x^{m-1}+\cdots+b_{0} \]

be two elements of \(F[x]\), where \(a_{n}\) and \(b_{m}\) are nonzero elements of \(F\) and \(m>0\). Then there are unique polynomials \(q(x)\) and \(r(x)\) in \(F[x]\) such that

\[ f(x)=g(x) q(x)+r(x), \]

where either \(r(x)=0\) or \(\deg r(x)<m\).

Proof

Consider the set

\[ S=\{f(x)-g(x) s(x) \mid s(x) \in F[x]\}. \]

If \(0 \in S\), then there exists \(s(x) \in F[x]\) such that \(f(x)-g(x)s(x)=0\). Thus \(f(x)=g(x)s(x)\), and we may take \(q(x)=s(x)\) and \(r(x)=0\).

Otherwise, choose an element \(r(x)\) of minimal degree in \(S\). Then for some \(q(x) \in F[x]\) we have

\[ f(x)=g(x)q(x)+r(x). \]

We show that \(\deg r(x)<m\). Write

\[ r(x)=c_{t}x^{t}+c_{t-1}x^{t-1}+\cdots+c_{0}, \]

where each \(c_{j} \in F\) and \(c_{t} \neq 0\). Suppose, for contradiction, that \(t \geq m\). Then

\[ f(x)-q(x)g(x)-\left(c_{t}/b_{m}\right)x^{t-m}g(x)=r(x)-\left(c_{t}/b_{m}\right)x^{t-m}g(x). \]

The right-hand side is

\[ r(x)-\left(c_{t}x^{t}+\text { terms of lower degree }\right), \]

so it has degree lower than \(t\). But the same polynomial can also be written as

\[ f(x)-g(x)\left[q(x)+\left(c_{t}/b_{m}\right)x^{t-m}\right], \]

so it belongs to \(S\). This contradicts the choice of \(r(x)\) as an element of minimal degree in \(S\). Hence \(\deg r(x)<m\).

It remains to prove uniqueness. Suppose

\[ f(x)=g(x)q_{1}(x)+r_{1}(x) \]

and

\[ f(x)=g(x)q_{2}(x)+r_{2}(x), \]

where each remainder is either \(0\) or has degree less than \(m\). Subtracting gives

\[ g(x)\left[q_{1}(x)-q_{2}(x)\right]=r_{2}(x)-r_{1}(x). \]

The right-hand side is either \(0\) or has degree less than the degree of \(g(x)\). This can hold only if \(q_{1}(x)-q_{2}(x)=0\). Therefore \(q_{1}(x)=q_{2}(x)\), and then \(r_{2}(x)-r_{1}(x)=0\). Hence \(r_{1}(x)=r_{2}(x)\), so both the quotient and the remainder are unique.

Example 23.2 : Division in \(\mathbb{Z}_{5}[x]\)

Work in \(\mathbb{Z}_{5}[x]\) and divide

\[ f(x)=x^{4}-3 x^{3}+2 x^{2}+4 x-1 \]

by \(g(x)=x^{2}-2 x+3\) to find \(q(x)\) and \(r(x)\) from Theorem 23.1. During the long division, remember that all coefficients are computed in \(\mathbb{Z}_{5}\), so \(4 x-(-3 x)=2 x\). The computation gives

\[ x^{4}-3 x^{3}+2 x^{2}+4 x-1=\left(x^{2}-2 x+3\right)\left(x^{2}-x-3\right)+(x+3). \]

Thus

\[ q(x)=x^{2}-x-3, \quad \text { and } \quad r(x)=x+3. \]

Corollary 23.3 : Factor theorem

An element \(a \in F\) is a zero of \(f(x) \in F[x]\) if and only if \(x-a\) is a factor of \(f(x)\) in \(F[x]\).

Proof

Suppose first that \(a \in F\) and \(f(a)=0\). By Theorem 23.1, there exist \(q(x), r(x) \in F[x]\) such that

\[ f(x)=(x-a) q(x)+r(x), \]

where either \(r(x)=0\) or the degree of \(r(x)\) is less than \(1\). Thus \(r(x)=c\) for some \(c \in F\), so

\[ f(x)=(x-a) q(x)+c. \]

Applying the evaluation homomorphism \(\phi_{a}: F[x] \rightarrow F\) of Theorem 22.4 gives

\[ 0=f(a)=0 q(a)+c, \]

so \(c=0\). Hence \(f(x)=(x-a) q(x)\), and therefore \(x-a\) is a factor of \(f(x)\).

Conversely, suppose that \(x-a\) is a factor of \(f(x)\) in \(F[x]\). Then \(f(x)=(x-a) q(x)\) for some \(q(x) \in F[x]\). Applying the evaluation homomorphism \(\phi_{a}\) gives \(f(a)=0 q(a)=0\). Thus \(a\) is a zero of \(f(x)\).

Corollary 23.4 : Zeros of a nonzero polynomial

A nonzero polynomial \(f(x) \in F[x]\) of degree \(n\) can have at most \(n\) zeros in a field \(F\).

Proof

By Corollary 23.3, if \(a_{1} \in F\) is a zero of \(f(x)\), then

\[ f(x)=\left(x-a_{1}\right) q_{1}(x), \]

where the degree of \(q_{1}(x)\) is \(n-1\). If \(a_{2} \in F\) is a zero of \(q_{1}(x)\), then we get a factorization

\[ f(x)=\left(x-a_{1}\right)\left(x-a_{2}\right) q_{2}(x). \]

Continuing this process, we arrive at

\[ f(x)=\left(x-a_{1}\right) \cdots\left(x-a_{r}\right) q_{r}(x), \]

where \(q_{r}(x)\) has no further zeros in \(F\). Since the degree of \(f(x)\) is \(n\), at most \(n\) factors of the form \(\left(x-a_{i}\right)\) can appear on the right-hand side, so \(r \leq n\). Now suppose that \(b \in F\) and \(b \neq a_{i}\) for \(i=1,\cdots,r\). Then

\[ f(b)=\left(b-a_{1}\right) \cdots\left(b-a_{r}\right) q_{r}(b) \neq 0 \]

because \(F\) has no divisors of \(0\), none of the factors \(b-a_{i}\) is \(0\), and \(q_{r}(b)\) is not \(0\) by construction. Hence the elements \(a_{i}\) for \(i=1,\cdots,r \leq n\) are all the zeros in \(F\) of \(f(x)\).

Corollary 23.5 : Finite subgroups of a field's multiplicative group are cyclic

If \(G\) is a finite subgroup of the multiplicative group \(\left\langle F^{*}, \cdot\right\rangle\) of a field \(F\), then \(G\) is cyclic. In particular, the multiplicative group of all nonzero elements of a finite field is cyclic.

Proof

By Theorem 11.13, as a finite abelian group, \(G\) is isomorphic to a direct product \(\mathbb{Z}_{d_{1}} \times \mathbb{Z}_{d_{2}} \times \cdots \times \mathbb{Z}_{d_{r}}\), where each \(d_{i}\) is a power of a prime. Regard each \(\mathbb{Z}_{d_{i}}\) as a cyclic group of order \(d_{i}\) in multiplicative notation. Let \(m\) be the least common multiple of all the \(d_{i}\) for \(i=1,2, \cdots, r\). Then \(m \leq d_{1} d_{2} \cdots d_{r}\). If \(a_{i} \in \mathbb{Z}_{d_{i}}\), then \(a_{i}^{d_{i}}=1\), and hence \(a_{i}^{m}=1\) because \(d_{i}\) divides \(m\). Thus for every \(\alpha \in G\), we have \(\alpha^{m}=1\), so every element of \(G\) is a zero of \(x^{m}-1\). But \(G\) has \(d_{1} d_{2} \cdots d_{r}\) elements, while \(x^{m}-1\) can have at most \(m\) zeros in the field \(F\) by Corollary 23.4. Therefore \(m \geq d_{1} d_{2} \cdots d_{r}\). Hence \(m=d_{1} d_{2} \cdots d_{r}\). It follows that the primes involved in the prime powers \(d_{1}, d_{2}, \cdots, d_{r}\) are distinct, and therefore \(G\) is isomorphic to the cyclic group \(\mathbb{Z}_{m}\).

Irreducible Polynomials

Definition 23.6 : Irreducible polynomial

A nonconstant polynomial \(f(x) \in F[x]\) is irreducible over \(F\), or is an irreducible polynomial in \(F[x]\), if \(f(x)\) cannot be expressed as a product \(g(x) h(x)\) of two polynomials \(g(x)\) and \(h(x)\) in \(F[x]\) both of lower degree than the degree of \(f(x)\). If \(f(x) \in F[x]\) is a nonconstant polynomial that is not irreducible over \(F\), then \(f(x)\) is reducible over \(F\).

Example 23.7 : Irreducibility of \(x^{2}-2\) over \(\mathbb{Q}\)

According to Theorem 22.11, the polynomial \(x^{2}-2\), viewed in \(\mathbb{Q}[x]\), has no zeros in \(\mathbb{Q}\). Therefore \(x^{2}-2\) is irreducible over \(\mathbb{Q}\). Indeed, a factorization

\[ x^{2}-2=(a x+b)(c x+d) \]

with \(a,b,c,d \in \mathbb{Q}\) would give rise to zeros of \(x^{2}-2\) in \(\mathbb{Q}\).

However, \(x^{2}-2\) is not irreducible over \(\mathbb{R}\). In \(\mathbb{R}[x]\), it factors as

\[ x^{2}-2=(x-\sqrt{2})(x+\sqrt{2}). \]

Concept 23.8 : Another definition of irreducible polynomials

It is worthwhile to remember that the units in \(F[x]\) are precisely the nonzero elements of \(F\).

Thus an irreducible polynomial \(f(x)\) could also be defined as a nonconstant polynomial such that, in any factorization \(f(x)=g(x)h(x)\) in \(F[x]\), either \(g(x)\) or \(h(x)\) is a unit.

Example 23.9 : Irreducibility over \(\mathbb{Z}_{5}\)

Let us show that \(f(x)=x^{3}+3 x+2\), viewed in \(\mathbb{Z}_{5}[x]\), is irreducible over \(\mathbb{Z}_{5}\). If \(x^{3}+3 x+2\) factored in \(\mathbb{Z}_{5}[x]\) into polynomials of lower degree, then there would be at least one linear factor of \(f(x)\) of the form \(x-a\) for some \(a \in \mathbb{Z}_{5}\). Then \(f(a)\) would be \(0\) by Corollary 23.3. However, \(f(0)=2\), \(f(1)=1\), \(f(-1)=-2\), \(f(2)=1\), and \(f(-2)=-2\). Thus \(f(x)\) has no zeros in \(\mathbb{Z}_{5}\). Therefore \(f(x)\) is irreducible over \(\mathbb{Z}_{5}\). This test for irreducibility by finding zeros works nicely for quadratic and cubic polynomials over a finite field with a small number of elements.

Theorem 23.10 : Reducibility for degree 2 or 3 polynomials

Let \(f(x) \in F[x]\), and let \(f(x)\) have degree \(2\) or \(3\). Then \(f(x)\) is reducible over \(F\) if and only if it has a zero in \(F\).

Proof

Suppose first that \(f(x)\) is reducible, so that \(f(x)=g(x)h(x)\), where both \(g(x)\) and \(h(x)\) have degree less than the degree of \(f(x)\). Since \(f(x)\) is either quadratic or cubic, either \(g(x)\) or \(h(x)\) has degree \(1\). If, say, \(g(x)\) has degree \(1\), then except for a possible factor in \(F\), \(g(x)\) is of the form \(x-a\). Hence \(g(a)=0\), and therefore \(f(a)=0\). Thus \(f(x)\) has a zero in \(F\).

Conversely, if \(f(a)=0\) for some \(a \in F\), then according to Corollary 23.3, \(x-a\) is a factor of \(f(x)\). Therefore \(f(x)\) is reducible.

Theorem 23.11 : Factorization over \(\mathbb{Q}[x]\) and \(\mathbb{Z}[x]\)

Let \(f(x) \in \mathbb{Z}[x]\). Then \(f(x)\) factors into a product of two polynomials of lower degrees \(r\) and \(s\) in \(\mathbb{Q}[x]\) if and only if it has such a factorization with polynomials of the same degrees \(r\) and \(s\) in \(\mathbb{Z}[x]\).

Proof

A factorization in \(\mathbb{Z}[x]\) is also a factorization in \(\mathbb{Q}[x]\), since \(\mathbb{Z} \subseteq \mathbb{Q}\).

Conversely, suppose \(f(x)=g(x)h(x)\) in \(\mathbb{Q}[x]\), where \(\deg g=r\) and \(\deg h=s\). Clearing denominators and dividing out the greatest common divisor of the resulting integer coefficients, write \(g(x)=aG(x)\) and \(h(x)=bH(x)\), where \(a,b \in \mathbb{Q}\) are nonzero and \(G,H \in \mathbb{Z}[x]\) each have coefficients with greatest common divisor \(1\). Such integer polynomials are called primitive.

The product \(G(x)H(x)\) is primitive as well. Indeed, if a prime \(p\) divided every coefficient of \(GH\), reducing coefficients modulo \(p\) would give \(\overline{G}\,\overline{H}=0\) in \((\mathbb{Z}/p\mathbb{Z})[x]\). Since \(G\) and \(H\) are primitive, both reductions are nonzero. Their leading coefficients have nonzero product in the field \(\mathbb{Z}/p\mathbb{Z}\), so their product cannot be zero, a contradiction.

Write \(ab=m/n\) with \(m,n \in \mathbb{Z}\), \(n>0\), and \(\gcd(m,n)=1\). Then

\[ f(x)=\frac{m}{n}G(x)H(x). \]

Since every coefficient of \(f\) is an integer, \(n\) divides \(m\) times every coefficient of \(GH\). Coprimality of \(m\) and \(n\) implies that \(n\) divides every coefficient of \(GH\). Since \(GH\) is primitive, \(n=1\). Consequently,

\[ f(x)=\bigl(mG(x)\bigr)H(x) \]

is a factorization in \(\mathbb{Z}[x]\). Multiplication by a nonzero scalar preserves degree, so \(\deg(mG)=r\) and \(\deg H=s\), as required.

Corollary 23.12 : Rational zeros of monic integer polynomials

If \(f(x)=x^{n}+a_{n-1} x^{n-1}+\cdots+a_{0}\) is in \(\mathbb{Z}[x]\) with \(a_{0} \neq 0\), and if \(f(x)\) has a zero in \(\mathbb{Q}\), then it has a zero \(m\) in \(\mathbb{Z}\), and \(m\) must divide \(a_{0}\).

Proof

Suppose that \(f(x)\) has a zero \(a\) in \(\mathbb{Q}\). Then \(f(x)\) has a linear factor \(x-a\) in \(\mathbb{Q}[x]\) by Corollary 23.3. By Theorem 23.11, \(f(x)\) has a factorization with a linear factor in \(\mathbb{Z}[x]\). Therefore, for some \(m \in \mathbb{Z}\), we must have

\[ f(x)=(x-m)\left(x^{n-1}+\cdots-a_{0} / m\right). \]

Thus \(a_{0} / m\) is in \(\mathbb{Z}\), so \(m\) divides \(a_{0}\).

Example 23.13 : Irreducibility over \(\mathbb{Q}\)

We show that

\[ f(x)=x^{4}-2 x^{2}+8 x+1 \]

is irreducible over \(\mathbb{Q}\) when viewed as a polynomial in \(\mathbb{Q}[x]\). First suppose that \(f(x)\) has a linear factor in \(\mathbb{Q}[x]\). Then \(f(x)\) has a zero in \(\mathbb{Z}\), and by Corollary 23.12, this zero must divide \(1\) in \(\mathbb{Z}\). Thus the only possibilities are \(1\) and \(-1\). But \(f(1)=8\) and \(f(-1)=-8\), so no linear factor is possible.

It remains to rule out a factorization into two quadratic factors in \(\mathbb{Q}[x]\). If such a factorization existed, then by Theorem 23.11, \(f(x)\) would have a factorization

\[ \left(x^{2}+a x+b\right)\left(x^{2}+c x+d\right) \]

in \(\mathbb{Z}[x]\). Equating coefficients gives

\[ b d=1, \quad a d+b c=8, \quad a c+b+d=-2, \quad \text { and } \quad a+c=0 \]

for integers \(a, b, c, d \in \mathbb{Z}\). From \(b d=1\), either \(b=d=1\) or \(b=d=-1\). In both cases, \(b=d\). Therefore \(a d+b c=d(a+c)\), so the equation \(a d+b c=8\) gives \(d(a+c)=8\). This is impossible because \(a+c=0\). Hence a factorization into two quadratic polynomials is impossible. Since neither a linear factor nor a product of two quadratic factors can occur, \(f(x)\) is irreducible over \(\mathbb{Q}\).

Theorem 23.14 : Eisenstein criterion

Let \(p \in \mathbb{Z}\) be a prime. Suppose that \(f(x)=a_{n} x^{n}+\cdots+a_{0}\) is in \(\mathbb{Z}[x]\), with \(a_{n} \not \equiv 0(\bmod p)\), while \(a_{i} \equiv 0(\bmod p)\) for all \(i<n\) and \(a_{0} \not \equiv 0\left(\bmod p^{2}\right)\). Then \(f(x)\) is irreducible over \(\mathbb{Q}\).

Proof

By Theorem 23.11, it is enough to show that \(f(x)\) does not factor into polynomials of lower degree in \(\mathbb{Z}[x]\). Suppose, toward a contradiction, that

\[ f(x)=\left(b_{r} x^{r}+\cdots+b_{0}\right)\left(c_{s} x^{s}+\cdots+c_{0}\right) \]

is a factorization in \(\mathbb{Z}[x]\), where \(b_{r} \neq 0\), \(c_{s} \neq 0\), and \(r,s<n\). Since \(a_{0}=b_{0}c_{0}\) and \(a_{0} \not \equiv 0\left(\bmod p^{2}\right)\), the constants \(b_{0}\) and \(c_{0}\) are not both congruent to \(0\) modulo \(p\). Because \(a_{0} \equiv 0(\bmod p)\), exactly one of \(b_{0}\) and \(c_{0}\) is congruent to \(0\) modulo \(p\). After interchanging the two factors if necessary, suppose that \(b_{0} \not \equiv 0(\bmod p)\) and \(c_{0} \equiv 0(\bmod p)\). Also \(a_{n}=b_{r}c_{s}\) and \(a_{n} \not \equiv 0(\bmod p)\), so \(b_{r} \not \equiv 0(\bmod p)\) and \(c_{s} \not \equiv 0(\bmod p)\). Let \(m\) be the smallest value of \(k\) such that \(c_{k} \not \equiv 0(\bmod p)\). Then

\[ a_{m}=b_{0} c_{m}+b_{1} c_{m-1}+\cdots+\left\{\begin{array}{l} b_{m} c_{0} \text { if } r \geq m, \\ b_{r} c_{m-r} \text { if } r<m . \end{array}\right. \]

Here neither \(b_{0}\) nor \(c_{m}\) is congruent to \(0\) modulo \(p\), while \(c_{m-1},\ldots,c_{0}\) are all congruent to \(0\) modulo \(p\). Therefore \(a_{m} \not \equiv 0(\bmod p)\). Since \(a_{i} \equiv 0(\bmod p)\) for all \(i<n\), this forces \(m=n\). Consequently \(s=n\), contradicting the assumption that \(s<n\). Thus no such nontrivial factorization exists in \(\mathbb{Z}[x]\), and hence \(f(x)\) is irreducible over \(\mathbb{Q}\).

Corollary 23.15 : Irreducibility of the \(p^{\text {th }}\) cyclotomic polynomial

Let \(p\) be a prime. The polynomial

\[ \Phi_{p}(x)=\frac{x^{p}-1}{x-1}=x^{p-1}+x^{p-2}+\cdots+x+1 \]

is irreducible over \(\mathbb{Q}\). This polynomial is the \(p^{\text {th }}\) cyclotomic polynomial.

Proof

By Theorem 23.11, it is enough to consider factorizations in \(\mathbb{Z}[x]\). Use the evaluation homomorphism \(\phi_{x+1}: \mathbb{Q}[x] \rightarrow \mathbb{Q}[x]\), and write \(\phi_{x+1}(f(x))\) as \(f(x+1)\). Set

\[ g(x)=\Phi_{p}(x+1)=\frac{(x+1)^{p}-1}{(x+1)-1}=\frac{x^{p}+\left(\begin{array}{c} p \\ 1 \end{array}\right) x^{p-1}+\cdots+p x}{x}. \]

For \(0<r<p\), the coefficient of \(x^{p-r}\) is the binomial coefficient \(p ! /[r !(p-r) !]\). This coefficient is divisible by \(p\), because \(p\) divides \(p!\) but does not divide either \(r!\) or \((p-r)!\) when \(0<r<p\). Thus

\[ g(x)=x^{p-1}+\left(\begin{array}{c} p \\ 1 \end{array}\right) x^{p-2}+\cdots+p \]

satisfies the Eisenstein criterion (Theorem 23.14) for the prime \(p\), and hence is irreducible over \(\mathbb{Q}\). If \(\Phi_{p}(x)=h(x) r(x)\) were a nontrivial factorization in \(\mathbb{Z}[x]\), then

\[ \Phi_{p}(x+1)=g(x)=h(x+1) r(x+1) \]

would give a nontrivial factorization of \(g(x)\) in \(\mathbb{Z}[x]\). This contradicts the irreducibility of \(g(x)\), so \(\Phi_{p}(x)\) is irreducible over \(\mathbb{Q}\).

Uniqueness of Factorization in \(F[x]\)

Theorem 23.16 : Irreducible divisor of a product

Let \(p(x)\) be an irreducible polynomial in \(F[x]\). If \(p(x)\) divides \(r(x) s(x)\) for \(r(x),s(x) \in F[x]\), then either \(p(x)\) divides \(r(x)\) or \(p(x)\) divides \(s(x)\).

Proof

The proof is delayed to Section 27. See Theorem 27.24.

Corollary 23.17 : Irreducible divisor of a finite product

If \(p(x)\) is irreducible in \(F[x]\) and \(p(x)\) divides the product \(r_{1}(x) \cdots r_{n}(x)\) for \(r_{i}(x) \in F[x]\), then \(p(x)\) divides \(r_{i}(x)\) for at least one \(i\).

Proof

Using mathematical induction, this follows immediately from Theorem 23.16.

Theorem 23.18 : Unique factorization in \(F[x]\)

If \(F\) is a field, then every nonconstant polynomial \(f(x) \in F[x]\) can be factored in \(F[x]\) into a product of irreducible polynomials. The irreducible factors are unique except for order and for multiplication by units in \(F[x]\), that is, by nonzero constant factors in \(F\).

Proof

Let \(f(x) \in F[x]\) be a nonconstant polynomial. If \(f(x)\) is not irreducible, then \(f(x)=g(x) h(x)\), where both \(g(x)\) and \(h(x)\) have degree less than the degree of \(f(x)\). If \(g(x)\) and \(h(x)\) are both irreducible, the process stops. If not, at least one of them factors into polynomials of still lower degree. Continuing this process, we eventually obtain a factorization

\[ f(x)=p_{1}(x) p_{2}(x) \cdots p_{r}(x), \]

where \(p_{i}(x)\) is irreducible for \(i=1,2, \cdots, r\).

It remains to prove uniqueness. Suppose that

\[ f(x)=p_{1}(x) p_{2}(x) \cdots p_{r}(x)=q_{1}(x) q_{2}(x) \cdots q_{s}(x) \]

are two factorizations of \(f(x)\) into irreducible polynomials. By Corollary 23.17, \(p_{1}(x)\) divides some \(q_{j}(x)\). After reordering the \(q_{j}(x)\) if necessary, assume that \(p_{1}(x)\) divides \(q_{1}(x)\). Since \(q_{1}(x)\) is irreducible, we have

\[ q_{1}(x)=u_{1} p_{1}(x), \]

where \(u_{1} \neq 0\) and \(u_{1} \in F\), so \(u_{1}\) is a unit. Substituting \(u_{1} p_{1}(x)\) for \(q_{1}(x)\) and canceling gives

\[ p_{2}(x) \cdots p_{r}(x)=u_{1} q_{2}(x) \cdots q_{s}(x). \]

Repeating the same argument, we may write \(q_{2}(x)=u_{2} p_{2}(x)\), and then

\[ p_{3}(x) \cdots p_{r}(x)=u_{1} u_{2} q_{3}(x) \cdots q_{s}(x). \]

Continuing in this way, we arrive at

\[ 1=u_{1} u_{2}\cdots u_{r} q_{r+1}(x)\cdots q_{s}(x). \]

This is possible only if \(s=r\), so the equation is actually \(1=u_{1} u_{2}\cdots u_{r}\). Hence the irreducible factors in the two factorizations are the same except possibly for order and unit factors.