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

reflectionMatrix -- Matrix of a simple reflection

Description

The simple reflection $s_i$ acts on a simple root by $s_i(\alpha_j) = \alpha_j - A_{ij}\alpha_i$. This function gives the corresponding $n\times n$ integer matrix in the simple-root basis. A Weyl-group word $w = s_{i_1}\cdots s_{i_k}$ is obtained as the product of these matrices; see weylElementMatrix. When a Cartan datum is supplied, nodes can be specified by name or by positions numbered from $1$. With a matrix, use positions.

i1 : D = cartanDatum("A3",
         NodeLabels => {"left","middle","right"});
i2 : W = weylGroup D;
i3 : reflectionMatrix(W, "left")

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

              3       3
o3 : Matrix ZZ  <-- ZZ
i4 : reflectionMatrix(W, "middle") * reflectionMatrix(W, "left")

o4 = | -1 1 0 |
     | -1 0 1 |
     | 0  0 1 |

              3       3
o4 : Matrix ZZ  <-- ZZ

The columns of the first matrix give $s_1(\alpha_1)=-\alpha_1$, $s_1(\alpha_2)=\alpha_1+\alpha_2$, and $s_1(\alpha_3)=\alpha_3$. The second matrix represents $s_2s_1$, with $s_1$ acting first. Both matrices act on column vectors of simple-root coefficients.

Reflections are involutions ($s_i^2 = e$), and a pair $(s_i, s_j)$ of simple reflections satisfies the braid relation $(s_i s_j)^{m_{ij}} = e$, where $m_{ij} \in \{2,3,4,6\}$ depending on $A_{ij}A_{ji}\in\{0,1,2,3\}$; when the product is at least $4$, $m_{ij}=\infty$. For example in $G_2$ one has $m_{12}=6$:

i5 : G := cartanG2()

o5 = | 2  -3 |
     | -1 2  |

              2       2
o5 : Matrix ZZ  <-- ZZ
i6 : S1 := reflectionMatrix(G, 1)

o6 = | -1 3 |
     | 0  1 |

              2       2
o6 : Matrix ZZ  <-- ZZ
i7 : S2 := reflectionMatrix(G, 2)

o7 = | 1 0  |
     | 1 -1 |

              2       2
o7 : Matrix ZZ  <-- ZZ
i8 : S1*S1 == id_(ZZ^2)

o8 = true
i9 : (S1*S2)^6 == id_(ZZ^2)

o9 = true

Reflections also satisfy the formula $s_i(\alpha_j) = \alpha_j - A_{ij}\alpha_i$, which is exactly the $j$-th column of the reflection matrix:

i10 : reflectionMatrix(cartanB 3, 3) * transpose matrix{{0,1,0}}

o10 = | 0 |
      | 1 |
      | 2 |

               3       1
o10 : Matrix ZZ  <-- ZZ

See also

Ways to use reflectionMatrix:

  • reflectionMatrix(CartanDatum,String)
  • reflectionMatrix(CartanDatum,Thing)
  • reflectionMatrix(CartanDatum,ZZ)
  • reflectionMatrix(KMWeylGroup,String)
  • reflectionMatrix(KMWeylGroup,Thing)
  • reflectionMatrix(KMWeylGroup,ZZ)
  • reflectionMatrix(Matrix,ZZ)
  • reflectionMatrix(Realization,String)
  • reflectionMatrix(Realization,Thing)
  • reflectionMatrix(Realization,ZZ)
  • reflectionMatrix(RootDatum,String)
  • reflectionMatrix(RootDatum,Thing)
  • reflectionMatrix(RootDatum,ZZ)

For the programmer

The object reflectionMatrix 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:7742:0.