From integer gcds to polynomial gcds
Chapter 7 showed that integer divisibility is controlled by gcds, the Euclidean algorithm, Bezout identities, and prime factorization. Chapter 8 repeats the same architecture for polynomials. The analogy is powerful, but there is one new subtlety: multiplying a polynomial by a nonzero constant does not change its divisibility behavior.
For example, and divide exactly the same polynomials up to a constant factor. To make a gcd unique, we choose the monic representative.
Polynomial divisibility and associates
Definition
Polynomial divisibility
For , we say that divides , written , if there exists such that
Two nonzero polynomials divide each other exactly when they differ by a nonzero constant factor.
Theorem
Mutual divisibility
For nonzero ,
for some nonzero constant .
The proof uses degrees. If and , then . Since , the product must be the constant polynomial , so both and are constant.
Greatest common divisors in R[x]
Definition
Greatest common divisor of polynomials
Let not both be zero. A polynomial is a greatest common divisor of and if
- and ;
- every common divisor of and divides .
The notation means the unique monic greatest common divisor.
The second condition is often more useful than the word "greatest." There is no natural ordering by size for polynomials, so the gcd is characterized by divisibility: it is the common divisor that absorbs every other common divisor.
Nonzero polynomials differing by a nonzero scalar are called associates. Nonzero constants are the units of a polynomial ring over a field: they have polynomial inverses. Conversely, if a product is , additivity of degree forces both factors to have degree zero. This explains why nonzero scalar factors are ignored in divisibility.
If both satisfy the gcd definition, each divides the other, so for a nonzero constant . If both are monic, comparison of leading coefficients gives . Any nonzero gcd becomes monic by division by its leading coefficient. This proves uniqueness of the normalized answer; existence will come from the Euclidean algorithm.
If has leading coefficient , then : every polynomial divides zero, so the common divisors are exactly the divisors of . The pair is excluded from our monic-gcd definition. No monic polynomial can absorb all its common divisors, since these include polynomials of arbitrarily large degree.
Common mistake
A gcd is monic by convention
If a Euclidean computation ends with , the gcd is not usually recorded as . Since , the monic gcd is .
The Euclidean algorithm for polynomials
Proof: What the Euclidean algorithm preserves and normalizes
Starting conditions. Work with , not both zero. Handle a zero input by the convention above; otherwise divide by a nonzero polynomial. Each division has remainder zero or remainder degree strictly below the divisor's degree. No degree of the zero polynomial is needed.
Invariant. The equations and prove both directions: a polynomial divides exactly when it divides . Thus each step preserves the whole collection of common divisors, not merely their degrees.
Termination and target. Nonzero remainder degrees form a strictly decreasing sequence of nonnegative integers. It cannot continue forever. At the final pair , every original common divisor divides , while itself divides both original inputs by the invariant. Hence is a gcd.
Normalization. If is the leading coefficient of , return . This scaling preserves divisibility and makes the answer monic. In the example below, and , so the result is . Any Bezout coefficients for must also be divided by ; changing only the left side would invalidate the identity.
Worked example
A polynomial Euclidean algorithm
Let
Successive divisions give
and
The last nonzero remainder is , so the monic gcd is
Bezout identities
The extended Euclidean algorithm also survives in .
Theorem
Polynomial Bezout identity
If are nonzero, then there exist such that
To prove existence, start with and . If two successive remainders have expressions , the next division gives
Thus every remainder has polynomial coefficients in a linear combination of . At termination, divide the final coefficients by the leading coefficient of the final nonzero remainder. This yields the monic gcd, proving Bezout's identity. If one input is zero, the formula still holds: for with leading coefficient , use coefficients for , and interchange them for .
For the example, set and . The recorded second division gives . Negate first, then substitute :
Consequently the explicit normalized identity is
This identity is more than a computational trick. It proves that if , then polynomial combinations of and can produce the constant polynomial . That is the engine behind many divisibility theorems.
A Bezout pair is not unique. If , then for any in the same coefficient field,
Both quotients are polynomials because divides ; the two added terms cancel. Normalizing the gcd fixes its value, not a unique pair of coefficients.
Definition
Relatively prime polynomials
Nonzero polynomials and are relatively prime if
Equivalently, there exist such that
Irreducible polynomials
Definition
Irreducible over a field
Let be a field. A nonconstant polynomial is irreducible over if it cannot be written as
with and
Irreducibility depends on the coefficient field.
Worked example
Changing the field can change irreducibility
The polynomial is irreducible over , but reducible over :
The polynomial is irreducible over , but reducible over :
Counterexample mode
No root in one field is not irreducibility in every field
The claim that irreducibility is unchanged when coefficients are enlarged is false. In the preceding examples, but , and but ; the new coefficients make the displayed linear factors available.
The correct test for a quadratic over a field is that it is irreducible if and only if it has no root in . A nontrivial factorization must have degrees , and a linear factor gives a root; conversely, a root gives a linear factor by the factor theorem. Thus has no rational root, while has no real root because for real . The test's degree-two hypothesis matters; this argument does not establish a no-root criterion for arbitrary degrees.
Over , every irreducible polynomial is linear, because the fundamental theorem of algebra gives a root for every nonconstant polynomial. Over , the irreducible polynomials are exactly:
- linear polynomials;
- quadratic polynomials with discriminant .
The quadratic case reflects complex conjugate roots. If , then
has real coefficients and no real linear factor.
For a real polynomial, nonreal roots occur with their conjugates. Pairing them gives these real quadratic factors; real roots give linear factors. A polynomial of higher degree therefore has a proper real factor. Conversely, linear polynomials are irreducible by degree, and a real quadratic with negative discriminant has no real root, so it is irreducible by the quadratic test. In the quadratic statement is understood.
Divisibility and factorization proofs
The following arguments work over a field , including , , and : polynomial division requires division by a nonzero leading coefficient, which is available in every field. The preceding gcd and Bezout proofs therefore apply in as well.
Theorem
An irreducible polynomial divides a product as a prime does
Let be a field, let be irreducible, and let . If , then . If , then or .
Put . Since , write . Irreducibility forces or to be constant. If is constant, it is nonzero and is an associate of ; then forces . When , this is impossible, so is constant, and its monic normalization is .
Now suppose . If , the desired conclusion already holds. Otherwise Bezout gives . Multiplication by yields . Both terms on the right are divisible by , so . This proves the prime property rather than assuming it in the definition of irreducibility.
Theorem
Solvability of a polynomial linear combination
Let be a field and , with not both zero. Put . There exist satisfying if and only if .
For necessity, implies , so any solution forces . For sufficiency, if , choose Bezout coefficients with . Multiplying by gives a solution , . This constructs a solution for every divisible right-hand side, rather than only ruling out impossible ones. If , treat the equation separately: it is solvable exactly when , independently of a gcd convention.
Theorem
Existence and uniqueness of irreducible factorization
Let be a field and be nonconstant. Then , where is nonzero and each is monic and irreducible. The scalar and the multiset of monic factors are unique; factors may be repeated, and their order is irrelevant.
Existence. Use induction on the positive degree of . Degree-one polynomials are irreducible. If is already irreducible, normalize it and keep its leading coefficient as the scalar. Otherwise with both factors of positive degree strictly below . Induction factors and into irreducibles, so multiplying gives a factorization of . Normalizing every factor collects all nonzero scalar factors into . Strict degree decrease supplies termination; repeated factors are allowed.
Uniqueness. Suppose are two such factorizations. The prime property applied repeatedly shows that divides some : it cannot divide the nonzero constant , since it has positive degree. Irreducibility of makes the quotient constant, and monicity forces . Reorder and cancel this common nonzero factor; cancellation is valid because a polynomial ring over a field has no zero divisors. Repeat. If one list ended before the other, a nonzero constant would equal a positive-degree product, impossible by degree. Hence the lists match, including multiplicities, and the remaining equality is .
Follow the polynomial Euclidean algorithm produce a monic gcd, reverse into a Bezout identity, and support field-dependent irreducibility tests.
Monic gcd
Scalar multiples such as x-1, 5x-5, and -2x+2 have the same divisibility behavior, so gcds are recorded using the monic representative.
Euclidean invariant
From f=gq+r, the common divisors of f and g are exactly the common divisors of g and r; hence gcd(f,g)=gcd(g,r).
Example chain
For the chapter example, the remainders are r1=-6x^2-3x+9, r2=-x+1, and then 0.
Back-substitution
The last nonzero remainder -x+1 is normalized to x-1, then reversed into x-1=(-1/3x+1/3)f+(2/3x^2-2/3x-1)g.
Field dependence
Irreducibility depends on the field: x^2-2 changes between Q and R, while x^2+1 changes between R and C.
Prime-like role
If p is irreducible and p does not divide a, Bezout gives ua+vp=1; multiplying by b explains why p|ab forces p|b.
Polynomial gcd work has three linked layers: normalize associates to a monic gcd, preserve common divisors through the Euclidean remainder chain, and use Bezout to prove irreducible-polynomial divisibility tests.
Worked example: the solvability criterion
Worked example
Use gcd to decide a polynomial equation
Determine whether there exist such that
The left side is a polynomial combination of and . Since
we have
By the polynomial Bezout-solvability criterion, the equation has a solution only if divides . It does not, because substituting gives . Therefore no such polynomials and exist.
Common mistakes
Common mistake
Treating scalar multiples as different gcd answers
In , , , and have the same divisibility content. Only is the monic representative, so it is the standard value of the gcd.
Common mistake
Saying irreducible without naming the field
The phrase " is irreducible" is incomplete. It is irreducible over , but reducible over . Always state the coefficient field when irreducibility is the issue.
Summary
Polynomial gcd theory copies the structure of integer gcd theory, with degree replacing size and monic normalization replacing positivity. The Euclidean algorithm computes a gcd by preserving common divisors while lowering degree. The extended algorithm gives Bezout identities. Irreducible polynomials play the role of primes, but irreducibility depends on the field: over only linear polynomials are irreducible, while over irreducibles are linear polynomials and quadratics with negative discriminant.
Study guide for the exercises
When a problem asks for a Bezout identity, keep a record of each division equation. The gcd is found by running the Euclidean algorithm downward, but the Bezout expression is found by running the equations backward. Students often make errors by changing a remainder without updating the earlier equation it came from. A useful check is to expand the final and verify that every higher-degree term cancels.
For irreducibility questions, the coefficient field is part of the problem. A quadratic with no rational root may still factor over ; a quadratic with no real root will factor over . Over , the discriminant test is enough for quadratics. Over , rational-root and number-system information matters. For example, is irreducible over because is not rational, but it is reducible over .
Quick checks
Checkpoint
Why do we choose the monic gcd in ?
Think about multiplying a common divisor by a nonzero constant.
Solution · Answer
Greatest common divisors are unique only up to a nonzero constant factor, so choosing the monic representative makes the notation unique.
Checkpoint
What is the monic gcd of and ?
Normalize the nonzero polynomial.
Solution · Answer
The gcd is , because and the monic representative is .
Checkpoint
Is irreducible over ? Is it irreducible over ?
Use the available roots in each field.
Solution · Answer
It is irreducible over because it has no real root, but it is reducible over since .
Exercises
In Exercises 4 and 5, fix a field ; all polynomials belong to , and irreducibility is over .
- Use the Euclidean algorithm to compute in .
- In the worked example, verify the Bezout identity for by expanding the right-hand side.
- Decide whether is irreducible over , , and .
- Prove: if is irreducible and , then .
- Prove: if is irreducible and , then or .
- Determine whether there exist such that .
Solution · Model solution 1
Divide , then . The last nonzero remainder is already monic, so it is the gcd.
Solution · Model solution 2
Write and . Expanding the two products gives
The coefficients of cancel in pairs. The remaining terms give
The last nonzero remainder was . Making it monic divides both the remainder and its two Bezout coefficients by ; the used here already include that normalization.
Solution · Model solution 3
is irreducible over because ; reducible over as ; and therefore reducible over .
Solution · Model solution 4
Since is irreducible, its only divisors up to constants are and . If , the gcd cannot have degree , so it must be .
Solution · Model solution 5
From part 4, if , then . Choose with . Multiplying by gives ; both terms on the left are divisible by , so .
Solution · Model solution 6
The gcd of and is . Since does not divide , no such exist.