1 Introduction

Space-time exterior calculus serves as a valuable instrument that allows one to develop theories in mathematical physics involving general-graded multivectors in a framework of arbitrary time and space dimensions [1]. A generalized theory of electromagnetism, for instance, has been formulated through the properties of exterior calculus in [2]. The introduction of exterior-algebraic variational methods permits one to find the dynamical equations of a system as the Euler–Lagrange equations [3] and to discover the conserved quantities such as the equivalent stress-energy-momentum tensor and the angular momentum. In particular, for a suitably-defined Lagrangian density depending on multivector fields, it is possible to find a manifestly-symmetric form for the stress-energy-momentum tensor [4, 5], imposing the invariance of the action to infinitesimal space-time translations, while the invariance with respect to rotations allows one to recover the conservation law for the equivalent angular momentum [6].

In this paper, we are going to define a suitable basis for quaternions in the context of exterior algebra, by considering a space-time characterized by three time dimensions. Quaternions are mathematical objects first described in 1843 by W. R. Hamilton [7], who devised them and their operations to deal with three-dimensional problems in mechanics. Later on, Clifford assimilated quaternions in geometric algebra, nowadays known as Clifford algebra [8]. Indeed, quaternions include vector calculus in three dimensions and its characteristic operations of scalar and vector product and, historically, the algebraic description of quaternions might be considered as the origin of non-commutative algebra [9]. Hamilton real quaternions, in particular, are the result of researching a way to extend the complex number to a higher-dimensional system [10]. Algebraically, quaternions are an example of a non-commutative division ring. Specifically, they satisfy the properties of a ring, as they form a closed set under addition and multiplication, as both addition and multiplication are associative and distributive, and admit an identity element. However, they do not satisfy the property of commutativity for multiplication, and for this reason quaternions identify a division ring but not a field.

In this work, we provide the definition and characterization of quaternions by means of the formalism of exterior calculus, presenting how the main operations appear in terms of the tools implemented in exterior algebra. A different approach would consider Clifford algebra from the point of view of differential forms, in order to describe quaternions and the related quantities [11]. However, for the purposes of this article, we are not explicitly adopting this latter approach, since a match is possible between differential forms and exterior calculus [2, 3].

Hereinafter, in Sect. 2 we briefly review the main concepts of the general (kn)-dimensional construction of exterior algebra, suggesting some references for readers interested to deepen the topic. For the scope of this article, we will then limit our dimensions to three time-like coordinates. Section 3 is the core of the article where quaternions in exterior algebra are introduced and described. In particular, in Sect. 3.1 we present the setup of the problem in the (3, 0) space-time and in Sect. 3.2 we provide some necessary tools from exterior calculus which play a key role for the rest of the theory. We deduce the exterior-algebraic formulation of quaternions in Sect. 3.3 and, subsequently, we introduce the application to rotations of the exterior-algebraic quaternions in Sect. 4. Ultimately, we conclude the article with some final considerations in Sect. 5.

2 Basics in exterior calculus

In its most general formulation, exterior calculus takes into consideration a flat space-time \({{\textbf{R}}}^{k+n}\) with k temporal dimensions and n spatial dimensions, called (kn) space-time. In this mathematical framework, we write the canonical basis \(\displaystyle {\{{{\textbf{e}}}_i\}_{i=0}^{k+n-1}}\), referring to indices from 0 to \(k-1\) as the time coordinates and to the following n indices as the space coordinates.

Next, we proceed to introduce the fundamental elements of exterior algebra that are necessary for the purposes of this article, while readers seeking a more comprehensive understanding may find further exploration of the subject in [1].

2.1 Exterior product, multivectors and main properties

A natural extension of the canonical vector basis can be done by means of the exterior (or wedge) product \(\wedge \) [12, p. 2], and we define a grade-r multivector basis in a (kn) space-time, where \(r\le k+n\), as in [1, Eq. (5)],

$$\begin{aligned} {{\textbf{e}}}_I = {{\textbf{e}}}_{i_1} \wedge {{\textbf{e}}}_{i_2} \wedge \dots \wedge {{\textbf{e}}}_{i_r}, \end{aligned}$$
(1)

