Skip to content

Orthogonal Vectors

Definition

Two vectors x\boldsymbol{x} and y\boldsymbol{y} are orthogonal if their inner product is zero: x⋅y=0\boldsymbol{x}\cdot \boldsymbol{y}=0.


Interpretation

Two nonzero orthogonal vectors meet at a right angle in Euclidean geometry. The inner product turns this geometric condition into a computation: instead of measuring an angle, multiply matching coordinates, add, and check whether the result is 00.

The vectors x = (3, 1) and y = (-1, 3) on a grid, meeting at a right angle at the origin, since their dot product is 0.

The vectors x=(3,1)\boldsymbol{x}=(3,1) and y=(−1,3)\boldsymbol{y}=(-1,3) in the figure satisfy x⋅y=3⋅(−1)+1⋅3=0\boldsymbol{x}\cdot\boldsymbol{y}=3\cdot(-1)+1\cdot3=0, so the angle between them is 90∘90^\circ. Here y\boldsymbol{y} is x\boldsymbol{x} turned a quarter turn; in R2\mathbb{R}^2 the vectors (a,b)(a,b) and (−b,a)(-b,a) are always orthogonal. Pythagoras holds as well: x+y=(2,4)\boldsymbol{x}+\boldsymbol{y}=(2,4) has ∥x+y∥2=20=10+10=∥x∥2+∥y∥2\|\boldsymbol{x}+\boldsymbol{y}\|^2=20=10+10=\|\boldsymbol{x}\|^2+\|\boldsymbol{y}\|^2.

Turn y\boldsymbol{y} until x⋅y=0\boldsymbol{x}\cdot \boldsymbol{y}=0, or press the button: for two nonzero vectors, the shadow of x\boldsymbol{x} on the line of y\boldsymbol{y} disappears and they meet at a right angle. A zero vector is also orthogonal by definition, but has no angle.

The link with Pythagoras holds in every dimension. Expanding gives ∥x+y∥2=∥x∥2+2 x⋅y+∥y∥2\|\boldsymbol{x}+\boldsymbol{y}\|^2=\|\boldsymbol{x}\|^2+2\,\boldsymbol{x}\cdot\boldsymbol{y}+\|\boldsymbol{y}\|^2, so the Euclidean norms add in squares exactly when x⋅y=0\boldsymbol{x}\cdot\boldsymbol{y}=0. The definition also covers the zero vector: it is orthogonal to every vector, and it is the only vector orthogonal to itself, because x⋅x=∥x∥2\boldsymbol{x}\cdot\boldsymbol{x}=\|\boldsymbol{x}\|^2. A right angle only makes sense for nonzero vectors.

Orthogonality defines the normal vector of a plane, and the shortest distance from a point to a line is measured along the perpendicular. It returns later in orthonormal bases, bases of mutually orthogonal vectors of length 11.

Orthogonal should not be confused with linearly independent. Nonzero vectors that are pairwise orthogonal are always independent, but independent vectors need not be orthogonal: (1,0)(1,0) and (1,1)(1,1) are independent, with inner product 11.


Key Results

  • Orthogonality is equivalent to a 90∘90^\circ angle for nonzero real vectors.
  • If y\boldsymbol{y} has unit length, then x⋅y\boldsymbol{x}\cdot \boldsymbol{y} gives the signed length of the projection of x\boldsymbol{x} onto y\boldsymbol{y}.

Examples

  • (1,0)(1,0) and (0,1)(0,1) are orthogonal.
  • (1,1)(1,1) and (1,−1)(1,-1) are orthogonal.

Prerequisites

Sources

Aliases: perpendicular vectors Keywords: orthogonality Symbols: real numbers

Last updated: 27 October 2026 11:52