Step by step
The question
Question: find the angle between u = ⟨1, 1, 0⟩ and v = ⟨1, 0, 1⟩.
1 Find u • v
Multiply the matching parts: x times x, y times y, z times z.
Then add.
1 times 1 is 1.
1 times 0 is 0.
0 times 1 is 0.
Add them up: u • v = 1.
2 The two lengths
The length of u: square the parts and add.
1 plus 1 plus 0 is 2.
The length of v: square the parts and add.
1 plus 0 plus 1 is 2.
3 Find the angle
The rule: cos θ is the dot product over the two lengths multiplied.
Put in u • v = 1 and the two lengths.
Roots multiply inside: √4, which is 2.
So cos θ = 1/2.
4 Find θ
The cos⁻¹ button turns it back into the angle.
Careful!
That number is cos θ, not the angle.
We still need cos⁻¹.
The calculator gives exactly 60.
So θ = 60°.
5 Check
The dot product is positive, so θ is less than 90°.
60° fits!
And cos of 60° is about 0.5, the same number we had.
Right!
Let's look back.
First: find u • v.
Then: the two lengths.
Then: find the angle.
Then: find θ.
Last: check.