William Rowan Hamilton invented quaternions, a mathematical entity in 1843. This article describes Hamilton's original treatment of quaternions, using his notation and terms. Hamilton's treatment is more geometric than the modern approach, which emphasizes quaternions' algebraic properties. Mathematically, quaternions discussed differ from the modern definition only by the terminology which is used.

Hamilton defined a quaternion as the quotient of two directed lines in tridimensional space;^{[1]} or, more generally, as the quotient of two vectors.^{[2]}

A quaternion can be represented as the sum of a *scalar* and a *vector*. It can also be represented as the product of its *tensor* and its *versor*.

Main article: Scalar (mathematics) |

Hamilton invented the term *scalars* for the real numbers, because they span the "scale of progression from positive to negative infinity"^{[3]} or because they represent the "comparison of positions upon one common scale".^{[4]} Hamilton regarded ordinary scalar algebra as the science of pure time.^{[5]}

See also: Vector space |

Hamilton defined a vector as "a right line ... having not only length but also direction".^{[6]} Hamilton derived the word *vector* from the Latin *vehere*, to carry.^{[7]}

Hamilton conceived a vector as the "difference of its two extreme points."^{[6]} For Hamilton, a vector was always a three-dimensional entity, having three co-ordinates relative to any given co-ordinate system, including but not limited to both polar and rectangular systems.^{[8]} He therefore referred to vectors as "triplets".

Hamilton defined addition of vectors in geometric terms, by placing the origin of the second vector at the end of the first.^{[9]} He went on to define vector subtraction.

By adding a vector to itself multiple times, he defined multiplication of a vector by an integer, then extended this to division by an integer, and multiplication (and division) of a vector by a rational number. Finally, by taking limits, he defined the result of multiplying a vector α by any scalar *x* as a vector β with the same direction as α if *x* is positive; the opposite direction to α if *x* is negative; and a length that is |*x*| times the length of α.^{[10]}

The quotient of two parallel or anti-parallel vectors is therefore a scalar with absolute value equal to the ratio of the lengths of the two vectors; the scalar is positive if the vectors are parallel and negative if they are anti-parallel.^{[11]}

A unit vector is a vector of length one. Examples of unit vectors include i, j and k.

- Note: The use of the word
*tensor*by Hamilton does not coincide with modern terminology. Hamilton's*tensor*is actually the absolute value on the quaternion algebra, which makes it a normed vector space.

Hamilton defined *tensor* as a positive numerical quantity, or, more properly, signless number.^{[12]}^{[13]}^{[14]} A tensor can be thought of as a positive scalar.^{[15]} The "tensor" can be thought of as representing a "stretching factor."^{[16]}

Hamilton introduced the term **tensor** in his first book, Lectures on Quaternions, based on lectures he gave shortly after his invention of the quaternions:

*it seems convenient to enlarge by definition the signification of the new word tensor, so as to render it capable of including also those other cases in which we operate on a line by diminishing instead of increasing its length; and generally by altering that length in any definite ratio. We shall thus (as was hinted at the end of the article in question) have fractional and even incommensurable tensors, which will simply be numerical multipliers, and will all be***positive**or (to speak more properly)**SignLess Numbers**, that is,**unclothed with the algebraic signs of positive and negative**; because, in the operation here considered, we abstract from the directions (as well as from the situations) of the lines which are compared or operated on.

