Abstract
An algorithm is presented to extract the square root from a multivector (MV) in real Clifford algebras , where , in radicals. It is shown that in , , and algebras, there are up to four isolated square roots in a case of the most general (generic) MV. The algebra is an exception and, there, the MV can have up to 16 isolated roots. In addition, a continuum of roots has been found in all Clifford algebras except . Examples which clarify computations are provided to illustrate the properties of roots in all algebras. The results may be useful in solving nonlinear equations, like for example, the Clifford–Riccati equation.
MSC:
15A18; 15A66
1. Introduction
The square root has a long history. Solution by radicals of the cubic equation was first published in 1545 by G. Cardano. Simultaneously, a concept of the square root of a negative number was developed [1]. In 1872, A. Cayley was the first to carry over the square root to matrices [2]. In the recent book by N. J. Higham [3], where an extensive literature is presented on nonlinear functions of matrices, two sections are devoted to matrix square roots. In the context of Clifford algebra (CA), the main attention up till now was concentrated on the square roots of quaternions [4,5], or their derivatives such as coquaternions (also called split quaternions) or nectarines [5,6,7]. The square root of biquaternions (complex quaternions) was considered in [8]. Quaternions and related objects are isomorphic to one of algebras , , , and therefore, the quaternionic square root analysis can be easily rewritten in terms of CA (see Appendix B). In this paper, we shall mainly be interested in higher, namely, Clifford algebras (CAs), where the main object is the eight-component multivector (abbreviated as MV through the article).
For CAs of dimension , the investigation and understanding of square root properties is still in infancy. The most akin to the present paper are the investigation of conditions for the existence of square root of [8,9,10]. The existence of such roots allows to extend the Fourier transform to MVs, where they are used in formulating Clifford–Fourier transform and CA-based wavelet theories [11].
Our preliminary investigation [12] on this subject was concerned with square roots of individual multivector grades such as scalar, vector, bivector, pseudoscalar, or their simple combinations. For this purpose, we have applied the Gröbner basis algorithm to analyze the system of nonlinear polynomial equations that ensue from the MV equation , where and are the MVs. The Gröbner basis is accessible in many symbolic mathematical packages. Specifically, Mathematica commands such as Reduce[ ], Solve[ ], Eliminate[ ] and others also employ the Gröbner basis to solve nonlinear problems. With their help, we were able to find new properties of roots for the case, namely, that the MVs may have no roots, a single or multiple isolated roots, or even an infinite number (continuum) of roots in 4D parameter spaces or spaces of smaller dimension. A short overview of current Clifford algebra software is described in the introduction of [13].
In this paper, we continue our [12] investigations of the square root problem in real CAs for the case. In particular, we examine and provide explicit conditions for an MV to have discrete and continuum of roots, and how to express real root coefficients in radicals. For this purpose, a symbolic package was used [14] that appeared to be invaluable both for detecting specific solutions of the nonlinear equation and for numerical checks in general.
In Section 2, the notation is introduced. The algorithm to calculate the square root of a generic MV and special cases that follow are given in Section 3, Section 4 and Section 5 for , , and algebras, respectively. The computation is illustrated by a number of examples. The conclusions are drawn in Section 6. For completeness, in Appendix A and Appendix B, the MV square roots are presented for lower-dimensional CAs. Appendix C provides summary for the two most important algebras, and algebras, which will be useful for implementation. Appendix D is devoted to MV determinants.
2. Notation
For , a general MV can be expanded in the orthonormal basis that consists of elements listed in inverse degree lexicographic ordering (note an increasing order of digits in indices). Therefore, we write instead of . This convention is reflected in opposite signs of some terms in formulas.
where are basis vectors and are the bivectors (oriented planes). The last term is the pseudoscalar. The number of subscripts indicates the grade of basis element. The scalar is a grade-0 element, the vectors are the grade-1 elements, etc. In the orthonormalized basis, the geometric (Clifford) products of basis vectors satisfy the anticommutation relation,
For and algebras, the squares of basis vectors, correspondingly, are and , where . For mixed signature algebras such as and , we have , and , , respectively. The sign of squares of higher grade elements is determined by squares of vectors and property (2). For example, in , we have . However, in , a similar computation gives .
When , an MV in real CA can be expanded in the basis (1),
where , , and are the real coefficients, and and are, respectively, the vector and the bivector. We will seek a real MV (with real coefficients), the square of which satisfies
The MV is called a square root of . In Equation (4), the square has been expanded in the orthonormal basis where and denote, respectively, a scalar, a vector (), a bivector (), and a pseudoscalar. The representation (3) is not convenient for our problem; therefore, for all 3D algebras , , , and a more symmetric representation is introduced,
where now both s and S are the real scalars and both and are the vectors with real coefficients and . The MV representation (5) allows to disentangle the coupled nonlinear equations in a regular manner for all listed algebras. To select the scalar s in (5), the grade selector is used. The pseudoscalar part can be extracted by , and similarly for other grades. More about CAs and MV properties can be found, for example, in books [15,16].
When , the MV square root algorithm simplifies substantially. All needed formulas are presented in Appendix A and Appendix B, respectively.
3. Square Roots in and Algebras
This section describes the method of substitution of variables in CA which paves a direct way to square root algorithm. The Euclidean algebra is the most simple one among algebras. The algebra is isomorphic to ; therefore, the computations for this algebra follows the same route except that, there, some notational differences appear.
The goal is to solve nonlinear MV equation , where and is unknown. The latter may have the general form (5). Expanding in components and equating (real) coefficients at basis elements to respective coefficients in , one obtains a system of eight nonlinear equations:
These equations were written in [12], but they were not solved properly, so the results presented there did not cover all possible cases. Here, we provide a complete solution of square root problem for Clifford algebras. The square root computations split into two cases: the generic case where either (in and ) or (in and ), and the special case where (in and ) or (in and ).
3.1. The Generic Case
The system of six Equations (7)–(9) is linear in new variables and in (5). It has a very simple solution which is a key to the analysis that follows. As a note, the symmetry of Equations (10) and (11) with respect to pairs (), (), and () differ as it was explained in the beginning of Section 2.
It can be restored if is replaced by .
The Equations (10) and (11) express the components of vectors and in terms of scalars s and S, which are to be determined from a pair of Equation (6). The solution is valid when , i.e., when either or , or both s and S are non-zero scalars. If these conditions are not satisfied, we have the subcase . After substitution of (10) and (11), i.e., of and , into (6), we get a system of two coupled algebraic equations for two unknowns s and S,
The system (12) has exactly four solutions that can be expressed in radicals. If new variables t and T are introduced and substitution
is used, the system (12) reduces to
In (14), coordinate-free abbreviations and have been introduced,
In (15), the MV denotes the Clifford conjugate of , where tilde is the grade reversion and cap is the grade inversion. Note that for remaining algebras , , and , the signs of individual terms inside and all are different. As we shall see below, the square roots for all algebras are predetermined by four real coefficients only, namely, , , , and .
After substitution of (13), the resulting system of Equation (14) is of degree . Thus, we conclude that the initial system (12) can be explicitly solved in radicals. In particular, two real solutions of (13) have the form
where the signs in pairs must be identical, plus or minus. The denominator of becomes zero if . The remaining two solutions of (13), which can be obtained from (16) by the substitution , are complex-valued due to the inequality and therefore must be rejected.
The two real-valued solutions of Equation (14) are
No additional conditions are required for the determinant of the MV , since for algebra, it is always positive definite (see in Appendix D how to compute the MV determinant). Again, we should take the same signs for and . The two complex-valued solutions of (14), which can be obtained from (17) by substitution , must be rejected. The denominator of in (17) turns into zero when , i.e., when .
3.2. The Special Case
The only special case in corresponds to . In the subcases and , one can rewrite expressions (16) in a simpler form. In particular, when , we have
and when ,
where all expressions inside square roots are assumed to be positive.
The case is special, because the condition implies that the number of square roots of may be infinite (the case of simple MV roots is given in [12]). Indeed, in this case, Equations (7)–(9) are compatible only if the vector and bivector coefficients are zeros. Then, Equation (6) reduces to
where and for . Since, in general, we have unknowns which must satisfy Equation (20), we are left with four real arbitrary parameters as will be explicitly demonstrated in Example 1. The solution therefore makes a four-dimensional (or smaller) set of real-valued MV coefficients. It is interesting that both expressions in (20) have a very clear geometric interpretation. Indeed, if the ends of vectors and represent two concentric spheres, then the coefficient controls the lengths of radii and , while the pseudoscalar coefficient controls the angle between the vectors and . From this follows that, due to periodicity of the angle, one can introduce principal value for coefficient . Similar properties, i.e., the multiplicity of roots and the existence of principal angle in a complex plane, are well-known in case complex numbers [17].
3.3. Algebra
In paper [18], it is shown that “…for odd , there are three classes of isomorphic Clifford algebras what is consistent with Cartan’s classification of real Clifford algebras.” In particular, two algebras, and , are represented by complex matrices . The similarity between square root expressions obtained below also confirms that these two algebras fall into the same isomorphism class. On the other hand, the algebras and are represented by blocked and matrices, respectively, and . Therefore, they belong to different classes. Indeed, as we shall show later, the analysis of roots in is only roughly similar to that in . However, between and , there are distinctions: they are isomorphic to different, real, and quaternionic matrices.
As far as algebra is concerned, its difference from is contained in the explicit expression for ,
and expressions for and
The expressions for and D (the determinant of ) remain the same. Note that in (20), the scalar product in has both plus/minus signs, in particular . Before considering other algebras, it is helpful to analyze a few examples.
3.4. Examples for and
Example 1.
The Case .
The square root of in . The coefficients in this case are and , and all remaining ones are equal to zero. Then, from (15) follows that and . The expression (17) gives and . Finally, using (16), we find the real solutions for s and S,
where and . Thus, the MV is regular. Using (10) and (11), we have the following four sets of non-zero coefficients:
The remaining coefficients are equal to zero, . Finally, inserting the coefficients (27) into (5), one can find four different roots,
squares of which give the initial MV .
Example 2.
The Case .
The square root of in . Now, , , , . Then, from (16) and (17) follows real solutions for and ,
Then, for case , Equations (10) and (11) yield
The case is treated exactly as in Example 1. The final answer consists of four roots too:
Example 3.
The Case .
The square root of , which is the center of . The coefficients , give , . Then, from expressions (17) and (16) follows
where and .
The case in (32) can be computed similarly as in Example 1. The two square roots, which are obtained from case , therefore are
The set of two roots above should be extended by adding a set of roots provided by the case in (32), which is special. Indeed, some of coefficients in this case remain unspecified and therefore may be treated as free parameters that yield an uncountable number (continuum) of roots. The coefficients () and () in this case are zeroes; however, the compatibility of (7)–(9) is satisfied and the solution set is not empty. Indeed, as seen from (20), the system can be solved for an arbitrary pair of coefficients (), for example with (). If () is inserted into (5), one gets an MV with four free parameters,
where and denote explicit solutions of (20),
For example, by setting all free parameters to zero, , we select from a continuum two roots, which we denote
It is important to realize, however, that the number of roots provided by case in general is infinite and the two roots in (36) represent the simplest choice of free parameters. All roots satisfy .
If, instead of , we had tried to find the square root of MV that does not belong to the center, for example, if we had worked with , which is directly related to polarized electromagnetic wave in , we would have ended up with an empty solution set. Indeed, in the latter case, , and . Then, after substitution of and into Equations (7)–(9), one obtains the contradiction .
Example 4.
The case of Quaternion.
Quaternions are isomorphic to even subalgebra with elements ; therefore, the provided formulas allow to find quaternionic square root too. Taking into account that quaternion imaginary units are , and , let us compute the square root of . In this example, we have , , and , . Starting from (17) and then using Equation (16), it is easy to find that the MV represents a regular case with four different coefficients
Using (10)–(11) and (5), we can write the answer:
The squares of all roots yield the initial MV. It should be noticed that in , the quaternion imaginary units have remained in even algebra only. The source of this ‘strange’ difference is related to the algebra where the square root problem is solved. In particular, here, the roots are computed in algebra rather than in , i.e., algebra of quaternions. However, the formulas for (see resp. equation in Appendix B) give two roots only.
Example 5.
The regular case of algebra.
4. Square Roots in Algebra
The similar approach to the root problem allows to write down explicit square root formulas for algebra as well. Using the same notation (5) for and and equating coefficients at same basis elements in , now we obtain the following system of equations. The formulas have the same structure and differ in signs of some constituent terms only. Below, for easier reading and application, all formulas, including those for mixed algebras, are written explicitly without introducing a large number of sign epsilons . In fact, appearance of different signs in structurally similar expressions brings in different conditions for real root existence in distinct algebras.
where, now, and .
4.1. The Generic Case
The solution of Equations (41)–(43) is
which is valid when , and corresponds to the generic case. After substitution of (44) and (45) into (40), one obtains two coupled nonlinear algebraic equations for two unknowns s and S,
where, again, the coordinate-free notation is introduced,
Note change of signs as compared to the case. The determinant D in is expressed as a difference, , which is always positive, .
To reduce the degree of the above equations, the substitution
is used that transforms the system (46) into a simpler one. To eliminate s and S, Mathematica commands Eliminate[ ], GroebnerBasis[ ] have been used. They allow to rewrite the initial Equation (48) in a number of equivalent forms.
The solution of (49) when is
The ± signs in the above formulas are mutually related; thus, there are only two possibilities that correspond to either plus or minus signs inside and formulas. The remaining two solutions of (49), which were obtained from (50) after replacement , yield a complex-valued expression for (see Equation (51) below); therefore, they were dismissed in advance.
Once the equations in (50) are computed, they can be substituted back into solutions of (48),
In the obtained equations, the same signs must be chosen in the same index positions in and (four possibilities).
Thus, starting from pairs and in Equation (50) and then going to (51), and finally to Formulas (44), (45), and (5), one obtains explicit real solutions that completely determine the square root of equation (with ) of the generic MV of real algebra in radicals. It appears that, at most, only four isolated real solutions (because the condition in (51) selects only single sign from (50)) are possible in this algebra too, since other choices of signs in (50) and (51) yield negative expressions inside square roots.
4.2. The Special Case
There are three subcases: (1) , (2) , and (3) .
4.2.1. The Subcase
Here, the system of Equations (41)–(43) has a special solution,
if and only if the MV coefficients satisfy , , . In (52), is expressed in terms of . Appearance of s in the denominators implies that the case must be investigated separately. After substituting the solution (52) into (40) and taking into account the mentioned conditions () one gets two equations,
that should be kept mutually compatible. To this end, we subtract and add the above equations to get
Then, making use of expanded form of , where the conditions have been taken into account, one can express the sum from the second equation in (54), , and substitute the latter into the first of the equations. The result is the quadratic equations for ’s. After solving, for example, with respect to , one can express in terms of, now, arbitrary free parameters and ,
that warrants compatibility of the system (53). Thus, further analysis may be restricted to the simplest single equation: the second equation in (54) that after introduction of shortcut can be cast to form
The solution of (56) with respect to s can be expressed in radicals,
where all expressions inside square roots are assumed to be positive. The expressions (57), (55), and (52) after substitution into (5) yield the final answer for this special case under conditions for MV coefficients: that in an abridged version reduce to . In conclusion, the solution set contains two free parameters, and , and therefore represents continuum of roots on a two-dimensional manifold in the parameter space.
4.2.2. The Subcase
Performing exactly the same analysis as in Section 4.2.1, one obtains the conditions for the existence of a solution: , , and , or in short, . Similarly, expressing in terms of , one gets
If is expressed in terms of and ,
we find two real solutions for s,
After substitution into (5), the above expressions again yield the final MV, provided the conditions are satisfied.
4.2.3. The Subcase
The analysis of this special subcase is very similar to that in . Equations (41)–(43) satisfy the compatibility condition if vector and bivector coefficients are equated to zero. Then, Equation (40) assumes the following form
from which follows that four parameters remain unspecified. For example, if Equation (61) is solved with respect to pair , one gets
The pairs and may be interpreted as free parameters that generate a continuum of roots in a four parameter space. The geometric interpretation of Equation (61) is similar to those in (20) for .
4.3. Examples for
Example 6.
The regular case.
As in Example 1, let the initial MV be , the coefficients of which are , . The shortcuts and in (47) have the values and . The formulas in (50) give and . Since is positive, the pair is used in the following. Then, from the system (51), we find four values of and then from (44), (45), the coefficients and ,
where , , and . Finally, in the same way as in Example 1, we find four different square roots,
Noting that and , the roots may be rewritten in the standard form
Example 7.
The case .
The square root of . The shortcuts in have values and , and afterwards, the expression (50) gives , where . The negative T solution has been omitted. All this gives and . The coefficients satisfy the relations , , ; therefore, a special solution consisting of four MVs exists:
where , , . Assuming concrete values of parameters and , one can check that the root formulas give real MVs.
It should be noted, however, that symbolical expressions do not guarantee that we will always be able to find real parameters and , what would ensure real square roots. For example, if instead of the above MV , we tried to find the square root of MV in (the MV was used earlier in the Example 2), we would find and . The first value then yields , , , and the second one yields , , and . Taking the square of symbolical expressions, one can easily check that, formally, we indeed obtain the MV . It is obvious, however, that in both cases ( and ), the expression under square root can be made non-negative (i.e., only zero in this case) for a single choice of parameters. In particular, in the case , the requirement yields . Alternatively, in the case , from equation follows . Both cases yield an isolated root . Therefore, in this algebra, there exists only the isolated real square root of .
5. Square Roots in Algebra
5.1. The Generic Case
The system of nonlinear equations is
where, now, and . When , the solutions of systems (68)–(70) are
Insertion of and into (67) gives two coupled equations for unknowns
where and are functions of coefficients in ,
Because Equations (73) and (47) have the same shape (the concrete equations for and , of course, are different) we can make use of (48) with the purpose of lowering the order of the system. However, there arises an important difference: the determinant, , in is not always positive. It may happen that for some , the MV determinant may become negative, . In such a case, the solution set becomes empty. The other particularity is that in the solution (50), instead of single sign (), we have to take into account both signs, i.e., , what doubles the number of possible solutions in the case ,
Here, again, the sign of must be taken in all possible combinations, and the sign of T must follow the same upper–lower sign position as in . The condition implies that . Since we already have four sign combinations in the solution for (as in (51)), we end up with 16 different square roots of MV in a generic case of .
5.2. The Special Case
The analysis again closely follows the case, except that now, different signs appear in expressions.
5.2.1. The Subcase
Now, the coefficients satisfy the conditions , , , which allows to eliminate the singularity at . As a result, the system of Equations (68)–(70) has a special solution,
which coincides with the same solution for (see Equation (52)). Thus, after similar calculations, one finds that Equation (55) becomes
The coefficients and are similar to (57), except that now, we have to take into account all sign combinations in inner square root,
The above listed formulas solve the square root problem in the case .
5.2.2. The Subcase
The only formulas which differ from algebra are connected with the coefficient compatibility condition , , . Now, the coefficients must be replaced by
The remaining formulas which are needed for final answer exactly match the formulas in the corresponding subcase of algebra.
5.2.3. The Subcase
The only distinct formulas from are listed below:
This ends the investigation of the square root formulas for all real 3D CAs.
5.3. Examples for
Example 8.
The regular case.
First, we shall show that MV has no real square roots. Indeed, we have , and . As a result, the expression under square root in (75), namely , is always negative and therefore, there are no real-valued solutions.
Next, we shall calculate the roots of . The values of and are 0 and 2, respectively. The determinant of the MV is positive, . The Equation (75) give four real values for pairs: , , , and . After insertion into (51), 16 pairs of scalars are found:
where and . After substitution of into Equation (71) and then into Equation (5), we obtain 16 roots :
In the end, it is worth noting that the necessary (but not sufficient) condition for a square root of MV to exist in real Clifford algebras requires the positivity of the multivector determinant [19,20]. Indeed, if the MV exists and , then the determinant of both sides gives , where we have used the multiplicative property of the determinant [21]. Since the determinant of in real CAs is a real quantity, the condition can be satisfied if and only if . This is in agreement with explicit formulas for .
6. Conclusions
First, we have shown analytically that the square root of general MV in Clifford algebras (CAs) can be expressed in radicals and have provided a detailed analysis and formulas to accomplish the task. For a general MV, the computation algorithm is rather complicated, where many conditions are controlled by plus/minus signs. Our first paper [12] was limited to the roots of individual grades, where it is possible to write down explicit formulas in a coordinate-free form.
Second, the paper shows that MV roots may be isolated (up to 16 roots in case of ) and/or continuous, or conversely, there may be no roots at all. Thus, the MV algebras may also accommodate number-free parameters that bring in a continuum of roots on respective parameter hypersurface.
Third, the described algorithm was implemented in the Mathematica system [14] and applied in checking up algorithms with purely numerical root search. For this purpose, the Mathematica universal root search algorithm was realized and used in the system function FindInstance[ ] to check whether there are cases when the isolated root algorithm fails. No such cases were found. The only complication we encountered in the algorithm programming was that Mathematica symbolic zero detection algorithm PossibleZeroQ[ ], in the more complicated cases, often switched over to numerical procedure to detect that the involved symbolic expression with nested radicals indeed represents zero. This is quite understandable, since it is well-known that a two-expression equivalence problem is, in general, undecidable.
Fourth, we found that for algebras and , the square root solution in general is a union of the following sets: (1) when , the set consists of (up to) four different isolated roots; (2) when , the set consists of two isolated roots; and (3) when , there appears a continuum of roots that belong to four-or-smaller-dimensional parameter manifolds. Similar sets with minor modifications exist for remaining algebras and as well.
The proposed method is a step forward in solving general quadratic equations in CAs (examples are given in [12]), and may find new applications in the control and systems theory [22], partly because presented solutions uncover totally new properties of square roots of MVs; for example, the root multiplicity and appearance of free parameters in the roots. Due to intricacies of square root algorithms, it is recommended to perform all calculations with prepared-in-advance numerical/symbolic subroutines.
Author Contributions
Conceptualization, A.A.; Software, A.A.; Validation, A.D.; Investigation, A.D.; Writing—original draft, A.A.; Writing—review and editing, A.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
Authors want to thank Vanessa Hollmeier for detected flaw in the Appendix of preprint version 1 (removed in this version) about square root of matrix.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Square Roots in Cl1,0 and Cl0,1 Algebras
In and , the square root of general MV has the solution , where the real coefficients s and are
where
When (i.e., when ) and , the square roots are
Note that the algebra is isomorphic to the algebra of complex numbers, so we know in advance that any MV in this algebra has two roots. The MV determinant for this algebra is positive definite and represents the square of module of a complex number. We shall always assume that expressions under square roots are non-negative. For example, in this case, the square root can only exist when , and either or . If these conditions cannot be satisfied, then square roots are absent.
Appendix B. Square Roots in Cl2,0, Cl1,1, and Cl0,2 Algebras
Square root of general MV in all three algebras is . The coefficients are
where the determinant of MV is [19,20],
The case . The coefficients are then given by formulas
The case . When , or and , the coefficients , and S are connected by the single equation . Therefore, one can search the solution with respect to any of coefficients , or S, and assume that the remaining two coefficients are the free parameters. For example, if we solve with respect to S, then the square root for each algebra is
Since the coefficient S is real, the roots exist only when the expressions under square root are positive. The algebra is isomorphic to .
Example.
The square root of in various 2D algebras:
Note that in , there are four roots.
Appendix C. Summary for n = 3 Algebras
In this section, we provide a summary of results for the two most often used CAs, and . The summary is primarily intended for implementation purposes. By putting in some more efforts, they can also be formulated as theorems, constructive proof of which is described in the corresponding sections of the article. The notations common for both algebras:
Appendix C.1. Computation Flow in
specific expressions:
Computation-ready s and S expressions:
where . Substitutions that are used for condition checks in (A5) and for computation of final values in Formula (A4):
After quantities are determined, we start checking all conditions on the right-hand side of the piecewise function:
The notation means that we test substitutions and independently, i.e., first, substitute values into (A5) conditions and if they are satisfied, select expression for and substitute values into the formula. Then, repeat the same procedure with values (a single entry represents two separate entries in the piecewise function (A5)). By checking combinations of all 25 conditions encoded in (A5), we establish all valid values of coefficients. If or (cases ), then using (10) and (11), we compute and . When , we use (20) and solve any two coefficients, for example and . The remaining four coefficients then become free (real) parameters, provided that the solved coefficients and can acquire real values. The determination of whether these real values exist is known to be a hard problem (especially for with symbolic coefficients). It can be solved by using the famous quantifier elimination algorithm, the explanation of which is out of the scope of this article (our implementation uses Mathematica command Resolve[ ] for the task).
Lastly, substitute into (A2) to obtain , which then represents all possible square roots of . In algebra, we can have 0, 2, or 4 isolated roots and 4D continuum of roots (in an exceptional case, continuum can turn into an isolated real root).
Appendix C.2. Computation Flow in
specific notations:
Formulas for s and S are as follows:
where . Substitutions that are used in condition checks (A7) and Formula (A6) are
Once the above quantities are computed, we start checking all conditions on the right-hand side of the piecewise function:
where denotes triple logical conjunction and logical conjunction . The is the abridgment of lines and , etc. The notation means two independent lines with substitutions and . Therefore, for example, is equivalent to piecewise function (represented as cases) entries. Note that in (A7), the condition list includes the post-selection rule , which should be checked after values s and S were (successfully) computed.
By checking combinations of all 49 entries present in (A7), we establish all valid values of coefficients. If (first 7 entries in (A7), i.e., formulas ), then use (45) for and .
For given by formulas , use (52) and the solutions
to find (coefficients and are free by our choice). The solution represents 2D parameter manifold which consist of two pieces.
In a similar way, for given by formulas , use (58) and the solutions
The solution represents 2D parameter manifold which consist of two pieces, where parameters and are made free by our choice.
For , case , we again have 4D parameter solution manifold, which is obtained by solving any two parameters from (61), for example, the solution (62).
Lastly, substitute into (A2) to obtain , which then represents all possible square roots of . In algebra, we can have 0, 2, or 4 isolated roots and 2D or 4D continuum of roots and/or their mixture.
Since Clifford algebra is rarely used (for this algebra, a piecewise function has 81 entries) and the algebra is isomorphic to , we refer a reader to our implementation [14], from which all summary formulas were extracted.
Appendix D. Determinant of Multivector
The characteristic polynomial of MV in arbitrary Clifford algebra can be computed using the recursive Faddeev–LeVerrier–Souriau algorithm [19], where each recursion step produces one of the coefficients of the polynomial . The first recursion gives . Each subsequent step produces the coefficient and a new MV according to the rules
The last step of this procedure returns the determinant of MV with opposite sign: . For low-dimensional algebras, an MV determinant can be computed using explicit involutions. In particular, for , the determinant of MV can be computed [20] as and for , as , where the overbar denotes a negation of all grades except of the scalar, . The quantity , which enters square root formulas, can be identified as a square of the determinant norm , with . In 3D algebras , we have , which is the degree of characteristic polynomial . Since, in the 3D case, the determinant is , we have . It generalizes well-known norms (or ) for blades. For example, the determinant norm of MV of is , which may be identified with a module of a complex number. This is a generalization of .
References
- Grant, H.; Kleiner, I. Turning Points in the History of Mathematics; Springer: New York, NY, USA, 2015. [Google Scholar]
- Cayley, A. On the extraction of square root of matrix of the third order. Proc. R. Soc. Edinburgh 1872, 7, 675–682. [Google Scholar] [CrossRef]
- Higham, N.J. Functions of Matrices (Theory and Computation); SIAM: Philadelphia, PA, USA, 2008. [Google Scholar]
- Niven, I. The roots of quaternion. Am. Mon. 1942, 49, 386–388. [Google Scholar] [CrossRef]
- Opfer, G. Niven’s algorithm applied to the roots of the companion polynomial over ℝ4 algebras. Adv. Appl. Clifford Algebr. 2017, 27, 2659–2675. [Google Scholar] [CrossRef]
- Falcão, M.I.; Miranda, F.; Severino, R.; Soares, M.J. On the roots of coquaternions. Adv. Appl. Clifford Algebr. 2018, 28, 97. [Google Scholar] [CrossRef]
- Özdemir, M. The roots of a split quaternion. Appl. Math. Lett. 2009, 22, 258–263. [Google Scholar] [CrossRef]
- Sangwine, S.J. Biquaternion (complex quaternion) roots of −1. Adv. Appl. Clifford Algebr. 2006, 16, 63–68. [Google Scholar] [CrossRef]
- Hitzer, E.; Abłamowicz, R. Geometric roots of −1 in Clifford algebras Clp,q with p + q ≤ 4. Adv. Appl. Clifford Algebr. 2011, 21, 121–144. [Google Scholar] [CrossRef]
- Hitzer, E.; Helmstetter, J.; Abłamowicz, R. Square roots of −1 in real Clifford algebras. In Quaternion and Clifford-Fourier Transforms and Wavelets; Hitzer, E., Sangwine, S.J., Eds.; Springer: Basel, Siwtzerland, 2013; pp. 123–153. [Google Scholar] [CrossRef]
- Hitzer, E.; Sangwine, S.J. (Eds.) Quaternion and Clifford-Fourier Transforms and Wavelets; Springer: Basel, Siwtzerland, 2013. [Google Scholar]
- Dargys, A.; Acus, A. Square root of a multivector in 3d Clifford algebras. Nonlinear Anal. Model. Control 2020, 25, 301–320. [Google Scholar] [CrossRef]
- Prodanov, D. Computation of Minimal Polynomials and Multivector Inverses in Non-Degenerate Clifford Algebras. Mathematics 2025, 13, 1106. [Google Scholar] [CrossRef]
- Acus, A.; Dargys, A. Geometric algebra Mathematica Package. Available online: https://github.com/ArturasAcus/GeometricAlgebra (accessed on 31 December 2025).
- Doran, C.; Lasenby, A. Geometric Algebra for Physicists; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Lounesto, P. Clifford Algebra and Spinors; Cambridge University Press: Cambridge, UK, 1997. [Google Scholar]
- Korn, G.A.; Korn, T.M. Mathematical Handbook for Scientists and Engineers; McGraw-Hill Book Company: New York, NY, USA, 1961. [Google Scholar]
- Marchuk, N.G. Demonstration representation and tensor products of Clifford algebras, Trudy Matematicheskogo Instituta Imeni V.A. Steklova 2015, 290, 154–165. [Google Scholar]
- Shirokov, D.S. On computing the determinant, other characteristic polynomial coefficients, and inverse in Clifford algebras of arbitrary dimension. Comput. Appl. Math. 2021, 40, 29. [Google Scholar] [CrossRef]
- Acus, A.; Dargys, A. Calculation of the Exponential in Arbitrary Clp,q Clifford Algebra; Hitzer, E., Papagiannakis, C., Vasik, P., Eds.; Empowering Novel Geometric Algebra for Graphics and Engineering (ENGAGE 2022, Proceedings); Springer Nature: Cham, Switzerland, 2023; pp. 16–27. [Google Scholar] [CrossRef]
- Lundholm, D. Geometric (Clifford) algebra and its applications. arXiv 2006, arXiv:math/0605280. [Google Scholar] [CrossRef]
- Abou-Kandil, H.; Freiling, G.; Ionescu, V.; Jank, G. Matrix Riccati Equations. In Control and Systems Theory; Birkhäuser Verlag: Basel, Switzerland, 2003. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.