Homomorphism
Homomorphism
Homomorphism
KEITH CONRAD
1. Introduction
In group theory, the most important functions between two groups are those that “preserve” the
group operations, and they are called homomorphisms. A function f : G → H between two groups
is a homomorphism when
f (xy) = f (x)f (y) for all x and y in G.
Here the multiplication in xy is in G and the multiplication in f (x)f (y) is in H, so a homomorphism
from G to H is a function that transforms the operation in G to the operation in H.
In Section 2 we will see how to interpret many elementary algebraic identities as group homomor-
phisms, involving the groups Z, R, R× , R>0 , C, and C× . Section 3 describes some homomorphisms
in linear algebra and modular arithmetic. Section 4 gives a few important examples of homomor-
phisms between more abstract groups. Section 5 has examples of functions between groups that
are not group homomorphisms. Finally, in Section 6 we discuss several elementary theorems about
homomorphisms.
2. Familiar homomorphisms
The first homomorphisms we will see are at the level of precalculus, and include identities such
as the following:
c(x + y) = cx + cy, |xy| = |x||y|, (xy)2 = x2 y 2 ,
ax+y = ax ay , (xy)c = xc y c , loga (xy) = loga x + loga y,
Example 2.1. For each real number c, the formula c(x + y) = cx + cy for all x and y in R says
that the function Mc : R → R where Mc (x) = cx is a group homomorphism.
Example 2.2. For all real numbers x and y, |xy| = |x||y|. Therefore the absolute value function
f : R× → R>0 , given by f (x) = |x|, is a group homomorphism. (We exclude 0, even though it
works in the formula, in order for the absolute value function to be a homomorphism on a group.)
Example 2.3. For x ∈ R× , let s(x) be its sign: s(x) = 1 for x > 0 and s(x) = −1 for x < 0. Then
s(xy) = s(x)s(y) for all x and y in R× , so s : R× → {±1} is a homomorphism.
Example 2.4. For all real numbers x and y, (xy)2 = x2 y 2 , so the squaring map f : R× → R×
where f (x) = x2 is a homomorphism. (We exclude 0 from the domain, even though (xy)2 = x2 y 2
when x or y is 0, in order to have the domain be a multiplicative group.) The squaring map is also
a homomorphism R× → R>0 , R>0 → R× , and R>0 → R>0 .
A function is not determined completely just by how you compute it, but also by the set on
which it is defined and the set in which its values are considered to lie. Therefore the four ways
we described squaring as a homomorphism are different functions, hence different homomorphisms;
squaring R× → R× is neither injective nor surjective, squaring R× → R>0 is surjective but not
1
2 KEITH CONRAD
injective, squaring R>0 → R× is injective but not surjective, and squaring R>0 → R>0 is injective
and surjective.
Example 2.5. Fix an integer n. For all real numbers x and y, (xy)n = xn y n , so the n-th power
map f : R× → R× , where f (x) = xn , is a homomorphism.
√ √ √
Example 2.6. For all positive numbers x and y, xy = x y, so the square root function
√
f : R>0 → R>0 , where f (x) = x, is a homomorphism.
Example 2.7. Fix a nonzero real number a. Since am+n = am an for all integers m and n the
function f : Z → R× where f (n) = an satisfies f (m + n) = f (m)f (n) for all m and n, so f is a
homomorphism from the (additive) group Z to the (multiplicative) group R× .
Example 2.8. Fix nonzero real numbers a and b and let f : Z2 → R× by f (m, n) = am bn . For all
integer pairs (m, n) and (m0 , n0 ), we have
0 0 0 0
f ((m, n) + (m0 , n0 )) = f (m + m0 , n + n0 ) = am+m bn+n = am am bn bn
and
0 0
f (m, n)f (m0 , n0 ) = am bn am bn .
The two computations produce the same answer, so f ((m, n) + (m0 , n0 )) = f (m, n)f (m0 , n0 ). There-
fore f is a homomorphism from Z2 (an additive group) to R× (a multiplicative group).
This can be extended to any finite number of bases: for any a1 , . . . , ak in R× we get a homo-
mk
morphism f : Zk → R× by f (m1 , . . . , mk ) = am
1 · · · ak .
1
Example 2.9. Fix a positive real number a. We can raise a not just to integral powers, but to
arbitrary real powers (this is false for negative a). The equation ax+y = ax ay , valid for all real
numbers x and y, tells us that the exponential function with base a, sending x to ax , defines a
homomorphism R → R× and it is injective (that is, ax = ay ⇒ x = y). The values of the function
ax are positive, and if we view ax as a function R → R>0 then this homomorphism is not just
injective but also surjective provided a 6= 1.
Example 2.10. Fixing c > 0, the formula (xy)c = xc y c for positive x and y tells us that the
function f : R>0 → R>0 where f (x) = xc is a homomorphism.
Example 2.11. For a > 0 with a 6= 1, the formula loga (xy) = loga x + loga y for all positive x and
y says that the base a logarithm loga : R>0 → R is a homomorphism.
The functions x 7→ ax and x 7→ loga x, from R to R>0 and from R>0 to R respectively, are
probably the most important examples of homomorphisms in precalculus. Let’s turn now to some
homomorphisms involving complex numbers.
Example 2.12. For a complex number z = a + bi, with real part a and imaginary part b, its
complex conjugate is z = a − bi. For all z and w in C,
(2.1) z+w =z+w and zw = z w.
To verify these, we give names to the real and imaginary parts of z and w and compute both sides.
Writing z as a + bi and w as c + di, we have
z + w = (a + bi) + (c + di) = (a + c) + (b + d)i = (a + c) − (b + d)i
and
z + w = (a − bi) + (c − di) = (a + c) − (b + d)i,
HOMOMORPHISMS 3
Example 3.2. For any 2 × 2 real matrices A and B, det(AB) = det(A) det(B). If we restrict our
attention to invertible matrices, whose determinants are nonzero, then we have a homomorphism
det : GL2 (R) → R× .
(The identity det(AB) = det(A) det(B) can be checked by writing A = ( ac db ) and B = ( xz wy ),
computing AB as a 2 × 2 matrix, then det(AB), and checking it equals det(A) det(B). If you take
a second course in linear algebra you may see slicker ways to understanding why the determinant
is multiplicative.)
Example 3.3. In the group Aff(R) = {( a0 1b ) : a ∈ R× , b ∈ R}, the formula for multiplication is
a b c d ac ad + b
(3.1) = .
0 1 0 1 0 1
The upper left matrix entry lies in the group R× , and under multiplication in Aff(R) the upper
left entries multiply together, so we get a homomorphism f : Aff(R) → R× by f ( a0 1b ) = a. That
is, (3.1) tells us f (( a0 1b )( 0c d1 )) = ac = f ( a0 1b )f ( 0c d1 ).
Another way to think about this is that the upper left matrix entry in Aff(R) is the determinant:
det( a0 1b ) = a, so multiplicativity of f is a special case of the multiplicativity of determinants.
Some of the previous examples work with Z/(m) in place of R and (Z/(m))× in place of R× .
Example 3.4. For each c ∈ Z let Mc : Z/(m) → Z/(m) by Mc (x mod m) = cx mod m. The
algebraic formula c(x + y) ≡ cx + cy mod m means Mc is a homomorphism.
Example 3.5. Fixing a positive integer n, the congruence (xy)n ≡ xn y n mod m for all x and y in
Z implies that the n-th power map (Z/(m))× → (Z/(m))× is a homomorphism.
Here is what cubing (x 7→ x3 ) looks like on (Z/(15))× and (Z/(21))× .
a mod 15 1 2 4 7 8 11 13 14
a3 mod 15 1 8 4 13 2 11 7 14
a mod 21 1 2 4 5 8 10 11 13 16 17 19 20
a3 mod 21 1 8 1 20 8 13 8 13 1 20 13 20
In the first table, cubing permutes the elements of (Z/(15))× , while in the second table there are
only 4 cubes and each cube arises 3 times.
Example 3.6. Fixing an integer m ≥ 1, we define addition in Z/(m) by a + b = a + b. That is,
the addition on the left is defined to be given by the formula on the right. Thus the reduction map
Z → Z/(m), where a 7→ a (= a mod m), is a homomorphism by definition.
Example 3.7. We can reduce not only from Z to any Z/(m), but from any Z/(m) to Z/(d)
where d|m: if a ≡ b mod m, so m|(a − b), then d|(a − b) too, so a ≡ b mod d. For instance,
19 ≡ 7 mod 6 and also 19 ≡ 7 mod 3. Let r : Z/(m) → Z/(d) by r(a mod m) = a mod d. This is a
homomorphism:
r(a mod m + b mod m) = r(a + b mod m)
= a + b mod d
= a mod d + b mod d
= r(a mod m) + r(b mod m).
Here we write a mod m and a mod d instead of a as in Example 3.6, because the latter notation is
now ambiguous on account of the use of two moduli, m and d, in this setup.
HOMOMORPHISMS 5
Example 3.8. For positive integers m and d with d|m, the reduction map Z/(m) → Z/(d) is not
just additive, but multiplicative:
r(a mod m · b mod m) = r(ab mod m)
= ab mod d
= a mod d · b mod d
= r(a mod m)r(b mod m).
If we focus on invertible numbers, then reduction sends (Z/(m))× to (Z/(d))× since an inte-
ger relatively prime to m is also relatively prime to any factor of m. Thus the reduction map
(Z/(m))× → (Z/(d))× , where a mod m 7→ a mod d, is a homomorphism.
Here are examples of reduction (Z/(15))× → (Z/(3))× and (Z/(21))× → (Z/(7))× , as tables.
a mod 15 1 2 4 7 8 11 13 14
a mod 3 1 2 1 1 2 2 1 2
a mod 21 1 2 4 5 8 10 11 13 16 17 19 20
a mod 7 1 2 4 5 1 3 4 6 2 3 5 6
In both tables, every value occurs the same number of times (4 times in the first table and 2
times in the second table). We saw this in the tables at the end of Example 3.5: each value of a
homomorphism occurs equally often.
4. Other examples
Example 4.1. For any permutation σ ∈ Sn , its sign sgn(σ) is ±1 and the formula sgn(σσ 0 ) =
sgn(σ) sgn(σ 0 ) for all σ and σ 0 in Sn tells us that sgn : Sn → {±1} is a homomorphism.
Example 4.2. For any groups G and H there is always at least one homomorphism from G to
H, namely the trivial homomorphism f : G → H where f (x) = eH for all x ∈ G. Every value of
f is the identity element of H. Then f (x)f (y) = eH eH = eH = f (xy). For some groups the only
homomorphism between them is the trivial homomorphism (e.g., G = Z/(3) and H = Z/(5)).
Example 4.3. Let G be an abelian group and n be an integer (positive, negative, or 0). The
formula
(gh)n = g n hn
for all g, h ∈ G says that the nth power map G → G, where g 7→ g n , is a homomorphism from G
to itself.
Warning: Power functions are usually not homomorphisms on nonabelian groups! For example,
if D4 , we have (rs)3 = rs while r3 s3 = r3 s, and rs 6= r3 s because r 6= r3 , so f (x) = x3 on D4 is
not a homomorphism. The exact same calculation goes through in Dm for any m ≥ 3.
Example 4.4. In a group G, fix an element g. Its powers satisfy
g m+n = g m g n
for all integers m and n, so we get a homomorphism Z → G given by n 7→ g n is a homomorphism.
Note G doesn’t have to be abelian here; the only values we meet are powers of g, and powers of a
single element always commute with each other, whether or not the whole group is abelian.
6 KEITH CONRAD
While power functions on abelian groups might not be invertible (e.g., squaring on R× is not
invertible since x2 = (−x)2 ), conjugation on any group by any element is always invertible: just
conjugate by the inverse element. Indeed,
5. Nonexamples
Nonexample 5.1. On the group GL2 (R), let f (A) = A2 , so f : GL2 (R) → GL2 (R). For most
A and B, f (AB) 6= f (A)f (B). For instance, let A = ( 10 11 ) and B = ( 11 01 ). Then AB = ( 21 11 ), so
f (AB) = ( 21 11 )2 = ( 53 32 ), while f (A)f (B) = ( 10 11 )2 ( 11 01 )2 = ( 10 21 )( 12 01 ) = ( 52 21 ).
Nonexample 5.2. On any group G the nth power map G → G, where x 7→ xn , makes sense, but
it usually is not a homomorphism when G is nonabelian. The previous example shows squaring on
GL2 (R) is not a homomorphism. We saw after Example 4.3 that cubing on D4 , or on Dm for any
m ≥ 3, is not a homomorphism.
When n = −1 or 2, the nth power map is a homomorphism from G to G only when G is abelian:
and
(xy)−1 = x−1 y −1 ⇐⇒ (xy)−1 = (yx)−1 ⇐⇒ xy = yx.
Nonexample 5.3. While det(AB) = det(A) det(B) for all 2 × 2 real matrices A and B, the deter-
minant M2 (R) → R is not a homomorphism since M2 (R) and R are not groups for multiplication.
Nonexample 5.4. For a 2 × 2 real matrix A, its exponential is defined by the infinite matrix series
X 1 1 1
exp(A) := An = I2 + A + A2 + A3 + · · · .
n! 2 6
n≥0
It is true that exp(A) exp(−A) = I2 , so exp(A) ∈ GL2 (R). Therefore the 2×2 matrix exponential is
a function M2 (R) → GL2 (R), from an additive group to a multiplicative group. This is analogous
to the classical exponential function being a function R → R× . However, the matrix exponential
is not a homomorphism: exp(A + B) is usually not equal to exp(A) exp(B). As a specific example,
2 e2
if A = ( 10 11 ) and B = ( 11 01 ) then exp(A) = ( 0e ee ), exp(B) = ( ee 0e ), so exp(A) exp(B) = ( 2e
e2 e2
), but
(e3 +e)/2 (e3 −e)/2
exp(A + B) = ( (e3 −e)/2 (e3 +e)/2 ).
Theorem 7.10 is a special case of part 2 of Theorem 6.9, since ker f = {x ∈ G : f (x) = eH } =
f −1 ({eH }), which is the inverse image of the trivial subgroup of H.
Theorem 7.11. If f : G → H is a homomorphism with kernel K, then f (x) = f (y) if and only if
y = xk for some k ∈ K.
10 KEITH CONRAD
Proof. Suppose f (x) = f (y). We want to show y = xk for some k ∈ K. Necessarily k = x−1 y, so we
want to show x−1 y ∈ K. This is a direct calculation: f (x−1 y) = f (x−1 )f (y) = f (x)−1 f (y) = eH .
Conversely, suppose y = xk where k ∈ K. Then f (y) = f (xk) = f (x)f (k) = f (x).
Example 7.12. The squaring function R× → R× has kernel ±1, and Theorem 7.11 in this instance
says something familiar: x2 = y 2 in R× if and only if y = ±x. The way this is seen in school is
x2 = y 2 ⇐⇒ y 2 − x2 = 0 ⇐⇒ (y + x)(y − x) = 0 ⇐⇒ y + x = 0 or y − x = 0 ⇐⇒ y = ±x.
This is not the way the proof of Theorem 7.11 works. Instead, that proof in this instance would
use only multiplication and division: for nonzero real numbers x and y,
y2 y 2 y
x2 = y 2 ⇐⇒ 2 = 1 ⇐⇒ = 1 ⇐⇒ = ±1 ⇐⇒ y = ±x.
x x x