Each quaternion has a tensor, which is a measure of its magnitude (in the same way as the length of a vector is a measure of a vectors' magnitude). When a quaternion is defined as the quotient of two vectors, its tensor is the ratio of the lengths of these vectors.

Main article: versor |

A versor is a quaternion with a tensor of 1. Alternatively, a versor can be defined as the quotient of two equal-length vectors.^{[17]}^{[18]}

In general a versor defines all of the following: a directional axis; the plane normal to that axis; and an angle of rotation.^{[19]}

When a versor and a vector which lies in the plane of the versor are multiplied, the result is a new vector of the same length but turned by the angle of the versor.

Since every unit vector can be thought of as a point on a unit sphere, and since a versor can be thought of as the quotient of two vectors, a versor has a representative great circle arc, called a **vector arc**, connecting these two points, drawn from the divisor or lower part of quotient, to the dividend or upper part of the quotient.^{[20]}^{[21]}

When the arc of a versor has the magnitude of a right angle, then it is called a **right versor**, a *right radial* or *quadrantal versor*.

There are two special degenerate versor cases, called the unit-scalars.^{[22]} These two scalars (negative and positive unity) can be thought of as **scalar quaternions**. These two scalars are special limiting cases, corresponding to versors with angles of either zero or π.

Unlike other versors, these two cannot be represented by a unique arc. The arc of 1 is a single point, and –1 can be represented by an infinite number of arcs, because there are an infinite number of shortest lines between antipodal points of a sphere.

Every quaternion can be decomposed into a scalar and a vector.

These two operations S and V are called "take the Scalar of" and "take the vector of" a quaternion. The vector part of a quaternion is also called the right part.^{[23]}

Every quaternion is equal to a versor multiplied by the tensor of the quaternion. Denoting the versor of a quaternion by

and the tensor of a quaternion by

we have

A right quaternion is a quaternion whose scalar component is zero,

The angle of a right quaternion is 90 degrees. A right quaternion can also be thought of as a vector plus a zero scalar. Right quaternions may be put in what was called the standard trinomial form. For example, if Q is a right quaternion, it may be written as:

^{[24]}

Four operations are of fundamental importance in quaternion notation.^{[25]}

- + − ÷ ×

In particular it is important to understand that there is a single operation of multiplication, a single operation of division, and a single operation each of addition and subtraction. This single multiplication operator can operate on any of the types of mathematical entities. Likewise every kind of entity can be divided, added or subtracted from any other type of entity. Understanding the meaning of the subtraction symbol is critical in quaternion theory, because it leads to an understanding of the concept of a vector.

The two ordinal operations in classical quaternion notation were addition and subtraction or + and −.

These marks are:

"...characteristics of synthesis and analysis of a state of progression, according as this state is considered as being derived from, or compared with, some other state of that progression."^{[26]}

Subtraction is a type of analysis called ordinal analysis^{[27]}

...let space be now regarded as the field of progression which is to be studied, and POINTS as

statesof that progression. ...I am led to regard the word "Minus," or the mark −, in geometry, as the sign or characteristic of analysis of one geometric position (in space), as compared with another (such) position. The comparison of one mathematical point with another with a view to the determination of what may be called their ordinal relation, or their relative position in space...^{[28]}

The first example of subtraction is to take the point A to represent the earth, and the point B to represent the sun, then an arrow drawn from A to B represents the act of moving or vection from A to B.

- B − A

this represents the first example in Hamilton's lectures of a vector. In this case the act of traveling from the earth to the sun.^{[29]}^{[30]}

Addition is a type of analysis called ordinal synthesis.^{[31]}

Vectors and scalars can be added. When a vector is added to a scalar, a completely different entity, a quaternion is created.

A vector plus a scalar is always a quaternion even if the scalar is zero. If the scalar added to the vector is zero then the new quaternion produced is called a right quaternion. It has an angle characteristic of 90 degrees.

The two Cardinal operations^{[32]} in quaternion notation are geometric multiplication and geometric division and can be written:

- ÷, ×

It is not required to learn the following more advanced terms in order to use division and multiplication.

Division is a kind of analysis called cardinal analysis.^{[33]} Multiplication is a kind of synthesis called cardinal synthesis^{[34]}

Classically, the quaternion was viewed as the ratio of two vectors, sometimes called a geometric fraction.

If OA and OB represent two vectors drawn from the origin O to two other points A and B, then the geometric fraction was written as

Alternately if the two vectors are represented by α and β the quotient was written as

or

Hamilton asserts: **"The quotient of two vectors is generally a quaternion".**^{[35]} *Lectures on Quaternions* also first introduces the concept of a quaternion as the quotient of two vectors:

Logically and by definition,^{[36]}^{[37]}

if

then .

In Hamilton's calculus the product is not commutative, i.e., the order of the variables is of great importance. If the order of q and β were to be reversed the result would not in general be α. The quaternion q can be thought of as an operator that changes β into α, by first rotating it, formerly an act of *version* and then changing the length of it, formerly called an act of *tension*.

Also by definition the quotient of two vectors is equal to the numerator times the reciprocal of the denominator. Since multiplication of vectors is not commutative, the order cannot be changed in the following expression.

Again the order of the two quantities on the right hand side is significant.

Hardy presents the definition of division in terms of mnemonic cancellation rules. "Canceling being performed by an upward right hand stroke".^{[38]}

If alpha and beta are vectors and q is a quaternion such that

then

and ^{[39]}

- and are inverse operations, such that:

- and
^{[40]}

and

^{[41]}

An important way to think of q is as an operator that changes β into α, by first rotating it (*version*) and then changing its length (tension).

^{[42]}

The results of using the division operator on *i*, *j*, and *k* was as follows.^{[43]}

The reciprocal of a unit vector is the vector reversed.^{[44]}

Because a unit vector and its reciprocal are parallel to each other but point in opposite directions, the product of a unit vector and its reciprocal have a special case commutative property, for example if a is any unit vector then:^{[45]}

However, in the more general case involving more than one vector (whether or not it is a unit vector) the commutative property does not hold.^{[46]} For example:

- ≠

This is because k/i is carefully defined as:

- .

So that:

- ,

however

While in general the quotient of two vectors is a quaternion, If α and β are two parallel vectors then the quotient of these two vectors is a scalar. For example, if

,

and then

Where a/b is a scalar.^{[47]}

The quotient of two vectors is in general the quaternion:

Where α and β are two non-parallel vectors, φ is that angle between them, and ε is a unit vector perpendicular to the plane of the vectors α and β, with its direction given by the standard right hand rule.^{[48]}

Classical quaternion notation had only one concept of multiplication. Multiplication of two real numbers, two imaginary numbers or a real number by an imaginary number in the classical notation system was the same operation.

Multiplication of a scalar and a vector was accomplished with the same single multiplication operator; multiplication of two vectors of quaternions used this same operation as did multiplication of a quaternion and a vector or of two quaternions.

- Factor × Faciend = Factum
^{[49]}

- Factor × Faciend = Factum

When two quantities are multiplied the first quantity is called the factor,^{[50]} the second quantity is called the faciend and the result is called the factum.

In classical notation, multiplication was distributive. Understanding this makes it simple to see why the product of two vectors in classical notation produced a quaternion.

Using the quaternion multiplication table we have:

Then collecting terms:

The first three terms are a scalar.

Letting

So that the product of two vectors is a quaternion, and can be written in the form:

The product of two right quaternions is generally a quaternion.

Let α and β be the right quaternions that result from taking the vectors of two quaternions:

Their product in general is a new quaternion represented here by r. This product is not ambiguous because classical notation has only one product.

Like all quaternions r may now be decomposed into its vector and scalar parts.

The terms on the right are called *scalar of the product*, and the *vector of the product*^{[51]} of two right quaternions.

- Note: "Scalar of the product" corresponds to Euclidean scalar product of two vectors up to the change of sign (multiplication to −1).

Two important operations in two the classical quaternion notation system were **S**(q) and **V**(q) which meant take the scalar part of, and take the imaginary part, what Hamilton called the vector part of the quaternion. Here S and V are operators acting on q. Parenthesis can be omitted in these kinds of expressions without ambiguity. Classical notation:

Here, *q* is a quaternion. * Sq* is the scalar of the quaternion while

**K** is the conjugate operator. The conjugate of a quaternion is a quaternion obtained by multiplying the vector part of the first quaternion by minus one.

If

then

- .

The expression

- ,

means, assign the quaternion r the value of the conjugate of the quaternion q.

**T** is the tensor operator. It returns a kind of number called a *tensor*.

The tensor of a positive scalar is that scalar. The tensor of a negative scalar is the absolute value of the scalar (i.e., without the negative sign). For example:

The tensor of a vector is by definition the length of the vector. For example, if:

Then

The tensor of a unit vector is one. Since the versor of a vector is a unit vector, the tensor of the versor of any vector is always equal to unity. Symbolically:

^{[52]}

A quaternion is by definition the quotient of two vectors and the tensor of a quaternion is by definition the quotient of the tensors of these two vectors. In symbols:

^{[53]}

From this definition it can be shown that a useful formula for the tensor of a quaternion is:^{[54]}

It can also be proven from this definition that another formula to obtain the tensor of a quaternion is from the common norm, defined as the product of a quaternion and its conjugate. The square root of the common norm of a quaternion is equal to its tensor.

A useful identity is that the square of the tensor of a quaternion is equal to the tensor of the square of a quaternion, so that the parentheses may be omitted.^{[55]}

Also, the tensors of conjugate quaternions are equal.^{[56]}

The tensor of a quaternion is now called its norm.

Taking the angle of a non-scalar quaternion, resulted in a value greater than zero and less than π.^{[57]}^{[58]}

When a non-scalar quaternion is viewed as the quotient of two vectors, then the axis of the quaternion is a unit vector perpendicular to the plane of the two vectors in this original quotient, in a direction specified by the right hand rule.^{[59]} The angle is the angle between the two vectors.

In symbols,

If

then its reciprocal is defined as

The expression:

Reciprocals have many important applications,^{[60]}^{[61]} for example rotations, particularly when q is a versor. A versor has an easy formula for its reciprocal.^{[62]}

In words the reciprocal of a versor is equal to its conjugate. The dots between operators show the order of the operations, and also help to indicate that S and U for example, are two different operations rather than a single operation named SU.

The product of a quaternion with its conjugate is its common norm.^{[63]}

The operation of taking the common norm of a quaternion is represented with the letter **N**. By definition the common norm is the product of a quaternion with its conjugate. It can be proven^{[64]}^{[65]} that common norm is equal to the square of the tensor of a quaternion. However this proof does not constitute a definition. Hamilton gives exact, independent definitions of both the common norm and the tensor. This norm was adopted as suggested from the theory of numbers, however to quote Hamilton "they will not often be wanted". The tensor is generally of greater utility. The word **norm** does not appear in *Lectures on Quaternions*, and only twice in the table of contents of *Elements of Quaternions*.

In symbols:

The common norm of a versor is always equal to positive unity.^{[66]}

In classical quaternion literature the equation

was thought to have infinitely many solutions that were called **geometrically real**.
These solutions are the unit vectors that form the surface of a unit sphere.

A **geometrically real** quaternion is one that can be written as a linear combination of *i*, *j* and *k*, such that the squares of the coefficients add up to one. Hamilton demonstrated that there had to be additional roots of this equation in addition to the geometrically real roots. Given the existence of the imaginary scalar, a number of expressions can be written and given proper names. All of these were part of Hamilton's original quaternion calculus. In symbols:

where q and q′ are real quaternions, and the square root of minus one is the imaginary of ordinary algebra, and are called an **imaginary or symbolical roots**^{[67]} and not a geometrically real vector quantity.

**Geometrically Imaginary** quantities are additional roots of the above equation of a purely symbolic nature. In article 214 of *Elements* Hamilton proves that if there is an i, j and k there also has to be another quantity h which is an imaginary scalar, which he observes should have already occurred to anyone who had read the preceding articles with attention.^{[68]} Article 149 of *Elements* is about Geometrically Imaginary numbers and includes a footnote introducing the term *biquaternion*.^{[69]} The terms *imaginary of ordinary algebra* and *scalar imaginary* are sometimes used for these geometrically imaginary quantities.

*Geometrically Imaginary* roots to an equation were interpreted in classical thinking as geometrically impossible situations. Article 214 of *Elements of Quaternions* explores the example of the equation of a line and a circle that do not intersect, as being indicated by the equation having only a geometrically imaginary root.^{[70]}

In Hamilton's later writings he proposed using the letter h to denote the imaginary scalar^{[71]}^{[72]}^{[73]}

Main article: Biquaternion |

On page 665 of *Elements of Quaternions* Hamilton defines a biquaternion to be a quaternion with complex number coefficients. The scalar part of a biquaternion is then a complex number called a **biscalar**. The vector part of a biquaternion is a bivector consisting of three complex components. The biquaternions are then the complexification of the original (real) quaternions.

Hamilton invented the term *associative* to distinguish between the imaginary scalar (known by now as a complex number) which is both commutative and associative, and four other possible roots of negative unity which he designated L, M, N and O, mentioning them briefly in appendix B of *Lectures on Quaternions* and in private letters. However, non-associative roots of minus one do not appear in *Elements of Quaternions*. Hamilton died before he worked^{[clarification needed]} on these strange entities. His son claimed them to be "bows reserved for the hands of another Ulysses".^{[74]}