This problem has a long history, starting with the work of Killing and Cartan. You can read more here:

There is a lot more to say... but not now!