Skip to content

Group Homomorphisms

In this lesson you’ll learn what a homomorphism is, how to compute a kernel and an image, why the kernel is always normal, and how the first isomorphism theorem ties every homomorphism back to a quotient group.

A homomorphism is a map φ:GH\varphi: G \to H between groups satisfying

φ(ab)=φ(a)φ(b)for all a,bG\varphi(ab) = \varphi(a)\varphi(b) \qquad \text{for all } a, b \in G

Read it carefully: the product on the left happens in GG, the product on the right happens in HH. The condition says combining first and then mapping gives the same result as mapping first and then combining.

That single equation forces everything else.

φ(eG)=eH,φ(a1)=φ(a)1,φ(an)=φ(a)n\varphi(e_G) = e_H, \qquad \varphi(a^{-1}) = \varphi(a)^{-1}, \qquad \varphi(a^n) = \varphi(a)^n

The first: φ(e)=φ(ee)=φ(e)φ(e)\varphi(e) = \varphi(ee) = \varphi(e)\varphi(e), and cancelling one copy gives φ(e)=eH\varphi(e) = e_H. The second follows by applying φ\varphi to aa1=eaa^{-1} = e.

So you never need to require that identities and inverses are respected. They come free, which is a nice illustration of how much a well-chosen definition does.

Two subsets carry all the information.

kerφ={gG:φ(g)=eH},imφ={φ(g):gG}\ker \varphi = \{g \in G : \varphi(g) = e_H\}, \qquad \operatorname{im} \varphi = \{\varphi(g) : g \in G\}

The kernel is everything crushed to the identity. The image is what actually gets hit.

kerφG\ker \varphi \trianglelefteq G. It’s a subgroup: if φ(a)=φ(b)=e\varphi(a) = \varphi(b) = e then φ(ab1)=φ(a)φ(b)1=e\varphi(ab^{-1}) = \varphi(a)\varphi(b)^{-1} = e. And it’s normal: for kkerφk \in \ker\varphi and any gg,

φ(gkg1)=φ(g)φ(k)φ(g)1=φ(g)eHφ(g)1=eH\varphi(gkg^{-1}) = \varphi(g)\varphi(k)\varphi(g)^{-1} = \varphi(g) e_H \varphi(g)^{-1} = e_H

imφH\operatorname{im}\varphi \le H, by a similar one-line check. But it is generally not normal in HH.

That asymmetry is worth noting: kernels are always normal, images generally aren’t. In fact every normal subgroup is the kernel of some homomorphism - the projection GG/NG \to G/N - so “normal subgroup” and “kernel” describe the same class of objects.

φ is injective    kerφ={eG}\varphi \text{ is injective} \iff \ker \varphi = \{e_G\}

If the kernel is trivial and φ(a)=φ(b)\varphi(a) = \varphi(b), then φ(ab1)=e\varphi(ab^{-1}) = e, so ab1kerφ={e}ab^{-1} \in \ker\varphi = \{e\}, giving a=ba = b. Conversely if kek \ne e is in the kernel, then kk and ee have the same image, so φ\varphi isn’t injective.

The kernel also tells you the exact amount of collapsing: every fibre has size kerφ|\ker \varphi|. All the preimages are cosets of the kernel, which is why they came out equal-sized in the figure.

G/kerφ    imφG / \ker \varphi \;\cong\; \operatorname{im} \varphi

This is the central theorem of the lesson, and arguably of the whole group-theory half of the section. In words: quotienting out exactly what a map forgets leaves precisely what it remembers.

