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 g(x) divides f(x), 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 1, so both and are constant.
Greatest common divisors in R[x]
Definition
Greatest common divisor of polynomials
Let not both be zero. A polynomial d(x) is a greatest
common divisor of f and g if
- and ;
- every common divisor of
fandgdividesd(x).
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.
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
The division algorithm immediately gives the polynomial Euclidean algorithm. If
then
Indeed, every common divisor of f and g divides , and every common
divisor of g and r divides .
Repeating this step produces remainders of strictly decreasing degree, so the algorithm must stop. The last nonzero remainder, made monic, is the gcd.
Worked example
A polynomial Euclidean algorithm
Let
The slide computation gives
and
The last nonzero remainder is , so the monic gcd is
Bezout identities
The extended Euclidean algorithm also survives in R[x].
Theorem
Polynomial Bezout identity
If are nonzero, then there exist such that
For the worked example above, back-substitution gives
This identity is more than a computational trick. It proves that if
, then polynomial combinations of f and g can produce the
constant polynomial 1. That is the engine behind many divisibility theorems.
Definition
Relatively prime polynomials
Nonzero polynomials f(x) and g(x) 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 :
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.
Divisibility principles for irreducibles
Irreducible polynomials behave like primes.
Theorem
Irreducible-divisibility principles
Let p(x) be irreducible over .
- If , then .
- If , then or .
- The equation has polynomial solutions if and only if .
- Every nonconstant polynomial over a field factors into irreducibles, uniquely up to order and nonzero constant factors.
The proofs mirror the integer proofs from chapter 7. The Bezout identity gives
the key step. For example, if p is irreducible and , then
, so
Multiplying by b(x) shows that if , then .
Proof sketch or proof idea
The safest way to reason about polynomial gcds is to avoid thinking of a gcd as "the biggest expression." Polynomials do not come with a natural size order that behaves like the order on positive integers. Instead, the gcd is the common divisor that is divisible by every other common divisor. This is why the second clause in the definition is the real content.
The Euclidean step
is just a divisibility equivalence. If a polynomial divides both f and g,
it divides . Conversely, if it divides both g and r, it divides
. Thus the two pairs have exactly the same common divisors, and hence
the same monic gcd. The only algorithmic ingredient is that ,
so the sequence of degrees strictly decreases.
Bezout's identity is obtained by keeping the quotient equations instead of
throwing them away. Each remainder is a polynomial combination of the two
previous remainders. Since the first two remainders are f and g, every later
remainder is a polynomial combination of f and g. The final nonzero
remainder is a constant multiple of the gcd, and after making it monic we get
This proof also explains why Bezout identities are not unique. Once one pair
a,b works, other pairs may be obtained by adding and subtracting suitable
multiples of and . In checkpoint problems, a prompt
must either ask for a specific Euclidean back-substitution pair or check the
identity itself.
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 u and v exist.
Common mistakes
Common mistake
Treating scalar multiples as different gcd answers
In R[x], , , 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 polynomial gcd, decide first whether factoring is obvious. If both polynomials factor cleanly, the common monic factors can be read directly. If not, use the Euclidean algorithm exactly as with integers: divide, replace the pair by divisor and remainder, and repeat until the remainder is zero. The last nonzero remainder may need to be multiplied by a nonzero constant to make it monic.
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 .
For proof questions, reuse the integer chapter deliberately. The statement
"irreducible divides a product implies it divides a factor" is not magic; it is
Bézout plus multiplication. If , then , so
. Multiplying by b turns this identity into a divisibility proof
for b whenever p divides ab.
Quick checks
Quick check
Why do we choose the monic gcd in R[x]?
Think about multiplying a common divisor by a nonzero constant.
Solution
Answer
Quick check
What is the monic gcd of and 0?
Normalize the nonzero polynomial.
Solution
Answer
Quick check
Is irreducible over ? Is it irreducible over ?
Use the available roots in each field.
Solution
Answer
Exercises
- Use the Euclidean algorithm to compute
in
R[x]. - In the worked example, verify the Bezout identity for by expanding the right-hand side.
- Decide whether is irreducible over , , and .
- Prove: if
p(x)is irreducible and , then . - Prove: if
p(x)is irreducible and , then or . - Determine whether there exist such that .
Solution