Scalar product
The scalar product (dot product) is defined between two vectors and captures the relationship between their magnitudes and the angle between them.
Scalar product
We define the scalar product between two vectors. We write it like an ordinary product, with a centred dot:
If at least one of the vectors
What is the geometric meaning of the scalar product? For the scalar product of two vectors we also have
where α is the angle between the vectors. This formula gives us an easy way to find the angle between two vectors. If we make cosine the subject, we get
This formula holds in the plane. In space we have to add one more dimension. Now we can draw the geometric meaning of the scalar product.
If we take the scalar product of the vectors
Testing for a right angle
We can use the scalar product to test whether the angle between two vectors is 90°. When is the scalar product equal to zero? Look at the formula…
… and we see that the product
For example, take these three vectors:
According to the scalar product, there is a right angle only between the vectors
Let’s also work out the angle between the vectors
If we take the inverse cosine, we get the angle. The result is an angle of approximately 40°.
Chapters: Vectors, Operations with vectors, Scalar product, Vector product