I was wondering how is it possible to find the dimension of a semi-simple lie algebra $L$ if its corresponding root system is (lets make it simple) of type $B_2$. We can find the number of roots and deduce that each root has a corresponding space of dimension but 1. But how can one find just by looking at the the type of the root system, the dimension of $L_0$ the cartan subalgebra?
It is maybe an easy question, thanks for your help anyway!