In F5[x],, divide f=x4+3x+1 by g=2x2+1:: find q and r with
f=qg+r and r=0 or degr<2..
Solution.¶
Each step cancels the leading term of what is left, which means dividing by the leading
coefficient 2 of g.. In F5,, 2⋅3=6=1,, so 2−1=3..
First step: the leading term of f is x4,, and x4=3x2⋅2x2.. Subtract
3x2g=6x4+3x2=x4+3x2::
f−3x2g=−3x2+3x+1=2x2+3x+1. Second step: the leading term is now 2x2=1⋅2x2.. Subtract 1⋅g=2x2+1,, which
leaves 3x,, of degree 1<2..
So q=3x2+1 and r=3x.. Check:
(3x2+1)(2x2+1)=6x4+5x2+1=x4+1,, and adding 3x gives f.. □
In Q[x],, let f=x4+x3+2x2+x+1 and g=x3−1.. Find gcd(f,g) by the
Euclidean algorithm, and write it as uf+vg with u,v∈Q[x]..
Solution.¶
Divide f by g:: subtracting xg=x4−x leaves x3+2x2+2x+1,, and subtracting
1⋅g leaves 2x2+2x+2.. So
f=(x+1)g+(2x2+2x+2). Divide g by 2x2+2x+2=2(x2+x+1):: since x3−1=(x−1)(x2+x+1),,
g=(21x−21)(2x2+2x+2), with remainder 0.. The last non-zero remainder is 2x2+2x+2,, and the gcd is its monic
multiple: gcd(f,g)=x2+x+1 (Theorem 11.3.2).
From the first division, 2x2+2x+2=f−(x+1)g,, so
x2+x+1=21f−21(x+1)g, that is, u=21 and v=−21(x+1).. (Indeed f=(x2+1)(x2+x+1).).) □
Decide whether each polynomial is irreducible over F3.. Factor the reducible ones into
irreducible factors.
- (a) x3+2x+1
- (b) x3+x+1
Solution.¶
Both have degree 3,, so each is irreducible over F3 exactly when it has no root there
(Proposition 11.4.2). There are only three elements to try.
(a) The values at 0,, 1,, 2 are 1,, 1+2+1=4=1 and 8+4+1=13=1.. There is no
root, so x3+2x+1 is irreducible over F3..
(b) The value at 1 is 1+1+1=3=0,, so 1 is a root, and by the
factor theorem x−1 is a factor. Dividing,
x3+x+1=(x−1)(x2+x+2), as (x−1)(x2+x+2)=x3+x−2 and −2=1 in F3.. The quadratic factor has
values 2,, 4=1 and 8=2 at 0,, 1,, 2,, so no root, and it is irreducible. So
x3+x+1=(x+2)(x2+x+2) is the factorization into irreducibles, writing −1 as 2.. □
In (Z/4Z)[x],, let g=2x+1.. Find two different pairs (q,r) with
1=qg+r and r=0 or degr<1.. Which hypothesis of
division with remainder fails, and where does its proof of uniqueness
break?
Hint.¶
Square 2x+1..
Solution.¶
One pair is q=0,, r=1.. For another, (2x+1)2=4x2+4x+1=1 in
(Z/4Z)[x],, so q=2x+1,, r=0 also works. Both remainders are 0 or of
degree 0<1,, so the quotient and remainder are not unique.
The theorem asks for the leading coefficient of g to be a unit, and 2 is not a unit of
Z/4Z:: 2b is 0 or 2 for every b,, never 1..
The uniqueness proof compares (q−q′)g with r′−r,, and claims that (q−q′)g has degree at
least degg when q=q′.. Here q−q′=2x+1,, and (2x+1)g=1 has degree 0:: the
leading coefficients multiply to 2⋅2=0,, so the degree drops, which a unit leading
coefficient would prevent. □
Let F be a field and a∈F.. Show that the kernel of evaluation at a,, the homomorphism
F[x]→F sending f to f(a),, is the ideal (x−a),, and that F[x]/(x−a)≅F..
Hint.¶
The factor theorem describes the kernel; then look for a theorem that turns a surjective
homomorphism into an isomorphism.
Solution.¶
Evaluation at a is a ring homomorphism F[x]→F (Theorem 11.1.3).
Its kernel is (x−a).. By the factor theorem, f(a)=0 exactly when
x−a divides f,, that is, exactly when f∈(x−a)..
It is surjective: a constant polynomial c goes to c,, so every element of F is a value.
By the first isomorphism theorem for rings, f+(x−a)↦f(a) is an isomorphism from F[x]/(x−a) onto F.. (This agrees with
Theorem 11.5.1: x−a has degree 1,, so it is irreducible, and the quotient
is a field whose elements are the classes of the constants.) □
Let F be a field and f,g,h∈F[x]..
- (a) Show that if gcd(f,g)=1 and f divides gh,, then f divides h..
- (b) Deduce that if p is irreducible over F and p divides gh,, then p divides g or p
divides h..
Hint.¶
Write 1 as a combination of f and g and multiply by h..
Solution.¶
(a) By Theorem 11.3.2, 1=uf+vg for some u,v∈F[x].. Multiplying by h gives
h=ufh+vgh.. The first term is a multiple of f,, and so is the second, since f divides
gh.. So f divides h..
(b) Suppose p does not divide g;; we show p divides h.. Let d=gcd(p,g).. It divides p,,
so p=de for some e,, and since p is irreducible, d or e is a constant. If e were a
constant, then d=e−1p,, and p would divide g,, since d does. So d is a monic constant,
d=1,, and part (a) with f=p shows that p divides h..
This is the polynomial form of Euclid’s lemma, proved in the same way from a
Bézout identity. □
Let p be a prime with p≡3(mod4).. Show that x2+1 is irreducible over
Fp,, and deduce that Fp[x]/(x2+1) is a field with p2 elements.
Hint.¶
A root a would satisfy a4=1 in the group of non-zero elements of Fp.. What can its
order be?
Solution.¶
Since x2+1 has degree 2,, it is irreducible over Fp exactly when it has no root
there (Proposition 11.4.2). Suppose, for a contradiction, that a∈Fp
satisfies a2=−1..
Then a=0,, so a lies in the group (Z/pZ)× of units, which has
p−1 elements: every class [k] with p∤k is a unit, since gcd(k,p)=1
(Theorem 2.3.4). Now a4=(a2)2=1,, while a2=−1=1,, because p is
odd. So the order of a divides 4 but not 2:: ord(a)=4.. By
Theorem 5.2.2, 4 divides p−1,, so p≡1(mod4),, which contradicts
p≡3(mod4)..
So x2+1 is irreducible over Fp,, and by Theorem 11.5.1
Fp[x]/(x2+1) is a field. Its elements are a0+a1α with
a0,a1∈Fp,, each written in exactly one way, so it has p2 elements. □
Exercise 11.8.¶Not yet reviewed Let p be a prime.
-
(a) Show that in Fp[x],,
xp−x=a∈Fp∏(x−a).
-
(b) Deduce Wilson’s theorem: (p−1)!≡−1(modp)..
Hint.¶
For (a), every element of Fp is a root of xp−x;; what does each root give? For
(b), look at the constant terms.
Solution.¶
(a) First, a claim: if a1,…,ak are distinct roots of a polynomial f over an integral
domain R,, then (x−a1)⋯(x−ak) divides f.. By induction on k:: for k=1 this is
the factor theorem. If f=(x−a1)⋯(x−ak−1)g,, evaluate at
ak:: 0=(ak−a1)⋯(ak−ak−1)g(ak).. The factors ak−ai are non-zero and R
has no zero divisors, so g(ak)=0,, and g=(x−ak)h by the factor theorem. So
f=(x−a1)⋯(x−ak)h..
By Example 11.1.4, every element of Fp is a root of xp−x,, and
Fp is a field, so an integral domain. By the claim, xp−x=Ph,, where
P=∏a∈Fp(x−a) is monic of degree p.. By Theorem 11.1.2,
p=p+degh,, so h is a constant, and comparing leading coefficients (1=1⋅h)) gives
h=1..
(b) Take out the factor for a=0:: by (a),
x(xp−1−1)=xa=0∏(x−a). Fp[x] is an integral domain (Theorem 11.1.2), so the non-zero factor x can be
canceled: xp−1−1=∏a=0(x−a).. The constant term on the left is −1.. On the
right it is the product of the −a,, that is,
(−1)p−1∏a=0a=(−1)p−1[(p−1)!],, since the non-zero elements are the classes
of 1,2,…,p−1.. If p is odd, (−1)p−1=1;; if p=2,, then −1=1 in
F2.. Either way [(p−1)!]=−1,, that is, (p−1)!≡−1(modp).. □
Let K=F3[x]/(x2+1) and α=x+(x2+1).. Show that K is a field with 9
elements, that α has order 4 in the group K× of non-zero elements, and that
1+α has order 8,, so that every non-zero element of K is a power of 1+α..
Hint.¶
What can the order of an element of K× be?
Solution.¶
The approach is to compute only a few powers and let Lagrange’s theorem rule out the rest.
x2+1 has no root in F3:: its values at 0,, 1,, 2 are 1,, 2 and 5=2.. In
degree 2 that makes it irreducible (Proposition 11.4.2), so K is a field, whose
elements are a+bα with a,b∈F3 (Theorem 11.5.1):
9 elements. So K× is a group of order 8..
The order of α:: α2=−1=1,, and α4=(−1)2=1.. So ord(α)
divides 4 but not 2,, and ord(α)=4..
The order of 1+α:: it divides ∣K×∣=8 by Theorem 5.2.2, so it is
1,, 2,, 4 or 8,, and it is 8 unless (1+α)4=1.. Now
(1+α)2=1+2α+α2=2α, using α2=−1,, and so (1+α)4=(2α)2=4α2=−4=−1=1.. So
ord(1+α)=8,, and its powers (1+α)0,…,(1+α)7 are eight different
elements of K× (Theorem 2.2.3), which has only eight. So every non-zero
element of K is a power of 1+α.. □