Mathwords logoMathwords

Perpendicular Vector — Definition, Formula & Examples

A perpendicular vector is a vector that forms a 90° angle with another given vector. Two vectors are perpendicular (also called orthogonal) when their dot product equals zero.

Two vectors a\mathbf{a} and b\mathbf{b} in Rn\mathbb{R}^n are perpendicular if and only if ab=0\mathbf{a} \cdot \mathbf{b} = 0, where ab\mathbf{a} \cdot \mathbf{b} denotes the dot product. A perpendicular vector to a\mathbf{a} is any nonzero vector b\mathbf{b} satisfying this condition.

Key Formula

ab=a1b1+a2b2++anbn=0\mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + \cdots + a_n b_n = 0
Where:
  • a,b\mathbf{a}, \mathbf{b} = Two vectors in \mathbb{R}^n
  • ai,bia_i, b_i = The corresponding components of each vector

How It Works

To check whether two vectors are perpendicular, compute their dot product. If the result is zero, the vectors are perpendicular. To find a perpendicular vector in 2D, you can swap the components of the original vector and negate one of them: if a=(a1,a2)\mathbf{a} = (a_1, a_2), then (a2,a1)(-a_2, a_1) is perpendicular to a\mathbf{a}. In 3D, the cross product a×b\mathbf{a} \times \mathbf{b} produces a vector perpendicular to both a\mathbf{a} and b\mathbf{b}.

Worked Example

Problem: Determine whether a=(3,2,1)\mathbf{a} = (3, -2, 1) and b=(1,1,1)\mathbf{b} = (1, 1, -1) are perpendicular.
Compute the dot product: Multiply corresponding components and add the results.
ab=(3)(1)+(2)(1)+(1)(1)=321=0\mathbf{a} \cdot \mathbf{b} = (3)(1) + (-2)(1) + (1)(-1) = 3 - 2 - 1 = 0
Interpret the result: Since the dot product equals zero, the two vectors are perpendicular.
Answer: a\mathbf{a} and b\mathbf{b} are perpendicular because ab=0\mathbf{a} \cdot \mathbf{b} = 0.

Why It Matters

Perpendicular vectors are central to constructing coordinate systems, defining normal directions to surfaces, and projecting one vector onto another. In physics and engineering, normal vectors determine how light reflects off surfaces and how forces decompose into independent components. Linear algebra courses rely heavily on orthogonality when building orthonormal bases and performing Gram-Schmidt orthogonalization.

Common Mistakes

Mistake: Assuming two vectors must have the same magnitude to be perpendicular.
Correction: Perpendicularity depends only on direction, not magnitude. Vectors of any length can be perpendicular as long as their dot product is zero.