Inner products & orthogonality

norm

The norm of a vector is simply its length: how far its tip sits from the origin. It is written ||v||. For the arrow (3,4), the norm is 5, the very hypotenuse the Pythagorean theorem gives you.

It comes straight from the dot product: ||v|| = sqrt(v . v) = sqrt(sum of the squares of the coordinates). You square each coordinate, add them up, and take the square root, which is Pythagoras working in any number of dimensions.

A norm is always zero or positive, and it is zero only for the zero vector. Dividing a vector by its own norm shrinks it to length 1 without changing its direction, a move called normalizing.

||(3,4)|| = sqrt(3^2 + 4^2) = sqrt(9 + 16) = sqrt(25) = 5

The norm is Pythagoras: square, add, square-root.

A unit vector is one whose norm equals 1; you make one by dividing any nonzero vector by its norm.

Also called
lengthmagnitudevector length长度長度模長