Back to Linear Algebra

Orthogonal Projection Into a Line

Dropping a perpendicular onto the span of one vector, with the dot-product coefficient that splits a vector into along and across parts.

Linear Algebra, Orthogonal Projection Into a Line

Status
FlagsLoading your progress…

15 exercises

Exercise 1

Project the first vector orthogonally into the line spanned by the second vector.

  • (a)  (21)\begin{pmatrix}2\\ 1\end{pmatrix}, (3−2)\begin{pmatrix}3\\ -2\end{pmatrix}     (b)  (21)\begin{pmatrix}2\\ 1\end{pmatrix}, (30)\begin{pmatrix}3\\ 0\end{pmatrix}     (c)  (114)\begin{pmatrix}1\\ 1\\ 4\end{pmatrix}, (12−1)\begin{pmatrix}1\\ 2\\ -1\end{pmatrix}     (d)  (114)\begin{pmatrix}1\\ 1\\ 4\end{pmatrix}, (3312)\begin{pmatrix}3\\ 3\\ 12\end{pmatrix}

3.0

Exercise 2

Project the vector orthogonally into the line.

  • (a)  (2−14), {c(−31−3)∣c∈R}\begin{pmatrix}2\\ -1\\ 4\end{pmatrix},~{}\text{$\{\hskip 1.00006ptc\begin{pmatrix}-3\\ 1\\ -3\end{pmatrix}\mid c\in\mathbb{R}\hskip 1.00006pt\}$}     (b)  (−1−1)\begin{pmatrix}-1\\ -1\end{pmatrix}, the line y=3xy=3x

3.0

Exercise 3

Although pictures guided our development of Definition 1.1, we are not restricted to spaces that we can draw. In R4\mathbb{R}^{4} project this vector into this line.

3.0

Exercise 4

Definition 1.1 uses two vectors s⃗\vec{s} and v⃗\vec{v}. Consider the transformation of R2\mathbb{R}^{2} resulting from fixing

and projecting v⃗\vec{v} into the line that is the span of s⃗\vec{s}. Apply it to these vectors.

  • (a)  (12)\begin{pmatrix}1\\ 2\end{pmatrix}     (b)  (04)\begin{pmatrix}0\\ 4\end{pmatrix}

Show that in general the projection transformation is this.

Express the action of this transformation with a matrix.

3.0

Exercise 5

Example 1.4 suggests that projection breaks v⃗\vec{v} into two parts, proj[s⃗ ](v⃗ )\text{proj}_{[\vec{s}\,]}({\vec{v}\,}) and v⃗−proj[s⃗ ](v⃗ )\vec{v}-\text{proj}_{[\vec{s}\,]}({\vec{v}\,}), that are non-interacting. Recall that the two are orthogonal. Show that any two nonzero orthogonal vectors make up a linearly independent set.

3.0

Exercise 6

  • What is the orthogonal projection of v⃗\vec{v} into a line if v⃗\vec{v} is a member of that line?

  • Show that if v⃗\vec{v} is not a member of the line then the set {v⃗,v⃗−proj[s⃗ ](v⃗ )}\{\hskip 1.00006pt\vec{v},\vec{v}-\text{proj}_{[\vec{s}\,]}({\vec{v}\,})\hskip 1.00006pt\} is linearly independent.

3.0

Exercise 7

Definition 1.1 requires that s⃗ \vec{s}\, be nonzero. Why? What is the right definition of the orthogonal projection of a vector into the (degenerate) line spanned by the zero vector?

3.0

Exercise 8

Are all vectors the projection of some other vector into some line?

3.0

Exercise 9

Show that the projection of v⃗ \vec{v}\, into the line spanned by s⃗ \vec{s}\, has length equal to the absolute value of the number v⃗∙s⃗ \vec{v}\mathbin{\smash{\bullet}}\vec{s}\, divided by the length of the vector s⃗ \vec{s}\,.

3.0

Exercise 10

Find the formula for the distance from a point to a line.

3.0

Exercise 11

Find the scalar cc such that the point (cs1,cs2)(cs_{1},cs_{2}) is a minimum distance from the point (v1,v2)(v_{1},v_{2}) by using Calculus (i.e., consider the distance function, set the first derivative equal to zero, and solve). Generalize to Rn\mathbb{R}^{n}.

3.0

Exercise 12

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

3.0

Exercise 13

Prove that the orthogonal projection of a vector into a line has length less than or equal to that of the vector.

3.0

Exercise 14

Show that the definition of orthogonal projection into a line does not depend on the spanning vector: if s⃗\vec{s} is a nonzero multiple of q⃗\vec{q} then (v⃗∙s⃗/s⃗∙s⃗ )⋅s⃗(\vec{v}\mathbin{\smash{\bullet}}\vec{s}/\vec{s}\mathbin{\smash{\bullet}}\vec{s}\,)\cdot\vec{s} equals (v⃗∙q⃗/q⃗∙q⃗ )⋅q⃗(\vec{v}\mathbin{\smash{\bullet}}\vec{q}/\vec{q}\mathbin{\smash{\bullet}}\vec{q}\,)\cdot\vec{q}.

3.0

Exercise 15

Consider the function mapping the plane to itself that takes a vector to its projection into the line y=xy=x. These two each show that the map is linear, the first one in a way that is coordinate-bound (that is, it fixes a basis and then computes) and the second in a way that is more conceptual.

  • Produce a matrix that describes the function’s action.

  • Show that we can obtain this map by first rotatin…

3.0

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