Blog Archive

Thursday, May 18, 2023

Quaternion, dot product and cross product, number theory

This article will introduce the connection between dot product and cross product by considering quaternion.

An element of Q can be represented as a+bi+cj+dk,a,b,c,dR

i2=j2=k2=ijk=1, ij=k=ji,jk=i=kj,ki=j=ik

And consider u,vR3,u=u1i+u2j+u3k,v=v1i+v2j+v3k

And uv=u,v+u×v

That is why one is cosθ, another is sinθ

And we can represent a+bi+cj+dk,a,b,c,dR as a matrix.

T=(a+dibcibciadi)

Another interesting thing we can prove by Q is

Proposition.

for s,tA:={a2+b2+c2+d2,a,b,c,dZ},stA

Proof.

define the norm of Q can be written as qq=(a+bi+cj+dk)(abicjdk)=a2+b2+c2+d2

Actually, it is det(a+dibcibciadi)

According to det(AB)=det(A)det(B)

We prove that for s,tA:={a2+b2+c2+d2,a,b,c,dZ},stA

No comments:

Post a Comment

Popular Posts