This is a question I found in an old textbook in group theory:
We are asked to prove the order of any matrix $ A $ in the group of $ 2 \times 2 $ invertible matrices over $ F_p $ where $ p $ is a prime, $ A \in \text{GL}(2,F_p) $, divides either $ p^2-1 $ or $ p^2-p $.
I know that the order of this group is $ (p^2-p) (p^2-1) $ thus the order of the matrix must divide it by Lagrange, but the question asks for something stronger. This is obviously true for diagonal matrices and matrices that have one zero. What about a general invertible $ 2 \times 2 $ matrix? How to show its order must divide one of the two factors given? I thought about using the Sylow theorems but nothing comes to mind. Perhaps group actions? The solution eludes me and I would appreciate help on this.
Consider the Jordan normal form of $A$ over the algebraic closure of $\mathbb F_p$. There are two cases: either $A$ is diagonalizable, or there is a single Jordan block.
First consider the diagonalizable case. Then both eigenvalues are elements of $\mathbb F_{p^2}$ and hence $A^{p^2-1}$ is the identity.
Next consider the "single block" case. Then $A$ is similar to a matrix of the form in the other answer, and similar reasoning applies.