Angles between vectors (scalar product)
Posted in Maths, Core 4The scalar product is a method to multiply two vectors together to leave you with a vector. The scalar product between two vectors, a and b is written a.b and is calculated like so for two dimensions:
And for 3 dimensions:
This is used in the equation of the angles between two vectors, a and b:
Perpendicular vectors
If the scalar product of two vectors is 0, the vectors are perpendicular to one another.
Example
Example question: Find the angle between vectors a = and b =
Worked solution: First step is to work out |a| and |b| using phythagorus:
Next, calculate the scalar product of the two vectors:
Now plug in the values into the 'angle' equation: