---
title: "Decompositions of $\\ast$-Algebras"
canonical: "https://docs.magma-maths.org/v2.30-1/Algebras/AlgebrasWithInvolution/decompositions.html"
source: "https://docs.magma-maths.org/v2.30-1/Algebras/AlgebrasWithInvolution/decompositions.md"
part: "Algebras"
chapter: "Algebras with Involution"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Algebras", "source": "https://docs.magma-maths.org/v2.30-1/Algebras/index-algebras.md"}
  - {"title": "Algebras with Involution", "source": "https://docs.magma-maths.org/v2.30-1/Algebras/AlgebrasWithInvolution/index-algebras-with-involution.md"}
prev: {"title": "Algebras with Involution", "source": "https://docs.magma-maths.org/v2.30-1/Algebras/AlgebrasWithInvolution/star-algebras.md"}
next: {"title": "Recognition of $\\ast$-Algebras", "source": "https://docs.magma-maths.org/v2.30-1/Algebras/AlgebrasWithInvolution/recognition.md"}
intrinsics:
  - {"name": "WedderburnDecomposition", "signature": "WedderburnDecomposition(A): AlgMat -> AlgMat, AlgMat"}
  - {"name": "WedderburnDecomposition", "signature": "WedderburnDecomposition(A): AlgGrp -> AlgGrpSub, AlgGrpSub"}
  - {"name": "TaftDecomposition", "signature": "TaftDecomposition(A): AlgMat -> AlgMat, AlgMat"}
  - {"name": "TaftDecomposition", "signature": "TaftDecomposition(A): AlgGrp -> AlgGrpSub, AlgGrpSub"}
examples:
  - "ex-d6a904"
---

# Decompositions of $\ast$-Algebras

Every finite-dimensional $K$-algebra $A$ has a decomposition $A=J\oplus W$, where $J$ is the Jacobson radical of $A$ and $W$ is a semisimple subring of $A$. We refer to such decompositions as *Wedderburn decompositions*. The procedure that computes Wedderburn decompositions is adapted from an analogous Magma function written by W. de Graaf for algebras defined by structure constants.

If $A$ is a $*$-algebra and the characteristic of $K$ is not 2, then it follows from a result of Taft [[Taf57](https://docs.magma-maths.org/v2.30-1/references.md#cite-taft)] that $A$ has a Wedderburn decomposition of the form $A=J\oplus T$ in which $T$ is invariant under the involution of $A$. We refer to such decompositions as *Taft decompositions*. The procedure that computes Taft decompositions is based on Taft’s original proof, and is described in [[BW12a](https://docs.magma-maths.org/v2.30-1/references.md#cite-brooksbankwilson1), Proposition 4.3].

<a id="function-wedderburndecomposition-algmat"></a>
## `WedderburnDecomposition(A): AlgMat -> AlgMat, AlgMat`

<a id="function-wedderburndecomposition-alggrp"></a>
## `WedderburnDecomposition(A): AlgGrp -> AlgGrpSub, AlgGrpSub`

A Wedderburn decomposition is constructed for the $*$-algebra $A$. Specifically, the Jacobson radical, $J$, of $A$, and a semisimple complement, $W$, to $J$ in $A$ are computed. Here $A$ may be either a matrix algebra or a group algebra over any field.

<a id="function-taftdecomposition-algmat"></a>
## `TaftDecomposition(A): AlgMat -> AlgMat, AlgMat`

<a id="function-taftdecomposition-alggrp"></a>
## `TaftDecomposition(A): AlgGrp -> AlgGrpSub, AlgGrpSub`

A Taft decomposition is constructed for the $*$-algebra $A$. Specifically, the Jacobson radical, $J$, of $A$ and a $*$-invariant Wedderburn complement to $J$ in $A$ are computed. This function requires that the base ring of $A$ has characteristic different from 2. Here $A$ may be either a matrix $*$-algebra or a group algebra.

<a id="example-ex-d6a904"></a>
## `Example: Taft Decomposition of a Group Algebra (ex-d6a904)`

We compute a Wedderburn decomposition of the group algebra ${\rm GF (5)}[A_5]$ equipped with its natural involution.

```magma
> K := GF(5);
> G := AlternatingGroup(5);
> A := GroupAlgebraAsStarAlgebra(K, G);
> J, W := WedderburnDecomposition(A);
```

We check dimensions and the $*$-invariance of $T$.

```magma
> Dimension(J); Dimension(W);
25
35
> forall { i : i in [1..Ngens (W)] | W.i@Star(A) in W };
false
```

Now find a $*$-invariant decomposition.

```magma
> J, T := TaftDecomposition(A);
> Dimension(J); Dimension(W);
25
35
> forall { i : i in [1..Ngens(T)] | T.i@Star(A) in T };
true
```