where \(I = (i_1,\dots ,i_r)\) conventionally corresponds to the list of the ordered non-repeated indices \(i_1, \dots , i_r\). Using the basis and the notation adopted in (1), we define a multivector or grade r as

$$\begin{aligned} {{\textbf{a}}}({\textbf{x}}) = \sum _{I\in {\mathcal {I}}_r} a_I({\textbf{x}}){{\textbf{e}}}_I, \end{aligned}$$
(2)

where \({\mathcal {I}}_r\) is the set of all ordered lists I with non-repeated r indices, for \(r=0, 1, \dots , k+n-2, k+n-1\). Henceforth, we refer to the grade of the multivector field also as \({{\,\textrm{gr}\,}}({{\textbf{a}}})=r\) and the length of the list I is denoted as \(|I|\).

Let us now briefly summarize the main operations and properties among multivector fields, defined according to (2). First, the dot product \(\cdot \) between two arbitrary grade-r multivector basis \({{\textbf{e}}}_I\) and \({{\textbf{e}}}_J\) is defined as

$$\begin{aligned} {{\textbf{e}}}_I\cdot {{\textbf{e}}}_J = \Delta _{IJ} = \Delta _{i_1 j_1}\Delta _{i_2 j_2}\dots \Delta _{i_r j_r}, \end{aligned}$$
(3)

where I and J are the ordered lists of r indices, \(I = (i_1,i_2,\dots ,i_r)\) and \(J = (j_1,j_2,\dots ,j_r)\), and \(\Delta _{IJ}\) is the generalized metric tensor, where \(\Delta _{ij} = 0\) if \(i\ne j\), \(\Delta _{ii} = -1\) for \(i=0,\dots , k-1\) and \(\Delta _{ii} = +1\), for \(i=k, \dots , k+n-1\).

