Let A = $$\begin{pmatrix} 0&1\\ -1&0\\ \end{pmatrix}$$
and B = $$\begin{pmatrix} 0&-1\\ 1&-1\\ \end{pmatrix}$$
be elements in $GL(2, R)$. Show that $A$ and $B$ have finite orders but AB does not.
I know that $AB$ = $$\begin{pmatrix} 1&-1\\ 0&1\\ \end{pmatrix}$$
and that $GL(2,R)$ is a group of 2x2 invertible matrices over $R$ with the matrix multiplication operation.
Firstly, I am confused as to how an element of this group can have an order. Is it that A and B are the products of invertible matrices in this group? Given that this is over $R$ the orders should be infinite. My book did not define the general linear group very well. Secondly, I would like some guidance on how to proceed following this problem. Any help is much appreciated.