Skip to main content

Section8.2Orthogonal Complements

Objectives
  1. Understand the basic properties of orthogonal complements.
  2. Learn to compute the orthogonal complement of a subspace.
  3. Recipes: shortcuts for computing the orthogonal complements of common subspaces.
  4. Picture: orthogonal complements in R2 and R3.
  5. Theorem: row rank equals column rank.
  6. Vocabulary: orthogonal complement, row space.

It will be important to compute the set of all vectors that are orthogonal to a given set of vectors. It turns out that a vector is orthogonal to a set of vectors if and only if it is orthogonal to the span of those vectors, which is a subspace, so we restrict ourselves to the case of subspaces.

Subsection8.2.1Definition of the Orthogonal Complement

Taking the orthogonal complement is an operation that is performed on subspaces.

Definition

Let W be a subspace of Rn. Its orthogonal complement is the subspace

W=AvinRn|v·w=0forallwinWB.

The symbol W is sometimes read W perp.”

This is the set of all vectors v in Rn that are orthogonal to all of the vectors in W. We will show below that W is indeed a subspace.

Note

We now have two similar-looking pieces of notation:

ATisthetransposeofamatrixA.WistheorthogonalcomplementofasubspaceW.

Try not to confuse the two.

Pictures of orthogonal complements

The orthogonal complement of a line W through the origin in R2 is the perpendicular line W.

WW

The orthogonal complement of a line W in R3 is the perpendicular plane W.

WW

The orthogonal complement of a plane W in R3 is the perpendicular line W.

WW

We see in the above pictures that (W)=W.

Example

The orthogonal complement of Rn is {0}, since the zero vector is the only vector that is orthogonal to all of the vectors in Rn.

For the same reason, we have {0}=Rn.

Subsection8.2.2Computing Orthogonal Complements

Since any subspace is a span, the following proposition gives a recipe for computing the orthogonal complement of any subspace. However, below we will give several shortcuts for computing the orthogonal complements of other common kinds of subspaces–in particular, null spaces. To compute the orthogonal complement of a general subspace, usually it is best to rewrite the subspace as the column space or null space of a matrix, as in this important note in Section 3.3.

Since column spaces are the same as spans, we can rephrase the proposition as follows. Let v1,v2,...,vm be vectors in Rn, and let W=Span{v1,v2,...,vm}. Then

W=Aallvectorsorthogonaltoeachv1,v2,...,vmB=NulFQQOvT1vT2...vTmGRRP.

Again, it is important to be able to go easily back and forth between spans and column spaces. If you are handed a span, you can apply the proposition once you have rewritten your span as a column space.

By the proposition, computing the orthogonal complement of a span means solving a system of linear equations. For example, if

v1=D172Ev2=D231E

then Span{v1,v2} is the solution set of the homogeneous linear system associated to the matrix

SvT1vT2T=S172231T.

This is the solution set of the system of equations

Ux1+7x2+2x3=02x1+3x2+x3=0.

In order to find shortcuts for computing orthogonal complements, we need the following basic facts. Looking back the above examples, all of these facts should be believable.

See these paragraphs  for pictures of the second property. As for the third: for example, if W is a (2 -dimensional) plane in R4, then W is another (2 -dimensional) plane. Explicitly, we have

SpanAe1,e2B=HNLNJFQOxyzwGRPinR4CCCCFQOxyzwGRP·FQO1000GRP=0andFQOxyzwGRPFQO0100GRP=0INMNK=HNLNJFQO00zwGRPinR4INMNK=SpanAe3,e4}:

the orthogonal complement of the xy -plane is the zw -plane.

Definition

The row space of a matrix A is the span of the rows of A, and is denoted Row(A).

If A is an m×n matrix, then the rows of A are vectors with n entries, so Row(A) is a subspace of Rn. Equivalently, since the rows of A are the columns of AT, the row space of A is the column space of AT:

Row(A)=Col(AT).

We showed in the above proposition that if A has rows vT1,vT2,...,vTm, then

Row(A)=Span{v1,v2,...,vm}=Nul(A).

Taking orthogonal complements of both sides and using the final fact gives

Row(A)=Nul(A).

Replacing A by AT and remembering that Row(A)=Col(AT) gives

Col(A)=Nul(AT)andCol(A)=Nul(AT).

To summarize:

Recipes: Shortcuts for computing orthogonal complements

For any vectors v1,v2,...,vm, we have

Span{v1,v2,...,vm}=NulFQQOvT1vT2...vTmGRRP.

For any matrix A, we have

Row(A)=Nul(A)Nul(A)=Row(A)Col(A)=Nul(AT)Nul(AT)=Col(A).

As mentioned in the beginning of this subsection, in order to compute the orthogonal complement of a general subspace, usually it is best to rewrite the subspace as the column space or null space of a matrix.

Subsection8.2.3Row rank and column rank

Suppose that A is an m×n matrix. Let us refer to the dimensions of Col(A) and Row(A) as the row rank and the column rank of A (note that the column rank of A is the same as the rank of A ). The next theorem says that the row and column ranks are the same. This is surprising for a couple of reasons. First, Row(A) lies in Rn and Col(A) lies in Rm. Also, the theorem implies that A and AT have the same number of pivots, even though the reduced row echelon forms of A and AT have nothing to do with each other otherwise.

Proof

In particular, by this corollary in Section 3.4 both the row rank and the column rank are equal to the number of pivots of A.