LearnViz Math
Advanced ▦ Linear Algebra Topic 8 of 104

Angle Between Vectors

Cosine from the dot product.

Key idea

Cosine from the dot product.

In depth

Rearrange the dot product: cos θ = (a · b)/(|a||b|). Then θ = arccos of that ratio. The Cauchy–Schwarz inequality guarantees the ratio is between −1 and 1.

Worked example

a = (1, 0), b = (1, 1): cos θ = 1/√2, θ = 45°.

Formula

cosθ = u·v/(|u||v|)

Real-world uses

Common mistake

Forgetting to divide by both magnitudes.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. Use the interactive lesson’s visual and mini-quiz to check the pattern.

Frequently asked questions

What is Angle Between Vectors?

Cosine from the dot product. It is a topic at the advanced level in Linear Algebra.

What is the formula for Angle Between Vectors?

The key formula is cosθ = u·v/(|u||v|).

Where is Angle Between Vectors used in real life?

Real-world examples: Measuring how aligned two features are in recommendation systems; Checking angles in engineering.

What should I learn before Angle Between Vectors?

Make sure you are comfortable with Dot Product, the previous topic in Linear Algebra.

What is a common mistake with Angle Between Vectors?

Forgetting to divide by both magnitudes.

How can I practise Angle Between Vectors?

Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.

What comes after Angle Between Vectors?

Move on to Orthogonality next.

Related advanced topics in Linear Algebra