Skip to main content
Log in

On computing the determinant, other characteristic polynomial coefficients, and inverse in Clifford algebras of arbitrary dimension

  • Published:
Computational and Applied Mathematics Aims and scope Submit manuscript

Abstract

In this paper, we solve the problem of computing the inverse in Clifford algebras of arbitrary dimension. We present basis-free formulas of different types (explicit and recursive) for the determinant, other characteristic polynomial coefficients, adjugate, and inverse in real Clifford algebras (or geometric algebras) over vector spaces of arbitrary dimension n. The formulas involve only the operations of multiplication, summation, and operations of conjugation without explicit use of matrix representation. We use methods of Clifford algebras (including the method of quaternion typification proposed by the author in previous papers and the method of operations of conjugation of special type presented in this paper) and generalizations of numerical methods of matrix theory (the Faddeev–LeVerrier algorithm based on the Cayley–Hamilton theorem; the method of calculating the characteristic polynomial coefficients using Bell polynomials) to the case of Clifford algebras in this paper. We present the construction of operations of conjugation of special type and study relations between these operations and the projection operations onto fixed subspaces of Clifford algebras. We use this construction in the analytical proof of formulas for the determinant, other characteristic polynomial coefficients, adjugate, and inverse in Clifford algebras. The basis-free formulas for the inverse give us basis-free solutions to linear algebraic equations, which are widely used in computer science, image and signal processing, physics, engineering, control theory, etc. The results of this paper can be used in symbolic computation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

Notes

  1. One of the anonymous reviewers noted that he implemented and tested (both recursive and explicit) algorithm and checked that it yields correct results for Clifford algebras up to dimension \(n=11\) (using elements with random integer coefficients), and stated that explicit algorithm is much more efficient than recursive; he also computed (using optimized version of the formula, provided by Lemma 6 in the article) of symbolic expression for determinant for \({\mathcal {C}}\ell _{6,0}\) in expanded form in approximately 1 day, whereas symbolic matrix determinant computation (in expanded form) took more than 4 days.

  2. See also applications of the results of this paper in symbolic computation using the Mathematica package (Acus and Dargys 2017), https://github.com/ArturasAcus/GeometricAlgebra, and the Python package (Arsenovic et al. 2018), https://github.com/pygae/clifford/pull/373.

  3. For example, the subspace \({\mathcal {C}}\ell ^{\overline{0}}_{p,q}\) consists of elements that are not changing under the grade involution \(\widehat{U}=U\) and the reversion \(\widetilde{U}=U\), i.e., elements of grades 0, 4, 8, etc. The subspace \({\mathcal {C}}\ell ^{\overline{1}}_{p,q}\) consists of elements that satisfy \(\widehat{U}=-U\) and \(\widetilde{U}=U\), i.e., elements of grades 1, 5, 9, etc. Similarly for the other two subspaces. Other properties of these four subspaces are discussed in detail in Shirokov (2012a, 2012b).

  4. As one of the anonymous reviewers correctly noted, these formulas can also be used as definitions of projection operations onto the subspaces of quaternion types 0, 1, 2, and 3.

  5. As a consequence, the expressions for the determinant, other characteristic polynomial coefficients, and inverse can be realized using only the three classical operations of conjugations (8) in the cases \(n\le 3\) (see Sects. 3 and 4).

  6. The equivalence of these two definitions follows from the following fact: the binomial coefficient \(C^i_k\) is odd if and only if there are no 1 in the binary notation of the number i in the digits, in which there is 0 in the binary notation of the number k.

  7. It can be proved that all operations \(\langle U \rangle _k\), \(k=1, \ldots , n\) (similarly to the case of the operation \(\langle U\rangle _0\), see Theorem 1) can be realized as linear combinations of the operations \(\mathrm{id}\), \(\vartriangle _1\), \(\ldots \), \(\vartriangle _m\), \(\vartriangle _1 \vartriangle _2\), \(\ldots \), \(\vartriangle _1\cdots \vartriangle _m\). As a consequence, we get that all operations of conjugation (7) can be realized as linear combinations of the operations \(\mathrm{id}\), \(\vartriangle _1\), \(\ldots \), \(\vartriangle _m\), \(\vartriangle _1 \vartriangle _2\), \(\ldots \), \(\vartriangle _1\cdots \vartriangle _m\). We do not use this fact in this paper.

  8. Note that some authors (Lounesto 2001) denote by the operation of Clifford conjugation. We denote the Clifford conjugation by two symbols \(\,\widetilde{\widehat{\,}}\,\) in this paper so that there is no confusion.

  9. In the literature (Dadbeh 2011; Acus and Dargys 2018; Hitzer and Sangwine 2017; Lundholm and Svensson 2009), such expressions or special cases of such expressions are also called norms in Clifford algebras, norm functions, determinant norms, scalars, etc.

  10. And more than 400 other formulas obtained from the presented here two formulas: we can take the reversion, the grade involution, or the Clifford conjugation of the scalar N(U); we can do cyclic permutations of multipliers in the obtained products because the left inverse equals to the right inverse; we can use the properties of the operation \(\vartriangle \) (28) and (29); also, we can use \(N(U)=N(\widehat{U})=N(\widetilde{U})\) because of the results of Sect. 4. We do not present all these formulas here because of their large number.

  11. And other formulas for F(U) in the case \(n=5\) because of the large number of different formulas for N(U), see above.

  12. Let us give the alternative proof: \(U \widetilde{U} \widehat{U} \widehat{\widetilde{U}}=H\widehat{H}=(H_0+H_1)(H_0-H_1)= (H_0)^2+[ H_0, H_1]-(H_1)^2=(H_0)^2-(H_1)^2\in {\mathcal {C}}\ell ^0_{p,q}\). One further alternative proof: \(U \widehat{\widetilde{U}} \widehat{U} \widetilde{U}=J \widetilde{J}= (J_0+ J_3)( J_0-J_3)= (J_0)^2+[J_0, J_3]-(J_3)^2= (J_0)^2- (J_3)^2\in {\mathcal {C}}\ell ^0_{p,q}.\)

  13. In this paper, we denote the grade-negation operations by \(\underline{k}\) (not by \(\overline{k}\) as in Acus and Dargys 2018) to avoid confusion with the notation of quaternion types.

  14. Note that the same statement is valid for the matrix representation (48) \(\beta :{\mathbb {C}}\otimes {\mathcal {C}}\ell _{p,q} \rightarrow M_{p,q}\) of the complexified Clifford algebra, see the details in Shirokov (2011a).

  15. Note that if we will use the matrix representation \(\gamma \) (47) instead of the matrix representation \(\beta \) (49) in the definition of the determinant, then we obtain another concept of the determinant with values in \({\mathbb {R}}\), \({\mathbb {C}}\), or \({\mathbb {H}}\), which does not coincide with the first one in the general case. We need not this concept in this paper but use it, for example, in Shirokov (2018). In the cases \(p-q=0, 1, 2 {\, \mathrm{mod} \,}8\), we can use the representation \(\gamma \) (47) and some fixed representation \(\gamma ^\prime \) (see the recursive method in Shirokov (2018) or the method using idempotents and basis of the left ideal in Abłamowicz 1998) instead of \(\beta \) and \(\beta ^\prime \) and obtain the same concept of the determinant.

  16. We use the notation with indices in round brackets “(k)” to avoid confusion with the notation of the projection operations onto subspaces of fixed grades.

