AI engineering glossary · Linear algebra

What is l2 norm?

L2 norm (also called Euclidean norm): The straight-line length of a vector, found by squaring each component, adding them and taking the square root. It matches ordinary geometric distance and is used in normalisation, weight decay and Euclidean distance.

Level: beginnerTopic: Linear algebra

L2 norm: an example

||[3, 4]||_2 = sqrt(9 + 16) = 5.

Related terms

More Linear algebra terms

Where you learn it

L2 norm 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.