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

weylElementMatrix -- Matrix of the Weyl group element of a given word

Description

The word w need not be reduced. The resulting matrix depends only on the Weyl-group element represented by the word, so a nonreduced word will still give the correct matrix; equivalently, any two reduced words for the same element give equal matrices. Alternatively, u can be a WeylElement. Its stored Cartan datum determines the same matrix on simple-root coordinates.

i1 : A = cartanA 3

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

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : weylElementMatrix(A, {1,2,1})

o2 = | 0  -1 |
     | -1 0  |

              2       2
o2 : Matrix ZZ  <-- ZZ
i3 : weylElementMatrix(A, {2,1,2})  -- same element by braid relation

o3 = | 0  -1 |
     | -1 0  |

              2       2
o3 : Matrix ZZ  <-- ZZ

Both Weyl-element matrices are the same $A_2$ matrix: their columns express $\alpha_1\mapsto-\alpha_2$ and $\alpha_2\mapsto-\alpha_1$. The equality reflects the braid relation $s_1s_2s_1=s_2s_1s_2$; these two words represent the longest element.

The longest element $w_0$ of a finite Weyl group acts by $-1$ in types $A_1$, $D_{2n}$, $E_7$, $E_8$, $B_n$, $C_n$, $F_4$, and $G_2$. For $A_n$ with $n\geq 2$, $w_0$ acts as the negative of the diagram-reversing automorphism. For $A_3$, its matrix reverses the simple-root order and changes each sign:

i4 : w0 := longElement cartanA 4          -- S_4 longest, length 6

o4 = {1, 2, 1, 3, 2, 1}

o4 : List
i5 : weylElementMatrix(cartanA 4, w0)

o5 = | 0  0  -1 |
     | 0  -1 0  |
     | -1 0  0  |

              3       3
o5 : Matrix ZZ  <-- ZZ

Since $D_4$ is of type $D_{2n}$, its longest element acts as $-\mathrm{id}$ on the root lattice:

i6 : w0D4 := longElement cartanD 4

o6 = {1, 2, 1, 3, 2, 1, 4, 2, 1, 3, 2, 4}

o6 : List
i7 : weylElementMatrix(cartanD 4, w0D4) == - id_(ZZ^4)

o7 = true

See also

Ways to use weylElementMatrix:

  • weylElementMatrix(Matrix,List)
  • weylElementMatrix(WeylElement)

For the programmer

The object weylElementMatrix is a method function.


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