Τρίτη 19 Αυγούστου 2014

QUATERNIONS

In mathematics, the quaternions are a number system that extends the complex numbers
. They were first described by Irish mathematician William Rowan Hamilton in 1843[1][2] and applied to mechanics in three-dimensional space. A feature of quaternions is that multiplication of two quaternions is noncommutative. Hamilton defined a quaternion as the quotient of two directed lines in a three-dimensional space[3] or equivalently as the quotient of two vectors.[4]
Quaternions find uses in both theoretical and applied mathematics, in particular for calculations involving three-dimensional rotations such as in three-dimensional computer graphics and computer vision. In practical applications, they can be used alongside other methods, such as Euler angles and rotation matrices, or as an alternative to them depending on the application.
In modern mathematical language, quaternions form a four-dimensional associative normed division algebra over the real numbers, and therefore also a domain. In fact, the quaternions were the first noncommutative division algebra to be discovered.[5] The algebra of quaternions is often denoted by H (for Hamilton), or inblackboard bold by \mathbb H (Unicode U+210D, ). It can also be given by the Clifford algebra classifications C0,2(R) ≅ C03,0(R). The algebra H holds a special place in analysis since, according to the Frobenius theorem, it is one of only two finite-dimensional division rings containing the real numbers as a proper subring, the other being the complex numbers. These rings are also Euclidean Hurwitz algebras, of which quaternions are the largest associative algebra.
The unit quaternions can therefore be thought of as a choice of a group structure on the 3-sphere S3 that gives the group Spin(3), which is isomorphic to SU(2) and also to theuniversal cover of SO(3).

Definition[

As a set, the quaternions H are equal to R4, a four-dimensional vector space over the real numbersH 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 by a scalar in R4. To define the product of two elements in H requires a choice of basis for R4. The elements of this basis are customarily denoted as 1, ij, and k. Every element of H can be uniquely written as a linear combination of these basis elements, that is, as a1 + bi + cj + dk, where abc, and d are real numbers. The basis element 1 will be the identity element 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, associative 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 identities
i^2=j^2=k^2=ijk=-1,
where ij, and k are basis elements of H, determine all the possible products of ij, and k.
For example right-multiplying both sides of −1 = ijk by k gives
\begin{align}
-k & = i j k k = i j (k^2) = i j (-1), \\
 k & = i j. 
\end{align}
All the other possible products can be determined by similar methods, resulting in
\begin{alignat}{2}
ij & = k, & \qquad ji & = -k, \\
jk & = i, & kj & = -i, \\
ki & = j, & ik & = -j, 
\end{alignat}
which can be expressed as a table whose rows represent the left factor of the product and whose columns represent the right factor, as shown at the top of this article.

Noncommutativity of multiplication

Noncommutativity of quaternion multiplication
×1ijk
11ijk
ii−1kj
jjk−1i
kkji−1
Unlike multiplication of real or complex numbers, multiplication of quaternions is not commutative. For example, ij = k, while ji = −k. The noncommutativity of multiplication has some unexpected consequences, among them that polynomial equations over the quaternions can have more distinct solutions than the degree of the polynomial. The equation z2 + 1 = 0, for instance, has infinitely many quaternion solutions z = bi + cj + dk with b2 + c2 + d2 = 1, so that these solutions lie on the two-dimensional surface of a sphere centered on zero in the three-dimensional subspace of quaternions with zero real part. This sphere intersects the complex plane at two points i and i.
The fact that quaternion multiplication is not commutative makes the quaternions an often-cited example of a strictly skew field.

Hamilton product

For two elements a1 + b1i + c1j + d1k and a2 + b2i + c2j + d2k, their product, called the 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:
a_1a_2 + a_1b_2i + a_1c_2j + a_1d_2k
{}+ b_1a_2i + b_1b_2i^2 + b_1c_2ij + b_1d_2ik
{}+ c_1a_2j + c_1b_2ji + c_1c_2j^2 + c_1d_2jk
{}+ d_1a_2k + d_1b_2ki + d_1c_2kj + d_1d_2k^2.
Now the basis elements can be multiplied using the rules given above to get:[6]
a_1a_2 - b_1b_2 - c_1c_2 - d_1d_2
{}+ (a_1b_2 + b_1a_2 + c_1d_2 - d_1c_2)i
{}+ (a_1c_2 - b_1d_2 + c_1a_2 + d_1b_2)j
{}+ (a_1d_2 + b_1c_2 - c_1b_2 + d_1a_2)k.

Ordered list form

Using the basis 1, ijk of H makes it possible to write H as a set of quadruples:
\mathbf{H} = \{(a, b, c, d) \mid a, b, c, d \in \mathbf{R}\}.
Then the basis elements are:

\begin{align}
1 & = (1, 0, 0, 0), \\
i & = (0, 1, 0, 0), \\
j & = (0, 0, 1, 0), \\
k & = (0, 0, 0, 1),
\end{align}
and the formulas for addition and multiplication are:
(a_1,\ b_1,\ c_1,\ d_1) + (a_2,\ b_2,\ c_2,\ d_2) = (a_1 + a_2,\ b_1 + b_2,\ c_1 + c_2,\ d_1 + d_2).
\begin{align}
(a_1,\ b_1,\ c_1,\ d_1)&(a_2,\ b_2,\ c_2,\ d_2) = \\
& = (a_1a_2 - b_1b_2 - c_1c_2 - d_1d_2, \\
& {} \qquad a_1b_2 + b_1a_2 + c_1d_2 - d_1c_2, \\
& {} \qquad a_1c_2 - b_1d_2 + c_1a_2 + d_1b_2, \\
& {} \qquad a_1d_2 + b_1c_2 - c_1b_2 + d_1a_2).
\end{align}

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 bc, and d are real numbers, and at least one of b,c or d is nonzero, 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 can be viewed as 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.
It is important to note, however, that the vector part of a quaternion is, in truth, an "axial" vector or "pseudovector", not an ordinary or "polar" vector, as was formally proven by S.L. Altmann in Ch. 12 of his 1986 book, "Rotations, Quaternions and Double Groups". A polar vector can be represented in calculations (for example, when rotated by a quaternion "similarity transform") by a pure quaternion, with no loss of information, but the two should not be confused. The axis of a "binary" (180 deg) rotation quaternion corresponds to the direction of the represented polar vector in such a case.
Hamilton called pure imaginary quaternions right quaternions[15][16] and real numbers (considered as quaternions with zero vector part) scalar quaternions.
If a quaternion is divided up into a scalar part and a vector part, i.e.
q = (r,\ \vec{v}),\ q\in\mathbf{H},\ r\in\mathbf{R},\ \vec{v}\in\mathbf{R}^3
then the formulas for addition and multiplication are:
 (r_1,\ \vec{v}_1) + (r_2,\ \vec{v}_2) = (r_1 + r_2,\ \vec{v}_1+\vec{v}_2)
(r_1,\ \vec{v}_1) (r_2,\ \vec{v}_2) = (r_1 r_2 - \vec{v}_1\cdot\vec{v}_2, r_1\vec{v}_2+r_2\vec{v}_1 + \vec{v}_1\times\vec{v}_2)
where "·" is the dot product and "×" is the cross product.

Conjugation, the norm, and reciprocal

Conjugation of quaternions is analogous to conjugation of complex numbers and to transposition (also known as reversal) of elements of Clifford algebras. To define it, let  q = a + bi + c j + d k  be a quaternion. The conjugate of q is the quaternion  q^* = a - bi - c j - d k . It is denoted by qq,[6] qt, or \tilde q. Conjugation is an involution, 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) = qp, not pq.
Unlike the situation in the complex plane, the conjugation of a quaternion can be expressed entirely with multiplication and addition:
q^* = - \frac 1 2 (q + iqi + jqj + kqk).
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 (p − p) / 2.
The square root of the product of a quaternion with its conjugate is called its norm and is denoted ||q|| (Hamilton called this quantity the tensor of q, but this conflicts with modern meaning of "tensor"). In formula, this is expressed as follows:
\lVert q \rVert = \sqrt{qq^*} = \sqrt{q^*q} = \sqrt{a^2 + b^2 + c^2 + d^2}
This is always a non-negative real number, and it is the 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
\lVert\alpha q\rVert = |\alpha|\lVert q\rVert.
This is a special case of the fact that the norm is multiplicative, meaning that
\lVert pq \rVert = \lVert p \rVert\lVert q \rVert.
for any two quaternions p and q. Multiplicativity is a consequence of the formula for the conjugate of a product. Alternatively it follows from the identity
  \det \Bigl(\begin{array}{cc} a+ib & id+c \\ id-c & a-ib \end{array}\Bigr) = a^2 + b^2 + c^2 + d^2,
