Precise relation between quaternion and vectors

In summary: As it turns out, the only possibility is:i^2 = j^2 = k^2 = ijk = -1So, a vector product of two vectors can be a combination of scalar and vector, q = a + b_i + c_j + d_k.Just make sure to keep up with the ordering, ijk = -1.In summary, the conversation discusses the history of vector analysis, particularly the development of quaternions by Hamilton and their relation to modern vector calculus. It is noted that quaternions have four components, but the scalar component can be set to zero to obtain the three components that were originally searched for.
  • #1
jonjacson
453
38
I am reading "history of vector analysis":

https://www.amazon.com/dp/0486679101/?tag=pfamazon01-20

We have two quaternions [tex]\alpha , \alpha' [/tex] with "scalar" component equal to zero, these are their expressions:

[tex]\alpha' = x' \vec{i} +y' \vec{j} + z' \vec{k}[/tex]

[tex]\alpha = x \vec{i} +y \vec{j} + z \vec{k}[/tex]

with i,j and k fulfilling these known relations :

ij= k , jk=i , ik= -j ... and so on.Then Hamilton wrote:

S(scalar, which is our -dot product) of [tex]\alpha*\alpha' = -(xx' +yy'+zz') [/tex] and

V(vector, which is our cross product) of [tex]\alpha*\alpha'[/tex] = i(yz'-zy') -j(zx' -xz') + k(xy'-yx')Well, let's now compare this equations with the equations of our modern vector calculus, for example, if we have the vector position R of a particle, expressed in the base of the vectors i,j and k (orthogonal unit basis vectors) :

R= xi +yj +zk

R' =x'i + y'j +z'k

RR'=xx'+yy'+zz'

and R x R' =i(yz'-zy') -j(zx'-xz') + k(xy'-yx')

But now it is clear that we are using a basis that is conmutative , because ij=ji .

I don't understand this, if our vector calculus started with the calculations of Hamilton cited above ¿why can we use basis vectors that are conmutative? .

Perhaps you think that is a stupid question, but I would like to understand exactly what is the relation between the vectors that I use in my physics classes and these numbers discovered by Hamilton.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Are you sure that it isn't

[tex] i j = - j i [/tex]

?

EDIT: please ignore. I used a different metric calculating the above.
 
Last edited:
  • #3
jonjacson said:
But now it is clear that we are using a basis that is conmutative , because ij=ji.
How did you arrive at that conclusion?

The cross product is anti-commutative.
 
  • #4
D H said:
How did you arrive at that conclusion?

The cross product is anti-commutative.

Yes you are right, the cross product is not conmutative, and is not associative.

But I don't understand why the quaternion has these three elements i, j, k (the equivalent of the i part of the imaginary numbers) and when you use vectors you don't say anything of these i,j, k elements, you use real numbers. I don't see how do you arrive from the algebra of the vector part of the quaternions, to the algebra of the vectors, as where introduced by gibbs and heaviside.

Perhaps I am not expressing the question clearly, if you want some extra explanation , please tell me.

Thanks for the answers.
 
  • #5
jonjacson said:
But I don't understand why the quaternion has these three elements i, j, k (the equivalent of the i part of the imaginary numbers) and when you use vectors you don't say anything of these i,j, k elements, you use real numbers.
Sure you do! What is the difference between the components of a three vector the x, y, and z components, versus the x1, x2, and x3 components, versus something else?

Besides, where do you think the notation [tex]\vec x = x\hat i + y\hat j + z \hat k[/tex] came from?

I don't see how do you arrive from the algebra of the vector part of the quaternions, to the algebra of the vectors, as where introduced by gibbs and heaviside.

One way to look at quaternions is that a quaternion comprises a real scalar part and an imaginary three vector part:

[tex]\mathcal Q = \bmatrix q_s \\ \vec q_v\endbmatrix[/tex]

With this notation, the product of two quaternions can be written as

[tex]\mathcal Q_1 \mathcal Q_2 =
\bmatrix q_{1,s} \\ \vec q_{1,v} \endbmatrix \,
\bmatrix q_{2,s} \\ \vec q_{2,v} \endbmatrix =
\bmatrix
q_{1,s}q_{2,s}-\vec q_{1,v}\cdot \vec q_{2,v} \\
q_{1,s}\vec q_{2,v} + q_{2,s}\vec q_{1,v} + \vec q_{1,v}\times \vec q_{2,v}
\endbmatrix[/tex]

