Maths WorkshopMaths problems with full solutions
Exercise 1705Algebra › GroupsM1Added 3 Nov 2026

The order of $GL_n(\mathbb{F}_p)$

#general linear group#finite field#order

Statement

Compute ∣GL2(Fp)∣|GL_2(\mathbb{F}_p)| for pp prime.

Hint

Count invertible 2×22\times2 matrices over Fp\mathbb{F}_p by choosing columns.

Show solutionHide solution

Solution

First column. A nonzero vector in Fp2\mathbb{F}_p^2: p2−1p^2-1 choices.

Second column. Must not be in the span of the first: p2−pp^2-p choices.

Total. ∣GL2(Fp)∣=(p2−1)(p2−p)|GL_2(\mathbb{F}_p)|=(p^2-1)(p^2-p).

Example p=2p=2. ∣GL2(F2)∣=3⋅2=6≅S3|GL_2(\mathbb{F}_2)|=3\cdot2=6\cong S_3.

Conclusion. ∣GL2(Fp)∣=(p2−1)(p2−p)=p(p−1)2(p+1)|GL_2(\mathbb{F}_p)|=(p^2-1)(p^2-p)=p(p-1)^2(p+1).