Linearly Independent vs. Orthogonal
A list of vectors can point in “different directions” in two senses. A set of linearly independent vectors have no redundant vectors: no vector in the list is a linear combination of the others. Orthogonal vectors are pairwise at right angles: every two different vectors in the list have inner product $0$. Linear independence is defined in every vector space, but orthogonality requires an inner product.
orthogonal and nonzero ⊂ linearly independent
Definitions
Consider a list of vectors $\vect{v}_1, \dots, \vect{v}_k$. The vectors are linearly independent if none of them can be built from the others by stretching and adding. That is, none of the vectors are a linear combination of the other vectors.
Consider vectors $\vect{v}_1, \dots, \vect{v}_k$ in a vector space. The vectors are linearly independent if the only solution of
\[c_1 \vect{v}_1 + \dots + c_k \vect{v}_k = \vect{0}\]is $c_1 = \dots = c_k = 0$.
Examples
-
The vectors $(1, 0)$ and $(1, 1)$ are linearly independent, because $a (1, 0) + b (1, 1) = (a + b, b)$ is $(0, 0)$ only when $b = 0$ and then $a = 0$.
-
The vectors $(2, 0)$ and $(0, 2)$ are linearly independent, because $a (2, 0) + b (0, 2) = (2a, 2b)$ is the zero vector only if $a = b = 0$.
Non-examplesThings that may be mistaken for examples of this term.
-
The set of all vectors in $\reals^2$ is not linearly independent, because $(2, 0)$ is a linear combination of another vector in the set: $(2, 0) = 2 (1, 0)$.
-
The vectors $(1, 0)$ and $(2, 0)$ are not linearly independent, because $(2, 0) = 2 (1, 0)$.
-
The vectors $(1, 0)$, $(0, 1)$, and $(1, 1)$ are not linearly independent, because $(1, 1) = (1, 0) + (0, 1)$.
-
The vectors $(1, 0)$ and $(0, 0)$ are not linearly independent, because $0 \cdot (1, 0) + 1 \cdot (0, 0) = (0, 0)$ is a linear combination with a nonzero coefficient that equals the zero vector.
Properties
- A set that contains the zero vector is not linearly independent, because $1 \cdot \vect{0} = \vect{0}$.
Two vectors in the plane or in space are orthogonal if the vectors meet at a right angle, which happens exactly when their dot product is $0$.
Consider an inner product space $V$. Two vectors $u, v \in V$ are orthogonal if
\[\ip{u}{v} = 0.\]A list of vectors is orthogonal if every two different vectors in the list are orthogonal.
Examples
-
The direction vectors $(1, 1)$ and $(1, -1)$ of the lines $y = x$ and $y = -x$ are orthogonal, because their dot product is $1 - 1 = 0$.
-
The $x$-axis and the line through $(0, 0, 1)$ parallel to the $y$-axis have orthogonal direction vectors $(1, 0, 0)$ and $(0, 1, 0)$, so the lines are orthogonal.
-
The vectors $(1, 0)$ and $(0, 1)$ are orthogonal, because their dot product is $1 \cdot 0 + 0 \cdot 1 = 0$.
-
The vector $(1, 1)$ is orthogonal to the direction vector $(1, -1)$ of the line $x + y = 1$, because their dot product is $1 - 1 = 0$.
-
The vectors $(2, 0)$ and $(0, 2)$ are orthogonal, because their dot product is $2 \cdot 0 + 0 \cdot 2 = 0$.
-
The functions $\sin$ and $\cos$ are orthogonal in the $L^2$ inner product on $[-\pi, \pi]$, because $\int_{-\pi}^{\pi} \sin(x) \cos(x) \dx = 0$, since the integrand is odd.
-
The vectors $(1, 0)$ and $(0, 0)$ are orthogonal, because their dot product is $1 \cdot 0 + 0 \cdot 0 = 0$.
Non-examplesThings that may be mistaken for examples of this term.
-
The vectors $(1, 0)$ and $(2, 0)$ are not orthogonal, because their dot product is $1 \cdot 2 + 0 \cdot 0 = 2$.
-
The vectors $(1, 0)$ and $(1, 1)$ are not orthogonal, because their dot product is $(1)(1) + (0)(1) = 1$.
-
The vectors $(1, 0)$, $(0, 1)$, and $(1, 1)$ are not orthogonal, because the dot product of $(1, 0)$ and $(1, 1)$ is $1$.
Properties
- The zero vector is orthogonal to every vector.
- An orthogonal list of nonzero vectors is linearly independent.
- An orthogonal list of unit vectors is called orthonormal.
Examples
| Example | linearly independent | orthogonal | Why |
|---|---|---|---|
| The vectors $(1, 0)$ and $(0, 1)$ in $\reals^2$ | ✓ | ✓ | orthogonal: The vectors $(1, 0)$ and $(0, 1)$ are orthogonal, because their dot product is $1 \cdot 0 + 0 \cdot 1 = 0$.
|
| The vectors $(1, 0)$ and $(1, 1)$ in $\reals^2$ | ✓ | ✗ | The vectors $(1, 0)$ and $(1, 1)$ show that linearly independent vectors need not be orthogonal: the vectors point in different directions, but not at a right angle. |
| The vectors $(1, 0)$ and $(0, 0)$ in $\reals^2$ | ✗ | ✓ | The vectors $(1, 0)$ and $(0, 0)$ show why orthogonal vectors must be nonzero to be linearly independent: the zero vector is orthogonal to every vector, but every list containing the zero vector is linearly dependent. |
| The vectors $(1, 0)$ and $(2, 0)$ in $\reals^2$ | ✗ | ✗ | linearly independent: The vectors $(1, 0)$ and $(2, 0)$ are not linearly independent, because $(2, 0) = 2 (1, 0)$.
orthogonal: The vectors $(1, 0)$ and $(2, 0)$ are not orthogonal, because their dot product is $1 \cdot 2 + 0 \cdot 0 = 2$.
|
Notes
- The Gram–Schmidt process turns every linearly independent list into an orthogonal list with the same span.