---
title: "Root Actions"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/CoxeterGroups/action-root-coroot.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/CoxeterGroups/action-root-coroot.md"
part: "Lie Theory"
chapter: "Coxeter Groups"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Lie Theory", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/index-lie-theory.md"}
  - {"title": "Coxeter Groups", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/CoxeterGroups/index-coxeter-groups.md"}
prev: {"title": "Reflection Subgroups", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/CoxeterGroups/subgroups.md"}
next: {"title": "Standard Action", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/CoxeterGroups/action-root-coroot-2.md"}
intrinsics:
  - {"name": "RootGSet", "signature": "RootGSet(W): GrpPermCox -> GSet"}
  - {"name": "CorootGSet", "signature": "CorootGSet(W): GrpPermCox -> GSet"}
  - {"name": "RootAction", "signature": "RootAction(W): GrpPermCox -> Map"}
  - {"name": "CorootAction", "signature": "CorootAction(W): GrpPermCox -> Map"}
  - {"name": "ReflectionGroup", "signature": "ReflectionGroup(W): GrpPermCox -> GrpMat, Map"}
  - {"name": "CoreflectionGroup", "signature": "CoreflectionGroup(W): GrpPermCox -> GrpMat, Map"}
examples:
  - "ex-90d28a"
  - "ex-1fa494"
  - "ex-2596af"
---

# Root Actions

The functions in this section give access to the action on the underlying root system (or datum) of a permutation Coxeter group. These functions do not apply to finitely presented Coxeter groups

In the following functions, the optional parameter `Basis` determines which basis the roots are given with respect to: `"Standard"` for the standard basis of the root space; `"Root"` for the basis of simple (co)roots; `"Weight"` for the basis of simple (co)weights.

<a id="function-rootgset-grppermcox"></a>
## `RootGSet(W): GrpPermCox -> GSet`

<a id="function-corootgset-grppermcox"></a>
## `CorootGSet(W): GrpPermCox -> GSet`

```magma
Basis: MonStgElt                    Default: "Standard"
```

The $G$-set of the Coxeter group $W$ acting on the (co)roots.

<a id="example-ex-90d28a"></a>
## `Example: Root G-Sets (ex-90d28a)`

```magma
> W := CoxeterGroup("B3");
> X := RootGSet(W);
> r := Root(W, 5);
> r;
(0 1 1)
> Image(W.1, X, r);
(1 1 1)
```

<a id="function-rootaction-grppermcox"></a>
## `RootAction(W): GrpPermCox -> Map`

<a id="function-corootaction-grppermcox"></a>
## `CorootAction(W): GrpPermCox -> Map`

```magma
Basis: MonStgElt                    Default: "Standard"
```

The map $X\times W \to X$ giving the action of the Coxeter group $W$ on the (co)root space $X$.

<a id="example-ex-1fa494"></a>
## `Example: Coroot Action (ex-1fa494)`

```magma
> W := CoxeterGroup("B3");
> act := CorootAction(W);
> act([1,-2,1], W.1);
(-1 -1  1)
```

<a id="function-reflectiongroup-grppermcox-2"></a>
## `ReflectionGroup(W): GrpPermCox -> GrpMat, Map`

<a id="function-coreflectiongroup-grppermcox"></a>
## `CoreflectionGroup(W): GrpPermCox -> GrpMat, Map`

```magma
Basis: MonStgElt                    Default: "Standard"
```

The Coxeter group $W$ as a real reflection group (ie. as a matrix group over some subfield of **R**) acting on the (co)root space, and the isomorphism from $W$ to the (co)reflection group.

<a id="example-ex-2596af"></a>
## `Example: Reflection Group of a Coxeter Group (ex-2596af)`

```magma
> W := CoxeterGroup("B3");
> _, h := ReflectionGroup(W);
> W.1*W.3;
(1, 10)(2, 8)(3, 12)(4, 7)(5, 6)(11, 17)(13, 16)(14, 15)
> h(W.1*W.3);
[-1  0  0]
[ 1  1  2]
[ 0  0 -1]
```
