AI engineering glossary · Linear algebra

What is unit vector?

Unit vector (also called Normalised vector): A vector whose length equals exactly 1. Any non-zero vector can be turned into one by dividing it by its own norm, which keeps its direction but removes its magnitude; this is common before comparing embeddings.

Level: beginnerTopic: Linear algebra

Unit vector: an example

[3, 4] divided by its length 5 gives the unit vector [0.6, 0.8].

Related terms

More Linear algebra terms

Where you learn it

Unit vector is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.