That, however, puts the cart before the horse. The development of the quaternions preceded (and motivated) the development of vectors. One way to define the cross product given the quaternion product is

[tex]\bmatrix 0 \\ \vec v_1 \times \vec v_2 \endbmatrix =
\frac 1 2 \left (
\bmatrix 0 \\ \vec v_1 \endbmatrix \, \bmatrix 0 \\ \vec v_2 \endbmatrix -
\bmatrix 0 \\ \vec v_2 \endbmatrix \, \bmatrix 0 \\ \vec v_1 \endbmatrix
\right)[/tex]
 
  • #6
D H said:
Sure you do! What is the difference between the components of a three vector the x, y, and z components, versus the x1, x2, and x3 components, versus something else?

Besides, where do you think the notation [tex]\vec x = x\hat i + y\hat j + z \hat k[/tex] came from?



One way to look at quaternions is that a quaternion comprises a real scalar part and an imaginary three vector part:

[tex]\mathcal Q = \bmatrix q_s \\ \vec q_v\endbmatrix[/tex]

With this notation, the product of two quaternions can be written as

[tex]\mathcal Q_1 \mathcal Q_2 =
\bmatrix q_{1,s} \\ \vec q_{1,v} \endbmatrix \,
\bmatrix q_{2,s} \\ \vec q_{2,v} \endbmatrix =
\bmatrix
q_{1,s}q_{2,s}-\vec q_{1,v}\cdot \vec q_{2,v} \\
q_{1,s}\vec q_{2,v} + q_{2,s}\vec q_{1,v} + \vec q_{1,v}\times \vec q_{2,v}
\endbmatrix[/tex]

That, however, puts the cart before the horse. The development of the quaternions preceded (and motivated) the development of vectors. One way to define the cross product given the quaternion product is

[tex]\bmatrix 0 \\ \vec v_1 \times \vec v_2 \endbmatrix =
\frac 1 2 \left (
\bmatrix 0 \\ \vec v_1 \endbmatrix \, \bmatrix 0 \\ \vec v_2 \endbmatrix -
\bmatrix 0 \\ \vec v_2 \endbmatrix \, \bmatrix 0 \\ \vec v_1 \endbmatrix
\right)[/tex]


Thanks, very apreciated.

I start to undertand what is happening, Hamilton described imaginary numbers as pairs of real numbers, then he was searching a similar concept but with three components.

I don't know why he found the quaternions, which have four components, but they have symetry for three of his components, so if you put the scalar part equal to zero, you have the three components that he was searching.

So as a conclusion ¿could i considere vector calculus as the calculus of quaternions with scalar part equal to zero?

If I learn quaterionic calculus and then particularize for scalar part=0 ¿will i find the vector algebra? ¿do you agree?
 
  • #7
You can go the other way around too, start with vector algebra, and end up with quaternions, utilizing a Clifford Algebra (or Geometric Algebra) product of vectors.

The basic idea is defining a vector product so that the product of two colinear vectors is a scalar. For a unit vector [itex]u[/itex] in physics you'd typically want one of:

[tex] u^2 = \pm 1[/tex]

With linearity, and associativity, this implies among other things that perpendicular vectors are anticommutative. Adding a scalar to the product of two such perpendicular vectors (a bivector) recovers the complex or quaternion algebras.

Some details can be found here for example:

http://www.mrao.cam.ac.uk/~clifford/ptIIIcourse/index.html
 

FAQ: Precise relation between quaternion and vectors

1. What is a quaternion?

A quaternion is a mathematical concept that extends the complex numbers to four dimensions. It is represented as a four-dimensional vector with a scalar component and three imaginary components.

2. How is a quaternion related to vectors?

A quaternion can be used to represent and perform operations on vectors in three-dimensional space. The scalar component represents the real part of the vector, and the imaginary components represent the vector's three coordinates.

3. What is the precise relation between a quaternion and a vector?

The precise relation between a quaternion and a vector is that a quaternion can be converted into a vector by taking its imaginary components, and a vector can be converted into a quaternion by adding a scalar component of 0.

4. How are quaternions used in computer graphics?

Quaternions are commonly used in computer graphics to represent rotations and orientations in three-dimensional space. They have advantages over other methods, such as Euler angles, in terms of stability and efficiency.

5. Can quaternions be used for other applications besides computer graphics?

Yes, quaternions have applications in many fields, including robotics, physics, and aerospace engineering. They are also used in mathematical and scientific calculations involving four-dimensional space.

Back
Top