References

  • Abłamowicz R (1998) Spinor representations of Clifford algebras: a symbolic approach. Comput Phys Commun 115:510–535

    Article  MathSciNet  Google Scholar 

  • Abłamowicz R (2020) The Moore–Penrose inverse and singular value decomposition of split quaternions. Adv Appl Clifford Algebras 30:33

    Article  MathSciNet  Google Scholar 

  • Abłamowicz R, Fauser B (2011) CLIFFORD/Bigebra, a Maple package for Clifford (co)algebra computations, \(\copyright \) 1996-2011, RA&BF. http://www.math.tntech.edu/rafal/

  • Acus A, Dargys A (2017) Geometric algebra mathematica package. https://github.com/ArturasAcus/GeometricAlgebra

  • Acus A, Dargys A (2018) The inverse of a multivector: beyond the threshold \(p+q=5\). Adv Appl Clifford Algebras 28:65 arXiv:1712.05204

    Article  MathSciNet  Google Scholar 

  • Arsenovic A, Hadfield H, Kern R, (2018) The Pygae Team: pygae/clifford: v1.0.1

  • Bell ET (1927) Partition polynomials. Ann Math Second Ser 29(1/4):38–46

    Article  MathSciNet  Google Scholar 

  • Dadbeh P (2011) Inverse and determinant in 0 to 5 dimensional Clifford algebra. arXiv:1104.0067

  • Dargys A, Acus A (2019) A note on solution of \(ax+xb=c\) by Clifford algebras. arXiv:1902.09194

  • Gantmacher F (1959) Theory of matrices. AMS Chelsea Publishing, New York

    MATH  Google Scholar 

  • Golub G, Van Loan C (1989) Matrix computations. Johns Hopkins University Press, Baltimore

    MATH  Google Scholar 

  • Helmstetter J (2019) Characteristic polynomials in Clifford algebras and in more general algebras. Adv Appl Clifford Algebras 29:30

    Article  MathSciNet  Google Scholar 

  • Hitzer E, Sangwine S (2017) Multivector and multivector matrix inverses in real Clifford algebras. Appl Math Comput 311:375–389

    Article  MathSciNet  Google Scholar 

  • Hitzer E, Sangwine SJ (2019a) Construction of multivector inverse for Clifford algebras over 2m+1-dimensional vector spaces from multivector inverse for Clifford algebras over 2m-dimensional vector spaces. Adv Appl Clifford Algebras 29:29

  • Hitzer E, Sangwine S (2019b) Exponential factorization and polar decomposition of multivectors in \(Cl(p,q)\), \(p+q \le 3\). arXiv:1911.0275

  • Householder AS (2006) The theory of matrices in numerical analysis. Dover Books on Mathematics, ISBN 0486449726

  • Lounesto P (2001) Clifford algebras and spinors. Cambridge University Press, Cambridge

    Book  Google Scholar 

  • Lundholm D, Svensson L (2009) Clifford algebra, geometric algebra, and applications. arXiv:0907.5356

  • Marchuk NG, Martynova SE (2008) Notions of determinant, spectrum and Hermitian conjugation of Clifford algebra elements. arXiv:math-ph/0307043

  • Sangwine SJ, Hitzer E (2015–2016) Clifford multivector toolbox (for MATLAB). http://clifford-multivector-toolbox.sourceforge.net/

  • Sangwine SJ, Hitzer E (2020) Polar decomposition of complexified quaternions and octonions. Adv Appl Clifford Algebras 30:23

    Article  MathSciNet  Google Scholar 

  • Shirokov DS (2009) Classification of elements of Clifford algebras according to quaternionic types. Dokl Math 80(1):610–612

    Article  MathSciNet  Google Scholar 

  • Shirokov DS (2010) A classification of Lie algebras of pseudo-unitary groups in the techniques of Clifford algebras. Adv Appl Clifford Algebras 20(2):411–425

    Article  MathSciNet  Google Scholar 

  • Shirokov DS (2011a) Concepts of trace, determinant and inverse of Clifford algebra elements, Progress in analysis. In: Proceedings of the 8th congress of ISAAC, vol 1, Peoples’ Friendship University of Russia (ISBN 978-5-209-04582-3/hbk), 2012, pp 187–194. arXiv:1108.5447

  • Shirokov DS (2011b) Extension of Pauli’s theorem to Clifford algebras. Dokl Math 84(2):699–701

  • Shirokov DS (2012a) Quaternion typification of Clifford algebra elements. Adv Appl Clifford Algebras 22(1):243–256

  • Shirokov DS (2012b) Development of the method of quaternion typification of Clifford algebra elements. Adv Appl Clifford Algebras 22(2):483–497

  • Shirokov DS (2018) Classification of Lie algebras of specific type in complexified Clifford algebras. Linear Multilinear Algebra 66(9):1870–1887

    Article  MathSciNet  Google Scholar 

  • Shirokov DS (2020) On basis-free solution to Sylvester equation in geometric algebra. In: Magnenat-Thalmann N et al (eds) Advances in computer graphics. CGI 2020. Lecture Notes in Computer Science, vol 12221. Springer, Cham, pp 541–548

Download references

Acknowledgements

The author is grateful to N. Marchuk and N. Khlyustova for useful discussions. The author is grateful to the anonymous reviewers for their careful reading of the paper and helpful comments on how to improve the presentation. The results of this paper were reported at the 9th International Conference on Mathematical Modeling (Yakutsk, 2020), the 12th International Conference on Clifford Algebras and Their Applications in Mathematical Physics (Hefei, 2020), and the International Conference “Computer Graphics International” (Geneva, 2020, within the workshop “Empowering Novel Geometric Algebra for Graphics and Engineering”). The author is grateful to the organizers and the participants of these conferences for fruitful discussions. The publication was prepared within the framework of the Academic Fund Program at the HSE University in 2020–2021 (grant 20-01-003).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to D. S. Shirokov.

Additional information

Communicated by Jinyun Yuan.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shirokov, D.S. On computing the determinant, other characteristic polynomial coefficients, and inverse in Clifford algebras of arbitrary dimension. Comp. Appl. Math. 40, 173 (2021). https://doi.org/10.1007/s40314-021-01536-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s40314-021-01536-0

Keywords

Mathematics Subject Classification

Navigation