I'm trying to understand something about the lie algebra $sl(5,F)$ when F is a finite field.
Let F5 be a finite field with 5 elements. How many elements exist in $sl(5,F)$ ?
My teacher said there are 120.
my try:
there are 24 basis elements in $sl5$ and every element may be multiplied by one of the 5 elements in $F5$. So until now there are 120 elments. Isn't it true that every linear combination of the basis elements will generate new $sl5$ element? And than we will have more than 120 elements in $sl5$?
Was not clear that you meant the lie algebra before you edited - just ignore this solution now
Let us first count the number of elements in $\text{GL}_n(\mathbb{F}_p)$. Recall, that a square matrix is invertible iff all its rows (or columns) are linear independent. For the first row we have $p^n-1$ choices (every vector except the zero vector). To make the second row linear independent form the first one, we can choose any vector excpet for multiples of the first row and thus have $p^n-p$ choices. For the next row we cannot choose a linear combination of the first two and therefore we have $p^n - p^2$ choices etc. This means we get $$\text{ord}(\text{GL}_n(\mathbb{F}_p)) = \prod_{i = 0}^{n-1}p^n - p^i.$$ The group $\text{SL}_n(\mathbb{F}_p)$ is the kernel of the determinant map $\text{det} \colon \text{GL}_n(\mathbb{F}_p) \rightarrow \mathbb{F}_p^{\times}$, which means we have $\text{GL}_n(\mathbb{F}_p)/\text{SL}_n(\mathbb{F}_p) \cong \mathbb{F}_p^{\times}$ by the isomorphism theorem. Thus $$\text{ord}(\text{SL}_n(\mathbb{F}_p)) = \frac{\prod_{i = 0}^{n-1}p^n - p^i}{p-1}.$$ In your case we have $p = n = 5$, which yields very many elements (actually ~$5.6 \cdot 10^{16}$). Already for $p = 5$ and $n=2$ we have $240$ elements.