Quaternions in Mathematics and Physics.

3 first steps in the Cayley-Dickson construction : from reals to octonions.

In[1]:=

quaternions_1.gif

In[2]:=

quaternions_2.gif

In[3]:=

quaternions_3.gif

In[4]:=

quaternions_4.gif

In[5]:=

quaternions_5.gif

In[6]:=

quaternions_6.gif

In[7]:=

quaternions_7.gif

Out[7]=

quaternions_8.gif

In[8]:=

quaternions_9.gif

Out[8]=

e i
e e i
i i -e

In[9]:=

quaternions_10.gif

Out[9]=

quaternions_11.gif

In[10]:=

quaternions_12.gif

Out[10]=

e i j k
e e i j k
i i -e k -j
j j -k -e i
k k j -i -e

In[11]:=

quaternions_13.gif

Out[11]=

quaternions_14.gif

In[12]:=

quaternions_15.gif

Out[12]=

e i j k l m n p
e e i j k l m n p
i i -e k -j m -l -p n
j j -k -e i n p -l -m
k k j -i -e p -n m -l
l l -m -n -p -e i j k
m m l -p n -i -e -k j
n n p l -m -j k -e -i
p p -n m l -k -j i -e

quaternions_16.gif

Quaternions are usually written as hypercomplex numbers of the form, q = e a + i b + j c + k d, with {a,b,c,d} ∈ Reals. The keys, e=1, i, j, k, obey the non commutative multiplication table above. Applications in physics eventually need the extension {a,b,c,d} ∈ Complex (Biquaternions). In this case, because of a possible confusion in the use of the symbol i, imaginary or quaternionic key, it should eventually be convenient to rewrite the quaternionic keys as, ke, ki, kj and kk). Even more generally {a,b,c,d} ≡ (differential) operators should be allowed. Mathematica is not at ease with quaternions. A specific package exists only capable of handling with real numerical quaternions but difficulties arise when the coefficients become complex, litteral or differential (operators).

In[13]:=

quaternions_17.gif

In[14]:=

quaternions_18.gif

Out[14]=

quaternions_19.gif

In[15]:=

quaternions_20.gif

Out[15]=

quaternions_21.gif

In[16]:=

quaternions_22.gif

Out[16]=

quaternions_23.gif

In[17]:=

quaternions_24.gif

Out[17]=

quaternions_25.gif

quaternions_26.gif

A more efficient (and secure) approach utilizes a matrix representation of the quaternion algebra. Here are two of them (i = quaternions_27.gif) :

1. 2x2 matrix representation of the four quaternionic keys (k2e, k2i, k2j and k2k). Each quaternion is written as : q = a k2e + b k2i + c k2j + d k2k.

In[18]:=

quaternions_28.gif

In[19]:=

quaternions_29.gif

In[20]:=

quaternions_30.gif

quaternions_31.gif

In[21]:=

quaternions_32.gif

Out[21]=

quaternions_33.gif

In[22]:=

quaternions_34.gif

In[23]:=

quaternions_35.gif

Out[23]//MatrixForm=

quaternions_36.gif

2. 4x4 matrix representation of the four quaternionic keys (k4e, k4i, k4j and k4k).

In[24]:=

quaternions_37.gif

Out[24]=

quaternions_38.gif

In[25]:=

quaternions_39.gif

Out[25]=

quaternions_40.gif

In[26]:=

quaternions_41.gif

Out[26]=

quaternions_42.gif

In[27]:=

quaternions_43.gif

Out[27]=

quaternions_44.gif

In[28]:=

quaternions_45.gif

quaternions_46.gif

In[29]:=

quaternions_47.gif

Out[29]=

quaternions_48.gif

In[30]:=

quaternions_49.gif

In[31]:=

quaternions_50.gif

Out[31]=

quaternions_51.gif

In[32]:=

quaternions_52.gif

Out[32]//MatrixForm=

quaternions_53.gif

quaternions_54.gif

1. Quaternions and 3D rotations.

