---
title: "Standard Constructions and Conversions"
canonical: "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/AbelianGroups/standard-construction.html"
source: "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/AbelianGroups/standard-construction.md"
part: "Finitely Presented Groups"
chapter: "Abelian Groups"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Finitely Presented Groups", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/index-finitely-presented-groups.md"}
  - {"title": "Abelian Groups", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/AbelianGroups/index-abelian-groups.md"}
prev: {"title": "Construction of Subgroups and Quotient Groups", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/AbelianGroups/subgroup-quotient.md"}
next: {"title": "Operations on Elements", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/AbelianGroups/operation-element.md"}
intrinsics:
  - {"name": "AbelianGroup", "signature": "AbelianGroup(GrpAb, Q): Cat, [ RngIntElt ] -> GrpAb"}
  - {"name": "AbelianGroup", "signature": "AbelianGroup(Q): [ RngIntElt ] -> GrpAb"}
  - {"name": "AbelianGroup", "signature": "AbelianGroup(G): Grp -> GrpAb, Hom"}
  - {"name": "AbelianQuotient", "signature": "AbelianQuotient(G): Grp -> GrpAb, Hom"}
  - {"name": "DirectSum", "signature": "DirectSum(A, B): GrpAb, GrpAb -> GrpAb"}
  - {"name": "PCGroup", "signature": "PCGroup(A): GrpAb -> GrpPC, Hom(Grp)"}
  - {"name": "PermutationGroup", "signature": "PermutationGroup(A): GrpAb -> GrpPerm, Hom(Grp)"}
  - {"name": "FPGroup", "signature": "FPGroup(A): GrpAb -> GrpFP, Hom(Grp)"}
  - {"name": "CommutatorSubgroup", "signature": "CommutatorSubgroup(G): GrpAb -> GrpAb"}
  - {"name": "DerivedSubgroup", "signature": "DerivedSubgroup(G): GrpAb -> GrpAb"}
  - {"name": "DerivedGroup", "signature": "DerivedGroup(G): GrpAb -> GrpAb"}
  - {"name": "CommutatorSubgroup", "signature": "CommutatorSubgroup(H, K): GrpAb, GrpAb -> GrpAb"}
  - {"name": "CommutatorSubgroup", "signature": "CommutatorSubgroup(G, H, K): GrpAb, GrpAb, GrpAb -> GrpAb"}
  - {"name": "Centralizer", "signature": "Centralizer(G, a): GrpAb, GrpAbElt -> GrpAb"}
  - {"name": "Centraliser", "signature": "Centraliser(G, a): GrpAb, GrpAbElt -> GrpAb"}
  - {"name": "Core", "signature": "Core(G, H): GrpAb, GrpAb -> GrpAb"}
  - {"name": "Centre", "signature": "Centre(G): GrpAb -> GrpAb"}
  - {"name": "Center", "signature": "Center(G): GrpAb -> GrpAb"}
  - {"name": "FittingGroup", "signature": "FittingGroup(G): GrpAb -> GrpAb"}
  - {"name": "FittingSubgroup", "signature": "FittingSubgroup(G): GrpAb -> GrpAb"}
  - {"name": "Hypercentre", "signature": "Hypercentre(G): GrpAb -> GrpAb"}
  - {"name": "Hypercenter", "signature": "Hypercenter(G): GrpAb -> GrpAb"}
---

# Standard Constructions and Conversions

<a id="function-abeliangroup-cat-rngintelt"></a>
## `AbelianGroup(GrpAb, Q): Cat, [ RngIntElt ] -> GrpAb`

<a id="function-abeliangroup-rngintelt-2"></a>
## `AbelianGroup(Q): [ RngIntElt ] -> GrpAb`

Let $Q = [ a_1, \ldots, a_r]$ be a sequence of non-negative integers. This function creates the abelian group ${\mathbb{Z}}_1 + \cdots + {\mathbb{Z}}_r$, where $Z_i$ is the cyclic group of order $|a_i|$ if $a_i\neq0$ or the infinite cyclic group ${\mathbb{Z}}$ otherwise, $i = 1, \ldots, r$.

<a id="function-abeliangroup-grp"></a>
## `AbelianGroup(G): Grp -> GrpAb, Hom`

Given an abelian permutation, matrix, or polycyclic group $G$, represent it as an abelian group $A$. The function also returns the isomorphism $\phi: G \ar A$ as its second value.

<a id="function-abelianquotient-grp"></a>
## `AbelianQuotient(G): Grp -> GrpAb, Hom`

Given a finitely presented, permutation, matrix, or polycyclic group $G$, return the maximal abelian quotient $A$ of $G$. The function returns the natural homomorphism $\phi: G \ar A$ as its second value.

<a id="function-directsum-grpab-grpab"></a>
## `DirectSum(A, B): GrpAb, GrpAb -> GrpAb`

The direct sum of abelian groups $A$ and $B$.

<a id="function-pcgroup-grpab"></a>
## `PCGroup(A): GrpAb -> GrpPC, Hom(Grp)`

A pc-group representation $G$ of $A$. The isomorphism $\phi: A\rightarrow G$ is also returned.

<a id="function-permutationgroup-grpab"></a>
## `PermutationGroup(A): GrpAb -> GrpPerm, Hom(Grp)`

A permutation group representation of $A$. The particular group $G$ is generated by disjoint cycles whose lengths are the abelian invariants of $A$. The isomorphism $\phi: G\rightarrow A$ is also returned.

<a id="function-fpgroup-grpab"></a>
## `FPGroup(A): GrpAb -> GrpFP, Hom(Grp)`

A fp-group representation of $A$. The particular group $G$ is generated by commuting generators whose orders are the abelian invariants of $A$. The isomorphism $\phi: G\ar A$ is also returned.

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

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

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

The derived subgroup of $G$, that is the trivial group, since $G$ is abelian.

<a id="function-commutatorsubgroup-grpab-grpab"></a>
## `CommutatorSubgroup(H, K): GrpAb, GrpAb -> GrpAb`

<a id="function-commutatorsubgroup-grpab-grpab-grpab"></a>
## `CommutatorSubgroup(G, H, K): GrpAb, GrpAb, GrpAb -> GrpAb`

The commutator subgroup of groups $H$ and $K$ in their common overgroup $G$.

<a id="function-centralizer-grpab-grpabelt"></a>
## `Centralizer(G, a): GrpAb, GrpAbElt -> GrpAb`

<a id="function-centraliser-grpab-grpabelt"></a>
## `Centraliser(G, a): GrpAb, GrpAbElt -> GrpAb`

The centraliser of $a$ in $G$.

<a id="function-core-grpab-grpab"></a>
## `Core(G, H): GrpAb, GrpAb -> GrpAb`

The maximal normal subgroup of $G$ that is contained in the subgroup $H$ of $G$. Since $G$ is abelian, this is $H$ itself.

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

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

The center of $G$, ie. $G$ itself.

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

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

The Fitting subgroup of $G$.

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

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

The hypercentre of $G$.
