Steply

Angle between <3, 4> and <-4, 3>

Step by step, with the reason for every step · Dot product, angle between two vectors · Precalculus

Step by step

The question

Question: find the angle between u = ⟨3, 4⟩ and v = ⟨−4, 3⟩.

u = ⟨3, 4⟩ and v = ⟨−4, 3⟩

1 Find u • v

The dot product: across times across, plus up times up.

u • v = 3 × (−4) + 4 × 3

3 times (−4) is −12.

4 times 3 is 12.

u • v = −12 + 12

−12 plus 12 is 0.

So u • v = 0.

u • v = 0

2 Find the lengths

The length of u: Pythagoras.

9 plus 16 is 25.

The square root is 5.

‖u‖ = √32 + 42 = √25 = 5

The length of v: Pythagoras.

16 plus 9 is 25.

The square root is 5.

‖v‖ = √(−4)2 + 32 = √25 = 5

3 Use the angle rule

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

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

Now put the numbers in: u • v = 0 and the lengths.

cos θ = 05 × 5

We can make 0/25 simpler.

It is the same as 0.

cos θ = 0

4 Find θ

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

θ = cos−1(0)

Careful!

That number is cos θ, not the angle.

We still need cos⁻¹.

Careful: not θ = 0 ✗

The calculator gives exactly 90.

So θ = 90°.

θ = 90°

5 Check

Does it make sense?

Let's draw u and v.

They meet at a square corner: 90°.

A dot product of 0 always means 90°.

It fits!

u • v = 0 → θ = 90°

Let's look back.

First: find u • v.

Then: find the lengths.

Then: use the angle rule.

Then: find θ.

Last: check.

Answer
θ = 90°

Your turn

Try this one yourself, then check:

Find the angle between u = ⟨4, 3⟩ and v = ⟨−3, 4⟩
Show the answer
θ = 90°

More from Dot product, angle between two vectors

The whole lesson: Dot product, angle between two vectors →