We have introduced the exterior product between vector basis in (1) and we now define the same operation between two multivector basis \({{\textbf{e}}}_I\) and \({{\textbf{e}}}_J\), having grades respectively \(r = |I|\) and \(r' = |J|\), namely

$$\begin{aligned} {{\textbf{e}}}_I\wedge {{\textbf{e}}}_J = \sigma (I,J){{\textbf{e}}}_{I+J}, \end{aligned}$$
(4)

where \(\sigma (I,J)\) is the signature of the permutation sorting the elements of this concatenated list of \(|I|+|J|\) indices, and \(I+J\) represents the resulting sorted list.

We then proceed to describe two generalizations of the dot product, namely the left and right interior products. Let us consider two basis multivectors \({{\textbf{e}}}_I\) and \({{\textbf{e}}}_J\), such that I is a subset of J, thus \(|I|\le |J|\) and \(I\subseteq J\). Then the left interior product, denoted as , is defined as

(5)

and the right interior product, denoted as , is defined as

(6)

where the vector \({{\textbf{e}}}_{J\setminus I}\) has grade \(|J|-|I|\) and it is composed by the elements of J not in common with I. Left and right interior products are connected to each other by means of the relation [1]

(7)

and both these operations coincide with the dot product in (3) in the case that the two lists have the same grade \(|I|= |J|\), namely

(8)

Furthermore, for a grade-r multivector basis \({{\textbf{e}}}_I\), we may denote what we call as the Grassmann or Hodge complement [13] and we write it [1, Sect. 2.1]

$$\begin{aligned} {{\textbf{e}}}_I^{\scriptscriptstyle \mathcal {H}}= \Delta _{I,I}\sigma (I,I^c){{\textbf{e}}}_{I^c}, \end{aligned}$$
(9)

where \(I^c\) is the complement list composed of all the labels but the elements of I and identifying the grade-\((k+n-r)\) dual multivector. Similarly, we express the inverse Hodge transformation as

$$\begin{aligned} {{\textbf{e}}}_I^{\scriptscriptstyle \mathcal {H}^{-1}}= \Delta _{I^c,I^c}\sigma (I^c,I){{\textbf{e}}}_{I^c}. \end{aligned}$$
(10)

3 Quaternions in exterior algebra

3.1 Setup of the problem

Let us consider a space-time composed of three time-like coordinates. Conventionally, we name these coordinates \({{\textbf{e}}}_{\text {i}}\), \({{\textbf{e}}}_{\text {j}}\) and \({{\textbf{e}}}_{\text {k}}\) and, as a consequence, the generalized metric tensor admits non-vanishing terms \(\Delta _{{\text {i}}{\text {i}}}=\Delta _{{\text {j}}{\text {j}}}=\Delta _{{\text {k}}{\text {k}}}=-1\). In this framework, from (9) and (10) we can easily recover the following expressions for the Hodge and inverse Hodge dual of vectors, respectively

$$\begin{aligned} {{\textbf{e}}}_{\text {i}}^{\scriptscriptstyle \mathcal {H}}= & {} - \sigma ({\text {i}}, {\text {j}}{\text {k}}) {{\textbf{e}}}_{{\text {j}}{\text {k}}} \end{aligned}$$
(11)
$$\begin{aligned} {{\textbf{e}}}_{\text {i}}^{\scriptscriptstyle \mathcal {H}^{-1}}= & {} \sigma ({\text {j}}{\text {k}},{\text {i}}) {{\textbf{e}}}_{{\text {j}}{\text {k}}}, \end{aligned}$$
(12)

and the same relations for bivectors, specifically

$$\begin{aligned} {{\textbf{e}}}_{{\text {i}}{\text {j}}}^{\scriptscriptstyle \mathcal {H}}= & {} \sigma ({\text {i}}{\text {j}},{\text {k}}){{\textbf{e}}}_{\text {k}} \end{aligned}$$
(13)
$$\begin{aligned} {{\textbf{e}}}_{{\text {i}}{\text {j}}}^{\scriptscriptstyle \mathcal {H}^{-1}}= & {} - \sigma ({\text {k}},{\text {i}}{\text {j}}){{\textbf{e}}}_{\text {k}}, \end{aligned}$$
(14)

pointing out that \({{\textbf{e}}}_{\text {i}}^{\scriptscriptstyle \mathcal {H}^{-1}}=- {{\textbf{e}}}_{\text {i}}^{\scriptscriptstyle \mathcal {H}}\) and \({{\textbf{e}}}_{{\text {i}}{\text {j}}}^{\scriptscriptstyle \mathcal {H}^{-1}}= -{{\textbf{e}}}_{{\text {i}}{\text {j}}}^{\scriptscriptstyle \mathcal {H}}\), due to the nature of the (3, 0)-dimensional space-time.

We then define entities denoted as \({\textsc {Q}}\), constructed from four real numbers, a, b, c and d. One of them, generally a, is multiplied by a scalar basis, which might be specifically written as \({{\textbf{e}}}_\emptyset \) but it is omitted without any confusion. The three remaining numbers b, c and d, are instead multiplied by the three basis elements of our (3, 0) space-time. Hence, we write \({\textsc {Q}}\) as

$$\begin{aligned} {\textsc {Q}}= a + b{{\textbf{e}}}_{\text {i}}+ c{{\textbf{e}}}_{\text {j}}+ d{{\textbf{e}}}_{\text {k}}, \end{aligned}$$
(15)

and, hereinafter, we will name the full set of objects characterized in (15) with the symbol \({\mathcal {Q}}\) and we may simply refer by the element \({\textsc {Q}}\) as \({\textsc {Q}}\in {\mathcal {Q}}\).

3.2 Exterior product and its variants

Exterior product, also known as wedge product, may increase the degree of the operation we are computing [1], as we have noticed in (1) and (4).

Property 3.1

We assume that the basis elements we are taking into consideration do not exceed grade one. Thus, in case we find bivectors, we write them by means of their Hodge complement, using (14). In this way, objects as outlined in (15) define a closed group, since the basic operation of exterior product among elements like (15) generate objects with the same structure, as will be further explored in the subsequent sections of this paper. Bivectors appear as

$$\begin{aligned} {{\textbf{e}}}_{pq} ={{\textbf{e}}}_p {\wedge _{\text {vec}} }{{\textbf{e}}}_q = \sigma (pq,r) {{\textbf{e}}}_r, \end{aligned}$$
(16)

where \(p,\, q,\, r = {\text {i}}, {\text {j}}, {\text {k}}\) assume the values of the three time-like coordinates of our space-time. In these specific cases, we are using the symbol \({\wedge _{\text {vec}} }\), in order to identify this particular operation and to avoid confusion. ¶

Property 3.1 has the effect of identifying the two-dimensional surface described by a bivector by means of its orientation in the three dimensional space that we are considering. In fact, in our (3, 0) space-time as in \({{\mathbb {R}}}^3\), there is an equivalence between the operations of wedge product and cross product [14], which we identify with the symbol \({\wedge _{\text {vec}} }\) in order to avoid confusion. Thus, the product \({\wedge _{\text {vec}} }\) has the role of “vectorizing” the bivector and, in other words, we identify the wedge product \({\wedge _{\text {vec}} }\) with the standard cross product \(\times \) between two vectors in \({{\mathbb {R}}}^3\).

To conclude this section, we introduce a generalized product among elements of \({\mathcal {Q}}\), represented as \({\wedge _{{\mathcal {Q}}} }\). Given two objects \({\textsc {Q}}_1, {\textsc {Q}}_2 \in {\mathcal {Q}}\), we define

$$\begin{aligned} {\textsc {Q}}_1 {\wedge _{{\mathcal {Q}}} }{\textsc {Q}}_2 = {\textsc {Q}}_1 \cdot {\textsc {Q}}_2 + {\textsc {Q}}_1 {\wedge _{\text {vec}} }{\textsc {Q}}_2, \end{aligned}$$
(17)

where the first term on the right-hand-side is the dot product producing the scalar part of the result, while the second term on the right-hand-side determines the vector part by means of the product defined in (16).

3.3 Definition of time-like quaternions

Under the conditions that we have introduced in the previous section, we can identify \({\textsc {Q}}\in {\mathcal {Q}}\) in (15) as the exterior-algebraic representation for the quaternions in Clifford algebra [15, Sect. 1.1]. The configuration presented in 2.1 can already be connected with the setup described in [16, Sect. 1], where the negative (resp. positive) signature is related to time-like (resp. space-like) coordinates. Thus, we find a time-like representation of quaternions in exterior calculus, which is also equivalent to the Clifford-algebraic time-like representation in Minkowski 3-space [17, 18].

In the first instance, employing the product defined at (17), we can easily deduce the property

$$\begin{aligned} {{\textbf{e}}}_{\text {i}}{\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {i}}= {{\textbf{e}}}_{\text {j}}{\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {j}}= {{\textbf{e}}}_{\text {k}}{\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {k}}= {{\textbf{e}}}_{\text {i}}{\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {j}}{\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {k}}= -1, \end{aligned}$$
(18)

having its correspondence in the classical definition of the algebra of quaternions [19].

Furthermore, we can also prove the equivalence of the Hamilton product between two elements, which for us is simply identified with the wedge product between two objects. Let us consider two objects \({\textsc {P}}, {\textsc {Q}}\in {\mathcal {Q}}\), satisfying the properties above mentioned, defined respectively

$$\begin{aligned} {\textsc {P}}= & {} p_0 + p_1{{\textbf{e}}}_{\text {i}}+ p_2{{\textbf{e}}}_{\text {j}}+ p_3{{\textbf{e}}}_{\text {k}}, \end{aligned}$$
(19)
$$\begin{aligned} {\textsc {Q}}= & {} q_0 + q_1{{\textbf{e}}}_{\text {i}}+ q_2{{\textbf{e}}}_{\text {j}}+ q_3{{\textbf{e}}}_{\text {k}}. \end{aligned}$$
(20)

The \({\mathcal {Q}}\)-product between them is

$$\begin{aligned} {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}= \alpha + \beta {{\textbf{e}}}_{\text {i}}+ \gamma {{\textbf{e}}}_{\text {j}}+ \delta {{\textbf{e}}}_{\text {k}}, \end{aligned}$$
(21)

where \(\alpha = (p_0 q_0 - p_1 q_1 -p_2 q_2 - p_3 q_3)\), \(\beta = (p_0 q_1 + q_0 p_1 + p_2 q_3 - p_3 q_2)\), \(\gamma = (p_0 q_2 + q_0 p_2 + q_1 p_3 - p_1 q_3)\) and \(\delta = (p_0 q_3 + q_0 p_3 + p_1 q_2 - q_1 p_2)\), recovering the standard expression known in literature as Hamilton product [20, Sect. 5.4]. We may also write the quaternions in (19) and (20) separating explicitly the scalar from the vectorial part, namely

$$\begin{aligned} {\textsc {P}}= & {} p_0 + \textbf{p}, \end{aligned}$$
(22)
$$\begin{aligned} {\textsc {Q}}= & {} q_0 + \textbf{q}, \end{aligned}$$
(23)

where \(\textbf{p}=(p_1, p_2, p_3)\) and \(\textbf{q}=(q_1, q_2, q_3)\) are three-component vectors in terms of the time-like basis triplet \(\{{{\textbf{e}}}_{\text {i}}, {{\textbf{e}}}_{\text {j}}, {{\textbf{e}}}_{\text {k}}\}\). The Hamilton product in (21) is then expressed in terms of (22) and (23) as

$$\begin{aligned} {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}= p_0 q_0 + \textbf{p}\cdot \textbf{q}+ q_0 \textbf{p}+ p_0 \textbf{q}+ \textbf{p}{\wedge _{\text {vec}} }\textbf{q}, \end{aligned}$$
(24)

or, recalling that the vectors \(\textbf{p}\) and \(\textbf{q}\) have a three-dimensional time-like vector basis, we write in an explicit way the scalar product as

$$\begin{aligned} {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}= p_0 q_0 - p_1 q_1 - p_2 q_2 - p_3 q_3 + q_0 \textbf{p}+ p_0 \textbf{q}+ \textbf{p}\times \textbf{q}, \end{aligned}$$
(25)

where we have expressed the vector wedge product \({\wedge _{\text {vec}} }\) as the standard cross product, without any confusion.

As for the classical definition of the quaternions, we might also define the conjugate of an object \({\textsc {Q}}\in {\mathcal {Q}}\), represented by \({\textsc {Q}}^*\), namely

$$\begin{aligned} {\textsc {Q}}^* = a - b{{\textbf{e}}}_{\text {i}}- c{{\textbf{e}}}_{\text {j}}- d{{\textbf{e}}}_{\text {k}}, \end{aligned}$$
(26)

and identified by the opposite sign in the vector elements.

Proposition 1

For \({\textsc {P}}, {\textsc {Q}}\in {\mathcal {Q}}\), it holds that

$$\begin{aligned} ({\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}})^* = {\textsc {Q}}^* {\wedge _{{\mathcal {Q}}} }{\textsc {P}}^*, \end{aligned}$$
(27)

