Trigonometry/Vectors and Dot Products

From testwiki
Jump to navigation Jump to search

Consider the vectors U and V (with respective magnitudes |U| and |V|). If those vectors enclose an angle θ then the dot product of those vectors can be written as:


๐”๐•=|๐”||๐•|cos(θ)

If the vectors can be written as:

๐”=(Ux,Uy,Uz)
๐•=(Vx,Vy,Vz)

then the dot product is given by:

๐”๐•=UxVx+UyVy+UzVz

For example,

(1,2,3)(2,2,2)=1(2)+2(2)+3(2)=12.

and

(0,5,0)(4,0,0)=0.

We can interpret the last case by noting that the product is zero because the angle between the two vectors is 90 degrees.

Template:Trigonometry:Navigation