For ordered simple roots, the Cartan matrix is . It determines their relative lengths and angles.
For simple roots , the Cartan matrix is
Its diagonal entries are two, while its off-diagonal entries encode the angles and relative lengths in the Dynkin diagram.
With and roots labeled from left to right, the three Cartan matrices are