where the generalized product \({\wedge _{{\mathcal {Q}}} }\) is defined in (17) and the conjugate changes the sign of the time-vector elements according to (26).

Proof

In order to prove the relation in (27), we consider \({\textsc {P}}\) and \({\textsc {Q}}\) as written in (22) and (23), respectively. On the left hand side of (27) we recognize the conjugate of the expression in (24), namely

$$\begin{aligned} ({\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}})^* = p_0 q_0 + \textbf{p}\cdot \textbf{q}- q_0 \textbf{p}- p_0 \textbf{q}- \textbf{p}\times \textbf{q}, \end{aligned}$$
(28)

by simply changing the sign of the vector terms. On the right hand side, we have instead to evaluate

$$\begin{aligned} {\textsc {Q}}^* {\wedge _{{\mathcal {Q}}} }{\textsc {P}}^* = (q_0 - \textbf{q}) {\wedge _{{\mathcal {Q}}} }(p_0 - \textbf{p}), \end{aligned}$$
(29)

which results, after a few computations,

$$\begin{aligned} {\textsc {Q}}^* {\wedge _{{\mathcal {Q}}} }{\textsc {P}}^* = p_0 q_0 + \textbf{p}\cdot \textbf{q}- q_0 \textbf{p}- p_0 \textbf{q}- \textbf{q}\times \textbf{p}. \end{aligned}$$
(30)

