Back to Linear Algebra

Projection Into a Subspace

Splitting a vector along a subspace and a complement, with orthogonal complements and a formula projecting onto many dimensions at once.

Linear Algebra, Projection Into a Subspace

Status
FlagsLoading your progress…

19 exercises

Exercise 2

Find M⊥M^{\perp}.

  • (a)  M={(xy)∣x+y=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\end{pmatrix}\mid x+y=0\hskip 1.00006pt\}$}     (b)  M={(xy)∣−2x+3y=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\end{pmatrix}\mid-2x+3y=0\hskip 1.00006pt\}$}     (c)  M={(xy)∣x−y=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\end{pmatrix}\mid x-y=0\hskip 1.00006pt\}$}     (d)  M={0⃗ }M=\text{$\{\hskip 1.00006pt\vec{0}\,\hskip 1.00006pt\}$}     (e)  M={(xy)∣x=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\end{pmatrix}\mid x=0\hskip 1.00006pt\}$}     (f)  M={(xyz)∣−x+3y+z=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\\ z\end{pmatrix}\mid-x+3y+z=0\hskip 1.00006pt\}$}     (g)  M={(xyz)∣x=0 and y+z=0}M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\\ z\end{pmatrix}\mid\text{$x=0$ and $y+z=0$}\hskip 1.00006pt\}$}

3.0

Exercise 3

Find the orthogonal projection of the vector into the subspace.

3.0

Exercise 4

With the same subspace as in the prior problem, find the orthogonal projection of this vector.

3.0

Exercise 5

Let p⃗\vec{p} be the orthogonal projection of v⃗∈Rn\vec{v}\in\mathbb{R}^{n} onto a subspace SS. Show that p⃗\vec{p} is the point in the subspace closest to v⃗\vec{v}.

3.0

Exercise 6

This subsection shows how to project orthogonally in two ways, the method of Example 3.2 and 3.3, and the method of Theorem 3.8. To compare them, consider the plane PP specified by 3x+2y−z=03x+2y-z=0 in R3\mathbb{R}^{3}.

  • Find a basis for PP.

  • Find P⊥P^{\perp} and a basis for P⊥P^{\perp}.

  • Represent this vector with respect to the concatenation of the two bases from the prior item.

  • Find the orthogonal projection of v⃗\vec{v} into PP by keeping only the

3.0

Exercise 7

We have three ways to find the orthogonal projection of a vector into a line, the Definition 1.1 way from the first subsection of this section, the Example 3.2 and 3.3 way of representing the vector with respect to a basis for the space and then keeping the MM part, and the way of Theorem 3.8. For these cases, do all three ways.

  • v⃗=(1−3),M={(xy)∣x+y=0}\vec{v}=\begin{pmatrix}1\\ -3\end{pmatrix},\quad M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\end{pmatrix}\mid x+y=0\hskip 1.00006pt\}$}

  • v⃗=(012),M={(xyz)∣x+z=0 and y=0}\vec{v}=\begin{pmatrix}0\\ 1\\ 2\end{pmatrix},\quad M=\text{$\{\hskip 1.00006pt\begin{pmatrix}x\\ y\\ z\end{pmatrix}\mid\text{$x+z=0$ and $y=0$}\hskip 1.00006pt\}$}

3.0

Exercise 8

Check that the operation of Definition 3.1 is well-defined. That is, in Example 3.2 and 3.3, doesn’t the answer depend on the choice of bases?

3.0

Exercise 9

What is the orthogonal projection into the trivial subspace?

3.0

Exercise 10

What is the projection of v⃗\vec{v} into MM along NN if v⃗∈M\vec{v}\in M?

3.0

Exercise 11

Show that if M⊆RnM\subseteq\mathbb{R}^{n} is a subspace with orthonormal basis ⟨κ⃗1,…,κ⃗n⟩\langle\vec{\kappa}_{1},\ldots,\vec{\kappa}_{n}\rangle then the orthogonal projection of v⃗\vec{v} into MM is this.

