Orthogonal complement of a subspace
Let
be a subspace of
. The orthogonal complement of
, denoted
, is the subspace of
that contains the vectors orthogonal to all the vectors in
. If the subspace is described as the range of a matrix:
![]()
then the orthogonal complement is the set of vectors orthogonal to the rows of
, which is the nullspace of
.
Example: Consider the line in
passing through the origin and generated by the vector
. This is a subspace of dimension 1:
![Rendered by QuickLaTeX.com \[ S = \left\{ tu \: : \: t \in \mathbb{R} \right\} = \left\{ \left( \begin{array}{c} t \\ 2t \\ 3t \end{array} \right) \: : \: t \in \mathbb{R} \right\}. \]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-b2b5d0760ebef92a2bee1382c459f112_l3.png)
To find the orthogonal complement, we find the set of vectors that are orthogonal to any vector of the form
, with arbitrary
. This is the same set as the set of vectors orthogonal to
itself. So, we solve for
with
:
![]()
This is equivalent to
. This equation characterizes the elements of the orthogonal complement
, in the sense that any
can be written as
![Rendered by QuickLaTeX.com \[ x = \left( \begin{array}{c} -2\alpha - 3\beta \\ \alpha \\ \beta \end{array} \right) = \alpha u + \beta v, \]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ecdd1a7bf3d18cb3c1c7e8e90f2ab87e_l3.png)
for some scalars
, where
![Rendered by QuickLaTeX.com \[ u = \left( \begin{array}{c} -2 \\ 1 \\ 0 \end{array} \right), \quad v = \left( \begin{array}{c} -3 \\ 0 \\ 1 \end{array} \right). \]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-cc91f2854ab75a1fac25b159952acd40_l3.png)
The orthogonal complement is thus the span of the vectors
:
![]()