scieee AI-readable full text Open interactive document viewer

Higher Order Geometric Algebras and Their Implementations Using Bott Periodicity

Stodola, Marek; Hrdina, Jaroslav

Abstract

Using the classification of Clifford algebras and Bott periodicity, we show how higher geometric algebras can be realized as matrices over classical low dimensional geometric algebras. This matrix representation allows us to use standard geometric algebra software packages more easily. As an example, we express the geometric algebra for conics (GAC) as a matrix over the Compass ruler algebra (CRA).

Full text

Advances in Applied Clifford Algebras Higher Order Geometric Algebras and Their Implementations Using Bott Periodicity Marek Stodola and Jaroslav Hrdina∗ Abstract. Using the classification of Clifford algebras and Bott periodicity, we show how higher geometric algebras can be realized as matrices over classical low dimensional geometric algebras. This matrix representation allows us to use standard geometric algebra software packages more easily. As an example, we express the geometric algebra for conics (GAC) as a matrix over the Compass ruler algebra (CRA). Keywords. Conics, Geometric algebra, PGA, CGA, GAC, Witt pairs, Python. 1. Introduction In recent years, applications of geometric algebras have developed rapidly, as evidenced by the surveys on the topic (Hitzer et al., [3,15,19]). However, fundamental software tools (Hadfield et al., [12], Sangwin et al., [31]) for implementing geometric algebras are not yet ready to meet this growing demand in higher signatures. One such example is the geometric algebra for conics (GAC) (Hrdina et al., [21,22]). GAC is a current and essential research topic in the field, as evidenced by the numerous publications on its applications (Derevianko et al., [4–6] and Esquivel at al., [10]). To address this gap, we show how to use the classification of Clifford algebras and Bott periodicity to implement higher algebras effectively. To meet the needs of the GA community, we present working scripts that allow existing Python software packages [12] to work with the GAC algebra. In the case of GAC, we have implemented the necessary procedures in the form of the python package bootGAC and all of them are available online. Our procedures are designed specifically for GAC, but the ideas can be generalized to work with algebras of higher signatures. This article is part of the Topical Collection on Proceedings ICCA 23, Holon, 2023, edited by Uwe Kaehler and Maria Elena Luna-Elizarraras. ∗Corresponding author. 0123456789().: V,-vol https://doi.org/10.1007/s00006-024-01346-7 Adv. Appl. Clifford Algebras (2024) 34:44 c  0188-7009/040001-22 published online August 31, 2024 The Author(s) 2024 Note that some software tools assume or even partially implement Bott periodicity. We mention Chris Doran package SimpleGA for Julia, [7]. Also, Rafal Ablamovicz developed his very well-known Maple package Clifford for dimension max 8, assuming a matrix extension, [1]. 2. Panorama of geometric algebras The concept of geometric algebras (GA) is generally associated with applications of Clifford algebras in physics, and more recently in engineering. David Hestenes’ pioneering work Space-time algebra (STA) is considered to be the first use of the concept, [13]. The term GA can refer to either Clifford algebras or a specific instance or variation of them. We will attempt to clarify the meaning of GA in this context. Generally, a Clifford algebra Cl(p, q, r) is an unit, distributive and associative factor algebra generated by a vector space Vover a field K.The vector space Vis equipped with a quadratic form Qwith signature (p, q, r) and the ideal is generated by the identity v2=Q(v)1 for all v∈V,(1) where the product on the left is that of the algebra, and the 1 is its multiplicative identity. If we replace the quadratic form Qwith the corresponding bilinear form Bwe rewrite the identity (1)as vw +wv =−2B(v,w) for all v,w ∈V, and we can see that Clifford algebras are not commutative, [28]. Finally, in the chosen basis {e1,...e p+q+r}of Vwe received a set of well-known identities e2 i=1,i=1,...,p, e2 i=−1,i=1+p,...,p+q, e2 i=0,i=1+p+q,...,p+q+r, eiej=−ejei,i=j. Thanks to the geometric product on Cl(p, q, r), we can obtain the underlying Grassmannian algebra Gr(p, q, r) using the expression a∧Bk=1 2(aBk+(−1)kBka), where ais a vector and Bk=ejk···ej1,ej∈{1,...p+q+r},[29]. Note that the first non-trivial instances of Clifford algebras C0,1,0=1,e 1|e2 1=−1, C1,0,0=1,e 1|e2 1=1and C0,0,1=1,e 1|e2 1=0are the complex numbers C, paracomplex numbers Pand dual numbers Drespectively. In Clifford algebras, the subspace of bivectors (elements of the second grade) is closed under a Lie bracket and forms a Lie algebra. Generally, the algebra of bivectors of the Clifford algebra Cl(p, q, r) corresponds to a Lie algebra so(p, q, r). The symmetry group (due the Klein Erlangen program, [30]) of the chosen geometry can then be written as a subgroup of the Lie group Spin(p, q, r) = exp(so(p, q, r)). M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 2 of 22 Special cases of Clifford algebras are algebras with a positive definite signature (n, 0,0); these algebras are called vector geometric algebras (VGA) and denoted as Gn. Their elements form the Grassmann algebra Gr(n, R)and the set of bivectors corresponds to the special orthogonal Lie algebra so(n), [24,28]. If the Clifford algebra is not a VGA, then we deal with a Clifford algebra based on bilinear form with an indefinite signature and the affine Lie algebra aff(n) is a subalgebra of the Lie algebra so(p, q, r) in these cases. We will speak about n-dimensional confromal geometric algebra Cl(n+1,1,0). This Clifford algebra contains a subalgebra of signature (n, 0,1) directly or with the help of tensor product Cl(n, 0,1) ⊂Cl(n, 0,0) ⊗Cl(1,1,0) ∼ =Cl(n+1,1,0),(2) where the inclusion in the expression (2) can be written in the coordinates with the help of the null-cone in Cl(1,1,0). The tensor product Cl(n, 0,0) ⊗ 1,e 0, where e0belongs to the null-cone, is isomorphic to Cl(n, 0,1). The set of bivectors of this subalgebra, together with the Lie bracket, is isomorphically equivalent to the affine Lie algebra aff(n) and its exponents to the spin affine group (double cover of the affine group), i.e a semidirect product of Spin(n) and Rn. As an additional, we choose an embedding ι:Rn→Cl(p, q, r)which is equivariant with respect to the action of this group. 2.1. Projective geometric algebra The first nontrivial possibility is the projective (sometimes called planebased) geometric algebra (PGA), [9]. It is a Clifford algebra Cl(3,0,1) based on the quadratic form of signature (3,0,1). The bivectors of this algebra correspond directly to the affine Lie algebra aff(3) and its exponents to the spin affine group, which can be seen as a semidirect product Spin(3) R 3.The origin is represented by the blade o=e1∧e2∧e3and the inclusion of R3by the map ι(x, y, z)=e1∧e2∧e3+xe0∧e2∧e3+ye1∧e0∧e3+ze1∧e2∧e0. The corresponding algebra of the bivectors is a whole Lie affine algebra aff(3), so PGA is a geometric algebra corresponding to the affine geometry on R3 and it is a powerful tool for geometric reasoning, and for solving problems in physics and engineering, [29]. 2.2. Conformal geometric algebra The second very well-known GA is conformal geometric algebra (CGA), [8, 16]. It is a Clifford algebra Cl(4,1) := Cl(4,1,0), where the corresponding affine subalgebra aff(3) is an algebra generated by the span e1,e 2,e 3,e ∞:= e4+e5. The origin is a vector e0=1 2(e4−e5), where the pair e0and e∞is so called Witt pair. Finally, the inclusion of R3is a map ι(x, y, z)=e0+xe1+ye2+ze3+1 2(x2+y2+z2)e∞.(3) Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 3 of 22 The corresponding algebra of all bivectors is a conformal Lie algebra co(n)= aff(n)⊕R, which makes CGA a geometric algebra corresponding to conformal geometry on R3. We can use the scalar product to represent the geometric objects in the following way. A general vector in the CGA in terms of our basis is of the form v=v1e1+v2e2+v3e3+v0e0+v∞e∞,(4) where vα∈R,α∈{1,2,3,0,∞} and its inner product with an embedded point is then given by ι(x, y, z)·v=v∞+xv1+yv2+zv3−(1/2) x2+y2+z2v0. The element vcan represent geometric objects based on monoms 1,x,y,z and x2+y2+z2, so the planes v∞+xv1+yv2+zv3=0 if v0= 0 and spheres if v0<0, and finally the objects of the property v0>0 are sometime called imaginary spheres. In the algebra CGA, the linearization of spherical objects takes place, which is successfully used, for example, in inverse kinematics, [11,20,25]. The key property is that the scalar product is invariant concerning the action of the affine group, so the following identity holds: Tι(x, y, z)˜ T·Tv˜ T=ι(x, y, z)·v, (5) where ιis the inclusion map and Tis an affine transformation. This means that the Tι(x, y, z)˜ Trepresents the same object as ι(x, y, z), mapped by the affine transformation. Finally, let’s note that the flat objects of PGA forms a subalgebra in CGA, [23]. 2.3. 2d-Up CGA (CGA with one more Witt pair) Projective geometric algebra (PGA) and conformal geometric algebra (CGA) are the cornerstones of GA theory. GA can be further extended in a conformal way by adding a new pair of orthonormal generators, ˜e+and ˜e−, such that ˜e2 +=1and˜e2 −=−1. This pair of generators can be used to define two additional generators, ˜e0=1 2(˜e+−˜e−) and ˜e∞=˜e++˜e−, which are called the new Witt pair. Thanks to the new Witt pair ˜e0and ˜e∞, the Lie algebra of a bivector contains two isomorphic affine Lie algebras aff1:= e1,e 2,e 3,e ∞and aff2:= e1,e 2,e 3,˜e∞and therefore the corresponding affine Lie groups A1=Spin(3) R 3and A2=Spin(3) ˜ R3. Moreover, we have a bivector e∞˜e∞and related versors W=exp(βe∞˜e∞)=1−1 2(βe∞˜e∞). These versors preserve the vector space ∧1=e1,e 2,e 2,e 0,e ∞,˜e0,˜e∞by sandwich product Wx ˜ W, where x∈∧ 1. Our goal is to represent a new class of appropriate geometric objects O⊂R3as a general vectors v=v0e0+˜v0˜e0+v1e1+v2e2+v3e3+v∞e∞+˜v∞˜e∞∈∧ 1,(6) M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 4 of 22 such that O={x∈R3|ι(x)·v=0}, where ι:R3→Cl(5,2) is a chosen embedding. So our goal is to find the embedding ι:R3→Cl(5,2) and the group of Euclidean transformations so that the vectors representing the chosen geometric objects are equivariant with respect to the action of this group. We are looking for an analogous CGA situation where the group of Euclidean transformations (5) preserves the space of spheres and planes (4) with the help of inclusion (3). First, let’s say that A1∩A2=Spin(3) and therefore, new transformations arise thanks to the translational part of the group A2and W. Let’s see how the two affine groups A1and A2act on the conformal embedding ι(3) and on a new Witt pair ˜e0,˜e∞. •The Lie group A1acts on ι(x1,x 2,x 3) as usual. •The translation part T2of A2acts on ι(x1,x 2,x 3) in the following way 1−1 2uiei˜e∞ι(x1,x 2,x 3)1+1 2uiei˜e∞=ι(x1,x 2,x 3)+uixi˜e∞, •The Lie group A1acts on a new Witt pair ˜e0,˜e∞as an identity. •The translation part T2of A2acts on ˜e∞as an identity and on ˜e0 as CGA inclusion of the second copy of CGA ι2(x, y, z)=˜e0+xe1+ye2+ze3+(x2+y2+z2)˜e∞ The new versor Wacts on ι(x1,x 2,x 3) in the following way 1−1 2(βe∞˜e∞)ι(x1,x 2,x 3)1+1 2(βe∞˜e∞)=ι(x1,x 2,x 3)−β˜e∞ and on ˜e∞as an identity. With the help of composition the vector of the new embedding ˜ι(x1,x 2,x 3)=ι(x1,x 2,x 3)+δ˜e∞(7) can be map to the vector ι(x1,x 2,x 3)+(δ−β+uixi)˜e∞by versor T2◦W. This new dimension (parameter δ) can be used, for example, to add the monom 1 2x2˜e∞into inclusion (7) and the versors Tiand Wcanbeusedas new generators of the translation group in the following way: T1˜ι(x1,x 2,x 3)˜ T1=ι(x1+α, x2,x 3)+1 2x2˜e∞ WT1˜ι(x1,x 2,x 3)˜ T1˜ W=ι(x1+α, x2,x 3)+(x2+α2)˜e∞ T2WT1˜ι(x1,x 2,x 3)˜ T1˜ W˜ T2=ι(x1+α, x2,x 3)+(x2+α2+2αx1)˜e∞ =˜ι(x1+α, x2,x 3), where T1=1−1 2(αe∞e1), W=1+1 2α2e∞˜e∞and T2=1−1 2(2α¯e∞e1). Now, a general vector in this algebra in terms of our basis is of the form v=v0e0+v1e1+v2e2+v3e3+˜v0˜e0+v∞e∞+˜v∞˜e∞, where ˜v∞,˜v0,vα∈R,α∈{1,2,3,0,∞} and its inner product with an embedded point is then given by ˜ι(x, y, z)·v=v∞+xv1+yv2+zv3−(1/2) x2+y2+z2v0−(1/2)x2˜v0 Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 5 of 22 and may represent a special kind of ellipsoids. Rotations in this case, make sense only in the case of spheres (δ= 0) otherwise, they do not preserve the class of defined objects (special kind of ellipsoids). This procedure gives us an algebra Cl(4,2) not yet intensively studied. 2.4. A natural flag Gn⊂PGA n⊂CGAn In the previous chapters, we introduced PGA and CGA separately. This is due to the historical fact that these algebras have been developed separately concerning applications. But the conceptual point of view is as follows. If we want to work with the n-dimensional Euclidean space Rn, we choose the geometric algebra Gn. By adding one Witt pair {e0,e ∞}, we obtain the ndimensional CGA and the n-dimensional PGA is given as its subalgebra of flat objects, [23]. 2.5. 2d-Up STA Note that the flag structure discussed in Section 2.4 has a relativistic counterpart. We can interpret the algebra Cl(2,4) as a conformal extension of the space-time algebra (STA) [13], meaning it is a Clifford algebra of the vector space with a bilinear form of signature (1,3) that permits conformal transformations. This algebra is sometimes referred to as 2d-Up STA or conformal STA (CSTA). It has intristing applications in mathematical physics [26]and is implemented, for example, in the Julia package SimpleGA [7]. As with the Euclidean metric, it may be more efficient to work exclusively with flat objects, thereby using the PGA subalgebra. This approach can also be beneficial for the conformal space-time algebra (CSTA), resulting in the algebra of signature Cl(1,4),knownas1d-UpSTA,[27]. Thus, we obtain the flag structure STA ⊂“1d-Up STA ⊂“2d-Up STA for Minkowski’s signature. 2.6. Geometric algebra for conics Generally, we can add more Witt pairs with this procedure. For example, this gives us the well known geometric algebra for conics (GAC), [21] which can be seen as a Compass ruler algebra (CRA) (the 2D version of CGA), [17,18] with two additional Witt pairs. GAC has three copies of the two dimensional affine algebras affi(2),i=1,2,3 based on the three Witt pairs {e0,e ∞}, {˜e0,˜e∞}and {¯e0,¯e∞}respectively. In addition, we have a three dimensional commutative Lie algebra with bivectors e∞˜e∞,e ∞¯e∞,¯e∞˜e∞which we can freely use. This algebra allows us to linearize up to three monoms in R2,if the inclusion of R2is the map ι(x, y)=e0+xe1+ye2+1 2x2+y2e∞+1 2x2−y2˜e∞+xy¯e∞ as usual and the general vector in this algebra in terms of our basis is of the form v=v1e1+v2e2+v0e0+˜v0˜e0+¯v0˜e0+v∞e∞+˜v∞˜e∞+¯v∞¯e∞, M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 6 of 22 where ¯v∞,¯v0,˜v∞,˜v0,vα∈R,α∈{1,2,3,0,∞} then its inner product with an embedded point is given by ι(x, y)·v=−1 2(v++˜v0)x2−1 2(v+−˜v0)y2−¯v0xy +xv1+yv2+v0 and represents an arbitrary conics section. To find the appropriate affine group, we have considered three classes of translation versors Tij and three new versors based on Witt pairs Wjat our use: Ti1=1−1 2(α1eie∞),T i2=1−1 2(α2ei˜e∞)andTi3=1−1 2(α3ei¯e∞), W1=1−1 2(β1e∞˜e∞),W 2=1−1 2(β2e∞¯e∞)andW3=1−1 2(β3˜e∞¯e∞). In the same way as in Section 2.3 we can set parameters αiand βito implement the translation subgroup equivariant with respect to the inclusion ι. In GAC, it makes sense to discuss rotations and thus obtain the whole Affine group equivariant with respect to the inclusion ι. The CGA rotor R+=cos( ψ 2)+sin( ψ 2)e1∧e2acts as an identity on ˜e∞,¯e∞, but we still have not used bivectors ¯e0∧˜e∞and ¯e∞∧˜e0. Concerning [21], we state that rotation is represented by the bivector’s r=1 2e1∧e2+¯e0∧˜e∞+¯e∞∧˜e0 and exp(ψr) can be seen in the form R+(R1∧R2), where R+=cos( ψ 2)+sin(ψ 2)e1∧e2,R 1=cos(ψ)+sin(ψ)¯e0∧˜e∞ R2=cos(ψ)+sin(ψ)¯e∞∧˜e0, So we can say that the algebra constructed in this way allows you to work efficiently with conics, [4–6]. 2.7. Geometric algebra for quadrics Another natural possibility is to find a geometric algebra realizing quadrics. Each quadric can be written with the help of monoms {1,x,y,z,x 2,y2,z2,xy,xz,yz}.If we want to follow the same procedure as in the case of GAC we have to extend the geometric algebra G3by six Witt pairs {e0i,e ∞i},i=1,...6 (or the geometric algebra CGA by five Wit pairs). The inclusion ι:R3→Cl(9,6) can be chosen, for example, as ι(x, y)=e01 +xe1+ye2+ze3+1 2(x2+y2+z2)e∞1+1 2(x2−y2+z2)˜e∞2 +xy¯e∞3+1 2(x2+y2−z2)e∞4+xz˜e∞5+yz¯e∞6. To find the translation, we consider a Lie group Vof versors generated by elements T1ij =1−1 2(αijeie∞j),W ij =1−1 2(βije∞ie∞j) Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 7 of 22 and we’re just looking for the versors Tx0,y0,z0∈Vwhich are the solutions of the equations Tx0,y0,z0ι(x, y, z)˜ Tx0,y0,z0=ι(x+x0,y+y0,z+z0). For the rotation, we proceed similarly with help of versors R+=exp(eiej), Rij =exp(e0ie∞j). This geometric algebra is sometimes called quadric CGA (QCGA) (Hitzer et al. [2,14]). 2.8. Final remark By this procedure, we can implement any class of geometric objects and see them as linear objects in a Clifford algebra of the right dimension. 3. Bott periodicity In the following, we show how GA can be realized in a suitable matrix algebra. The complete classification of Clifford algebras is based on advanced concepts of linear algebra and algebraic geometry, [28]. Important for us are the following identities which are valid for Clifford algebras generally Cl(p+1,q+1)=M2(Cl(p, q)),(8) Cl(p+4,q)=Cl(p, q +4),(9) where M2(Cl(p, q)) are 2 ×2 matrices over Clifford algebra Cl(p, q). These identities are based on the general theory and the aforementioned considerations lead to the following classical description of the Boot periodicity Cl(p+8,q)=Cl(p+4,q+4)=M24(Cl(p, q)). In view of these considerations, for example, the algebra Cl(4,2) of the signature (4,2) can be viewed as an algebra of 2 ×2 matrices over CRA, ie. the algebra Cl(3,1) of the signature (3,1). 3.1. Algebra GAC realized as matrices over CRA Our goal is to realize and consequently implement the automorphism Ψ based on (8) between the GAC and the corresponding matrices over CRA Ψ:Cl(5,3) →M2(M2(Cl(3,1))) ∼ =M4(Cl(3,1)). An algebra Cl(5,3) is formed by a set of orthogonal generators CGA e1,e 2,e +,e −and two orthogonal couples of pairs ˜e−,˜e+and ¯e−,¯e+ satisfying the following identities e2 1=e2 2=e2 +=˜e2 +=¯e2 +=1,e 2 −=˜e2 −=¯e2 −=−1. Theorem 3.2. Let Cl(5,3) be a Clifford algebra based on the signature (5,3) and M4(Cl(3,1)) be an algebra of 4×4matrices over Clifford algebra Cl(3,1). M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 8 of 22 Let ei,i∈{1,2,+,−} and ˜e+,˜e−,¯e+,¯e−be an orthogonal basis of Cl(5,3) and N,F+,F −,G +,G −be the following 4×4matrices over R N=⎛ ⎜ ⎜ ⎝ 10 00 0−100 00−10 00 01 ⎞ ⎟ ⎟ ⎠ ,F +=⎛ ⎜ ⎜ ⎝ 01 0 0 10 0 0 00 0 −1 00−10 ⎞ ⎟ ⎟ ⎠ ,F −=⎛ ⎜ ⎜ ⎝ 0100 −100 0 000−1 0010 ⎞ ⎟ ⎟ ⎠ , G+=⎛ ⎜ ⎜ ⎝ 0010 0001 1000 0100 ⎞ ⎟ ⎟ ⎠ ,G −=⎛ ⎜ ⎜ ⎝ 0010 0001 −1000 0−100 ⎞ ⎟ ⎟ ⎠ . Then the map Ψ:Cl(5,3) →M4(Cl(3,1)) generated by Ei:= Ψ(ei)=eiN, Ψ( ˜ f+)=F+,Ψ(˜e−)=F−,Ψ(¯e+)=G+,Ψ(¯e−)=G−, is an isomorphism of Clifford algebras. Proof. The map Ψ is a linear mapping between vector spaces. From Bott’s periodicity, we know that these two algebras are isomorphic. So it suffices to show that the resulting matrices satisfy the identities of the generators of the Clifford algebra. This property, together with the universal property of Clifford algebras, completes the proof. Thus, we show that the matrices satisfy the required identities. By straightforward calculation, it can be shown that E2 1=E2 1=E2 +=F2 +=G2 +=1andE2 −=F2 −=G2 −=−1. The matrices Eicorrespond to the algebra Cl(3,1) and matrix Ncommute with others matrices. Again by direct calculation, it is easily shown that the matrices F+,F −,G +and G−commute with each other, which completes the proof.  Now we will show how our considerations can be used in a practical way in computing with the GAC algebra. In this algebra there are both points and conics represented by vectors u=k1e1+k2e2+k3e∞+k4e0+k5˜e∞+k6˜e0+k7¯e∞+k8¯e0,(10) in the Witt basis, where e∞=e−+e+,e 0=1 2(e−−e+),˜e∞=˜e−+˜e+,˜e0= 1 2(˜e−−˜e+),¯e∞=¯e−+¯e+,¯e0=1 2(¯e−−¯e+). We can see the GAC vectors (points, conics) as a matrices of a form Ψ(u)=⎛ ⎜ ⎜ ⎝ s2k52k70 −k6−s02k7 −k80−s−2k5 0−k8k6s ⎞ ⎟ ⎟ ⎠ ,(11) where s=k1e1+k2e2+k3e∞+k4e0. Due to the isomorphisms Ψ in the Theorem 3.2, we can realize the wedge product and the scalar product between vector uof the form (10) and vector vof the form v=c1e1+c2e2+c3e∞+c4e0+c5˜e∞+c6˜e0+c7¯e∞+c8¯e0 Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 9 of 22 where t=1−e1∞−7 2e2∞,˜ t=1+e1∞+7 2e2∞, k=−2e1+7e2+14e12∞,˜ k=2e1−7e2+14e12∞, s=−7e1−2e2+45 2e12∞,˜ s=7e1+2e2+45 2e12∞, r=−28 −53e12 +28e1∞+98e2∞,˜ r=28−53e12 +28e1∞+98e2∞. The specific translation is then performed by conjugation using the following code ell_tr = np.matmul(tr, np.matmul(ell, tr_inv)) hyp_tr = np.matmul(tr, np.matmul(hyp, tr_inv)) Finally, the effect can be displayed using the following code and seen in Fig. 2 sc_tr = GanjaScene() add_conic_to_scene(sc_tr, ell, Color.BLUE) add_conic_to_scene(sc_tr, ell_tr, Color.BLACK) add_conic_to_scene(sc_tr, hyp, Color.CYAN) add_conic_to_scene(sc_tr, hyp_tr, Color.MAGENTA) draw(sc_tr, scale=0.1) 5.3. Rotation of an ellipse and a parabola Next, we illustrate the rotation of the objects, again first introducing the objects and the motor. Initialization of an ellipse and a parabola is based on the code Figure 2. Translation of an ellipse and a hyperbola M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 16 of 22 Figure 3. Rotation of an ellipse and a parabola ell = init_ellipse(center_x=2, center_y=3, axis_a=5, axis_b=3, theta=-1/3 * np.pi) par = init_parabola(u=2, v=3, p=2, theta=1/6 * np.pi) Initialization of the rotor and its conjugate rotor given by angle 2 5πis based on the code rot, rot_inv = rotor_and_rotor_inv_gac(np.pi / 2.5) The rotation of the objects is based on the code ell_rot = np.matmul(rot, np.matmul(ell, rot_inv)) par_rot = np.matmul(rot, np.matmul(par, rot_inv)) and we can see them in Fig. 3with the help of the code sc_rot = GanjaScene() add_conic_to_scene(sc_rot, ell, Color.BLUE) add_conic_to_scene(sc_rot, ell_rot, Color.BLACK) add_conic_to_scene(sc_rot, par, Color.CYAN) add_conic_to_scene(sc_rot, par_rot, Color.MAGENTA) draw(sc_rot, scale=0.1) 5.4. Finding a conic by 5 points With the help of the developed procedures we can also define the conics sections using the set of points that lie on it. Initialization of points and finding the conic is based on the code Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 17 of 22 Figure 4. Conic given by 5 general points points = [up(5 * e1 - e2), up(2 * e1 + 4 * e2), up(-3 * e1 + 7 * e2), up(1 * e1 - e2), up(11 * e2)] conic, points_spheres = get_conic_by_points(points) The result can be displayed in the Fig. 4using the code sc = GanjaScene() add_conic_to_scene(sc, conic, Color.BLUE) sc.add_objects(points_spheres, Color.RED) draw(sc, scale=0.1) Initialization of the points lying on a parabola with the help of the code m = translator_cra(5 * e1 + 4 * e2) * rotor_cra(np.pi/5) points = [] j=1 for i in [2, 3, 3, 4, 5]: y = np.sqrt(2 * 2 * i) points.append( corrected_point(m * up(i * e1 + j * y * e2) * ~m)) j*=-1 and finding appropriate conics by the code conic, points_spheres = get_conic_by_points(points) we can find the parabola as we can see in the Fig. 5. M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 18 of 22 Figure 5. Conic given by 5 general points 6. Conclusion Our goal was to bring algebras of higher orders, especially GAC, [21]into the current framework by the most natural way. In order to achieve this, we considered the Bott periodicity [28] and we obtained an explicit description of the conics in the form of matrices over the CRA algebra. We have used this representation for creating scripts in the most frequently used software tool, the Python packages Clifford and Pyganja,[12]. All implemented procedures of the bootGAC package can be found online, including the mentioned examples. Acknowledgements We wish to confirm that there are no known conflicts of interest associated with this publication. We declare Credit authorship contribution statement as: Marek Stodola: Writing original draft, Investigation, Software implementation. Jaroslav Hrdina: Conceptualization, Methodology. Funding Open access publishing supported by the National Technical Library in Prague. Supported by the Grant No. FSI-S-23-8161. Data availability All implemented procedures of the bootGAC package can be openly available at https://github.com/MarStodola/bootGAC, including the mentioned examples. 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 Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 19 of 22 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/. Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References [1] Ablamowicz, R., Fauser, B.: Mathematics of Clifford - a Maple package for Clifford and Graßmann algebras. Adv. Appl. Clifford Algebras 15, 157–181 (2005). https://doi.org/10.1007/s00006-005-0009-9 [2] Breuils, S., Nozick, V., Sugimoto, A., Hitzer, E.: Quadric conformal geometric algebra of R9,6. Adv. Appl. Clifford Algebras 28(35), 1–16 (2018) [3] Breuils, S., Tachibana, K., Hitzer, E.: New applications of Clifford’s geometric algebra. Adv. Appl. Clifford Algebras 32, 17 (2022). https://doi.org/10.1007/ s00006-021-01196-7 [4] Byrtus, R., Derevianko, A., Vaˇs´ık, P.: Outline of tube elbow detection based on GAC. In: Magnenat-Thalmann, N., et al. (eds.) Advances in Computer Graphics. CGI 2020. Lecture Notes in Computer Science, vol 12221. Springer, Cham (2020) https://doi.org/10.1007/978-3-030-61864-3 41 [5] Derevianko, A., Vaˇs´ık, P.: Solver-free optimal control for linear dynamical switched system by means of geometric algebra. Math. Meth. Appl. Sci. (2022). https://doi.org/10.1002/mma.8752 [6] Derevianko, A., Louˇcka, P.: Search for similarity transformation between image point clouds using geometric algebra for conics. In: Mazal, J., et al. (eds.) Modelling and Simulation for Autonomous Systems. MESAS 2021. Lecture Notes in Computer Science, vol. 13207. Springer, Cham (2022) https://doi. org/10.1007/978-3-030-98260-7 13 [7] Doran, Ch.: SimpleGA. A lightweight Geometric Algebra library, GitHub repository, (2023) https://github.com/MonumoLtd/SimpleGA.jl [8] Dorst, L., Fontijne, D., Mann, S.: Geometric Algebra for Computer Science: An Object-Oriented Approach to Geometry. Morgan Kaufmann Publishers Inc. (2007) [9] Dorst, L., De Keninck, S.: A Guided Tour to the Plane-Based Geometric Algebra PGA (2022) [10] Esquivel, J.C.Z.: Vanishing vector rotation in quadric geometric algebra. Adv. Appl. Clifford Algebras 32, 46 (2022). https://doi.org/10.1007/ s00006-022-01234-y [11] Hadfield, H., Wei, L., Lasenby, J.: The forward and inverse kinematics of a delta robot. In: Magnenat-Thalmann N. et al. (eds.) Advances in Computer Graphics. CGI 2020. Lecture Notes in Computer Science, vol. 12221. Springer, Cham (2020) https://doi.org/10.1007/978-3-030-61864-3 38 [12] Hadfield, H., Wieser, E., Arsenovic, A., Kern, R.: pygae/clifford, Zenodo, https://doi.org/10.5281/zenodo.1453978 [13] Hestenes, D.: Space-Time Algebra, 2nd edn. Birkh¨auser, Basel (2015) M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 20 of 22 [14] Hitzer, E.: Three-dimensional quadrics in conformal geometric algebras and their versor transformations. Adv. Appl. Clifford Algebras 29, 46 (2019). https://doi.org/10.1007/s00006-019-0964-1 [15] Hitzer, E., Lavor, C., Hildenbrand, D.: Current survey of Clifford geometric algebra applications. Math. Meth. Appl. Sci. (2022). https://doi.org/10.1002/ mma.8316 [16] Hildenbrand, D.: Foundations of Geometric Algebra Computing. Springer Science & Business Media, Berlin (2013) [17] Hildenbrand, D., Hrdina, J., N´avrat, A., Vaˇs´ık, P.: Local controllability of snake robots based on CRA, theory and practice. Adv. Appl. Clifford Algebras (2020). https://doi.org/10.1007/s00006-019-1022-8 [18] Hildenbrand, D.: Introduction to Geometric Algebra Computing. CRC Press, Taylor & Francis Group (2019) [19] Hitzer, E., Kamarianakis, M., Papagiannakis, G., Vaˇs´ık, P.: Survey of new applications of geometric algebra. Math. Meth. Appl. Sci. (2023). https://doi. org/10.1002/mma.9575 [20] Hrdina, J., N´avrat, A.: Binocular computer vision based on conformal geometric algebra. Adv. Appl. Clifford Algebras 27(3), 1945–1959 (2017). https://doi. org/10.1007/s00006-017-0764-4 [21] Hrdina, J., N´avrat, A., Vaˇs´ık, P.: Geometric algebra for conics. Adv. Appl. Clifford Algebras (2018). https://doi.org/10.1007/s00006-018-0879-2 [22] Hrdina, J., N´avrat, A., Vaˇs´ık, P.: Fitting in geometric algebra setting. Adv. Appl. Clifford Algebras (2019). https://doi.org/10.1007/s00006-019-0989-5 [23] Hrdina, J., N´avrat, A., Vaˇs´ık, P., Dorst, L.: Projective geometric algebra as a subalgebra of conformal geometric algebra. Adv. Appl. Clifford Algebras (2021). https://doi.org/10.1007/s00006-021-01118-7 [24] Kanatani, K.: Understanding geometric algebra: Hamilton, Grassmann, and Clifford for computer vision and graphics. CRC Press, Boca Raton (2015) [25] Kleppe, A., Egeland, O.: Inverse kinematics for industrial robots using conformal geometric algebra. Model. Identif. Control 37(1), 63–75 (2016) [26] Lasenby, A.: Conformal Geometry and the Universe, preprint (2005) [27] Lasenby, A.: Recent applications of conformal geometric algebra. In Computer Algebra and Geometric Algebra with Applications, pp. 298-328. Springer (2004) [28] Lounesto, P.: Clifford Algebra and Spinors, 2nd edn. CUP, Cambridge (2006) [29] Perwass, Ch.: Geometric Algebra with Applications in Engineering, 1st edn. Springer Verlag, Berlin (2009) [30] Sharpe, R., Shiing-shen Ch.: Differential Geometry: Cartan’s Generalization of Klein’s Erlangen Program, Graduate Texts in Mathematics, Springer-Verlag New York (1997) [31] Sangwine, S.J., Hitzer, E.: Clifford Multivector Toolbox (for MATLAB). Adv. Appl. Clifford Algebras 27(1), 539–58 (2016). https://doi.org/10.1007/ s00006-016-0666-x Higher Order geometric Algebras. . . Vol. 34 (2024) 44 Page 21 of 22 Marek Stodola and Jaroslav Hrdina Institute of Mathematics, Faculty of Mechanical Engineering Brno University of Technology Technick´a 2896/2 616 69 Brno Czech Republic e-mail: [email protected] ; [email protected] Received: January 8, 2024. Accepted: July 22, 2024. M. Stodola, J. Hrdina Adv. Appl. Clifford Algebras 44 Page 22 of 22