Steply

Angle between <1, 2, 3> and <3, 2, 1>

Step by step, with the reason for every step · Dot product and angle in space · Calculus 3

Step by step

The question

Question: find the angle between u = ⟨1, 2, 3⟩ and v = ⟨3, 2, 1⟩.

u = ⟨1, 2, 3⟩ and v = ⟨3, 2, 1⟩

1 Find u • v

Multiply the matching parts: x times x, y times y, z times z.

Then add.

u • v = 1 × 3 + 2 × 2 + 3 × 1

1 times 3 is 3.

2 times 2 is 4.

3 times 1 is 3.

u • v = 3 + 4 + 3

Add them up: u • v = 10.

u • v = 10

2 The two lengths

The length of u: square the parts and add.

1 plus 4 plus 9 is 14.

‖u‖ = √12 + 22 + 32 = √14

The length of v: square the parts and add.

9 plus 4 plus 1 is 14.

‖v‖ = √32 + 22 + 12 = √14

3 Find the angle

The rule: cos θ is the dot product over the two lengths multiplied.

cos θ = u • v‖u‖ × ‖v‖

Put in u • v = 10 and the two lengths.

cos θ = 10√14 × √14

Roots multiply inside: √196, which is 14.

√14 × √14 = √196 = 14

10/14 is the same as 5/7.

cos θ = 57

4 Find θ

The cos⁻¹ button turns it back into the angle.

θ = cos−1(57)

Careful!

That number is cos θ, not the angle.

We still need cos⁻¹.

Careful: not θ = 5/7 ✗

The calculator gives about 44.415.

To the nearest tenth, θ ≈ 44.4°.

θ ≈ 44.4°

5 Check

The dot product is positive, so θ is less than 90°.

44.4° fits!

u • v > 0 → θ < 90°

And cos of 44.4° is about 0.714, the same number we had.

Right!

cos 44.4° ≈ 0.714

Let's look back.

First: find u • v.

Then: the two lengths.

Then: find the angle.

Then: find θ.

Last: check.

Answer
θ ≈ 44.4°

Your turn

Try this one yourself, then check:

angle between ⟨4, 4, 2⟩ and ⟨2, 4, 4⟩
Show the answer
θ ≈ 27.3°

More from Dot product and angle in space

The whole lesson: Dot product and angle in space →