In[33]:=

quaternions_55.gif

Out[33]=

quaternions_56.gif

In[34]:=

quaternions_57.gif

Out[34]=

quaternions_58.gif

In[35]:=

quaternions_59.gif

Out[35]=

quaternions_60.gif

In[36]:=

quaternions_61.gif

Out[36]=

quaternions_62.gif

In[37]:=

quaternions_63.gif

Out[37]=

quaternions_64.gif

In[38]:=

quaternions_65.gif

In[39]:=

quaternions_66.gif

Out[39]=

quaternions_67.gif

In[40]:=

quaternions_68.gif

In[41]:=

quaternions_69.gif

Out[41]=

quaternions_70.gif

In[42]:=

quaternions_71.gif

Out[42]=

quaternions_72.gif

In[43]:=

quaternions_73.gif

Out[43]=

quaternions_74.gif

In[44]:=

quaternions_75.gif

Out[44]=

quaternions_76.gif

In[45]:=

quaternions_77.gif

Out[45]=

quaternions_78.gif

quaternions_79.gif

2. Quaternions in Physics : Maxwell equations.

The quaternionic nabla, nablaQ = quaternions_80.gifquaternions_81.gif + ki quaternions_82.gif + kj quaternions_83.gif + kk quaternions_84.gif ,  may be defined in each representation (2x2 or 4x4) :

In[46]:=

quaternions_85.gif

In[47]:=

quaternions_86.gif

In[48]:=

quaternions_87.gif

quaternions_88.gif

Deriving the electromagnetic fied from the potential (2x2 representation) :

In[49]:=

quaternions_89.gif

Out[49]//MatrixForm=

quaternions_90.gif

In[50]:=

quaternions_91.gif

Out[50]=

quaternions_92.gif

In[51]:=

quaternions_93.gif

Out[51]=

quaternions_94.gif

In[52]:=

quaternions_95.gif

Out[52]=

quaternions_96.gif

In[53]:=

quaternions_97.gif

Out[53]=

quaternions_98.gif

In[54]:=

quaternions_99.gif

Out[54]=

quaternions_100.gif

In[55]:=

quaternions_101.gif

Out[55]=

quaternions_102.gif

In[56]:=

quaternions_103.gif

Out[56]=

quaternions_104.gif

In[57]:=

quaternions_105.gif

Out[57]=

quaternions_106.gif

In[58]:=

quaternions_107.gif

Out[58]=

quaternions_108.gif

In[59]:=

quaternions_109.gif

Out[59]=

quaternions_110.gif

In[60]:=

quaternions_111.gif

Out[60]=

quaternions_112.gif

Deriving Maxwell equations in the 2x2 representation) :

In[61]:=

quaternions_113.gif

In[62]:=

quaternions_114.gif

Out[62]=

quaternions_115.gif

In[63]:=

quaternions_116.gif

Out[63]=

quaternions_117.gif

In[64]:=

quaternions_118.gif

Out[64]=

quaternions_119.gif

In[65]:=

quaternions_120.gif

Out[65]=

quaternions_121.gif

quaternions_122.gif

Deriving Maxwell equations in the 4x4 representation  :

In[66]:=

quaternions_123.gif

In[67]:=

quaternions_124.gif

Out[67]=

quaternions_125.gif

In[68]:=

quaternions_126.gif

Out[68]=

quaternions_127.gif

Decoding through the separation of the real and imaginary parts (div quaternions_128.gifquaternions_129.gif+quaternions_130.gif =0 in magenta, div quaternions_131.gif =ρ/quaternions_132.gif in green, curl quaternions_133.gif -(1/quaternions_134.gif =quaternions_135.gif quaternions_136.gif in red) :

In[69]:=

quaternions_137.gif

Out[69]=

quaternions_138.gif

quaternions_139.gif

In[70]:=

quaternions_140.gif

Out[70]=

quaternions_141.gif

quaternions_142.gif

Spikey Created with Wolfram Mathematica 8.0