All Topics  
Quaternion

 
Quaternion

   Email Print
   Bookmark   Link






 

Quaternion



 
 
Quaternions, in mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, are a non-commutative number system that extends the complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s. The quaternions were first described by Irish mathematician Sir William Rowan Hamilton
William Rowan Hamilton

Sir William Rowan Hamilton was an Ireland physicist, astronomer, and mathematician, who made important contributions to classical mechanics, optics, and algebra....
 in 1843 and applied to mechanics
Mechanics

Mechanics is the branch of physics concerned with the behaviour of physical body when subjected to forces or Displacement , and the subsequent effect of the bodies on their environment....
 in three-dimensional space
Three-dimensional space

Three-dimensional space is a geometric model of the physical universe in which we live. The three dimensions are commonly called length, width, and depth , although any three mutually perpendicular directions can serve as the three dimensions....
. They find uses in both theoretical and applied mathematics, in particular for calculations involving three-dimensional rotations (see "quaternions and spatial rotation
Quaternions and spatial rotation

quaternion provide a convenient mathematical notation for representing orientations and rotations of objects in three dimensions. Compared to Euler angles they are simpler to function composition and avoid the problem of gimbal lock....
"), such as in 3D computer graphics
3D computer graphics

3D computer graphics are graphics that use a Cartesian coordinate system#Three-dimensional coordinate system representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering 2D images....
, although they have been superseded in many applications by vectors and matrices
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
.

In modern language, quaternions form a 4-dimensional normed division algebra
Normed division algebra

In mathematics, a normed division algebra A is a division algebra over the real number or complex number numbers which is also a normed vector space, with norm || ? || satisfying the following property:...
 over the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s.






Discussion
Ask a question about 'Quaternion'
Start a new discussion about 'Quaternion'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Quaternions, in mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, are a non-commutative number system that extends the complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s. The quaternions were first described by Irish mathematician Sir William Rowan Hamilton
William Rowan Hamilton

Sir William Rowan Hamilton was an Ireland physicist, astronomer, and mathematician, who made important contributions to classical mechanics, optics, and algebra....
 in 1843 and applied to mechanics
Mechanics

Mechanics is the branch of physics concerned with the behaviour of physical body when subjected to forces or Displacement , and the subsequent effect of the bodies on their environment....
 in three-dimensional space
Three-dimensional space

Three-dimensional space is a geometric model of the physical universe in which we live. The three dimensions are commonly called length, width, and depth , although any three mutually perpendicular directions can serve as the three dimensions....
. They find uses in both theoretical and applied mathematics, in particular for calculations involving three-dimensional rotations (see "quaternions and spatial rotation
Quaternions and spatial rotation

quaternion provide a convenient mathematical notation for representing orientations and rotations of objects in three dimensions. Compared to Euler angles they are simpler to function composition and avoid the problem of gimbal lock....
"), such as in 3D computer graphics
3D computer graphics

3D computer graphics are graphics that use a Cartesian coordinate system#Three-dimensional coordinate system representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering 2D images....
, although they have been superseded in many applications by vectors and matrices
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
.

In modern language, quaternions form a 4-dimensional normed division algebra
Normed division algebra

In mathematics, a normed division algebra A is a division algebra over the real number or complex number numbers which is also a normed vector space, with norm || ? || satisfying the following property:...
 over the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s. The algebra of quaternions is often denoted by H (for Hamilton), or in blackboard bold
Blackboard bold

Blackboard bold is a typeface style often used for certain symbols in mathematics and physics texts, in which certain lines of the symbol are doubled....
 by ' (Unicode ). It can also be given by the Clifford algebra
Clifford algebra

In mathematics, Clifford algebras are a type of associative algebra. They can be thought of as one of the possible generalizations of the complex numbers and quaternions....
 classifications Cl0,2(R) = Cl03,0(R). The algebra H holds a special place in analysis since, according to the Frobenius theorem
Frobenius theorem (real division algebras)

In mathematics, more specifically in abstract algebra, the Frobenius theorem, proved by Ferdinand Georg Frobenius in 1877, characterizes the finite dimensional associative division algebras over the real numbers....
, it is one of only two finite-dimensional division ring
Division ring

In abstract algebra, a division ring, also called a skew field, is a ring in which division is possible. More formally, a ring with 0 ? 1 is a division ring if every non-zero element a has a multiplicative inverse ....
s containing the real numbers as a proper subring
Subring

In mathematics, a subring is a subset of a ring , which contains the multiplicative identity and is itself a ring under the same binary operations....
, the other being the complex numbers.

History


Quaternion Plague On Broom Bridge
Quaternions were introduced by Irish mathematician Sir William Rowan Hamilton
William Rowan Hamilton

Sir William Rowan Hamilton was an Ireland physicist, astronomer, and mathematician, who made important contributions to classical mechanics, optics, and algebra....
 in 1843. Hamilton knew that the complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s could be viewed as point
Point (geometry)

In geometry, topology and related branches of mathematics a spatial point describes a specific object within a given space that consists of neither volume, area, length, nor any other higher dimensional analogue....
s in a plane
Plane (mathematics)

In mathematics, a plane is a curvature surface. Planes can arise as subspaces of some higher dimensional space, as with the walls of a room, or they may enjoy an independent existence in their own right, as in the setting of Euclidean geometry....
, and he was looking for a way to do the same for points in space
Space

Space is the boundless, three-dimensional extent in which Physical body and events occur and have relative position and direction. Physical space is often conceived in three linear dimensions, although modern physics usually consider it, with time, to be part of the boundless four-dimensional continuum known as spacetime....
. Points in space can be represented by their coordinates, which are triples of numbers, and for many years Hamilton had known how to add and multiply triples of numbers. But he had been stuck on the problem of division: He did not know how to take the quotient of two points in space.

On October 16, 1843, Hamilton and his wife took a walk along the Royal Canal in Dublin
Dublin

Dublin is both the largest city and capital of Republic of Ireland. It is located near the midpoint of Ireland's east coast, at the mouth of the River Liffey and at the centre of the Dublin Region....
. While they walked across Brougham Bridge (now Broom Bridge
Broom Bridge

Broom Bridge, also known as Brougham Bridge, is a small bridge along Broombridge road which crosses the Royal Canal in Cabra, Dublin, Ireland....
), a solution suddenly occurred to him. He could not divide triples, but he could divide quadruples. By using three of the numbers in the quadruple as the points of a coordinate in space, Hamilton could represent points in space by his new system of numbers. He then carved the basic rules for multiplication into the bridge:

Hamilton called a quadruple with these rules of multiplication a quaternion, and he devoted the remainder of his life to studying and teaching them. He founded a school of "quaternionists" and popularized them in several books. The last and longest, Elements of Quaternions, had 800 pages and was published shortly after his death.

After Hamilton's death, his pupil Peter Tait
Peter Guthrie Tait

Peter Guthrie Tait was a Scotland Mathematical physics, best known for the seminal energy physics textbook Treatise on Natural Philosophy, which he co-wrote with William Thomson, 1st Baron Kelvin....
 continued promoting quaternions. At this time, quaternions were a mandatory examination topic in Dublin, and in some American universities they were the only advanced mathematics topic taught. Topics in physics and geometry that would now be described using vectors, such as kinematics
Kinematics

Kinematics is a branch of classical mechanics which describes the motion of objects without consideration of the causes leading to the motion....
 in space and Maxwell's equations
Maxwell's equations

In electromagnetism, James Clerk Maxwell equations are a set of four partial differential equations that describe the properties of the electric field and magnetic field fields and relate them to their sources, charge density and current density....
, were described entirely in terms of quaternions. There was even a professional research association, the Quaternion Society (1899 - 1913)
Quaternion Society (1899 - 1913)

A scientific society, the Quaternion Society was an ?International Association for Promoting the Study of Quaternions and Allied Systems of Mathematics?....
, exclusively devoted to the study of quaternions.

From the mid 1880s, quaternions began to be displaced by vector analysis, which had been developed by Josiah Willard Gibbs
Josiah Willard Gibbs

Josiah Willard Gibbs was an American theoretical physicist, chemist, and mathematician. One of the greatest American scientists of all time, he devised much of the theoretical foundation for chemical thermodynamics as well as physical chemistry....
 and Oliver Heaviside
Oliver Heaviside

Oliver Heaviside was a autodidact English electrical engineering, mathematician, and physicist who adapted complex numbers to the study of electrical circuits, invented mathematical techniques to the solution of differential equations , reformulated Maxwell's equations in terms of electric and magnetic forces and flux, and independently co-f...
. Vector analysis described the same phenomena as quaternions, so it borrowed ideas and terms liberally from the classical quaternion literature. However, vector analysis was conceptually simpler and notationally cleaner, and eventually quaternions were relegated to a minor role in mathematics and physics. A side effect of this transition is that works on classical Hamiltonian quaternions
Classical Hamiltonian quaternions

This article is about quaternions, a mathematical entity defined by William Rowan Hamilton. Its primary source is Elements of Quaternions a book first published shortly after Hamilton's death based entirely on his notes, proof sheets, and a typed manuscript....
 are difficult to comprehend for many modern readers because they use familiar terms from vector analysis in unfamiliar and fundamentally different ways.

However, quaternions have had a revival in the late 20th century, primarily due to their utility in describing spatial rotations. Representations of rotations by quaternions are more compact and faster to compute than representations by matrices. For this reason, quaternions are used in computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
,Tomb Raider
Tomb Raider

Tomb Raider is a video game video game developer by Core Design and video game publisher by Eidos Interactive. It was originally released in 1996 in video gaming for the Sega Saturn followed shortly thereafter for MS-DOS and PlayStation versions....
 (1996) is often cited as the first mass-market computer game to have used quaternions to achieve smooth 3D rotation. See eg Nick Bobick, "", Game Developer magazine, February 1998 control theory
Control theory

Control theory is an interdisciplinary branch of engineering and mathematics, that deals with the behavior of dynamical systems. The desired output of a system is called the reference....
, signal processing
Signal processing

Signal processing is the analysis, interpretation, and manipulation of signal . Signals of interest include: audio signal processing, , time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others....
, attitude control, physics
Physics

Physics is the natural science which examines basic concepts such as energy, force, and spacetime and all that derives from these, such as mass, charge, matter and its Motion ....
, bioinformatics
Bioinformatics

Bioinformatics is the application of information technology to the field of molecular biology. The term bioinformatics was coined by Paulien Hogeweg in 1978 for the study of informatic processes in biotic systems....
, and orbital mechanics. For example, it is common for spacecraft attitude-control systems to be commanded in terms of quaternions. Quaternions have received another boost from number theory
Number theory

Number theory is the branch of pure mathematics concerned with the properties of numbers in general, and integers in particular, as well as the wider classes of problems that arise from their study....
 because of their relation to quadratic forms
Quadratic form

In mathematics, a quadratic form is a homogeneous polynomial of Degree_ two in a number of variables. For example,is a quadratic form in the variables x and y....
.

Since 1989, the Department of Mathematics of the National University of Ireland, Maynooth has organized a pilgrimage, where scientists (including physicists Murray Gell-Mann
Murray Gell-Mann

Murray Gell-Mann is an United States physicist who received the 1969 Nobel Prize in physics for his work on the theory of particle physicss.Among his many accomplishments, he formulated the quark model of hadronic resonances, and identified the SU flavor symmetry of the light quarks, extending isospin to include strange quark, which he als...
 in 2002, Steven Weinberg
Steven Weinberg

Steven Weinberg is an United States physicist and Nobel Prize in Physics for his contributions with Abdus Salam and Sheldon Lee Glashow to the Electroweak interaction of the weak force and electromagnetism interaction between elementary particles....
 in 2005, and mathematician Andrew Wiles
Andrew Wiles

Sir Andrew John Wiles Order of the British Empire Fellow of the Royal Society is a United Kingdom mathematician and a professor at Princeton University, specialising in number theory....
 in 2003) take a walk from Dunsink Observatory
Dunsink Observatory

The Dunsink Observatory is an astronomy observatory established in approximately 1785 near the city of Dublin, Ireland.Its most famous director was William Rowan Hamilton, who, amongst other things, discovered quaternions, the first non-commutative algebra, while strolling from the observatory into the centre of the city with some friends a...
 to the Royal Canal bridge where, unfortunately, no trace of Hamilton's carving remains.

Definition

As a set, the quaternions H are equal to R4, a four-dimensional vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 over the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s. H has three operations: Addition, scalar multiplication, and quaternion multiplication. The sum of two elements of H is defined to be their sum as elements of R4. Similarly the product of an element of H by a real number is defined to be the same as the product in R4. To define multiplication in H requires a choice of basis
Basis (linear algebra)

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space or free module, and such that no element of the set can be represented as a linear combination of the others....
 for R4. The elements of this basis are customarily denoted as 1, i, j, and k. Every element of H can be uniquely written as a linear combination
Linear combination

In mathematics, linear combinations are a concept central to linear algebra and related fields of mathematics.Most of this article deals with linear combinations in the context of a vector space over a field , with some generalisations given at the end of the article....
 of these basis elements, that is, as a1 + bi + cj + dk, where a, b, c, and d are real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s. The basis element 1 will be the identity element
Identity element

In mathematics, an identity element is a special type of element of a Set with respect to a binary operation on that set. It leaves other elements unchanged when combined with them....
 of H, meaning that multiplication by 1 does nothing, and for this reason, elements of H are usually written a + bi + cj + dk, suppressing the basis element 1. Given this basis, quaternion multiplication is defined by first defining the products of basis elements and then defining all other products using the distributive law.

Multiplication of basis elements
The equations

where i, j, and k are imaginary numbers, determine all the possible products of i, j, and k. For example, since right-multiplying both sides by k gives

All the other possible products can be determined by similar methods, and this gives the following table:
Hamilton product
For two elements a1 + b1i + c1j + d1k and a2 + b2i + c2j + d2k, their Hamilton product (a1 + b1i + c1j + d1k)(a2 + b2i + c2j + d2k) is determined by the products of the basis elements and the distributive law. The distributive law makes it possible to expand the product so that it is a sum of products of basis elements. This gives the following expression: Now the basis elements can be multiplied using the rules given above to get:

Ordered list form
Using the basis 1, i, j, k of H makes it possible to write H as a set of quadruple
Quadruple

In mathematics, a quadruple or quadruplet is an Tuple with n being 4. This means it depicts four element s, with the ordering of the elements carrying meaning....
s: Then the basis elements are: and the formulas for addition and multiplication are:

Remarks


Scalar and vector parts
A number of the form a + 0i + 0j + 0k, where a is a real number, is called real, and a number of the form 0 + bi + cj + dk, where b, c, and d are real numbers, is called pure imaginary. If a + bi + cj + dk is any quaternion, then a is called its scalar part and bi + cj + dk is called its vector part. The scalar part of a quaternion is always real, and the vector part is always pure imaginary. Even though every quaternion is a vector in a four-dimensional vector space, it is common to define a vector to mean a pure imaginary quaternion. With this convention, a vector is the same as an element of the vector space R3. This identification leads to many applications.

Hamilton called pure imaginary quaternions right quaternions and real numbers (considered as quaternions with zero vector part) scalar quaternions.

Non-commutativity
Unlike multiplication of real or complex numbers, multiplication of quaternions is not commutative: For example, , while . The non-commutativity of multiplication has some unexpected consequences, among them that polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 equations over the quaternions can have more distinct solutions than the degree of the polynomial. The equation , for instance, has infinitely many quaternion solutions with , so that these solutions form a two-dimensional sphere centered on zero in the three-dimensional pure imaginary subspace of quaternions. This sphere intersects the complex plane at the two poles and .

Conjugation, the norm, and division

Conjugation of quaternions is analogous to conjugation of complex numbers and to transposition (also known as reversal) of elements of Clifford algebra
Clifford algebra

In mathematics, Clifford algebras are a type of associative algebra. They can be thought of as one of the possible generalizations of the complex numbers and quaternions....
s. To define it, let q = a +bi +cj + dk be a quaternion. The conjugate of q is the quaternion abicjdk. It is denoted by q*, , qt, or . Conjugation is an involution
Involution

In mathematics, an involution, or an involutary function, is a function that is its own inverse function, so that...
, meaning that it is its own inverse, so conjugating an element twice returns the original element. The conjugate of a product of two quaternions is the product of the conjugates in the reverse order. That is, if p and q are quaternions, then (pq)* = q*p*, not p*q*.

Conjugation can be used to extract the scalar and vector parts of a quaternion. The scalar part of p is (p + p*)/2, and the vector part of p is (pp*)/2.

The square root of the product of a quaternion with its conjugate is called its norm
Norm (mathematics)

In linear algebra, functional analysis and related areas of mathematics, a norm is a function that assigns a strictly positive length or size to all vectors in a vector space, other than the zero vector....
 and is denoted ||q||. (Hamilton called this quantity the tensor of q, but this conflicts with modern usage. See tensor
Tensor

A tensor is an object which extends the notion of Scalar , Vector , and Matrix . The term has slightly different meanings in mathematics and physics....
.) It has the formula This is always a non-negative real number, and it is same as the Euclidean norm on H considered as the vector space R4. Multiplying a quaternion by a real number scales its norm by the absolute value of the number. That is, if α is real, then This is a special case of the fact that the norm is multiplicative, meaning that for any two quaternions p and q. Multiplicativity is a consequence of the formula for the conjugate of a product. This norm makes it possible to define the distance d(p, q) between p and q as the norm of their difference: This makes H into a metric space
Metric space

In mathematics, a metric space is a Set where a notion of distance between elements of the set is defined.The metric space which most closely corresponds to our intuitive understanding of space is the 3-dimensional Euclidean space....
. Addition and multiplication are continuous in the metric topology.

A unit quaternion is a quaternion of norm one. Dividing a non-zero quaternion q by its norm produces a unit quaternion U
q called the
versor
Versor

In mathematics, a versor is a directed great-circle arc that corresponds to a quaternion of Norm one. In geometry and physics, a versor is sometimes defined as a unit vector indicating the Orientation of a directed axis or of another vector....
of
q:

Using conjugation and the norm makes it possible to define the reciprocal
Reciprocal

Reciprocal may refer to:*Multiplicative inverse, in mathematics, the number 1/x
, which multiplied by x'' gives the product 1, also known as a reciprocal...
 of a quaternion. The product of a quaternion with its reciprocal should equal 1, and the considerations above imply that the product of and (in either order) is 1. So the
reciprocal of q is defined to be This makes it possible to divide two quaternions p and q in two different ways. That is, their quotient can be either pq−1 or q−1p. The notation p/q is ambiguous because it does not specify whether q divides on the left or the right.

Algebraic properties

The set
H of all quaternions is a vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 over the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s with dimension 4. (In comparison, the real numbers have dimension 1, the complex numbers have dimension 2, and the octonion
Octonion

In mathematics, the octonions are a associative extension of the quaternions. Their 8-dimensional normed division algebra over the real numbers is the widest possible that can be obtained from the Cayley-Dickson construction....
s have dimension 8.) They are an associative algebra
Associative algebra

In mathematics, an associative algebra is a vector space which also allows the multiplication of vectors in a distributivity and associativity manner....
 over the real numbers. Even though they contain copies of the complex numbers, they are not an associative algebra over the complex numbers because multiplying a quaternion by a complex number is not always commutative.

The norm makes the quaternions into a normed algebra, and even into a composition algebra
Composition algebra

In mathematics, a composition algebra A over a field K is a unital algebra over a field over K together with a nondegenerate quadratic form N which satisfies...
 and a unital Banach algebra
Banach algebra

In mathematics, especially functional analysis, a Banach algebra, named after Stefan Banach, is an associative algebra A over the real number or complex number numbers which at the same time is also a Banach space....
. Composition algebras are very rare. Hurwitz's theorem
Hurwitz's theorem

In mathematics, Hurwitz's theorem is any of at least five different results named after Adolf Hurwitz....
 states that there are only four composition algebras over the real numbers:
R, C, H, and O. Because it is possible to divide quaternions, they form a division algebra
Division algebra

In the field of mathematics called abstract algebra, a division algebra is, roughly speaking, an algebra over a field in which division is possible....
. This is a structure similar to a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 except for the commutativity of multiplication. Finite-dimensional division algebras over the real numbers are also very rare. The Frobenius theorem
Frobenius theorem (real division algebras)

In mathematics, more specifically in abstract algebra, the Frobenius theorem, proved by Ferdinand Georg Frobenius in 1877, characterizes the finite dimensional associative division algebras over the real numbers....
 states that there are exactly three:
R, C, and H.

Because the product of any two basis vectors is plus or minus another basis vector, the set forms a group
Group (mathematics)

In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
 under multiplication. This group is called the quaternion group
Quaternion group

In group theory, the quaternion group is a nonabelian group group of order 8. It is often denoted by Q or Q8 and written in multiplicative form, with the following 8 elementsHere 1 is the identity element, 2 = 1, and a = a = −a for all a in Q....
 and is denoted
Q8. The real group ring
Group ring

In algebra, a group ring is a free module and at the same time a Ring , constructed in a natural way from any given ring and any given Group . As a free module, its ring of scalars is the given ring and its basis is one-to-one with the given group....
 of
Q8 is a ring
RQ8 which is also an eight-dimensional vector space over R. It has one basis vector for each element of Q8. The quaternions are the quotient ring
Quotient ring

In mathematics a quotient ring, also known as factor ring or residue class ring, is a construction in ring theory, quite similar to the factor groups of group theory and the quotient space s of linear algebra....
 of R
Q8 by the ideal
Ideal (ring theory)

In ring theory, a branch of abstract algebra, an ideal is a special subset of a ring . The ideal concept generalizes in an appropriate way some important properties of integers like "even number" or "multiple of 3"....
 generated by the elements 1 − (−1),
i − (−i), j − (−j), and k − (−k). Here the first term in each of the differences is one of the basis elements 1, i, j, and k, and the second term is one of basis elements −1, −i, −j, and −k, not the additive inverses of 1, i, j, and k.

Quaternions and the geometry of R3

Because the vector part of a quaternion is a vector in R3, the geometry of R3 is reflected in the algebraic structure of the quaternions. Many operations on vectors can be defined in terms of quaternions, and this makes it possible to apply quaternion techniques wherever spatial vectors arise. For instance, this is true in electrodynamics, general relativity
General relativity

General relativity or the general theory of relativity is the Geometry Theoretical physics of gravitation published by Albert Einstein in 1916....
, and 3D computer graphics
3D computer graphics

3D computer graphics are graphics that use a Cartesian coordinate system#Three-dimensional coordinate system representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering 2D images....
.

For the remainder of this section,
i, j, and k will denote both imaginary basis vectors of H and a basis for R3. Notice that replacing i by −i, j by −j, and k by −k sends a vector to its additive inverse, so the additive inverse of a vector is the same as its conjugate as a quaternion. For this reason, conjugation is sometimes called the spatial inverse.

Choose two imaginary quaternions
p = b1i + c1j + d1k and q = b2i + c2j + d2k. Their dot product
Dot product

In mathematics, the dot product, also known as the scalar product, is an operation which takes two vector over the real numbers R and returns a real-valued scalar quantity....
 is This is equal to the scalar parts of
p*q, qp*, pq*, and q*p. (Note that the vector parts of these four products are different.) It also has the formulas

The cross product
Cross product

In mathematics, the cross product is a binary operation on two vector s in a three-dimensional Euclidean space that results in another vector which is orthogonal to the plane containing the two input vectors....
 of
p and q relative to the orientation determined by the ordered basis i, j, and k is (Recall that the orientation is necessary to determine the sign.) This is equal to the vector part of the product pq (as quaternions), as well as the vector part of −q*p*. It also has the formula

In general, let
p and q be quaternions (possibly non-imaginary), and write where ps and qs are the scalar parts of p and q and and are the vector parts of p and q. Then we have the formula This shows that the non-commutativity of quaternion multiplication comes from the multiplication of pure imaginary quaternions. It also shows that the product of two quaternions is commutative if and only if their vector parts are collinear.

Matrix representations

There are at least two ways of representing quaternions as matrices
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 in such a way that quaternion addition and multiplication correspond to matrix addition and matrix multiplication
Matrix multiplication

In mathematics, matrix multiplication is the operation of multiplying a matrix with either a scalar or another matrix. This article gives an overview of the various ways to perform matrix multiplication....
. One is to use 2×2 complex
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 matrices, and the other is to use 4×4 real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 matrices. In the terminology of abstract algebra
Abstract algebra

Abstract algebra is the subject area of mathematics that studies algebraic structures, such as group , ring , field , module , vector spaces, and algebra over a field....
, these are injective
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
 homomorphism
Homomorphism

In abstract algebra, a homomorphism is a structure-preserving map between two algebraic structures . The word homomorphism comes from the Greek language: ???? meaning "same" and ???f? meaning "shape"....
s from
H to the matrix ring
Matrix ring

In abstract algebra the matrix ring M is the set of all n×n matrix over an arbitrary ring R. This set is itself a ring under matrix addition and matrix multiplication....
s M2(
C) and M4(R), respectively.

Using 2×2 complex matrices, the quaternion
a + bi + cj + dk can be represented as



This representation has the following properties:
  • Complex number
    Complex number

    In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
    s (
    c = d = 0) correspond to diagonal matrices.
  • The norm of a quaternion (the square root of a product with its conjugate, as with complex numbers) is the square root of the determinant
    Determinant

    In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
     of the corresponding matrix.
  • The conjugate of a quaternion corresponds to the conjugate transpose
    Conjugate transpose

    In mathematics, the conjugate transpose, Hermitian transpose, or adjoint matrix of an m-by-n matrix A with complex number entries is the n-by-m matrix A* obtained from A by taking the transpose and then taking the complex conjugate of each entry....
     of the matrix.
  • Restricted to unit quaternions, this representation provides an isomorphism
    Group isomorphism

    In abstract algebra, a group isomorphism is a function between two group s that sets up a one-to-one correspondence between the elements of the groups in a way that respects the given group operations....
     between
    S3
    3-sphere

    In mathematics, a '3-sphere' is a higher-dimensional analogue of a sphere. It consists of the set of points equidistant from a fixed central point in 4-dimensional Euclidean space....
     and SU(2). The latter group is important for describing spin
    Spin (physics)

    In quantum mechanics, spin is a fundamental property of atomic nucleus, hadrons, and elementary particles. For particles with non-zero spin, spin direction is an important intrinsic degrees of freedom ....
     in quantum mechanics
    Quantum mechanics

    Quantum mechanics is a set of principles underlying the most fundamental known description of all physical systems at the microscopic scale . Notable amongst these principles are both a dual wave-like and particle-like behavior of matter and radiation, and prediction of probabilities in situations where classical physics predicts certaintie...
    ; see Pauli matrices
    Pauli matrices

    The Pauli matrices are a set of 2 × 2 complex number Hermitian matrix and Unitary matrix matrix Usually indicated by the Greek letter 'sigma' , they are occasionally denoted with a 'tau' when used in connection with isospin symmetries....
    .


Using 4×4 real matrices, that same quaternion can be written as



In this representation, the conjugate of a quaternion corresponds to the transpose
Transpose

In linear algebra, the transpose of a matrix A is another matrix AT created by any one of the following equivalent actions:...
 of the matrix. The fourth power of the norm of a quaternion is the determinant
Determinant

In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
 of the corresponding matrix. Complex numbers are block diagonal matrices with two 2×2 blocks.

Quaternions as pairs of complex numbers

Quaternions can be represented as pairs of complex numbers. From this perspective, quaternions are the result of applying the Cayley–Dickson construction to the complex numbers. This is a generalization of the construction of the complex numbers as pairs of real numbers.

Let
C2 be a two-dimensional vector space over the complex numbers. Choose a basis consisting of two elements 1 and j. A vector in C2 can be written in terms of the basis elements 1 and j as If we define j2 = −1 and ij = −ji, then we can multiply two vectors using the distributive law. Writing k in place of the product ij leads to the same rules for multiplication as the usual quaternions. Therefore the above vector of complex numbers corresponds to the quaternion a + bi + cj + dk. If we write the elements of C2 as ordered pairs and quaternions as quadruples, then the correspondence is

Square roots of −1

In the complex numbers, there are just two numbers, i and −i, whose square is −1 . In
H there are infinitely many square roots of minus one: the quaternion solution for the square root of −1 includes every point on the surface of the unit sphere
Sphere

A sphere is a symmetrical geometrical object. In non-mathematical usage, the term is used to refer either to a round ball or to its two-dimensional surface....
 in 3-space. To see this, let
q = a + bi + cj + dk be a quaternion, and assume that its square is −1. In terms of a, b, c, and d, this means To satisfy the last three equations, either a = 0 or b, c, and d are all 0. The latter is impossible because a is a real number and the first equation would imply that a2 = −1. Therefore a = 0 and b2 + c2 + d2 = 1. In other words, a quaternion squares to −1 if and only if it is a vector (that is, pure imaginary) with norm 1. By definition, the set of all such vectors forms the unit sphere.

This identification of the square roots of minus one in
H is sometimes neglected in expositions of this algebra, especially in early work. By 1971 the fact was included by Sam Perlis in his three page exposition included in Historical Topics in Algebra (page 39) published by the National Council of Teachers of Mathematics
National Council of Teachers of Mathematics

The National Council of Teachers of Mathematics was founded in 1920. It has grown to be the world's largest organization concerned with mathematics education, having close to 100,000 members across the USA and Canada, and internationally....
. More recently, the sphere of square roots of minus one is described in Ian R. Porteus's book
Clifford Algebras and the Classical Groups (Cambridge, 1995) in proposition 8.13 on page 60. Also in Conway (2003) On Quaternions and Octonions we read on page 40: "any imaginary unit may be called i, and perpendicular one j, and their product k", another statement of the sphere.

H as a union of complex planes

Each square root of −1 creates a distinct copy of the complex numbers inside the quaternions. If
q2 = −1, then the copy is determined by the function

In the language of abstract algebra
Abstract algebra

Abstract algebra is the subject area of mathematics that studies algebraic structures, such as group , ring , field , module , vector spaces, and algebra over a field....
, this is an injective
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
 ring homomorphism
Homomorphism

In abstract algebra, a homomorphism is a structure-preserving map between two algebraic structures . The word homomorphism comes from the Greek language: ???? meaning "same" and ???f? meaning "shape"....
 from
C to H.

Every non-real quaternion lies in a unique copy of
C. Write
q as the sum of its scalar part and its vector part: Decompose the vector part further as the product of its norm and its versor: (Note that this is not the same as .) The versor of the vector part of q, , is a pure imaginary unit quaternion, so its square is −1. Therefore it determines a copy of the complex numbers by the function Under this function, q is the image of the complex number . Thus H is the union of complex planes intersecting in a common real line
Real line

In mathematics, the real line is simply the set R of singleton real numbers.However, this term is usually used when R is to be treated as a space of some sort, such as a topological space or a vector space....
, where the union is taken over the sphere of square roots of minus one.

Commutative subrings


The relationship of quaternions to each other within the complex subplanes of
H can also be identified and expressed in terms of commutative subring
Subring

In mathematics, a subring is a subset of a ring , which contains the multiplicative identity and is itself a ring under the same binary operations....
s. Specifically, since two quaternions
p and q commute (p q = q p) only if they lie in the same complex subplane of H, the profile of H as a union of complex planes arises when one seeks to find all commutative subring
Subring

In mathematics, a subring is a subset of a ring , which contains the multiplicative identity and is itself a ring under the same binary operations....
s of the quaternion ring
Ring (mathematics)

In mathematics, a ring is a type of algebraic structure. There is some variation among mathematicians as to exactly what properties a ring is required to have, as described in detail below....
. This method of commutative subrings is also used to profile the coquaternion
Coquaternion

In abstract algebra, the split-quaternions or coquaternions are elements of an associative algebra introduced by James Cockle in 1849 under the latter name....
s and real matrices (2 x 2)
Real matrices (2 x 2)

The 2 x 2 real matrices are the linear mappings of the Cartesian coordinate system into itself by the ruleThe set of all such real matrices is denoted by M....
.

Functions of a quaternion variable

Functions of a complex variable can be extended to functions of a quaternion variable as follows:

Let the complex function be written

where
u and v are real-valued functions of two real variables. According to the above profile, any quaternion can be written Then the extension is given by

The great success of complex analysis
Complex analysis

Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematics investigating Function of complex numbers....
 in providing a rich family of holomorphic function
Holomorphic function

Holomorphic functions are the central object of study of complex analysis; they are function defined on an open set of the complex number C with values in C that are complex-differentiable at every point....
s for scientific work has engaged some workers in efforts to extend the planar theory, based on complex numbers, to a 4-space study with functions of a quaternion variable. These efforts were summarized in 1973 by C.A. Deavours in his article “The Quaternion Calculus” for the American Mathematical Monthly
American Mathematical Monthly

The American Mathematical Monthly is a mathematics journal founded by Benjamin Finkel in 1894. It is currently published 10 times each year by the Mathematical Association of America....
 (80:995-1008). Since Hamilton it has been realized that the independence of the derivative from the path that a differential follows toward zero is an onerous restriction, excluding even
q2. In a 1935 issue of Commentarii Mathematici Helvetici
Commentarii Mathematici Helvetici

The Commentarii Mathematici Helvetici is a scholarly journal in mathematics published by the European Mathematical Society. The Swiss Mathematical Society started the journal in 1929 after a meeting in May of the previous year....
, an alternative theory of “regular functions” was initiated by R. Feuter through the idea of Morera's theorem
Morera's theorem

In complex analysis, a branch of mathematics, Morera's theorem, named after Giacinto Morera, gives an important criterion for proving that a function is holomorphic....
: quaternion function F is “left regular at
q ” when the integral of F vanishes over any sufficiently small hypersurface
Hypersurface

In geometry, a hypersurface is a generalization of the concept of hyperplane. Suppose an enveloping manifold M has n dimensions; then any submanifold of M of n − 1 dimensions is a hypersurface....
 containing
q. Then the analogue of Liouville's theorem
Liouville's theorem (complex analysis)

In complex analysis, Liouville's theorem, named after Joseph Liouville, states that every bounded function entire function must be constant. That is, every holomorphic function f for which there exists a positive number M such that |f| = M for all z in C is constant....
 holds: the only quaternion function regular with bounded norm in E4 is a constant. To construct regular functions, Feuter and Deavours use the profile method, given above, and power series
Power series

In mathematics, a power series is an infinite series of the formwhere an represents the coefficient of the nth term, c is a constant, and x varies around c ....
 with real coefficients. Analogues are also given for the Poisson integral, the Cauchy integral formula, and the presentation of Maxwell’s equations of electromagnetism with quaternion functions.

Three-dimensional and four-dimensional rotation groups

The multiplicative group of non-zero quaternions acts by conjugation on the copy of
R³ consisting of quaternions with real part equal to zero. The conjugation by a unit quaternion (a quaternion of absolute value 1) with real part cos(t) is a rotation by an angle 2t, the axis of the rotation being the direction of the imaginary part. The advantages of quaternions are:

  1. Non singular representation (compared with Euler angles
    Euler angles

    The Euler angles were developed by Leonhard Euler to describe the orientation of a rigid body in dimension Euclidean space. To give an object a specific orientation it may be subjected to a sequence of three rotations described by the Euler angles....
     for example)
  2. More compact (and faster) than matrices
    Matrix (mathematics)

    In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
  3. Pairs of unit quaternions represent a rotation in 4D
    Fourth dimension

    In physics and mathematics, a vector of n real number can be understood as a Coordinate system in an n-dimensional Euclidean space. When n = 4, the set of all such locations is called 4-dimensional Euclidean space....
     space (see
    SO(4): Algebra of 4D rotations
    SO(4)

    In mathematics, SO is the four-dimensional rotation group; that is, the group of rotations about a fixed point in four-dimensional Euclidean space....
    ).


The set of all unit quaternions (versor
Versor

In mathematics, a versor is a directed great-circle arc that corresponds to a quaternion of Norm one. In geometry and physics, a versor is sometimes defined as a unit vector indicating the Orientation of a directed axis or of another vector....
s) forms a 3-dimensional sphere
3-sphere

In mathematics, a '3-sphere' is a higher-dimensional analogue of a sphere. It consists of the set of points equidistant from a fixed central point in 4-dimensional Euclidean space....
 
S³ and a group
Group (mathematics)

In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
 (a Lie group
Lie group

In mathematics, a Lie group is a group which is also a differentiable manifold, with the property that the group operations are compatible with the Differential structure....
) under multiplication.
S³ is the double cover of the group SO(3,
R) of real orthogonal 3×3 matrices
Orthogonal matrix

In matrix theory, a real number orthogonal matrix is a Matrix #Square matrices Q whose transpose is its inverse matrix:A special orthogonal matrix is an orthogonal matrix with determinant +1:...
 of determinant
Determinant

In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
 1 since
two unit quaternions correspond to every rotation under the above correspondence.

The image of a subgroup of
S³ is a point group
Point groups in three dimensions

In geometry, a point group in three dimensions is an isometry group in three dimensions that leaves the origin fixed, or correspondingly, an isometry group of a sphere....
, and conversely, the preimage of a point group is a subgroup of
S³. The preimage of a finite point group is called by the same name, with the prefix
binary. For instance, the preimage of the icosahedral group is the binary icosahedral group
Binary icosahedral group

In mathematics, the binary icosahedral group is an group extension of the icosahedral group I of order 60 by a cyclic group of order 2. It can be defined as the preimage of the icosahedral group under the 2:1 covering homomorphism...
.

The group
S³ is isomorphic to SU(2), the group of complex unitary
Unitary matrix

In mathematics, a unitary matrix is an n by n complex number matrix U satisfying the condition where is the identity matrix and is the conjugate transpose of U....
 2×2 matrices of determinant
Determinant

In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
 1. Let
A be the set of quaternions of the form a + bi + cj + dk where a, b, c, and d are either all integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s or all rational number
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
s with odd numerator and denominator 2. The set
A is a ring
Ring (mathematics)

In mathematics, a ring is a type of algebraic structure. There is some variation among mathematicians as to exactly what properties a ring is required to have, as described in detail below....
 and a lattice
Lattice (group)

In mathematics, especially in geometry and group theory, a lattice in Rn is a discrete subgroup of Rn which linear span the real number vector space Rn....
. There are 24 unit quaternions in this ring, and they are the vertices of a 24-cell regular polytope
24-cell

In geometry, the 24-cell is the convex regular 4-polytope, or polychoron, with Schl?fli symbol . It is also called an octaplex and polyoctahedron, being constructed of Octahedron Cell ....
 with Schläfli symbol
Schläfli symbol

In mathematics, the Schl?fli symbol is a notation of the form that defines regular polytopes and tessellations.The Schl?fli symbol is named after the 19th-century mathematician Ludwig Schl?fli who made important contributions in geometry and other areas....
 .

Generalizations


If
F is any field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 with characteristic different from 2, and
a and b are elements of F, one may define a four-dimensional unitary associative algebra
Associative algebra

In mathematics, an associative algebra is a vector space which also allows the multiplication of vectors in a distributivity and associativity manner....
 over
F with basis 1, i, j, and ij, where i2 = a, j2 = b and ij = -ji (so ij2 = -ab). These algebras are called quaternion algebras and are isomorphic to the algebra of 2×2 matrices
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 over
F or form division algebra
Division algebra

In the field of mathematics called abstract algebra, a division algebra is, roughly speaking, an algebra over a field in which division is possible....
s over
F, depending on the choice of a and b.

Quaternions as the even part of Cl3,0(R)

The usefulness of quaternions for geometrical computations can be generalised to other dimensions, by identifying the quaternions as the even part Cl+3,0(R) of the Clifford algebra
Clifford algebra

In mathematics, Clifford algebras are a type of associative algebra. They can be thought of as one of the possible generalizations of the complex numbers and quaternions....
 Cl3,0(
R). This is an associative multivector algebra built up from fundamental basis elements σ1, σ2, σ3 using the product rules If these fundamental basis elements are taken to represent vectors in 3D space, then it turns out that the
reflection of a vector r in a plane perpendicular to a unit vector w can be written: Now in geometry, two reflections make a rotation, by an angle twice the angle between the two reflection planes, so corresponds to a rotation of 180° in the plane containing σ1 and σ2

But this is very similar to the corresponding quaternion formula,

In fact, the two are identical, if we make the identification and it is straightforward to confirm that this preserves the Hamilton relations

In this picture, quaternions correspond not to vectors but to bivectors, quantities with magnitude and orientations associated with particular 2D
planes rather than 1D directions. The relation to complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s becomes clearer, too: in 2D, with two vector directions σ1 and σ2, there is only one bivector basis element σ1σ2, so only one imaginary. But in 3D, with three vector directions, there are three bivector basis elements σ1σ2, σ2σ3, σ3σ1, so three imaginaries.

With this recognition, the sequence can be continued. So in the Clifford algebra Cl4,0(
R), there are six bivector basis elements, since with four different basic vector directions, six different pairs and therefore six different linearly independent planes can be defined. Rotations in such spaces using these generalisations of quaternions, called rotors
Rotor (mathematics)

A rotor is an n-Blade object in geometric algebra, which rotates another n-blade object about a fixed or Translation Point ....
, can be very useful for applications involving homogeneous coordinates
Homogeneous coordinates

In mathematics, homogeneous coordinates, introduced by August Ferdinand M?bius in his 1827 work Der barycentrische Calc?l, allow affine transformations to be easily represented by a matrix....
. But it is only in 3D that the number of basis bivectors equals the number of basis vectors, and each bivector can be identified as a pseudovector
Pseudovector

In physics and mathematics, a pseudovector is a quantity that transforms like a vector under a proper Rotation , i.e. a transformation that rotates vectors and pseudovectors by an arbitrary angle about an arbitrary axis, but gains an additional sign flip under an improper rotation: a transformation that can be expressed as a proper rotation...
.

Dorst
et al identify the following advantages for placing quaternions in this wider setting:
  • Rotors are natural and non-mysterious in geometric algebra and easily understood as the encoding of a double reflection.
  • In geometric algebra, a rotor and the objects it acts on live in the same space. This eliminates the need to change representations and to encode new data structures and methods (which is required when augmenting linear algebra with quaternions).
  • A rotor is universally applicable to any element of the algebra, not just vectors and other quaternions, but also lines, planes, circles, spheres, rays, and so on.
  • In the conformal
    Conformal

    * A conformal mapping, in mathematics* A conformal geometry, in mathematics* A conformal map projection, in cartography* A conformal film on a surface...
     model of Euclidean geometry, rotors allow the encoding of rotation, translation and scaling in a single element of the algebra, universally acting on any element. In particular, this means that rotors can represent rotations around an arbitary axis, whereas quaternions are limited to an axis through the origin.
  • Rotor-encoded transformations make interpolation particularly straightforward.


For further detail about the geometrical uses of Clifford algebras, see Geometric algebra
Geometric algebra

In mathematical physics, a geometric algebra is a multilinear algebra described technically as a Clifford algebra over a real vector space equipped with a non-degenerate quadratic form....
.

Quotes

  • "I regard it as an inelegance, or imperfection, in quaternions, or rather in the state to which it has been hitherto unfolded, whenever it becomes or seems to become necessary to have recourse to x, y, z, etc." — William Rowan Hamilton (ed. Quoted in a letter from Tait to Cayley.)
  • "Time is said to have only one dimension, and space to have three dimensions. […] The mathematical quaternion partakes of both these elements; in technical language it may be said to be "time plus space", or "space plus time": and in this sense it has, or at least involves a reference to, four dimensions. And how the One of Time, of Space the Three, Might in the Chain of Symbols girdled be." — William Rowan Hamilton (Quoted in R.P. Graves, "Life of Sir William Rowan Hamilton")
  • "Quaternions came from Hamilton after his really good work had been done; and, though beautifully ingenious, have been an unmixed evil to those who have touched them in any way, including Clerk Maxwell
    James Clerk Maxwell

    James Clerk Maxwell was a Scotland Mathematical physics. His most significant achievement was the development of the classical electromagnetic theory, synthesizing all previous unrelated observations, experiments and equations of electricity, magnetism and even optics into a consistent theory....
    ." — Lord Kelvin, 1892.
  • "Neither matrices nor quaternions and ordinary vectors were banished from these ten [additional] chapters. For, in spite of the uncontested power of the modern Tensor Calculus, those older mathematical languages continue, in my opinion, to offer conspicuous advantages in the restricted field of special relativity. Moreover, in science as well as in every-day life, the mastery of more than one language is also precious, as it broadens our views, is conducive to criticism with regard to, and guards against hypostasy [weak-foundation] of, the matter expressed by words or mathematical symbols." — Ludwik Silberstein
    Ludwik Silberstein

    Ludwik Silberstein was a Polish-American physicist that helped make special relativity and general relativity staples of university coursework....
    , preparing the second edition of his Theory of Relativity in 1924
  • "… quaternions appear to exude an air of nineteenth century decay
    Decadence

    Decadence can refer to a personal trait, or to the state of a society . Used to describe a person's lifestyle, it describes a lack of moral and intellectual discipline, or in the Concise Oxford Dictionary: "a luxurious self-indulgence"....
    , as a rather unsuccessful species
    Species

    In biology, a species is one of the basic units of biological classification and a taxonomic rank. A species is often defined as a group of organisms capable of interbreeding and producing fertile offspring....
     in the struggle-for-life
    Survival of the fittest

    "Survival of the fittest" is a phrase which is shorthand for a concept relating to competition for survival or predominance. Originally applied by Herbert Spencer in his Principles of Biology of 1864, Spencer drew parallels to his ideas of economics with Charles Darwin's theory of evolution by what Darwin termed natural selection....
     of mathematical ideas. Mathematicians, admittedly, still keep a warm place in their hearts for the remarkable algebraic properties of quaternions but, alas, such enthusiasm means little to the harder-headed physical scientist." — Simon L. Altmann, 1986
  • "...the thing about a Quaternion 'is' is that we're obliged to encounter it in more than one guise. As a vector quotient. As a way of plotting complex numbers along three axes instead of two. As a list of instructions for turning one vector into another..... And considered subjectively, as an act of becoming longer or shorter, while at the same time turning, among axes whose unit vector is not the familiar and comforting 'one' but the altogether disquieting square root of minus one. If you were a vector, mademoiselle, you would begin in the 'real' world, change your length, enter an 'imaginary' reference system, rotate up to three different ways, and return to 'reality' a new person. Or vector..." Thomas Pynchon
    Thomas Pynchon

    Thomas Ruggles Pynchon, Jr. is an American literature based in New York City, noted for his dense and complex works of fiction. Hailing from Long Island, Pynchon spent two years in the United States Navy and earned an English studies degree from Cornell University....


Recent developments and research directions


Quaternions and Minkowski metric

As a linear algebra over the reals, quaternions constitute a real vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 with a rank
Tensor

A tensor is an object which extends the notion of Scalar , Vector , and Matrix . The term has slightly different meanings in mathematics and physics....
-three tensor
Tensor

A tensor is an object which extends the notion of Scalar , Vector , and Matrix . The term has slightly different meanings in mathematics and physics....
,
S, on it, sometimes called the structure tensor. This once contravariant twice covariant tensor converts a one-form
One-form

In linear algebra, a one-form on a vector space is the same as a linear functional on the space. The usage of one-form in this context usually distinguishes the one-forms from higher-degree multilinear form on the space....
  and vectors and to a real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 
S. For each one-form , S is a twice covariant tensor, which, if symmetric, is an inner product
Inner product space

In mathematics, an inner product space is a vector space with the additional Mathematical structure of inner product. This additional structure associates each pair of vectors in the space with a Scalar quantity known as the inner product of the vectors....
 on
H. Since any real vector space can also be considered a linear manifold
Affine transformation

In geometry, an affine transformation or affine map or an affinity between two vector spaces consists of a linear transformation followed by a translation :...
, such an inner product is naturally extended to a tensor field
Tensor field

In mathematics, physics and engineering, a tensor field is a very general concept of variable geometric quantity. It is used in differential geometry and the theory of manifolds, in algebraic geometry, in general relativity, in the analysis of stress and strain tensor in materials, and in numerous applications in the physical sciences and en...
, and in case of its nondegeneracy, becomes a (pseudo- or proper-) Euclidean
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
 metric . For quaternions this inner product is indefinite, its signature
Metric signature

The signature of a metric tensor is the number of positive and negative eigenvalues of the metric. That is, the corresponding real symmetric matrix is diagonalisation, and the diagonal entries of each sign counted....
 is independent of the one-form , and the corresponding pseudo-Euclidean metric is Minkowski
Minkowski space

In physics and mathematics, Minkowski space is the mathematical setting in which Albert Einstein theory of special relativity is most conveniently formulated....
 . This metric is automatically extended over the Lie group
Lie group

In mathematics, a Lie group is a group which is also a differentiable manifold, with the property that the group operations are compatible with the Differential structure....
 of nonzero quaternions along its left invariant vector fields resulting in a closed FLRW metric – an important solution of the Einstein equations
Einstein field equations

The Einstein field equations or Einstein's equations are a set of ten equations in Einstein's theory of general relativity in which the fundamental force of gravitation is described as a curved spacetime caused by matter and energy....
. These results have some implications for the problem of compatibility between quantum mechanics
Quantum mechanics

Quantum mechanics is a set of principles underlying the most fundamental known description of all physical systems at the microscopic scale . Notable amongst these principles are both a dual wave-like and particle-like behavior of matter and radiation, and prediction of probabilities in situations where classical physics predicts certaintie...
 and general relativity
General relativity

General relativity or the general theory of relativity is the Geometry Theoretical physics of gravitation published by Albert Einstein in 1916....
 within the framework of quantum gravity
Quantum gravity

Quantum gravity is the field of theoretical physics attempting to unify quantum mechanics, which describes three of the Fundamental interaction , with general relativity, the theory of the fourth fundamental force: Gravitation....
 .

See also


External articles and resources


Books and publications

  • Hamilton, William Rowan
    William Rowan Hamilton

    Sir William Rowan Hamilton was an Ireland physicist, astronomer, and mathematician, who made important contributions to classical mechanics, optics, and algebra....
     (1853), "
    ". Royal Irish Academy.
  • Tait, Peter Guthrie
    Peter Guthrie Tait

    Peter Guthrie Tait was a Scotland Mathematical physics, best known for the seminal energy physics textbook Treatise on Natural Philosophy, which he co-wrote with William Thomson, 1st Baron Kelvin....
     (1873), "
    An elementary treatise on quaternions". 2d ed., Cambridge, [Eng.] : The University Press.
  • Maxwell, James Clerk (1873), "A Treatise on Electricity and Magnetism
    A Treatise on Electricity and Magnetism

    A Treatise on Electricity and Magnetism is an 1873 textbook on electromagnetism written by James Clerk Maxwell.These equations are compiled to two sets....
    ". Clarendon Press, Oxford.
  • Tait, Peter Guthrie
    Peter Guthrie Tait

    Peter Guthrie Tait was a Scotland Mathematical physics, best known for the seminal energy physics textbook Treatise on Natural Philosophy, which he co-wrote with William Thomson, 1st Baron Kelvin....
     (1886), "
    ". M.A. Sec. R.S.E. Encyclopaedia Britannica, Ninth Edition, 1886, Vol. XX, pp. 160–164. (bzipped PostScript
    PostScript

    PostScript is a dynamically typed concatenative programming language programming language created by John Warnock and Charles Geschke in 1982. PostScript is best known for its use as a page description language in the electronic and desktop publishing areas....
     file)
  • Joly, Charles Jasper (1905), "A manual of quaternions". London, Macmillan and co., limited; New York, The Macmillan company. LCCN 05036137 //r84
  • Macfarlane, Alexander
    Alexander Macfarlane (mathematician)

    Alexander Macfarlane was a Scotland-Canada logician, physicist, and mathematician.He was born in Blairgowrie and Rattray, Scotland. During his life, Macfarlane played a prominent role in research and education....
     (1906), "
    Vector analysis and quaternions", 4th ed. 1st thousand. New York, J. Wiley & Sons; [etc., etc.]. LCCN es 16000048
  • 1911 encyclopedia: "".
  • Finkelstein, David, Josef M. Jauch, Samuel Schiminovich, and David Speiser (1962), "Foundations of quaternion quantum mechanics". J. Mathematical Phys. 3, pp. 207–220, MathSciNet.
  • Du Val, Patrick
    Patrick du Val

    Patrick du Val was a Great Britain mathematician, known for his work on algebraic geometry, differential geometry, and general relativity. The concept of Du Val singularity of an algebraic surface is named after him....
     (1964), "
    Homographies, quaternions, and rotations". Oxford, Clarendon Press (Oxford mathematical monographs). LCCN 64056979 //r81
  • Crowe, Michael J. (1967), "A History of Vector Analysis: The Evolution of the Idea of a Vectorial System". University of Notre Dame Press. Surveys the major and minor vector systems of the 19th century (Hamilton, Möbius, Bellavitis, Clifford, Grassmann, Tait, Peirce, Maxwell, MacFarlane, MacAuley, Gibbs, Heaviside). The competition between quaternions and other systems is a major theme.
  • Altmann, Simon L. (1986), "Rotations, quaternions, and double groups". Oxford [Oxfordshire] : Clarendon Press ; New York : Oxford University Press. LCCN 85013615 ISBN 0-19-855372-2
  • Adler, Stephen L. (1995), "Quaternionic quantum mechanics and quantum fields". New York : Oxford University Press. International series of monographs on physics (Oxford, England) 88. LCCN 94006306 ISBN 0-19-506643-X
  • (1995), "A Linear Solution of the Four-Dimensionality Problem", Europhysics Letters, 32 (8) 621–626, DOI:
  • Ward, J. P. (1997), "Quaternions and Cayley Numbers: Algebra and Applications", Kluwer Academic Publishers. ISBN 0-7923-4513-4
  • Kantor, I. L. and Solodnikov, A. S. (1989), "Hypercomplex numbers, an elementary introduction to algebras", Springer-Verlag, New York, ISBN 0-387-96980-2
  • Gürlebeck, Klaus and Sprössig, Wolfgang (1997), "Quaternionic and Clifford calculus for physicists and engineers". Chichester ; New York : Wiley (Mathematical methods in practice; v. 1). LCCN 98169958 ISBN 0-471-96200-7
  • Kuipers, Jack (2002), "Quaternions and Rotation Sequences: A Primer With Applications to Orbits, Aerospace, and Virtual Reality" (reprint edition), Princeton University Press
    Princeton University Press

    The Princeton University Press is an independent Academic publishing with close connections to Princeton University. Its mission is to disseminate scholarship within academia and society at large....
    . ISBN 0-691-10298-8
  • Conway, John Horton
    John Horton Conway

    John Horton Conway is a prolific mathematician active in the theory of finite group , knot theory, number theory, combinatorial game theory and coding theory....
    , and Smith, Derek A. (2003), "
    On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry", A. K. Peters, Ltd. ISBN 1-56881-134-9 ().
  • Kravchenko, Vladislav (2003), "Applied Quaternionic Analysis", Heldermann Verlag ISBN 3-88538-228-8.
  • (2006), "Visualizing Quaternions", Elsevier: Morgan Kaufmann; San Francisco. ISBN 0-12-088400-3
  • (2007), "Natural Geometry of Nonzero Quaternions", International Journal of Theoretical Physics, 46 (2) 251–257, DOI:


Links and monographs

  • Frequently Asked Questions
  • Includes several papers focusing on computer graphics applications of quaternions. Covers useful techniques such as spherical linear interpolation.
  • Provides free Fortran and C source code for manipulating quaternions and rotations / position in space. Also includes mathematical background on quaternions.
  • Includes free C++ source code for a complete quaternion class suitable for computer graphics work, under a very liberal license.
  • (PDF)
  • 3D Raytraced Quaternion Julia Fractals
    Julia set

    In complex dynamics, the Julia set of a holomorphic function informally consists of those points whose long-time behavior under iterated function of can change drastically under arbitrarily small perturbations ....
     by David J. Grossman
  • Great page explaining basic math with links to straight forward rotation conversion formulae.
  • John H. Mathews, .
  • Andrew Hanson, .
  • , Technical report and Matlab toolbox summarizing all common attitude representations, with detailed equations and discussion on features of various methods.
  • Johan E. Mebius, , arXiv General Mathematics 2005.
  • Johan E. Mebius, , arXiv General Mathematics 2007.
  • NUI Maynooth .
  • D. Erickson, Derivation of rotation matrix from unitary quaternion representation in old paper:
  • Alberto Martinez, University of Texas Department of History, "Negative Math, How Mathematical Rules Can Be Positively Bent", [https://webspace.utexas.edu/aam829/1/m/NegativeMath.html]
  • (PDF)
  • Morier-Genoud, Sophie, and Valentin Ovsienko. Describes how the quaternions can be made into a skew-commutative algebra graded by Z/2×Z/2×Z/2.


Software

  • A free GUI based utility that converts Euler angles to Quaternions around X,Y and Z (roll, pitch and yaw) axis and performs conjugate, addition, subtraction, multiplication, great circle interpolation operations on converted Quaternions.
  • [Java]