The proof is short. Define Φ:G/kerφimφ\Phi: G/\ker\varphi \to \operatorname{im}\varphi by Φ(gkerφ)=φ(g)\Phi(g \ker\varphi) = \varphi(g). It’s well-defined because gkerφ=gkerφg\ker\varphi = g'\ker\varphi implies g1gkerφg^{-1}g' \in \ker\varphi, hence φ(g)=φ(g)\varphi(g) = \varphi(g'). It’s a homomorphism because φ\varphi is. It’s surjective onto the image by construction, and injective because Φ(gkerφ)=e\Phi(g\ker\varphi) = e forces gkerφg \in \ker\varphi, the identity coset. ∎

The counting corollary is used constantly:

G=kerφimφ|G| = |\ker\varphi| \cdot |\operatorname{im}\varphi|
  • Monomorphism - injective. Trivial kernel. Embeds GG inside HH.
  • Epimorphism - surjective. The image is all of HH.
  • Isomorphism - both. The groups are structurally identical.
  • Endomorphism - a homomorphism from GG to itself.
  • Automorphism - an isomorphism from GG to itself. These form a group Aut(G)\operatorname{Aut}(G) under composition.

Example 1: Is φ:ZZ\varphi: \mathbb{Z} \to \mathbb{Z} with φ(x)=3x\varphi(x) = 3x a homomorphism?

Solution. Both groups are additive, so check φ(a+b)=φ(a)+φ(b)\varphi(a+b) = \varphi(a) + \varphi(b):

φ(a+b)=3(a+b)=3a+3b=φ(a)+φ(b) \varphi(a+b) = 3(a+b) = 3a + 3b = \varphi(a) + \varphi(b) \ \checkmark

Yes. kerφ={x:3x=0}={0}\ker\varphi = \{x : 3x = 0\} = \{0\}, so it’s injective. imφ=3Z\operatorname{im}\varphi = 3\mathbb{Z}, so it’s not surjective.

By the first isomorphism theorem, Z/{0}3Z\mathbb{Z}/\{0\} \cong 3\mathbb{Z}, which just says Z3Z\mathbb{Z} \cong 3\mathbb{Z}: an infinite group can be isomorphic to a proper subgroup of itself.

Example 2: Is φ(x)=x2\varphi(x) = x^2 a homomorphism on Z\mathbb{Z}?

Solution. Need φ(a+b)=φ(a)+φ(b)\varphi(a+b) = \varphi(a) + \varphi(b), that is (a+b)2=a2+b2(a+b)^2 = a^2 + b^2.

Take a=b=1a = b = 1: left side 44, right side 22. No.

But on the multiplicative group of nonzero reals, φ(x)=x2\varphi(x) = x^2 satisfies (ab)2=a2b2(ab)^2 = a^2b^2 and is a homomorphism. The same formula can be a homomorphism for one operation and not another, which is why naming the operation matters.

Example 3: Kernel and image of reduction mod nn.

Let φ:ZZ6\varphi: \mathbb{Z} \to \mathbb{Z}_6 be φ(x)=xmod6\varphi(x) = x \bmod 6.

Solution. Homomorphism: (a+b)mod6=(amod6)+(bmod6)(a+b) \bmod 6 = (a \bmod 6) + (b \bmod 6) in Z6\mathbb{Z}_6. ✓

kerφ=6Z,imφ=Z6\ker\varphi = 6\mathbb{Z}, \qquad \operatorname{im}\varphi = \mathbb{Z}_6

Surjective, not injective. The first isomorphism theorem gives

Z/6ZZ6\mathbb{Z}/6\mathbb{Z} \cong \mathbb{Z}_6

which is the formal justification of the notation Z/nZ\mathbb{Z}/n\mathbb{Z} for Zn\mathbb{Z}_n.

Example 4: The determinant.

Show det:GL2(R)R\det: GL_2(\mathbb{R}) \to \mathbb{R}^* is a homomorphism and find its kernel.

Solution. det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B) is the multiplicative property of determinants, which is exactly the homomorphism condition from matrix multiplication to real multiplication. ✓

ker(det)={A:detA=1}=SL2(R)\ker(\det) = \{A : \det A = 1\} = SL_2(\mathbb{R})

the special linear group. Since kernels are normal, SL2(R)GL2(R)SL_2(\mathbb{R}) \trianglelefteq GL_2(\mathbb{R}) for free - a genuinely useful fact obtained without any conjugation computation.

The map is surjective (scale a diagonal matrix), so

GL2(R)/SL2(R)RGL_2(\mathbb{R})/SL_2(\mathbb{R}) \cong \mathbb{R}^*

Example 5: The sign homomorphism.

Solution. Define sign:Sn{1,1}\operatorname{sign}: S_n \to \{1, -1\} sending even permutations to 11 and odd to 1-1. Parities add, so signs multiply, and it’s a homomorphism.

