Consider the family of matrices with entries from . How many of these matrices are invertible?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If p is prime, the number of 3 × 3 invertible matrices over Z p is equal to the number of bases that can be chosen for the vector space Z p 3 (the three columns of the matrix are the elements of the basis).
The first basis element just has to be a nonzero vector, and there are p 3 − 1 of these. The second basis element has to be a vector that does not lie in the span of the first vector. The subspace spanned by the first vector is one-dimensional, and hence has p elements. Thus there are p 3 − p candidate vectors. Once we have chosen the first two basis vectors, the third vector must be a vector that lies outside the subspace spanned by the first two. The subspace spanned by the first two vectors is two-dimensional, and hence contains p 2 elements. Thus there are p 3 − p 2 possible third basis vectors.
Thus the total number of basis vectors in Z p 3 , and therefore the total number of invertible 3 × 3 matrices over Z p , is ( p 3 − 1 ) ( p 3 − p ) ( p 3 − p 2 ) When p = 1 7 , this is equal to 1 1 1 2 0 3 2 7 8 8 4 8 .