Abstract
In this paper, we describe an elementary method for counting the number of non-isomorphic algebras of a fixed, finite dimension over a given finite field. We show how this method works in the case of 2-dimensional algebras over the field \({\mathbb {F}}_{2}\).
Similar content being viewed by others
1 Introduction
Classifying finite-dimensional algebras over a given field is usually a very hard problem. The first general result was a classification by Hendersson and Searle of 2-dimensional algebras over the base field \({\mathbb {R}}\), which appeared in 1992 ([1]). This was generalised in 2000 by Petersson ([3]), who managed to give a full classification of 2-dimensional algebras over an arbitrary base field. The methods employed in these papers are quite involved and rely on a large amount of previous work by many illustrious authors.
Our aim in this paper is to give perhaps not a classification but at least a way to compute the exact number of non-isomorphic n-dimensional algebras over a fixed finite field by elementary means. Indeed, nothing more complicated than linear algebra and some very basic results about group actions will be needed: we describe isomorphism classes of n-dimensional K-algebras as orbits of a certain \(\mathrm {GL}_{n}(K)\)-action on \(\mathrm {Mat}_{n}(K)^{n}\) and use a basic result about group actions to count these orbits. In the first three sections, we give a proof based on concrete calculations, while Sect. 4 is dedicated to a more abstract alternative which avoids all computations. In Sect. 5, we work out the concrete example \(n=2\), \(K={\mathbb {F}}_{2}\).
2 Notation and Basics
Fix a field K. In this article, an algebra is understood to be a K-vector space A equipped with a multiplication, i.e. a bilinear map \(A\times A\rightarrow A\). If a, b are in A, we will write ab for the image of (a, b) under this map. We do not assume algebras to have a unit or to be associative. By the dimension of an algebra we mean its dimension as a K-vector space. Two algebras A and \(A'\) will be called isomorphic if there exists a K-linear bijection \(f:A\rightarrow A'\) with \(f(ab)=f(a)f(b)\) for all a, b in A. The isomorphism class of an algebra A will be denoted by [A]. For \(n\in {\mathbb {N}}\), we define \(\mathrm {Alg}_{n}(K)\) to be the set of isomorphism classes of n-dimensional algebras.
Given a vector \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\) of n \((n\times n)\)-matrices over K, we can define an algebra \(\mathrm {alg}({\mathcal {M}})\) which is \(K^{n}\) as a K-vector space and for which multiplication is defined to be the unique bilinear map \(K^{n}\times K^{n}\rightarrow K^{n}\) with
where the \(e_{i}\) are the canonical basis vectors of \(K^{n}\). Intuitively, this means that multiplying an element \(a\in \mathrm {alg}({\mathcal {M}})\) on the left with \(e_{i}\) is multiplying the coordinate vector of a (with respect to the canonical basis) with \(M_{i}\) and interpreting the result again as a coordinate vector (with respect to the canonical basis). This allows us to define the map
which will play an important role in this paper.
Lemma 1.1
The map \(\left[ \mathrm {alg}\right] \) defined above is surjective.
Proof
Let A be an n-dimensional algebra with basis \(a_{1},\ldots ,a_{n}\). There are \(\alpha _{ij,k}\) in K such that \(a_{i}a_{j}=\sum _{k}\alpha _{ik,j}a_{k}\) for all \(1\le i,j\le n\). Define the matrix \(M_{i}\) by putting \((M_{i})_{jk}=\alpha _{ij,k}\) and set \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\in \mathrm {Mat}_{n}(K)^{n}\). There is a unique linear map \(\mathrm {alg}({\mathcal {M}})\rightarrow A,e_{i}\mapsto a_{i}\) which is clearly bijective and which, by construction, preserves multiplication. Hence \([A]=[\mathrm {alg}({\mathcal {M}})]\). \(\square \)
On the other hand, \(\left[ \mathrm {alg}\right] \) is clearly not injective, since for any \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\) and \(\alpha \in K^{*}\), for example, we have \([\mathrm {alg}({\mathcal {M}})]=[\mathrm {alg}(\alpha {\mathcal {M}})]\).
3 A Group Action on \(\mathrm {Mat}_{n}(K)^{n}\)
Recall that for a given set X and a group G with neutral element e, a (right) G-action on X is a map \(\phi :X\times G\rightarrow X\) such that
-
(1)
\(\phi (x,e)=x\) for any \(x\in X\),
-
(2)
\(\phi (x,gg')=\phi (\phi (x,g),g')\) for all \(g,g'\in G\), \(x\in X\).
If \(\phi \) is a G-action on X, then the \(\phi \)-orbit of an element \(x\in X\) is the set \(G(x)=\left\{ \phi (x,g)\mid g\in G\right\} \). The set of \(\phi \)-orbits is denoted by X/G. The fixpoints of a \(g\in G\) are the elements of \(X^{g}=\left\{ x\in X\mid \phi (x,g)=x\right\} \).
Lemma 2.1
The map
is a \(\mathrm {GL}_{n}(K)\)-action on \(\mathrm {Mat}_{n}(K)^{n}\).
Proof
It is clear that \(\phi ({\mathcal {M}},\mathbb {1}_{n})={\mathcal {M}}\) for all \({\mathcal {M}}\) in \(\mathrm {Mat}_{n}(K)^{n}\). Take \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\) in \(\mathrm {Mat}_{n}(K)^{n}\) and \(G,G'\) in \(\mathrm {GL}_{n}(K)\). We have to show \(\phi ({\mathcal {M}},GG')=\phi (\phi ({\mathcal {M}},G),G')\). The term on the right is
which is the term on the left. \(\square \)
Lemma 2.2
Two elements \({\mathcal {M}},{\mathcal {M}}'\) of \(\mathrm {Mat}_{n}(K)^{n}\) are in the same \(\phi \)-orbit if and only if \(\mathrm {alg}({\mathcal {M}})\) and \(\mathrm {alg}({\mathcal {M}}')\) are isomorphic, i.e. if and only if \(\left[ \mathrm {alg}({\mathcal {M}})\right] =\left[ \mathrm {alg}({\mathcal {M}}')\right] \).
Proof
Assume \(\mathrm {alg}({\mathcal {M}})\) and \(\mathrm {alg}({\mathcal {M}}')\) to be isomorphic for some \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\) and \({\mathcal {M}}'=(M'_{i})_{i=1,\ldots ,n}\) in \(\mathrm {Mat}_{n}(K)^{n}\). Take an isomorphism \(f:\mathrm {alg}({\mathcal {M}})\rightarrow \mathrm {alg}({\mathcal {M}}')\). Since \(\mathrm {alg}({\mathcal {M}})\) and \(\mathrm {alg}({\mathcal {M}}')\), considered as K-vector spaces, are just \(K^{n}\), there must be a \(G\in \mathrm {GL}_{n}(K)\) such that f(x) is just Gx for all \(x\in \mathrm {alg}({\mathcal {M}}')\). As f is an isomorphism, we find
for arbitrary \(x,y\in \mathrm {alg}({\mathcal {M}})\). In particular, if \(x=e_{l}\), we find \(GM_{l}y=\sum _{i}G_{il}M_{i}'Gy\) for all y, so \(M_{l}=G^{-1}\sum _{i}G_{il}M_{i}'G\) showing \(\phi ({\mathcal {M}}',G)={\mathcal {M}}\).
Suppose now that, for given \({\mathcal {M}}\) and \({\mathcal {M}}'\) in \(\mathrm {Mat}_{n}(K)^{n}\), there is some \(G\in \mathrm {GL}_{n}(K)\) with \(\phi (\mathcal {M'},G)={\mathcal {M}}\). G induces a function \(f:K^{n}\rightarrow K^{n},x\mapsto Gx\) which is bijective as G is invertible. To prove that f is an isomorphism between \(\mathrm {alg}({\mathcal {M}})\) and \(\mathrm {alg}({\mathcal {M}}')\), it suffices to show \(f(e_{i}e_{j})=f(e_{i})f(e_{j})\) for all i, j since f is linear. We find
the penultimate equality following from \(\phi ({\mathcal {M}}',G)={\mathcal {M}}\). \(\square \)
4 Counting Orbits
From now on, we assume K to be a finite field with q elements. As a consequence of Lemma 2.2, we find that \(\mathrm {alg}\) induces a well-defined, injective map
which is also surjective by Lemma 1.1. The number of isomorphism classes of n-dimensional K-algebras therefore equals the number of \(\phi \)-orbits of \(\mathrm {Mat}_{n}(K)^{n}\). The following well-known result from the theory of group actions will help us count the latter:
Proposition 3.1
(Burnside’s lemma). Suppose \(\phi \) is an action of a finite group G on a finite set X. Then
Proof
Cf. e.g. [5], p.58. \(\square \)
To use this lemma, we need to know the number of fixpoints of a given invertible matrix M. For that, we need the following definition:
Definition 3.2
For a matrix \(M\in \mathrm {Mat}_{k\times l}(K)\), the vectorisation of M is the vector \(\mathrm {vec}(M)\in K^{kl}\) obtained by stacking the columns of M, the first column being on top. For an element \({\mathcal {M}}=(M_{i})_{i=1,\ldots ,n}\in \mathrm {Mat}_{n}(K)^{n}\), we write \(\mathrm {Vec}({\mathcal {M}})\) for the single vector consisting of the vectorisations of all the \(M_{i}\). For more on the vectorisation operation, we refer to [2].
Lemma 3.3
For an invertible matrix M, we have
where \(\mathrm {Eig}_{1}(A)\) denotes the eigenspace of the matrix A with eigenvalue 1.
Proof
Suppose \({\mathcal {N}}=(N_{i})_{i=1,\ldots ,n}\) is a fixpoint of M, i.e.
It is known (see e.g. [2]) that, for arbitrary A, B, C in \(\mathrm {Mat}_{n}(K)\), we have \((B^{T}\otimes A)\mathrm {vec}(C)=\mathrm {vec}(ACB)\). From this, we conclude:
We have furthermore that \(\mathrm {Vec}((\sum _{i} M_{il}O_{i})_{l=1,\ldots ,n})=(M^{T}\otimes \mathbb {1}_{n}\otimes \mathbb {1}_{n})\mathrm {Vec}({\mathcal {O}})\) for any \({\mathcal {O}}=(O_{i})_{i=1,\ldots ,n}\in \mathrm {Mat}_{n}(K)^{n}\). Consequently, (\(\dagger \)) is equivalent to
so \({\mathcal {N}}\) is a fixpoint of M if and only if \(\mathrm {Vec}({\mathcal {N}})\) is an eigenvector of \(M^{T}\otimes M^{T}\otimes M^{-1}\) with eigenvalue 1. \(\square \)
Theorem 3.4
The number of non-isomorphic n-dimensional K-algebras is
Proof
By Lemma 2.2, the number of non-isomorphic n-dimensional k-algebras is the number of \(\phi \)-orbits. By 3.1 and 3.3, this is equal to the given formula.
\(\square \)
5 A Computation-Free Road to Rome
In this section, we will outline a version of the proof which avoids all concrete computations. Grateful use has been made of an anonymous referee’s report.
Suppose A is a K-algebra. We can express a choice of basis for A as a K-vector space isomorphism \(b:K^{n}\rightarrow A\). An algebra with basis can then be seen as a pair (A, b). We call two such pairs (A, b), \((A',b')\) isomorphic if there is a K-algebra isomorphism \(f:A\rightarrow A'\) with \(f\circ b=b'\). We denote the isomorphism class of (A, b) as \(\widetilde{(A,b)}\) and the set of isomorphism classes of n-dimensional K-algebras with basis as \(\mathrm {AlgBas}_{n}(K)\).
For a K-algebra A, we write \(\mu _{A}:A\otimes A\rightarrow A,x\otimes y\mapsto xy\). Similarly, if M is an element of \(\mathrm {Hom}(K^{n}\otimes K^{n},K^{n})\), we write \(\mathrm {alg}(M)\) for the algebra which is \(K^{n}\) as a K-vector space and with multiplication given by \(xy=M(x\otimes y)\) for all x, y in \(K^{n}\). We can identify the set \(\mathrm {AlgBas}_{n}(K)\) with \(\mathrm {Hom}(K^{n}\otimes K^{n},K^{n})\) by the following maps
which can be checked to be well-defined and inverse to each other.
We can define a \(\mathrm {GL}_{n}(K)\)-action \(\phi \) on \(\mathrm {AlgBas}_{n}(K)\) by \(\phi ((A,b),g)=(A,b\circ g^{-1})\). The \(\mathrm {GL}_{n}(K)\)-orbits correspond to the fibers of the forgetful functor
so we can count the number of non-isomorphic n-dimensional K-algebras by counting the \(\mathrm {GL}_{n}(K)\)-orbits of \(\phi \). By the above correspondence, we get a \(\mathrm {GL}_{n}(K)\)-action on \(\mathrm {Hom}(K^{n}\otimes K^{n},K^{n})\) as well and we can count the orbits of that action instead. In order to apply Burnside’s lemma, we need to find the \(M\in \mathrm {Hom}(K^{n}\otimes K^{n},K^{n})\) fixed by a given element \(g\in \mathrm {GL}_{n}(K)\). These are precisely those M which satisfy \(g^{-1}M(g\otimes g)=M\).
Let us recall a few results from basic linear algebra. For any two finite-dimensional K-vector spaces V, W we have, if we write \(V^{*}\) for the dual space of V, \(\mathrm {Hom}_{K}(V,W)\simeq V^{*}\otimes W\) via the isomorphism
Similarly, a map
for some \(a\in \mathrm {End}_{K}(W),b\in \mathrm {End}_{K}(V)\) corresponds to the map
where we have written \(b^{*}\) for the dual of b.
In particular, we can apply this with \(V=K^{n}\otimes K^{n}\) and \(W=K^{n}\). Writing \(\mathrm {vec}\) for the isomorphism \(\mathrm {Hom}_{K}(K^{n}\otimes K^{n},K^{n})\rightarrow (K^{n}\otimes K^{n})^{*}\otimes K^{n}\), we find that \(g^{-1}M(g\otimes g)=M\) is equivalent to
We conclude that \(\mathrm {vec}\) induces an isomorphism between the subvector space of \(\mathrm {Hom}_{K}(K^{n}\otimes K^{n},K^{n})\) consisting of elements fixed under g on the one hand and \(\mathrm {Eig}_{1}((g\otimes g)^{T}\otimes g^{-1})\) on the other hand.
6 Example: the Case \(n=2\), \(q=2\)
Any element of \(\mathrm {GL}_{2}(K)\) has, counting (algebraic) multiplicities, two eigenvalues in the algebraic closure \({\overline{K}}\) of K. Clearly, either both or none are elements of K which makes counting invertible matrices with eigenvalues in K considerably easier. Indeed, the only possible Jordan normal forms for a \(2\times 2\) matrix areFootnote 1
for some \(\alpha ,\beta \) in the algebraic closure of K. Since \(M=SJS^{-1}\), \(M'=S'J'S'^{-1}\) implies \(M\otimes M'=(S\otimes S')(J\otimes J')(S^{-1}\otimes S'^{-1})\) and since the Jordan normal form of M is also the Jordan normal form of \(M^{T}\), it follows that every \(M^{T}\otimes M^{T}\otimes M^{-1}\) must be conjugate either to
or to
for some \(\alpha ,\beta \in {\overline{K}}\). Note that \(\dim \mathrm {Eig}_{1}(N_{1})=3\) unless the characteristic of K is 2, in which case \(\dim \mathrm {Eig}_{1}(N_{1})=4\). If \(\alpha \ne 1\), we obviously have \(\dim \mathrm {Eig}_{1}(N_{\alpha })=0\). For \(M_{\alpha ,\beta }\), the dimension of the eigenspace associated to 1 depends heavily on \(\alpha \) and \(\beta \), ranging from 8 if \(\alpha =\beta =1\) to 0 if \(1\notin \left\{ \alpha ,\beta ,\alpha ^{2}\beta ^{-1},\alpha ^{-1}\beta ^{2}\right\} \).
We will do the computations explicitly for the concrete example of \(K={\mathbb {F}}_{2}\). There are 6 invertible matrices, namely
The identity obviously yields a contribution of \(2^{8}\). The next three are conjugate to \(J_{2}\) with \(\alpha =1\), therefore yielding a contribution of \(2^{4}\) each. The last two have no eigenvalues over K. Their eigenvalues are the roots \(t_{1},t_{2}\) of the polynomial \(x^{2}+x+1\). As these roots satisfy \(t_{1}^{2}=t_{2},t_{2}^{2}=t_{1}\), both matrices give a contribution of \(2^2\). This gives a total of \(2^{8}+3\cdot 2^{4}+2\cdot 2^{2}=312\) which divided by the total number of invertible matrices gives \(312/6=52\). This number fits the formulae which were obtained, using completely different methods, by Petersson and Scherer in [4].
7 Outlook
Theorem 3.4 suggests the following question: how many invertible \(n\times n\)-matrices M have
for a given \(k\in {\mathbb {N}}\)? If q and n are fixed, this is a finite problem and can therefore be calculated, but this is rather tedious and time-consuming. Having a closed formula in q and n would be nice.
On the algebraic side, it would be interesting to see whether the method described in this paper can also be used to count certain subclasses of algebras, like alternating algebras, associative algebras, or division algebras.
Notes
Here and later we only write the non-zero entries in our matrices, as is usual.
References
Althoen, S.C., Hansen, K.D.: Two-dimensional real algebras with zero divisors. Acta Sci. Math (Szeged) 56, 23–42 (1992)
Henderson, H.V., Searle, S.R.: The vec-permutation matrix, the vec operator and Kronecker products: a review. Linear Multilinear Algebra 9(4), 271–288 (1981)
Petersson, H.P.: The classification of two-dimensional nonassociative algebras. Results Math. 37(1–2), 120–154 (2000)
Petersson, H.P., Scherer, M.: The number of nonisomorphic two-dimensional algebras over a finite field. Results Math. 42(1–2), 137–152 (2004)
Rotman, J.J.: An Introduction to the Theory of Groups. Grad. Texts in Math., vol. 148. Springer, Berlin (2012). ISBN: 9781461241768
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Verhulst, N.D. Counting Finite-Dimensional Algebras Over Finite Field. Results Math 75, 153 (2020). https://doi.org/10.1007/s00025-020-01281-6
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00025-020-01281-6