Prove that quaternions are associative

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 7K views
proton
Messages
349
Reaction score
0

Homework Statement


prove that quaternions are associative. ie (qr)s = q(rs), where q,r,s are quaternions

This isn't really a HW problem since I'm just wondering if there's a simpler way to prove associativity than the method I tried below


Homework Equations


i^2 = j^2 = k^2 = -1
ij=k=-ji
jk=i=-kj
ki=j=-ik
q=(a,b,c,d), r=(e,f,g,h), s=(l,m,n,p)



The Attempt at a Solution



Its not so much I don't know how to do the problem as it is that my work is tedious and will take forever, unless there's a simpler method

heres my work:
qr = (a,b,c,d)(e,f,g,h) = ae + af*i^2 + ag *ij + ah*k + be*i + bf*i^2 + bg*ij + bh*ik + ce*j + cf*ji + cg *j^2 + ch*jk + de*k + df*k + dg*jk + dh*k^2 = (ae-bf-cg-dh, af+be+ch-dg, ag-bh+ce+df, ah+bg=cf+de)

(qr)s = (ae-bf-cg-dh, af+be+ch-dg, ag-bh+ce+df, ah+bg=cf+de)(l,m,n,p) =
(lae-lbf-lcg-ldh-maf-mbe-mch+mdg-nag+nbh-nce-ndf-pah-pbg+pcf-pde, ...)
I got too tired to work out the i,j,k components

there's got to be a simpler way to prove associativity
 
Physics news on Phys.org
it took me a FULL page to prove (qr)s =q(rs)
 
Last edited:
If one were to show quaternions could be represented as a matrix and the product defined as standard matrix multiplication, would associativity follow as a consequence of the fact that a matrix represents a linear transformation and the matrix product is functional compostion?
 
Last edited:
You can first prove the associativity for any triple of 4 basis quaternions 1,i,j,k, and then check that the same property holds for any real linear combination of them.

Eugene.