Polynomial Rings and Division
For a field , is the ring of polynomials with coefficients in . Over a field, , and the division algorithm holds: for and nonzero there are unique with and either or .
behaves remarkably like the integers: there is a "size" (the degree) and long division always works, because the leading coefficient of can be inverted in the field. That one fact drives the whole topic — roots, factorization, greatest common divisors. All the polynomial arithmetic uses the field's own operations, so over every coefficient is reduced mod as you go.
Divide by . The quotient is : indeed , and . So , with remainder of degree .
In divide by . The quotient is : . Subtracting, the remainder is . So in .
The degree formula needs a field (or at least no zero divisors). In , : two degree- polynomials multiply to . Long division can also fail there — dividing by is fine, but dividing by is not, because the leading coefficient has no inverse mod .
Divide by in .
Show the answerHide the answer
, and . So the quotient is and the remainder is .
Roots and the Factor Theorem
Remainder theorem: dividing by leaves remainder . Factor theorem: divides exactly when . Consequently a nonzero polynomial of degree over a field has at most roots in that field.
Each root splits off a factor , lowering the degree by one, so you cannot find more roots than the degree. This "at most roots" fact is special to fields (and integral domains): over the quadratic has four roots. Over a finite field you can find every root by trying each element; over the rational root test narrows the search.
Try : . The roots are and , so in — check: . Over the same polynomial has no roots at all.
For in , the remainder on division by is , matching the long division in the previous section without doing it.
In , has the roots (each squares to : , , , all ). Four roots for a degree- polynomial — possible only because is not a field.
Having no roots does not make a polynomial "prime". Over , has no real roots but factors. The root test only settles irreducibility for degrees and , as the next section explains.
Does have a root in ?
Show the answerHide the answer
Evaluate at : . None is , so no root.
Irreducible Polynomials
A non-constant is irreducible over if it is not a product of two polynomials of smaller degree in . A polynomial of degree or is irreducible over exactly when it has no root in . Over , the rational root test says a root (in lowest terms) of an integer polynomial has and .
Irreducible polynomials are the "primes" of . Whether a polynomial is irreducible depends on the field: is irreducible over but factors as over ; is irreducible over but splits over and over . The root test works in degree and because any factorization of such a polynomial must include a factor of degree , which means a root.
By the rational root test, any rational root is one of . But , , , — none is . A cubic with no rational root is irreducible over .
The monic quadratics over are , , and . Only has no root (, ), so it is the unique irreducible quadratic over .
has no real roots, yet over (Sophie Germain's identity: ). For degree and up, ruling out roots is not enough.
Two classic slips: applying the root test to a quartic (see ), and forgetting which field you are in — " is irreducible" is true over and but false over and over .
Is irreducible over ?
Show the answerHide the answer
It is a cubic, so check roots: and . No root, so it is irreducible.
Eisenstein's Criterion and Reduction mod p
Eisenstein: if and a prime divides , does not divide , and , then is irreducible over . Reduction mod : if and the reduction of mod is irreducible over (of the same degree), then is irreducible over .
These tests handle any degree. Eisenstein needs the right prime and the right shape; when a polynomial does not fit, the substitution sometimes makes it fit, since is irreducible exactly when is. Reduction mod turns a question over the infinite field into a finite check over — but only in one direction: a reducible reduction proves nothing.
: the prime divides and (and the zero coefficients), does not divide the leading , and . So is irreducible over .
For , substitute : . Eisenstein with applies ( divides , ), so is irreducible over .
For , reduce mod : , which is irreducible over (it has no root). The leading coefficient is not even, so is irreducible over .
Eisenstein is one-directional: failing it says nothing. fits no prime, yet it is irreducible over . Likewise reduction mod : reduces mod to , which does not show reducible over .
Show is irreducible over .
Show the answerHide the answer
Take : divides (and the zero coefficient), , and . Eisenstein applies, so it is irreducible.
Unique Factorization and the gcd
Every non-constant polynomial over a field is a product of irreducible polynomials, uniquely up to order and constant factors. The Euclidean algorithm computes by repeated division, exactly as for integers.
Unique factorization is why "the" factorization of a polynomial makes sense. It depends on the field: over every polynomial splits into linear factors (the fundamental theorem of algebra), over into linear and quadratic factors, and over or irreducible factors can have any degree.
Over and : . Over : . Over : , since are all fourth roots of mod (, ).
: , then . The last nonzero remainder is , so .
The gcd is only defined up to a constant factor; we usually make it monic. And factorizations over different fields are different answers to different questions — is "fully factored" over but not over .
Find over .
Show the answerHide the answer
, then . So .
Why It Works
Induct on . If has no root we are done. If , the factor theorem gives with . Any other root satisfies , and since a field has no zero divisors, . By induction has at most roots, so has at most .
If of degree or factors as with smaller degrees, the degrees add up to or , so one factor has degree , say . Then . So no root means no factorization.
Suppose in (Gauss's lemma lets us assume integer coefficients) with both factors of positive degree. Reduce mod : , so and are both monomials, , with . Then the constant terms of and are both divisible by , so divides their product — a contradiction.
If , take , . Otherwise subtract from (possible because , the leading coefficient of , is invertible in ); this kills the leading term, so the degree drops. Repeat until the degree is below .