title: Orthogonal complement
text: # Orthogonal complement
  
  In the mathematical fields of linear algebra and functional analysis, the orthogonal complement of a subspace W of a vector space V equipped with a bilinear form B is the set $W^⊥$ of all vectors in V that are orthogonal to every vector in W. Informally, it is called the perp, short for perpendicular complement. It is a subspace of V.
  
  ## Example
  
  Let $V=(\mathbb {R} ^{5},\langle \cdot ,\cdot \rangle )$ be the vector space equipped with the usual dot product $\langle \cdot ,\cdot \rangle$ (thus making it an inner product space), and let
  
  $W=\{u\in V:Ax=u,\ x\in \mathbb {R} ^{2}\},$
  
  with
  
  $A={\begin{pmatrix}1&0\\0&1\\2&6\\3&9\\5&3\\\end{pmatrix}}.$
  
  then its orthogonal complement
  
  $W^{\perp }=\{v\in V:\langle u,v\rangle =0,\ \forall u\in W\}$
  
  can also be defined as
  
  $W^{\perp }=\{v\in V:{\tilde {A}}y=v,\ y\in \mathbb {R} ^{3}\},$
  
  being
  
  ${\tilde {A}}={\begin{pmatrix}-2&-3&-5\\-6&-9&-3\\1&0&0\\0&1&0\\0&0&1\end{pmatrix}}.$
  
  The fact that every column vector in $A$ is orthogonal to every column vector in ${\tilde {A}}$ can be checked by direct computation. The fact that the spans of these vectors are orthogonal then follows by bilinearity of the dot product. Finally, the fact that these spaces are orthogonal complements follows from the dimension relationships given below.
  
  ## General bilinear forms
  
  Let $V$ be a vector space over a field $F$ equipped with a bilinear form $B.$ We define $u$ to be left-orthogonal to $v$, and $v$ to be right-orthogonal to $u,$ when $B(u,v)=0.$ For a subset $W$ of $V,$ define the left orthogonal complement $W^{\bot }$ to be
  
  $W^{\bot }=\left\{x\in V:B(x,y)=0{\text{ for all }}y\in W\right\}.$
  
  There is a corresponding definition of right orthogonal complement. For a reflexive bilinear form, where $B(u,v)=0$ implies $B(v,u)=0$ for all $u$ and $v$ in $V,$ the left and right complements coincide. This will be the case if $B$ is a symmetric or an alternating form.
  
  The definition extends to a bilinear form on a free module over a commutative ring, and to a sesquilinear form extended to include any free module over a commutative ring with conjugation.
  
  ### Properties
  
  * An orthogonal complement is a subspace of $V$;
  * If $X\subseteq Y$ then $X^{\bot }\supseteq Y^{\bot }$;
  * The radical $V^{\bot }$ of $V$ is a subspace of every orthogonal complement;
  * $W\subseteq (W^{\bot })^{\bot }$;
  * If $B$ is non-degenerate and $V$ is finite-dimensional, then $\dim(W)+\dim(W^{\bot })=\dim V.$
  * If $L_{1},\ldots ,L_{r}$ are subspaces of a finite-dimensional space $V$ and $L_{*}=L_{1}\cap \cdots \cap L_{r},$ then $L_{*}^{\bot }=L_{1}^{\bot }+\cdots +L_{r}^{\bot }.$
  
  ## Inner product spaces
  
  This section considers orthogonal complements in an inner product space $H.$ Two vectors $x$ and $y$ are called orthogonal if $\langle x,y\rangle =0,$ which happens if and only if $\|x\|\leq \|x+sy\|$ for all scalars $s.$ If $C$ is any subset of an inner product space $H$ then its orthogonal complement in $H$ is the vector subspace
  
  ${\begin{alignedat}{4}C^{\bot }:&=\{x\in H:\langle x,c\rangle =0{\text{ for all }}c\in C\}\\&=\{x\in H:\langle c,x\rangle =0{\text{ for all }}c\in C\}\end{alignedat}}$
  
  which is always a closed subset of $H$ that satisfies $C^{\bot }=\left(\operatorname {cl} _{H}\left(\operatorname {span} C\right)\right)^{\bot }$ and also $C^{\bot }\cap \operatorname {cl} _{H}\left(\operatorname {span} C\right)=\{0\}$ and $\operatorname {cl} _{H}\left(\operatorname {span} C\right)\subseteq \left(C^{\bot }\right)^{\bot }.$ If $C$ is a vector subspace of an inner product space $H$ then
  
  $C^{\bot }=\left\{x\in H:\|x\|\leq \|x+c\|{\text{ for all }}c\in C\right\}.$
  
  If $C$ is a closed vector subspace of a Hilbert space $H$ then
  
  $H=C\oplus C^{\bot }\qquad {\text{ and }}\qquad \left(C^{\bot }\right)^{\bot }=C$
  
  where $H=C\oplus C^{\bot }$ is called the orthogonal decomposition of $H$ into $C$ and $C^{\bot }$ and it indicates that $C$ is a complemented subspace of $H$ with complement $C^{\bot }.$
  
  ### Properties
  
  The orthogonal complement is always closed in the metric topology. In finite-dimensional spaces, that is merely an instance of the fact that all subspaces of a vector space are closed. In infinite-dimensional Hilbert spaces, some subspaces are not closed, but all orthogonal complements are closed. If $W$ is a vector subspace of an inner product space the orthogonal complement of the orthogonal complement of $W$ is the closure of $W,$ that is,
  
  $\left(W^{\bot }\right)^{\bot }={\overline {W}}.$
  
  Some other useful properties that always hold are the following. Let $H$ be a Hilbert space and let $X$ and $Y$ be its linear subspaces. Then:
  
  * $X^{\bot }={\overline {X}}^{\bot }$;
  * if $Y\subseteq X$ then $X^{\bot }\subseteq Y^{\bot }$;
  * $X\cap X^{\bot }=\{0\}$;
  * $X\subseteq (X^{\bot })^{\bot }$;
  * if $X$ is a closed linear subspace of $H$ then $(X^{\bot })^{\bot }=X$;
  * if $X$ is a closed linear subspace of $H$ then $H=X\oplus X^{\bot },$ the (inner) direct sum.
  
  The orthogonal complement generalizes to the annihilator, and gives a Galois connection on subsets of the inner product space, with associated closure operator the topological closure of the span.
  
  ### Finite dimensions
  
  For a finite-dimensional inner product space of dimension $n,$ the orthogonal complement of a $k$-dimensional subspace is an $(n-k)$-dimensional subspace, and the double orthogonal complement is the original subspace:
  
  $\left(W^{\bot }\right)^{\bot }=W.$
  
  If $A$ is an $m\times n$ matrix, where $\operatorname {Row} A,$ $\operatorname {Col} A,$ and $\operatorname {Null} A$ refer to the row space, column space, and null space of $A$ (respectively), then
  
  $\left(\operatorname {Row} A\right)^{\bot }=\operatorname {Null} A\qquad {\text{ and }}\qquad \left(\operatorname {Col} A\right)^{\bot }=\operatorname {Null} A^{\operatorname {T} }.$
  
  ## Banach spaces
  
  There is a natural analog of this notion in general Banach spaces. In this case one defines the orthogonal complement of W to be a subspace of the dual of V defined similarly as the annihilator
  
  $W^{\bot }=\left\{x\in V^{*}:\forall y\in W,x(y)=0\right\}.$
  
  It is always a closed subspace of $V^∗.$ There is also an analog of the double complement property. $W^{⊥⊥}$ is now a subspace of $V^{∗∗}$ (which is not identical to V). However, the reflexive spaces have a natural isomorphism i between V and $V^{∗∗}.$ In this case we have
  
  $i{\overline {W}}=W^{\bot \,\bot }.$
  
  This is a rather straightforward consequence of the Hahn–Banach theorem.
  
  ## Applications
  
  In special relativity the orthogonal complement is used to determine the simultaneous hyperplane at a point of a world line. The bilinear form η used in Minkowski space determines a pseudo-Euclidean space of events. The origin and all events on the light cone are self-orthogonal. When a time event and a space event evaluate to zero under the bilinear form, then they are hyperbolic-orthogonal. This terminology stems from the use of two conjugate hyperbolas in the pseudo-Euclidean plane: conjugate diameters of these hyperbolas are hyperbolic-orthogonal.
  
  