I was asked in an exam to find $G$, if $$Lie(G)=\left\{\begin{bmatrix}0 &-a&u\\ a &0&v\\0&0&0\end{bmatrix}; a,u,v\in\mathbb{R}\right\},$$ where $[\cdot,\cdot]$ is the commutator.
My idea was the following: Let $B(t)\in G\forall t\in (-\epsilon,\epsilon)$ and $\epsilon>0$ such that $B(0)=1_{3\times 3}$, then $$\left.\frac{d}{d t}\right|_{t=0}B(t)\in Lie(G).$$ From this I thought that matrices of the following forms could be elements in $G$ $$\begin{bmatrix}1 &-ta&tu\\ ta &1&tv\\0&0&1\end{bmatrix},\begin{bmatrix}0 &-ta&tu\\ ta &0&tv\\0&0&1\end{bmatrix}, \text{etc.}$$ The problem with this is that none of them actually satisfy the properties of a group. Can someone maybe explain how one could find a possible group for the given Lie-Algebra.
Hint: Observe that the matrices in your Lie algebra have a block form with a skew symmetric $2\times 2$-block and a block which is $\mathbb R^2$. Then recall that the skew symmetric $2\times 2$ matrices are the Lie algebra of $O(2)$ and of $SO(2)$.