ker(sign)=An\ker(\operatorname{sign}) = A_n

So AnA_n is normal in SnS_n, again for free. The map is surjective for n2n \ge 2, so

Sn/AnZ2,An=n!2S_n / A_n \cong \mathbb{Z}_2, \qquad |A_n| = \frac{n!}{2}

Both of those facts were asserted in earlier lessons; here they drop out of one homomorphism.

Example 6: Counting with the kernel.

φ:Z20Z20\varphi: \mathbb{Z}_{20} \to \mathbb{Z}_{20} is given by φ(x)=8x\varphi(x) = 8x. Find the kernel, the image, and check the counting formula.

Solution. kerφ={x:8x0(mod20)}\ker\varphi = \{x : 8x \equiv 0 \pmod{20}\}. Since gcd(8,20)=4\gcd(8,20) = 4, this needs 2x0(mod5)2x \equiv 0 \pmod 5, so x0(mod5)x \equiv 0 \pmod 5:

kerφ={0,5,10,15},kerφ=4\ker\varphi = \{0, 5, 10, 15\}, \qquad |\ker\varphi| = 4

The image is the multiples of gcd(8,20)=4\gcd(8,20) = 4:

imφ={0,4,8,12,16},imφ=5\operatorname{im}\varphi = \{0,4,8,12,16\}, \qquad |\operatorname{im}\varphi| = 5

Check: 4×5=20=Z204 \times 5 = 20 = |\mathbb{Z}_{20}| ✓. And Z20/kerφZ5\mathbb{Z}_{20}/\ker\varphi \cong \mathbb{Z}_5, matching the image.

Example 7: A map that fails the definition.

Is φ:Z6Z6\varphi: \mathbb{Z}_6 \to \mathbb{Z}_6 with φ(x)=x+1\varphi(x) = x + 1 a homomorphism?

Solution. Homomorphisms must send the identity to the identity, and φ(0)=10\varphi(0) = 1 \ne 0.

No. Check directly: φ(1+2)=φ(3)=4\varphi(1 + 2) = \varphi(3) = 4, but φ(1)+φ(2)=2+3=5\varphi(1) + \varphi(2) = 2 + 3 = 5.

This is a common trap: shifting looks structure-like but isn’t. A translation is a bijection, and it is a symmetry of the set, but it does not respect the operation.

Hash functions and checksums. A checksum that satisfies h(x+y)=h(x)+h(y)h(x + y) = h(x) + h(y) is a homomorphism, and its kernel is exactly the set of undetectable errors. Designing a good checksum means choosing a kernel that avoids the error patterns you expect, which is why CRC polynomials are chosen so carefully.

Homomorphic encryption. An encryption scheme is homomorphic when E(a)E(b)=E(a+b)E(a) \cdot E(b) = E(a + b), letting a server compute on encrypted data without decrypting it. Fully homomorphic encryption, first constructed in 2009, is the extreme version, and it is a straight application of this definition to real privacy problems.

Fourier and Laplace transforms. The Fourier transform converts convolution into pointwise multiplication, which is a homomorphism between two group structures on functions. This is precisely why signal processing and differential-equation solving get easier in the transform domain.

Logarithms. log(xy)=logx+logy\log(xy) = \log x + \log y says the logarithm is a homomorphism from the positive reals under multiplication to the reals under addition. It is an isomorphism, and slide rules were physical devices for exploiting it.

Physics. A representation of a symmetry group is a homomorphism from the group into a group of matrices. Particle physics classifies particles by which representation they belong to, so this definition is the organizing principle of the Standard Model.

Compiler optimization. A program transformation is safe when it commutes with evaluation, which is a homomorphism condition. Reasoning about which optimizations preserve semantics is reasoning about structure-preserving maps.

What condition must a map φ: G → H satisfy to be a homomorphism?
The kernel of a homomorphism is always what kind of subgroup of the domain?
A homomorphism φ: G → H is injective exactly when
What does the first isomorphism theorem state?
For φ: ℤ₂₀ → ℤ₂₀ given by φ(x) = 8x, what is the order of the kernel?
Why is SL₂(ℝ), the matrices of determinant 1, automatically normal in GL₂(ℝ)?