Is there any uniform formula that recovers $Z(G)$ from $\mathfrak{g}$?

92 Views Asked by At

Let $\mathfrak{g}$ be a Lie algebra over $\mathbb{R}$ or $\mathbb{C}$. Then there exists a connected and simply connected Lie group $G$ whose Lie algebra is $\mathfrak{g}$. The question is, is there any general way to find $Z(G)$, the center of $G$, from $\mathfrak{g}$? Thanks in advance.