Angle Between Two Vectors and Vector Scalar Product

This is a graphical representation of the angle between vectors.
This is a graphical representation of the angle between vectors. Acdx, public domain

This is a worked example problem that shows how to find the angle between two vectors. The angle between vectors is used when finding the scalar product and vector product.

The scalar product is also called the dot product or the inner product. It's found by finding the component of one vector in the same direction as the other and then multiplying it by the magnitude of the other vector.

Vector Problem

Find the angle between the two vectors:

A = 2i + 3j + 4k
B = i - 2j + 3k

Solution

Write the components of each vector.

Ax = 2; Bx = 1
Ay = 3; By = -2
Az = 4; Bz = 3

The scalar product of two vectors is given by:

A · B = A B cos θ = |A||B| cos θ

or by:

A · B = AxBx + AyBy + AzBz

When you set the two equations equal and rearrange the terms you find:

cos θ = (AxBx + AyBy + AzBz) / AB

For this problem:

AxBx + AyBy + AzBz = (2)(1) + (3)(-2) + (4)(3) = 8

A = (22 + 32 + 42)1/2 = (29)1/2

B = (12 + (-2)2 + 32)1/2 = (14)1/2

cos θ = 8 / [(29)1/2 * (14)1/2] = 0.397

θ = 66.6°

Format
mla apa chicago
Your Citation
Helmenstine, Anne Marie, Ph.D. "Angle Between Two Vectors and Vector Scalar Product." ThoughtCo, Aug. 25, 2020, thoughtco.com/angle-between-to-vectors-problem-609594. Helmenstine, Anne Marie, Ph.D. (2020, August 25). Angle Between Two Vectors and Vector Scalar Product. Retrieved from https://www.thoughtco.com/angle-between-to-vectors-problem-609594 Helmenstine, Anne Marie, Ph.D. "Angle Between Two Vectors and Vector Scalar Product." ThoughtCo. https://www.thoughtco.com/angle-between-to-vectors-problem-609594 (accessed April 19, 2024).