I am studying Lie groups and Lie algebras and I am trying to find an isomorphism between the groups/algebras and $\mathbb{R}^n$.
For $Sp(2,\mathbb{R})$, using the standard skew-symmetric matrix, and the condition
$$\begin{pmatrix}a & c \\ b & d \end{pmatrix} \begin{pmatrix}0 & 1 \\ -1 & 0\end{pmatrix} \begin{pmatrix}a & b \\ c & d\end{pmatrix} = \begin{pmatrix}0 & 1 \\ -1 & 0\end{pmatrix}$$
I got that the matrices of $Sp(2,\mathbb{R})$ are of the form $$\begin{pmatrix}a & b \\ c & \frac{1+bc}{a}\end{pmatrix}$$
I am trying to come up with a similar thing for the Lie algebra $\mathfrak{sp}(2,\mathbb{R})$ but I end up with
$$\begin{pmatrix}0 & 1 \\ -1 & 0\end{pmatrix} \begin{pmatrix}a & b \\ c & d \end{pmatrix} + \begin{pmatrix}a & c \\ b & d\end{pmatrix} \begin{pmatrix}0 & 1 \\ -1 & 0\end{pmatrix}$$ $$= \begin{pmatrix}0 & a + d \\ -a-d & 0\end{pmatrix}$$ which does not have dimension $0$. According, to https://en.wikipedia.org/wiki/Table_of_Lie_groups this Lie algebra has dimension $n(2n+1)$ which is $3$ in this case, but I am not obtaining matrices isomorphic to $\mathbb{R}^3$. What am I doing wrong?
I just noticed something really dumb. I forgot to use the constraint
$$\begin{pmatrix}0 & a + d \\ -a -d & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0\end{pmatrix}$$
Which gives me $a = -d$.
Therefore, the matrices for $\mathfrak{sp}(2)$ are those of the form $$\begin{pmatrix}a & b \\ c & -a\end{pmatrix}$$
Correct me if I'm wrong please.