3.0

Exercise 12

Prove that the map p ⁣:V→Vp\colon V\to V is the projection into MM along NN if and only if the map id⁡−p\operatorname{id}-p is the projection into NN along MM. (Recall the definition of the difference of two maps: (id⁡−p) (v⃗)=id⁡(v⃗)−p(v⃗)=v⃗−p(v⃗)(\operatorname{id}-p)\,(\vec{v})=\operatorname{id}(\vec{v})-p(\vec{v})=\vec{v}-p(\vec{v}).)

3.0

Exercise 13

Show that if a vector is perpendicular to every vector in a set then it is perpendicular to every vector in the span of that set.

3.0

Exercise 14

True or false: the intersection of a subspace and its orthogonal complement is trivial.

3.0

Exercise 15

Show that the dimensions of orthogonal complements add to the dimension of the entire space.

3.0

Exercise 16

Suppose that v⃗1,v⃗2∈Rn\vec{v}_{1},\vec{v}_{2}\in\mathbb{R}^{n} are such that for all complements M,N⊆RnM,N\subseteq\mathbb{R}^{n}, the projections of v⃗1\vec{v}_{1} and v⃗2\vec{v}_{2} into MM along NN are equal. Must v⃗1\vec{v}_{1} equal v⃗2\vec{v}_{2}? (If so, what if we relax the condition to: all orthogonal projections of the two are equal?)

3.0

Exercise 17

Let M,NM,N be subspaces of Rn\mathbb{R}^{n}. The perp operator acts on subspaces; we can ask how it interacts with other such operations.

  • Show that two perps cancel: (M⊥)⊥=M(M^{\perp})^{\perp}=M.

  • Prove that M⊆NM\subseteq N implies that N⊥⊆M⊥N^{\perp}\subseteq M^{\perp}.

  • Show that (M+N)⊥=M⊥∩N⊥(M+N)^{\perp}=M^{\perp}\cap N^{\perp}.

3.0

Exercise 18

The material in this subsection allows us to express a geometric relationship that we have not yet seen between the range space and the null space of a linear map.

  • Represent f ⁣:R3→Rf\colon\mathbb{R}^{3}\to\mathbb{R} given by

    with respect to the standard bases and show that

    is a member of the perp of the null space. Prove that N(f)⊥\mathscr{N}(f)^{\perp} is equal to the span of this vector.

  • Generalize that to apply to any f ⁣:Rn→Rf\colon\mathbb{R}^{n}\to\mathbb{R}.

  • Represent f ⁣:R3→R2f\colon\mathbb{R}^{3}\to\mathbb{R}^{2}

    with respect to t…

3.0

Exercise 19

Define a projection to be a linear transformation t ⁣:V→Vt\colon V\to V with the property that repeating the projection does nothing more than does the projection alone: (t∘t) (v⃗)=t(v⃗)(t\mathbin{\circ}t)\,(\vec{v})=t(\vec{v}) for all v⃗∈V\vec{v}\in V.

  • Show that orthogonal projection into a line has that property.

  • Show that projection along a subspace has that property.

  • Show that for any such tt there is a basis B=⟨β⃗1,…,β⃗n⟩B=\langle\vec{\beta}_{1},\ldots,\vec{\beta}_{n}\rangle for VV such that

    where rr is the rank of tt.

  • Conclude that every pr…

3.0

Exercise 20

A square matrix is symmetric if each i,ji,j entry equals the j,ij,i entry (i.e., if the matrix equals its transpose). Show that the projection matrix A(ATA)−1ATA({{A}^{\mathsf{T}}}A)^{-1}{{A}^{\mathsf{T}}} is symmetric. Hint. Find properties of transposes by looking in the index under ‘transpose’.

3.0

Adapted from Linear Algebra © 2016 Jim Hefferon. Licensed under CC BY-SA 3.0 US. Source: Linear Algebra. Imported at revision df2262e.