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
Real-world uses
- Measuring how aligned two features are in recommendation systems
- Checking angles in engineering
Common mistake
Forgetting to divide by both magnitudes.
How to learn this
- Read the key idea and say it in your own words.
- Work through the worked example, then try a similar problem.
- 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
- Dot Product – Sum of component products.
- Orthogonality – Vectors are orthogonal when their dot product is 0.
- Projection – Component of one vector along another.
- Cross Product – A vector perpendicular to two vectors in 3D.
- Lines and Planes in Vector Form – Parametric and normal equations.
- Matrix Multiplication – Row-by-column products; not commutative.