(where i denotes the usual imaginary unit) and hence from the multiplicative property of determinants of square matrices.
This norm makes it possible to define the distance d(pq) between p and q as the norm of their difference:
d(p, q) = \lVert p - q \rVert.
This makes H into a metric space. Addition and multiplication are continuous in the metric topology.

Unit quaternion

unit quaternion is a quaternion of norm one. Dividing a non-zero quaternion q by its norm produces a unit quaternion Uq called the versor of q:
\mathbf{U}q = \frac{q}{\lVert q\rVert}.
Every quaternion has a polar decomposition .
Using conjugation and the norm makes it possible to define the reciprocal of a quaternion. The product of a quaternion with its reciprocal should equal 1, and the considerations above imply that the product of q and q/ (in either order) is 1. So the reciprocal of q is defined to be
q^{-1} = \frac{q^*}{\lVert q\rVert^2}.
This makes it possible to divide two quaternions p and q in two different ways. That is, their quotient can be either p q−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


Cayley graph of Q8. The red arrows represent multiplication on the right byi, and the green arrows represent multiplication on the right by j.
The set H of all quaternions is a vector space over the real numbers with dimension 4. (In comparison, the real numbers have dimension 1, the complex numbers have dimension 2, and the octonions have dimension 8.) Multiplication of quaternions, for example, is associative and distributes over vector addition, but it is not commutative. Therefore, the quaternions H are a non-commutative associative algebraover the real numbers. Even though H contains copies of the complex numbers, it is not an associative algebra over the complex numbers.
Because it is possible to divide quaternions, they form a division algebra. This is a structure similar to a field except for the commutativity of multiplication. Finite-dimensional associative division algebras over the real numbers are very rare. The Frobenius theorem states that there are exactly three: RC, and H. The norm makes the quaternions into a normed algebra, and normed division algebras over the reals are also very rare: Hurwitz's theorem says that there are only four: RCH, and O (the octonions). The quaternions are also an example of a composition algebra and of a unital Banach algebra.
Because the product of any two basis vectors is plus or minus another basis vector, the set {±1, ±i, ±j, ±k} forms a group under multiplication. This group is called the quaternion group and is denoted Q8.[17] The real group ring of Q8 is a ring R[Q8] 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 of R[Q8] by the ideal 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, ij, and k, and the second term is one of basis elements −1, −i, −j, and −k, not the additive inverses of 1, ij, and k.



Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου