---
title: "Normal Subgroups and Subgroup Series"
canonical: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/FiniteSolubleGroups/normal-series.html"
source: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/FiniteSolubleGroups/normal-series.md"
part: "Finite Groups"
chapter: "Finite Soluble Groups"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Finite Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/index-finite-groups.md"}
  - {"title": "Finite Soluble Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/FiniteSolubleGroups/index-finite-soluble-groups.md"}
prev: {"title": "Quotient Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/FiniteSolubleGroups/quotient.md"}
next: {"title": "Cosets", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/FiniteSolubleGroups/cosets.md"}
intrinsics:
  - {"name": "Centre", "signature": "Centre(G): GrpPC -> GrpPC"}
  - {"name": "Center", "signature": "Center(G): GrpPC -> GrpPC"}
  - {"name": "CommutatorSubgroup", "signature": "CommutatorSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "DerivedSubgroup", "signature": "DerivedSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "DerivedGroup", "signature": "DerivedGroup(G): GrpPC -> GrpPC"}
  - {"name": "FittingSubgroup", "signature": "FittingSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "FittingGroup", "signature": "FittingGroup(G): GrpPC -> GrpPC"}
  - {"name": "FrattiniSubgroup", "signature": "FrattiniSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "PrefrattiniSubgroup", "signature": "PrefrattiniSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "FrattiniQuotientRank", "signature": "FrattiniQuotientRank(G): GrpPC -> GrpPC"}
  - {"name": "Hypercentre", "signature": "Hypercentre(G): GrpPC -> GrpPC"}
  - {"name": "Hypercenter", "signature": "Hypercenter(G): GrpPC -> GrpPC"}
  - {"name": "MinimalNormalSubgroups", "signature": "MinimalNormalSubgroups(G): GrpPC -> [GrpPC]"}
  - {"name": "pCore", "signature": "pCore(G, S): GrpPC, { RngIntElt} -> GrpPC"}
  - {"name": "pCore", "signature": "pCore(G, S): GrpPC, RngIntElt -> GrpPC"}
  - {"name": "Socle", "signature": "Socle(G): GrpPC -> GrpPC"}
  - {"name": "PrimaryAbelianBasis", "signature": "PrimaryAbelianBasis(G): GrpPC -> [ GrpPCElt ], [ RngIntElt ]"}
  - {"name": "AbelianBasis", "signature": "AbelianBasis(G): GrpPC -> [ GrpPCElt ], [ RngIntElt ]"}
  - {"name": "PrimaryAbelianInvariants", "signature": "PrimaryAbelianInvariants(G): GrpPC -> [RngIntElt]"}
  - {"name": "AbelianInvariants", "signature": "AbelianInvariants(G): GrpPC -> [RngIntElt]"}
  - {"name": "ChiefSeries", "signature": "ChiefSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "CompositionSeries", "signature": "CompositionSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "CompositionFactors", "signature": "CompositionFactors(G): GrpPC -> SeqEnum"}
  - {"name": "CompositionSeries", "signature": "CompositionSeries(G, i): GrpPC, RngIntElt -> [GrpPC]"}
  - {"name": "DerivedSeries", "signature": "DerivedSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "DerivedLength", "signature": "DerivedLength(G): GrpPC -> RngIntElt"}
  - {"name": "ElementaryAbelianSeries", "signature": "ElementaryAbelianSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "ElementaryAbelianSeriesCanonical", "signature": "ElementaryAbelianSeriesCanonical(G): GrpPC -> [GrpPC]"}
  - {"name": "LowerCentralSeries", "signature": "LowerCentralSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "NilpotencyClass", "signature": "NilpotencyClass(G): GrpPC -> RngIntElt"}
  - {"name": "pCentralSeries", "signature": "pCentralSeries(G, p): GrpPC, RngIntElt -> [GrpPC]"}
  - {"name": "SubnormalSeries", "signature": "SubnormalSeries(G, H): GrpPC, GrpPC -> [GrpPC]"}
  - {"name": "UpperCentralSeries", "signature": "UpperCentralSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "Agemo", "signature": "Agemo(G, i): GrpPC, RngIntElt -> GrpPC"}
  - {"name": "Omega", "signature": "Omega(G, i): GrpPC, RngIntElt -> GrpPC"}
  - {"name": "JenningsSeries", "signature": "JenningsSeries(G): GrpPC -> [GrpPC]"}
  - {"name": "pClass", "signature": "pClass(G): GrpPC -> RngIntElt"}
  - {"name": "pRanks", "signature": "pRanks(G): GrpPC -> [ RngIntElt ]"}
  - {"name": "NormalSubgroups", "signature": "NormalSubgroups(G): GrpPC -> SeqEnum"}
  - {"name": "NormalLattice", "signature": "NormalLattice(G): GrpPC -> SubGrpLat"}
  - {"name": "MinimalNormalSubgroup", "signature": "MinimalNormalSubgroup(G): GrpPC -> GrpPC"}
  - {"name": "MinimalNormalSubgroup", "signature": "MinimalNormalSubgroup(G, N): GrpPC -> GrpPC"}
  - {"name": "Complements", "signature": "Complements(G, N): GrpPC, GrpPC -> SeqEnum"}
  - {"name": "NormalComplements", "signature": "NormalComplements(G, N): GrpPC, GrpPC -> SeqEnum"}
  - {"name": "NormalComplements", "signature": "NormalComplements(G, H, N): GrpPC, GrpPC, GrpPC -> SeqEnum"}
examples:
  - "ex-54e655"
  - "ex-12efb9"
---

# Normal Subgroups and Subgroup Series

## Characteristic Subgroups

<a id="function-centre-grppc"></a>
### `Centre(G): GrpPC -> GrpPC`

<a id="function-center-grppc"></a>
### `Center(G): GrpPC -> GrpPC`

The centre of the group $G$.

<a id="function-commutatorsubgroup-grppc"></a>
### `CommutatorSubgroup(G): GrpPC -> GrpPC`

<a id="function-derivedsubgroup-grppc"></a>
### `DerivedSubgroup(G): GrpPC -> GrpPC`

<a id="function-derivedgroup-grppc"></a>
### `DerivedGroup(G): GrpPC -> GrpPC`

The derived subgroup of the group $G$.

<a id="function-fittingsubgroup-grppc"></a>
### `FittingSubgroup(G): GrpPC -> GrpPC`

<a id="function-fittinggroup-grppc"></a>
### `FittingGroup(G): GrpPC -> GrpPC`

The Fitting subgroup of the group $G$.

<a id="function-frattinisubgroup-grppc"></a>
### `FrattiniSubgroup(G): GrpPC -> GrpPC`

The Frattini subgroup of the group $G$.

<a id="function-prefrattinisubgroup-grppc"></a>
### `PrefrattiniSubgroup(G): GrpPC -> GrpPC`

A prefrattini subgroup of the group $G$.

<a id="function-frattiniquotientrank-grppc"></a>
### `FrattiniQuotientRank(G): GrpPC -> GrpPC`

The rank of the Frattini quotient of the $p$-group $G$.

<a id="function-hypercentre-grppc"></a>
### `Hypercentre(G): GrpPC -> GrpPC`

<a id="function-hypercenter-grppc"></a>
### `Hypercenter(G): GrpPC -> GrpPC`

The hypercentre of the group $G$, i.e. the stationary term in the upper central series for $G$.

<a id="function-minimalnormalsubgroups-grppc"></a>
### `MinimalNormalSubgroups(G): GrpPC -> [GrpPC]`

A sequence containing all minimal normal subgroups of $G$.

<a id="function-pcore-grppc-rngintelt-3"></a>
### `pCore(G, S): GrpPC, { RngIntElt} -> GrpPC`

<a id="function-pcore-grppc-rngintelt-4"></a>
### `pCore(G, S): GrpPC, RngIntElt -> GrpPC`

The maximal normal $\pi$-subgroup of $G$, $O_{\pi}(G)$, where $\pi$ is defined by $S$. The argument $S$ may be a set of primes, a single prime, or the negation of a single prime. If $S = -p$, then $O_{p'}(G)$ is returned.

<a id="function-socle-grppc"></a>
### `Socle(G): GrpPC -> GrpPC`

The socle of $G$.

## Subgroup Series

<a id="function-primaryabelianbasis-grppc"></a>
### `PrimaryAbelianBasis(G): GrpPC -> [ GrpPCElt ], [ RngIntElt ]`

<a id="function-abelianbasis-grppc"></a>
### `AbelianBasis(G): GrpPC -> [ GrpPCElt ], [ RngIntElt ]`

Given an abelian group $G$, return sequences $B$ and $I$ such that ${\rm order}(B[i]) = I[i]$ and $\langle B\rangle = G$ and the terms of $I$ give the types of each $p$-primary component of $G$. The non-primary form uses the Smith form invariants, i.e. each element of the sequence divides the next.

<a id="function-primaryabelianinvariants-grppc"></a>
### `PrimaryAbelianInvariants(G): GrpPC -> [RngIntElt]`

<a id="function-abelianinvariants-grppc"></a>
### `AbelianInvariants(G): GrpPC -> [RngIntElt]`

Given an abelian group $G$, return a sequence $Q$ containing the types of each $p$-primary component of $G$. The non-primary form gives the Smith form invariants, i.e. each element of the sequence divides the next.

<a id="function-chiefseries-grppc"></a>
### `ChiefSeries(G): GrpPC -> [GrpPC]`

A chief series for the group $G$. The series is returned as a sequence of subgroups of $G$.

<a id="function-compositionseries-grppc"></a>
### `CompositionSeries(G): GrpPC -> [GrpPC]`

A composition series for the group $G$. The series is returned as a sequence of subgroups of $G$. The $i$-th term of the composition series has a presentation given by the generators `G.i` through `G.NPCgens(G)` and relations involving those generators only.

<a id="function-compositionfactors-grppc"></a>
### `CompositionFactors(G): GrpPC -> SeqEnum`

A sequence of integer tuples that describe the composition factors, ordered according to some composition series for the group $G$. Since each factor will be a cyclic group of prime order, the tuples will each be of the form $<19,0,q>$ representing the cyclic group of order $q$. The sequence has a custom print routine.

<a id="function-compositionseries-grppc-rngintelt"></a>
### `CompositionSeries(G, i): GrpPC, RngIntElt -> [GrpPC]`

The $i+1$-th entry of the composition series for the group $G$. Its presentation is given by the generators `G.(i+1)` through `G.m`, where $m$ is the number of pc-generators of $G$ and relations involving these generators only.

<a id="function-derivedseries-grppc"></a>
### `DerivedSeries(G): GrpPC -> [GrpPC]`

The derived series of the group $G$. The series is returned as a sequence of subgroups.

<a id="function-derivedlength-grppc"></a>
### `DerivedLength(G): GrpPC -> RngIntElt`

The derived length of the group $G$.

<a id="function-elementaryabelianseries-grppc"></a>
### `ElementaryAbelianSeries(G): GrpPC -> [GrpPC]`

An elementary abelian series is a chain of normal subgroups with the property that the quotient of each pair of successive terms in the series is elementary abelian. The elementary abelian series for the group $G$ is returned as a sequence of subgroups.

<a id="function-elementaryabelianseriescanonical-grppc"></a>
### `ElementaryAbelianSeriesCanonical(G): GrpPC -> [GrpPC]`

Gives a similar result to using `ElementaryAbelianSeries`, except the series returned depends only on the isomorphism type of the group, and consists of characteristic subgroups. This function may be slower than `ElementaryAbelianSeries`.

<a id="function-lowercentralseries-grppc"></a>
### `LowerCentralSeries(G): GrpPC -> [GrpPC]`

The lower central series for the group $G$. The series is returned as a sequence of subgroups.

<a id="function-nilpotencyclass-grppc"></a>
### `NilpotencyClass(G): GrpPC -> RngIntElt`

If $G$ is nilpotent, return the nilpotence class of $G$. Otherwise, -1 is returned.

<a id="function-pcentralseries-grppc-rngintelt"></a>
### `pCentralSeries(G, p): GrpPC, RngIntElt -> [GrpPC]`

The $p$-central series for $G$, where $p$ is a prime dividing $|G|$. The series is returned as a sequence of subgroups. The $p$-central series $P_1 \triangleright P_2  \triangleright \cdots \triangleright  P_i$ of a soluble group $G$ is defined inductively as follows:

**•**
$P_1 = G$,

**•**
$P_{i+1} = (G, P_i)P_i^p$, for $i > 0$.

<a id="function-subnormalseries-grppc-grppc"></a>
### `SubnormalSeries(G, H): GrpPC, GrpPC -> [GrpPC]`

Given a group $G$ and a subgroup $H$ of $G$, return a sequence of subgroups commencing with $G$ and terminating with $H$, such that each subgroup is normal in the previous one. If $H$ is not subnormal in $G$, the empty sequence is returned.

<a id="function-uppercentralseries-grppc"></a>
### `UpperCentralSeries(G): GrpPC -> [GrpPC]`

The upper central series of $G$. The series is returned as a sequence of subgroups.

<a id="example-ex-54e655"></a>
### `Example: Elementary Abelian Series (ex-54e655)`

The elementary abelian series of the group $D_3 \wr D_5$ has terms of the following orders:

```magma
> H := DihedralGroup(GrpPerm, 5);
> G := WreathProduct(DihedralGroup(GrpPC, 3), DihedralGroup(GrpPC, 5),
>       [H.2, H.1]);
> EAS := ElementaryAbelianSeries(G);
> for i := 1 to #EAS do
>    print FactoredOrder(EAS[i]);
> end for;
    [ <2, 6>, <3, 5>, <5, 1> ]
    [ <2, 4>, <3, 5>, <5, 1> ]
    [ <2, 4>, <3, 5> ]
    [ <3, 5> ]
    []
```

Hence the elementary abelian factors can be seen to have sizes $2^2$, $5$, $2^4$, and $3^5$, reading from top to bottom.

## Series for $p$-groups

The following functions are only defined for a pc-group which is a $p$-group.

<a id="function-agemo-grppc-rngintelt"></a>
### `Agemo(G, i): GrpPC, RngIntElt -> GrpPC`

Given a $p$-group $G$, return the characteristic subgroup of $G$ generated by the elements $x^{p^i}$, $x \in G$, where $i$ is a positive integer.

<a id="function-omega-grppc-rngintelt"></a>
### `Omega(G, i): GrpPC, RngIntElt -> GrpPC`

Given a $p$-group $G$, return the characteristic subgroup of $G$ generated by the elements of order dividing $p^i$, where $i$ is a positive integer.

<a id="function-jenningsseries-grppc"></a>
### `JenningsSeries(G): GrpPC -> [GrpPC]`

Given a $p$-group $G$, return the Jennings series for $G$. The series is returned as a sequence of subgroups. The Jennings series $J_1 \triangleright J_2 \triangleright \cdots \triangleright J_i \cdots$ of a $p$-group $G$ is defined inductively as follows:

**•**
$J_1 = G$,

**•**
$J_{i+1} = <(J_i, G), J_k^p>$, with $k = \lceil (i+1)/p\rceil$, $i > 0$.

<a id="function-pclass-grppc"></a>
### `pClass(G): GrpPC -> RngIntElt`

The lower exponent-$p$ class of the $p$-group $G$.

<a id="function-pranks-grppc"></a>
### `pRanks(G): GrpPC -> [ RngIntElt ]`

A sequence whose $i$-th entry is the number of pc-generators for the lower exponent-$p$ class $i$ quotient of the $p$-group $G$.

## Normal Subgroups and Complements

<a id="function-normalsubgroups-grppc"></a>
### `NormalSubgroups(G): GrpPC -> SeqEnum`

The collection of all normal subgroups of $G$ returned as a sequence.

<a id="function-normallattice-grppc"></a>
### `NormalLattice(G): GrpPC -> SubGrpLat`

The lattice of normal subgroups of $G$.

<a id="function-minimalnormalsubgroup-grppc"></a>
### `MinimalNormalSubgroup(G): GrpPC -> GrpPC`

An elementary abelian minimal normal subgroup of the soluble group $G$.

<a id="function-minimalnormalsubgroup-grppc-2"></a>
### `MinimalNormalSubgroup(G, N): GrpPC -> GrpPC`

Given a non-trivial, normal subgroup $N$ of $G$, return an elementary abelian minimal normal subgroup of $G$ contained in $N$.

<a id="function-complements-grppc-grppc"></a>
### `Complements(G, N): GrpPC, GrpPC -> SeqEnum`

Given a normal subgroup $N$ of $G$, return conjugacy class representatives of all complements of $N$ in $G$. This function implements the first cohomology computation described in [[CNW90](https://docs.magma-maths.org/v2.30-1/references.md#cite-cnw-compls)].

<a id="function-normalcomplements-grppc-grppc"></a>
### `NormalComplements(G, N): GrpPC, GrpPC -> SeqEnum`

Given a normal subgroup $N$ of $G$, return all normal complements of $N$ in $G$. This function implements the first cohomology computation described in [[CNW90](https://docs.magma-maths.org/v2.30-1/references.md#cite-cnw-compls)].

<a id="function-normalcomplements-grppc-grppc-grppc"></a>
### `NormalComplements(G, H, N): GrpPC, GrpPC, GrpPC -> SeqEnum`

Given a normal subgroup $N$ of $G$, and a normal subgroup $H$ of $G$ containing $N$, return all complements of $N$ in $H$ which are normal in $G$. This function implements the first cohomology computation described in [[CNW90](https://docs.magma-maths.org/v2.30-1/references.md#cite-cnw-compls)].

<a id="example-ex-12efb9"></a>
### `Example: Normal Complements (ex-12efb9)`

We define the direct product of an extraspecial group of order $3^3$ and $D_3$ and let $N$ be the first factor of this product. Inside the Sylow 3-subgroup, we see that $N$ has 11 classes of complements, three of which are normal.

```magma
> A := ExtraSpecialGroup(GrpPC,3,1);
> B := DihedralGroup(GrpPC,3);
> G,f,p := DirectProduct(A,B);
> N := f[1](A);
> S3 := Sylow(G,3);
> cS := Complements(S3,N);
> [Index(S3,Normalizer(S3,t)):t in cS];
[ 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3 ]
```

We can compute only the normal complements by using `NormalComplements`.

```magma
> ncS := NormalComplements(S3,N);
> #ncS;
3
```

We can check that precisely one of these three complements is actually normal in $G$.

```magma
> [IsNormal(G,t):t in ncS];
[ true, false, false ]
```

Since $N$ has a $G$-normal complement in $S3$, we must have $S3$ normal in $G$. We can verify this. Using the three-parameter version of `NormalComplements` we can directly compute the $G$-normal complements of $N$ in $S3$.

```magma
> IsNormal(G,S3);
true
> ncG := NormalComplements(G,S3,N);
> #ncG;
1
> #NormalComplements(G,N);
1
```
