Macaulay2 » Documentation
Packages » KacMoody » Command reference » cartanA
next | previous | forward | backward | up | index | toc

cartanA -- Cartan matrix of type $A_{n-1}$

Description

Returns the Cartan matrix of the simple Lie algebra $\mathfrak{sl}_n$ of type $A_{n-1}$. The diagonal entries are $2$, the two off-diagonals along the tridiagonal are $-1$, and all other entries are zero.

i1 : cartanA 4

o1 = | 2  -1 0  |
     | -1 2  -1 |
     | 0  -1 2  |

              3       3
o1 : Matrix ZZ  <-- ZZ
i2 : dynkinDiagram cartanA 4

o2 = 1 --- 2 --- 3

The matrix is the Cartan matrix of $\mathfrak{sl}_4$, of rank $3$. Its two adjacent off-diagonal entries $-1$ give the chain $1$--$2$--$3$ displayed by the diagram. Row $i$, column $j$ records $\langle\alpha_j,\alpha_i^\vee\rangle$.

See also

For the programmer

The object cartanA is a function closure.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:3003:0.