Since in the last term holds that \(- \textbf{q}\times \textbf{p}= \textbf{p}\times \textbf{q}\), then Proposition 1 is proved. \(\square \)

We are also able to write the squared norm of \({\textsc {Q}}\) in accordance with the standard definition

$$\begin{aligned} \vert {\textsc {Q}}\vert ^2 = {\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^* = q_0^2 + q_1^2 + q_2^2 + q_3^2, \end{aligned}$$
(31)

and we tipically refer to unit quaternions in the case when the norm is unitary. In addition, we can evaluate the norm of the generalized product in (17), which reads

$$\begin{aligned} \vert {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}\vert ^2 = \vert {\textsc {P}}\vert ^2 \vert {\textsc {Q}}\vert ^2. \end{aligned}$$
(32)

Proof

It is possible to demonstrate this latter expression in a few steps. First, we may apply the definition of the squared norm as in (31) and we get

$$\begin{aligned} \vert {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}\vert ^2 = ({\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}) {\wedge _{{\mathcal {Q}}} }( {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}})^*. \end{aligned}$$
(33)

Subsequently, using (27), we are able to write

$$\begin{aligned} \vert {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}\vert ^2 = {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^* {\wedge _{{\mathcal {Q}}} }{\textsc {P}}^* = {\textsc {P}}{\wedge _{{\mathcal {Q}}} }{\textsc {P}}^* \vert {\textsc {Q}}\vert ^2 = \vert {\textsc {P}}\vert ^2 \vert {\textsc {Q}}\vert ^2, \end{aligned}$$
(34)

likewise (32), employing again the definition of the norm in (31). \(\square \)

We investigate the inverse of a quaternion \({\textsc {Q}}\in {\mathcal {Q}}\), which we are going to name \({\textsc {Q}}^{-1}\) adopting the common notation, satisfying the relations

$$\begin{aligned} {\textsc {Q}}^{-1} {\wedge _{{\mathcal {Q}}} }{\textsc {Q}}= \textbf{1} ={\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{-1}, \end{aligned}$$
(35)

where \({\textbf{1}}\) is the identity operator. Taking into account the equality on the left of (35), we multiply both terms on the right for the factor \({\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{*}\) and we get

$$\begin{aligned} {\textsc {Q}}^{-1} {\wedge _{{\mathcal {Q}}} }{\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{*} = {\textsc {Q}}^{*}. \end{aligned}$$
(36)

Recognizing the norm \(\vert {\textsc {Q}}\vert ^2 = {\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{*} \), it is then easy to derive

$$\begin{aligned} {\textsc {Q}}^{-1}= \frac{{\textsc {Q}}^{*}}{\vert {\textsc {Q}}\vert ^2 }. \end{aligned}$$
(37)

We could have found the same result by considering the identity on the right of (35) and multiplying for the factor \({\textsc {Q}}^{*} {\wedge _{{\mathcal {Q}}} }\) on the left, since \({\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{*} = {\textsc {Q}}^* {\wedge _{{\mathcal {Q}}} }{\textsc {Q}}\).

Remark 1

Note that in the case of unit quaternion, namely \(\vert {\textsc {Q}}\vert ^2 = 1\), we have that \({\textsc {Q}}^{-1}={\textsc {Q}}^{*}\), in analogy with rotation matrices.

4 Quaternions and rotations

One of the most important application concerning quaternions is surely dealing with rotations. In fact, it is particularly remarkable to use quaternions for three-dimensional rotations in order to reduce memory consumption and compute matrices faster, e.g. in computer graphics [21, Sect. 11-2].

In order to represent vector rotations with quaternions, we first need a unit quaternion, which can be written in the form [22, Chap. X]

$$\begin{aligned} {\textsc {Q}}= \cos \varphi + \sin \varphi \, {{\textbf{e}}}, \end{aligned}$$
(38)

where the vector part could be made explicit as \(\displaystyle {{\textbf{e}}}= \frac{q_1 {{\textbf{e}}}_{\text {i}}+ q_2 {{\textbf{e}}}_{\text {j}}+ q_3 {{\textbf{e}}}_{\text {k}}}{\sqrt{q_1^2+q_2^2+q_3^2}}\). Second, given two vectors \({{\textbf{a}}}=(a_1, a_2, a_3)\) and \({{\textbf{b}}}=(b_1, b_2, b_3)\), we notice that they can be expressed as pure quaternions, which are a particular kind of quaternion with vanishing scalar term, defined by \({\textsc {A}}= 0 + {{\textbf{a}}}\) and \({\textsc {B}}= 0 + {{\textbf{b}}}\). Then, the unit quaternion in (38) can be written as a quotient of these two latter pure quaternions, namely

$$\begin{aligned} \cos \varphi + \sin \varphi \, {{\textbf{e}}}= {\textsc {B}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}^{-1}, \end{aligned}$$
(39)

where the inverse of \({\textsc {A}}\) is defined, in accordance with (37), as

$$\begin{aligned} {\textsc {A}}^{-1} = -\frac{{{\textbf{a}}}}{\vert {{\textbf{a}}}\vert ^2}. \end{aligned}$$
(40)

To employ the expression \({\textsc {B}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}^{-1}\) in (39), it is necessary to satisfy a few requirements on the two vectors \({{\textbf{a}}}\) and \({{\textbf{b}}}\): they should have the same length \(\vert {{\textbf{a}}}\vert = \vert {{\textbf{b}}}\vert \) and \(\varphi \) should be the angle between them. Furthermore, vectors \({{\textbf{a}}}\) and \({{\textbf{b}}}\) have both to be perpendicular to \({{\textbf{e}}}\) so that the three \(\{{{\textbf{a}}}, \,{{\textbf{b}}},\,{{\textbf{e}}}\}\) identify a right-handed set. Once satisfying the required premises, it is easy to verify that the right hand side of (39) becomes

$$\begin{aligned} {\textsc {B}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}^{-1} = \frac{1}{\vert {{\textbf{a}}}\vert ^2} \left( -{{\textbf{a}}}\cdot {{\textbf{b}}}+ {{\textbf{a}}}\times {{\textbf{b}}}\right) , \end{aligned}$$
(41)

or, alternatively,

$$\begin{aligned} {\textsc {B}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}^{-1} = \frac{1}{\vert {{\textbf{a}}}\vert ^2} \left( a_1 b_1 + a_2 b_2 + a_3 b_3 + {{\textbf{a}}}\times {{\textbf{b}}}\right) . \end{aligned}$$
(42)

An additional intuitive explanation to (39) might also be deduced from (41). The scalar part \(-{{\textbf{a}}}\cdot {{\textbf{b}}}\) is indeed \(\cos \varphi \), due to the condition \(\vert {{\textbf{a}}}\vert = \vert {{\textbf{b}}}\vert \) and to the definition of the angle \(\varphi \). Moreover, since \({{\textbf{e}}}\) is perpendicular to both \({{\textbf{a}}}\) and \({{\textbf{b}}}\), it is then straightforward to prove that \({{\textbf{a}}}\times {{\textbf{b}}}= \sin \varphi \, {{\textbf{e}}}\).

We can simply motivate the analogy with rotations and, as a consequence, a geometrical interpretation, by multiplying, in generalized sense \({\wedge _{{\mathcal {Q}}} }\), both sides of (39) by the quantity \({\textsc {A}}\) and taking advantage of (35), so that we obtain the relation

$$\begin{aligned} {\textsc {B}}= {\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}, \end{aligned}$$
(43)

and substituting the expression for the quaternion in (38), we get

$$\begin{aligned} {\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {A}}= {{\textbf{a}}}\cos \varphi + {{\textbf{e}}}\times {{\textbf{a}}}\sin \varphi . \end{aligned}$$
(44)

Looking at (44), we recognize the equivalent expression for a rotation by the angle \(\varphi \) of \({{\textbf{a}}}\) with respect to \({{\textbf{e}}}\). In this specific case, the rotation is confined to a two-dimensional plane which is perpendicular to \({{\textbf{e}}}\) [23].

In general, a rotation through an angle \(\varphi \) about a unit vector \({{\textbf{u}}}=(u_1, u_2, u_3)\), expressed in the three-dimensional time-like basis, is written by means of the unit quaternion [22, Chap. X]

$$\begin{aligned} {\textsc {Q}}= \cos \frac{\varphi }{2} + {{\textbf{u}}}\sin \frac{\varphi }{2}. \end{aligned}$$
(45)

Then, we consider a pure quaternion \({\textsc {R}}= 0+{\textbf{r}}\), generated by the vector \({\textbf{r}}\), and we write its transformation as

$$\begin{aligned} {\textsc {R}}' = {\textsc {Q}}{\wedge _{{\mathcal {Q}}} }{\textsc {R}}{\wedge _{{\mathcal {Q}}} }{\textsc {Q}}^{-1}, \end{aligned}$$
(46)

with \({\textsc {R}}' = 0+{\textbf{r}}'\) and \({\textbf{r}}'\) corresponding to the rotated three-dimensional vector. To clarify this latter concept, let us investigate an example. We consider (45) where \({{\textbf{u}}}={{\textbf{e}}}_{\text {i}}\) and \({\textbf{r}} = {{\textbf{e}}}_{\text {j}}\). As a consequence, (46) may be written as follows

$$\begin{aligned} {\textbf{r}}' = \left( \cos \frac{\varphi }{2} + {{\textbf{e}}}_{\text {i}}\sin \frac{\varphi }{2}\right) {\wedge _{{\mathcal {Q}}} }{{\textbf{e}}}_{\text {j}}{\wedge _{{\mathcal {Q}}} }\left( \cos \frac{\varphi }{2} - {{\textbf{e}}}_{\text {i}}\sin \frac{\varphi }{2}\right) , \end{aligned}$$
(47)

which can be simplified, after a few computations,

$$\begin{aligned} {\textbf{r}}'&= \left( \cos \frac{\varphi }{2} + {{\textbf{e}}}_{\text {i}}\sin \frac{\varphi }{2}\right) {\wedge _{{\mathcal {Q}}} }\left( {{\textbf{e}}}_{\text {j}}\cos \frac{\varphi }{2} + {{\textbf{e}}}_{\text {k}}\sin \frac{\varphi }{2}\right) \end{aligned}$$
(48)
$$\begin{aligned}&= {{\textbf{e}}}_{\text {j}}\left( \cos ^2\frac{\varphi }{2} - \sin ^2\frac{\varphi }{2}\right) + 2\, {{\textbf{e}}}_{\text {k}}\sin \frac{\varphi }{2}\cos \frac{\varphi }{2} \end{aligned}$$
(49)
$$\begin{aligned}&= {{\textbf{e}}}_{\text {j}}\, \cos \varphi + {{\textbf{e}}}_{\text {k}}\, \sin \varphi . \end{aligned}$$
(50)

Focus our attention on the final expression in (50), resulting

$$\begin{aligned} {\textbf{r}}' = {{\textbf{e}}}_{\text {j}}' ={{\textbf{e}}}_{\text {j}}\, \cos \varphi + {{\textbf{e}}}_{\text {k}}\, \sin \varphi , \end{aligned}$$
(51)

it is remarkable that it corresponds to the vector obtained by rotating, in positive sense, \({{\textbf{e}}}_{\text {j}}\) about \({{\textbf{e}}}_{\text {i}}\) through an angle \(\varphi \).

5 Conclusions

In this paper, we have provided a description of quaternions from the perspective of exterior algebra. We have seen how the exterior product may be adapted in the three-dimensional time-like reference frame, in order to determine a natural characterization of some mathematical objects, which are perfectly compatible with the standard definition of quaternions. We have also discussed the application to rotations, in its more basic representation of rotation matrices. Beyond the purposes of this work but concerning rotational problems, some interesting insight could be found considering the Lagrangian approach and the conservation of angular momentum, as in [6]. Working on this topic, an interesting approach from the algebraic point of view, could be inspired by [15, Ch. 6], describing the expressions found for angular momentum and spin in exterior calculus in view of the results obtained.

Another possible extension of the quaternionic multiplications might be done in regards of generalized Maxwell equations in exterior algebra, which have been found following two different approaches in [2] and [3]. Considering the results of this article, multivectorial electromagnetism in exterior calculus could be extended as shown by E. Kähler in [24]. Moreover, inspired by N. Salingaros [25], other interesting observations might arise, as a formal equivalence between r-vectors and p-forms, following the steps as described in [26] and computing the suitable operations.

Furthermore, future perspectives can surely deal with other applications of quaternions, whose investigation touches different and varied topics and appears in a large variety of physical problems.