Linear Algebra Quiz: Projections And Decompositions
20 questions · exam conditions
0:00
Projections And DecompositionsQuestion 1 of 20

Let WW be the plane in R3\mathbb{R}^3 spanned by the vectors u1=(110)\vec{u}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and u2=(121)\vec{u}_2 = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}. Let y=(006)\vec{y} = \begin{pmatrix} 0 \\ 0 \\ 6 \end{pmatrix}. Find the orthogonal projection of y\vec{y} onto WW.

(121)\begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
(222)\begin{pmatrix} 2 \\ -2 \\ 2 \end{pmatrix}
(224)\begin{pmatrix} -2 \\ 2 \\ 4 \end{pmatrix}
(224)\begin{pmatrix} 2 \\ -2 \\ -4 \end{pmatrix}
← Back to quizzes

Linear Algebra Quiz

Linear Algebra Quiz: Projections And Decompositions

Practice Projections And Decompositions in Linear Algebra with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Projections And Decompositions, giving you a quick way to practice the rules, question types, and explanations that matter most for Linear Algebra.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

Let WW be the plane in R3\mathbb{R}^3 spanned by the vectors u1=(110)\vec{u}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and u2=(121)\vec{u}_2 = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}. Let y=(006)\vec{y} = \begin{pmatrix} 0 \\ 0 \\ 6 \end{pmatrix}. Find the orthogonal projection of y\vec{y} onto WW.

  1. (121)\begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
  2. (222)\begin{pmatrix} 2 \\ -2 \\ 2 \end{pmatrix}
  3. (224)\begin{pmatrix} -2 \\ 2 \\ 4 \end{pmatrix} (correct answer)
  4. (224)\begin{pmatrix} 2 \\ -2 \\ -4 \end{pmatrix}
Explanation: The basis vectors u1\vec{u}_1 and u2\vec{u}_2 are not orthogonal, since u1u2=1+2+0=30\vec{u}_1 \cdot \vec{u}_2 = 1+2+0 = 3 \neq 0. Therefore, we cannot use the simple sum-of-projections formula directly. A correct method is to find the orthogonal complement WW^\perp, project y\vec{y} onto it, and subtract this from y\vec{y}.
  1. Find a basis for WW^\perp. The vector n=u1×u2\vec{n} = \vec{u}_1 \times \vec{u}_2 is orthogonal to both u1\vec{u}_1 and u2\vec{u}_2 and thus spans WW^\perp. n=(110)×(121)=((1)(1)(0)(2)(0)(1)(1)(1)(1)(2)(1)(1))=(111)\vec{n} = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} \times \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} = \begin{pmatrix} (1)(1) - (0)(2) \\ (0)(1) - (1)(1) \\ (1)(2) - (1)(1) \end{pmatrix} = \begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix}.
  2. Project y\vec{y} onto WW^\perp (which is the line spanned by n\vec{n}): projW(y)=ynnnn=(0)(1)+(0)(1)+(6)(1)(1)2+(1)2+(1)2n=63n=2(111)=(222)\text{proj}_{W^\perp}(\vec{y}) = \frac{\vec{y} \cdot \vec{n}}{\vec{n} \cdot \vec{n}}\vec{n} = \frac{(0)(1) + (0)(-1) + (6)(1)}{(1)^2 + (-1)^2 + (1)^2}\vec{n} = \frac{6}{3}\vec{n} = 2\begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix} = \begin{pmatrix} 2 \\ -2 \\ 2 \end{pmatrix}.
  3. The projection onto WW is projW(y)=yprojW(y)\text{proj}_W(\vec{y}) = \vec{y} - \text{proj}_{W^\perp}(\vec{y}). projW(y)=(006)(222)=(224)\text{proj}_W(\vec{y}) = \begin{pmatrix} 0 \\ 0 \\ 6 \end{pmatrix} - \begin{pmatrix} 2 \\ -2 \\ 2 \end{pmatrix} = \begin{pmatrix} -2 \\ 2 \\ 4 \end{pmatrix}.
(A) is incorrect; this is the result of incorrectly applying the projection formula for an orthogonal basis. (B) is incorrect; this is the projection onto the orthogonal complement WW^\perp, not onto WW. (D) is incorrect; this results from a sign error, calculating projW(y)y\text{proj}_{W^\perp}(\vec{y}) - \vec{y}.

Question 2

Let WW be a subspace of R4\mathbb{R}^4. Suppose a vector y\vec{y} is decomposed as y=w+z\vec{y} = \vec{w} + \vec{z}, where w\vec{w} is in WW and z\vec{z} is in WW^\perp. If w=(1021)\vec{w} = \begin{pmatrix} 1 \\ 0 \\ 2 \\ -1 \end{pmatrix} and z=(2311)\vec{z} = \begin{pmatrix} 2 \\ 3 \\ -1 \\ -1 \end{pmatrix}, what is projW(y)\text{proj}_W(\vec{y})?

  1. (1021)\begin{pmatrix} 1 \\ 0 \\ 2 \\ -1 \end{pmatrix} (correct answer)
  2. (2311)\begin{pmatrix} 2 \\ 3 \\ -1 \\ -1 \end{pmatrix}
  3. (3312)\begin{pmatrix} 3 \\ 3 \\ 1 \\ -2 \end{pmatrix}
  4. (7/607/37/6)\begin{pmatrix} 7/6 \\ 0 \\ 7/3 \\ -7/6 \end{pmatrix}
Explanation: The Orthogonal Decomposition Theorem states that any vector y\vec{y} can be uniquely decomposed into the sum of a vector in a subspace WW and a vector in its orthogonal complement WW^\perp. This decomposition is given by y=projW(y)+z\vec{y} = \text{proj}_W(\vec{y}) + \vec{z}_{\perp}, where projW(y)\text{proj}_W(\vec{y}) is in WW and z\vec{z}_{\perp} is in WW^\perp. The problem provides such a decomposition: y=w+z\vec{y} = \vec{w} + \vec{z}, with wW\vec{w} \in W and zW\vec{z} \in W^\perp. By the uniqueness of this decomposition, we can directly identify the components: projW(y)=w\text{proj}_W(\vec{y}) = \vec{w} and the orthogonal component is z\vec{z}. Therefore, projW(y)=w=(1021)\text{proj}_W(\vec{y}) = \vec{w} = \begin{pmatrix} 1 \\ 0 \\ 2 \\ -1 \end{pmatrix}. No calculation is needed. (B) is incorrect because it is the component in WW^\perp, not the projection onto WW. (C) is incorrect because it is the vector y\vec{y} itself, which is the sum of the two components. (D) is incorrect; it is the result of overthinking the problem and incorrectly calculating the projection of y\vec{y} onto the line spanned by the single vector w\vec{w}.

Question 3

In R3\mathbb{R}^3, the orthogonal projection of the vector y=(123)\vec{y} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} onto a line WW is projW(y)=(1.51.50)\text{proj}_W(\vec{y}) = \begin{pmatrix} 1.5 \\ 1.5 \\ 0 \end{pmatrix}. What is the orthogonal projection of y\vec{y} onto the plane WW^\perp?

  1. (0.50.53)\begin{pmatrix} -0.5 \\ 0.5 \\ 3 \end{pmatrix} (correct answer)
  2. (0.50.53)\begin{pmatrix} 0.5 \\ -0.5 \\ -3 \end{pmatrix}
  3. (2.53.53)\begin{pmatrix} 2.5 \\ 3.5 \\ 3 \end{pmatrix}
  4. (1.51.50)\begin{pmatrix} 1.5 \\ 1.5 \\ 0 \end{pmatrix}
Explanation: The Orthogonal Decomposition Theorem states that any vector y\vec{y} can be written as the sum of its projection onto a subspace WW and its projection onto the orthogonal complement WW^\perp. That is: y=projW(y)+projW(y)\vec{y} = \text{proj}_W(\vec{y}) + \text{proj}_{W^\perp}(\vec{y}) We are given y\vec{y} and projW(y)\text{proj}_W(\vec{y}), and we want to find projW(y)\text{proj}_{W^\perp}(\vec{y}). We can rearrange the formula: projW(y)=yprojW(y)\text{proj}_{W^\perp}(\vec{y}) = \vec{y} - \text{proj}_W(\vec{y}) Substituting the given values: projW(y)=(123)(1.51.50)=(11.521.530)=(0.50.53)\text{proj}_{W^\perp}(\vec{y}) = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} - \begin{pmatrix} 1.5 \\ 1.5 \\ 0 \end{pmatrix} = \begin{pmatrix} 1 - 1.5 \\ 2 - 1.5 \\ 3 - 0 \end{pmatrix} = \begin{pmatrix} -0.5 \\ 0.5 \\ 3 \end{pmatrix}. (B) is incorrect because it is the result of the incorrect subtraction projW(y)y\text{proj}_W(\vec{y}) - \vec{y}. (C) is incorrect; it is the result of adding the two vectors instead of subtracting. (D) is incorrect; it is the projection onto WW, not WW^\perp.

Question 4

Let WW be the subspace of R3\mathbb{R}^3 with orthogonal basis B={u1=(110),u2=(112)}\mathcal{B} = \left\{\vec{u}_1 = \begin{pmatrix} 1 \\ -1 \\ 0 \end{pmatrix}, \vec{u}_2 = \begin{pmatrix} 1 \\ 1 \\ -2 \end{pmatrix}\right\}. Let y=(314)\vec{y} = \begin{pmatrix} 3 \\ 1 \\ 4 \end{pmatrix}. If y^=projW(y)\hat{\vec{y}} = \text{proj}_W(\vec{y}), what is the coordinate vector [y^]B[\hat{\vec{y}}]_\mathcal{B}?

  1. (24)\begin{pmatrix} 2 \\ -4 \end{pmatrix}
  2. (12/3)\begin{pmatrix} 1 \\ -2/3 \end{pmatrix} (correct answer)
  3. (1/32/32/3)\begin{pmatrix} 1/3 \\ 2/3 \\ -2/3 \end{pmatrix}
  4. (31)\begin{pmatrix} 3 \\ 1 \end{pmatrix}
Explanation: The coordinate vector [y^]B[\hat{\vec{y}}]_\mathcal{B} consists of the scalar coefficients used to build y^\hat{\vec{y}} from the orthogonal basis vectors of WW. These scalars are found using the projection formula. Let [y^]B=(c1c2)[\hat{\vec{y}}]_\mathcal{B} = \begin{pmatrix} c_1 \\ c_2 \end{pmatrix}. The coefficients are: c1=yu1u1u1c_1 = \frac{\vec{y} \cdot \vec{u}_1}{\vec{u}_1 \cdot \vec{u}_1} and c2=yu2u2u2c_2 = \frac{\vec{y} \cdot \vec{u}_2}{\vec{u}_2 \cdot \vec{u}_2}. Calculate c1c_1: yu1=(3)(1)+(1)(1)+(4)(0)=31=2\vec{y} \cdot \vec{u}_1 = (3)(1) + (1)(-1) + (4)(0) = 3 - 1 = 2. u1u1=(1)2+(1)2+(0)2=1+1=2\vec{u}_1 \cdot \vec{u}_1 = (1)^2 + (-1)^2 + (0)^2 = 1 + 1 = 2. c1=22=1c_1 = \frac{2}{2} = 1. Calculate c2c_2: yu2=(3)(1)+(1)(1)+(4)(2)=3+18=4\vec{y} \cdot \vec{u}_2 = (3)(1) + (1)(1) + (4)(-2) = 3 + 1 - 8 = -4. u2u2=(1)2+(1)2+(2)2=1+1+4=6\vec{u}_2 \cdot \vec{u}_2 = (1)^2 + (1)^2 + (-2)^2 = 1 + 1 + 4 = 6. c2=46=23c_2 = \frac{-4}{6} = -\frac{2}{3}. So, the coordinate vector is [y^]B=(12/3)[\hat{\vec{y}}]_\mathcal{B} = \begin{pmatrix} 1 \\ -2/3 \end{pmatrix}. (A) is incorrect; these are the numerators of the coefficient fractions ({yui}\{\vec{y} \cdot \vec{u}_i\}) before division by the squared norms. (C) is incorrect; this vector is y^\hat{\vec{y}} itself, not its coordinate vector with respect to B\mathcal{B}. It is calculated as 1u123u2=(1/35/34/3)1\vec{u}_1 - \frac{2}{3}\vec{u}_2 = \begin{pmatrix} 1/3 \\ -5/3 \\ 4/3 \end{pmatrix} (note: choice in question was slightly different from this calculation, but represents the same type of error). (D) is incorrect; this results from a sign error in the dot product for c2c_2, i.e., 3+1+8=123+1+8=12, leading to c2=12/6=2c_2=12/6=2.

Question 5

Let PP be the standard matrix for the orthogonal projection onto a proper subspace WW of Rn\mathbb{R}^n (where W{0}W \neq \{\vec{0}\} and WRnW \neq \mathbb{R}^n). Which of the following matrix equations must be true?

  1. P1=PP^{-1} = P
  2. P2=IP^2 = I
  3. P2=PP^2 = P (correct answer)
  4. P+I=0P + I = 0
Explanation: A projection matrix PP has the property that applying it a second time does not change the result. Geometrically, once a vector x\vec{x} is projected into the subspace WW, its image PxP\vec{x} is already in WW. Projecting it again will leave it unchanged. Therefore, P(Px)=PxP(P\vec{x}) = P\vec{x} for all x\vec{x} in Rn\mathbb{R}^n. This implies that the matrix equation P2=PP^2 = P must hold. This property is called idempotence. (A) is incorrect. Since WW is a proper subspace, PP maps some non-zero vectors to zero (any vector in WW^\perp), so its null space is non-trivial. Thus, PP is singular and not invertible. (B) is incorrect. The property P2=IP^2=I defines an involution, such as a reflection matrix. A projection is not generally a reflection. (D) is incorrect. This would imply P=IP=-I, which is not a projection matrix.

Question 6

Let WW be the subspace of R3\mathbb{R}^3 spanned by u1=(121)\vec{u}_1 = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} and u2=(111)\vec{u}_2 = \begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix}. For which vector y\vec{y} is the orthogonal projection onto WW equal to 0\vec{0}?

  1. (100)\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}
  2. (212)\begin{pmatrix} 2 \\ 1 \\ 2 \end{pmatrix}
  3. (121)\begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
  4. (303)\begin{pmatrix} 3 \\ 0 \\ -3 \end{pmatrix} (correct answer)
Explanation: When you encounter orthogonal projections in linear algebra, remember that the projection of a vector onto a subspace is zero if and only if that vector is orthogonal (perpendicular) to the entire subspace. This means the vector must be orthogonal to every vector that spans the subspace. To find which vector has zero projection onto WW, you need to check which option is orthogonal to both spanning vectors u1=(121)\vec{u}_1 = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} and u2=(111)\vec{u}_2 = \begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix}. Two vectors are orthogonal when their dot product equals zero. For option D, $$ \begin{pmatrix} 3 \ 0 \ -3 \end{pmatrix} - $$ \begin{pmatrix} 3 \\ 0 \\ -3 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} = 3(1) + 0(2) + (-3)(1) = 0$$ - $$ \begin{pmatrix} 3 \\ 0 \\ -3 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix} = 3(1) + 0(-1) + (-3)(1) = 0$$ Since both dot products are zero, option D is orthogonal to the subspace $W$. Options A, B, and C all fail this test. For example, option A gives dot products of 1 and 1 with the spanning vectors, option B gives 6 and 0, and option C gives 4 and 0. Since these vectors aren't orthogonal to both spanning vectors, their projections onto $W$ are non-zero. **Key strategy**: When asked about zero projections, immediately think "orthogonal to the subspace" and test dot products with all spanning vectors.

Question 7

Let B={u1,u2}\mathcal{B} = \{\vec{u}_1, \vec{u}_2\} be an orthogonal basis for a subspace WR3W \subset \mathbb{R}^3, where u1=(221)\vec{u}_1 = \begin{pmatrix} 2 \\ 2 \\ -1 \end{pmatrix} and u2=(212)\vec{u}_2 = \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}. The vector w=(851)\vec{w} = \begin{pmatrix} 8 \\ 5 \\ -1 \end{pmatrix} is in WW. What is the coordinate vector [w]B[\vec{w}]_\mathcal{B}?

  1. (279)\begin{pmatrix} 27 \\ 9 \end{pmatrix}
  2. (93)\begin{pmatrix} 9 \\ 3 \end{pmatrix}
  3. (13)\begin{pmatrix} 1 \\ 3 \end{pmatrix}
  4. (31)\begin{pmatrix} 3 \\ 1 \end{pmatrix} (correct answer)
Explanation: For an orthogonal basis B={u1,,uk}\mathcal{B} = \{\vec{u}_1, \dots, \vec{u}_k\}, the coordinates of a vector w\vec{w} in the subspace are the scalars from the projection formula. If w=c1u1+c2u2\vec{w} = c_1\vec{u}_1 + c_2\vec{u}_2, then the coordinate vector is [w]B=(c1c2)[\vec{w}]_\mathcal{B} = \begin{pmatrix} c_1 \\ c_2 \end{pmatrix}, where ci=wuiuiuic_i = \frac{\vec{w} \cdot \vec{u}_i}{\vec{u}_i \cdot \vec{u}_i}. Calculate c1c_1: wu1=(8)(2)+(5)(2)+(1)(1)=16+10+1=27\vec{w} \cdot \vec{u}_1 = (8)(2) + (5)(2) + (-1)(-1) = 16 + 10 + 1 = 27. u1u1=(2)2+(2)2+(1)2=4+4+1=9\vec{u}_1 \cdot \vec{u}_1 = (2)^2 + (2)^2 + (-1)^2 = 4 + 4 + 1 = 9. c1=279=3c_1 = \frac{27}{9} = 3. Calculate c2c_2: wu2=(8)(2)+(5)(1)+(1)(2)=1652=9\vec{w} \cdot \vec{u}_2 = (8)(2) + (5)(-1) + (-1)(2) = 16 - 5 - 2 = 9. u2u2=(2)2+(1)2+(2)2=4+1+4=9\vec{u}_2 \cdot \vec{u}_2 = (2)^2 + (-1)^2 + (2)^2 = 4 + 1 + 4 = 9. c2=99=1c_2 = \frac{9}{9} = 1. Therefore, the coordinate vector is [w]B=(31)[\vec{w}]_\mathcal{B} = \begin{pmatrix} 3 \\ 1 \end{pmatrix}. (A) is incorrect; it consists of the dot products wui\vec{w} \cdot \vec{u}_i, forgetting to divide by uiui\vec{u}_i \cdot \vec{u}_i. (B) is incorrect; it results from dividing the dot products by the norms (9=3\sqrt{9}=3) instead of the norms squared. (C) is incorrect; it is the correct coordinates but in the wrong order.

Question 8

Let WW be the line in R3\mathbb{R}^3 defined by the equation x=t(212)\vec{x} = t\begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} for tRt \in \mathbb{R}. What is the shortest distance from the point P(1,2,3)P(1, 2, 3) to the line WW?

  1. 22
  2. 10\sqrt{10} (correct answer)
  3. 14\sqrt{14}
  4. 26\sqrt{26}
Explanation: The shortest distance from a point to a line is the length of the vector component orthogonal to the line. Let v=(123)\vec{v} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} be the position vector of point PP, and let u=(212)\vec{u} = \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} be the direction vector of the line WW.
  1. Find the projection of v\vec{v} onto u\vec{u}, let's call it p\vec{p}: p=proju(v)=vuuuu\vec{p} = \text{proj}_{\vec{u}}(\vec{v}) = \frac{\vec{v} \cdot \vec{u}}{\vec{u} \cdot \vec{u}}\vec{u}. vu=(1)(2)+(2)(1)+(3)(2)=22+6=6\vec{v} \cdot \vec{u} = (1)(2) + (2)(-1) + (3)(2) = 2 - 2 + 6 = 6. uu=(2)2+(1)2+(2)2=4+1+4=9\vec{u} \cdot \vec{u} = (2)^2 + (-1)^2 + (2)^2 = 4 + 1 + 4 = 9. p=69u=23(212)=(4/32/34/3)\vec{p} = \frac{6}{9}\vec{u} = \frac{2}{3}\begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} = \begin{pmatrix} 4/3 \\ -2/3 \\ 4/3 \end{pmatrix}.
  2. Find the orthogonal component, z=vp\vec{z} = \vec{v} - \vec{p}: z=(123)(4/32/34/3)=(1/38/35/3)\vec{z} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} - \begin{pmatrix} 4/3 \\ -2/3 \\ 4/3 \end{pmatrix} = \begin{pmatrix} -1/3 \\ 8/3 \\ 5/3 \end{pmatrix}.
  3. The shortest distance is the magnitude of z\vec{z}: z=(1/3)2+(8/3)2+(5/3)2=1+64+259=909=10\|\vec{z}\| = \sqrt{(-1/3)^2 + (8/3)^2 + (5/3)^2} = \sqrt{\frac{1 + 64 + 25}{9}} = \sqrt{\frac{90}{9}} = \sqrt{10}.
(A) is incorrect because 2 is the length of the projection vector, p=23u=239=2\|\vec{p}\| = \frac{2}{3}\|\vec{u}\| = \frac{2}{3}\sqrt{9} = 2. This represents the distance from the origin to the point of projection on the line. (C) is incorrect because 14\sqrt{14} is the length of the original vector v\vec{v}, which is the distance from the origin to point P. (D) is incorrect; 26\sqrt{26} would result from a sign error in the dot product calculation, i.e., (1)(2)+(2)(1)+(3)(2)=6(1)(2) + (2)(-1) + (3)(-2) = -6, leading to a different orthogonal vector.

Question 9

Let v=(71)\vec{v} = \begin{pmatrix} 7 \\ 1 \end{pmatrix} and u=(42)\vec{u} = \begin{pmatrix} 4 \\ -2 \end{pmatrix}. The vector v\vec{v} can be written as the sum v=p+z\vec{v} = \vec{p} + \vec{z}, where p\vec{p} is parallel to u\vec{u} and z\vec{z} is orthogonal to u\vec{u}. What is the vector z\vec{z}?

  1. (5.22.6)\begin{pmatrix} 5.2 \\ -2.6 \end{pmatrix}
  2. (1.83.6)\begin{pmatrix} 1.8 \\ 3.6 \end{pmatrix} (correct answer)
  3. (1.83.6)\begin{pmatrix} -1.8 \\ -3.6 \end{pmatrix}
  4. (14)\begin{pmatrix} 1 \\ 4 \end{pmatrix}
Explanation: The vector p\vec{p} is the orthogonal projection of v\vec{v} onto u\vec{u}. The formula is p=proju(v)=vuuuu\vec{p} = \text{proj}_{\vec{u}}(\vec{v}) = \frac{\vec{v} \cdot \vec{u}}{\vec{u} \cdot \vec{u}}\vec{u}. First, compute the dot products: vu=(7)(4)+(1)(2)=282=26\vec{v} \cdot \vec{u} = (7)(4) + (1)(-2) = 28 - 2 = 26. uu=(4)(4)+(2)(2)=16+4=20\vec{u} \cdot \vec{u} = (4)(4) + (-2)(-2) = 16 + 4 = 20. Now, find the projection p\vec{p}: p=2620u=1310(42)=(52/1026/10)=(5.22.6)\vec{p} = \frac{26}{20} \vec{u} = \frac{13}{10} \begin{pmatrix} 4 \\ -2 \end{pmatrix} = \begin{pmatrix} 52/10 \\ -26/10 \end{pmatrix} = \begin{pmatrix} 5.2 \\ -2.6 \end{pmatrix}. The vector z\vec{z} is the component of v\vec{v} orthogonal to u\vec{u}, which is found by z=vp\vec{z} = \vec{v} - \vec{p}. z=(71)(5.22.6)=(75.21(2.6))=(1.83.6)\vec{z} = \begin{pmatrix} 7 \\ 1 \end{pmatrix} - \begin{pmatrix} 5.2 \\ -2.6 \end{pmatrix} = \begin{pmatrix} 7 - 5.2 \\ 1 - (-2.6) \end{pmatrix} = \begin{pmatrix} 1.8 \\ 3.6 \end{pmatrix}. (A) is incorrect because it is the projection vector p\vec{p}, not the orthogonal component z\vec{z}. (C) is incorrect because it is the negative of the correct answer, which would result from calculating pv\vec{p} - \vec{v}. (D) is incorrect because it results from a sign error in the dot product calculation: vu=28+2=30\vec{v} \cdot \vec{u} = 28 + 2 = 30, leading to p=3020u=(63)\vec{p} = \frac{30}{20}\vec{u} = \begin{pmatrix} 6 \\ -3 \end{pmatrix} and z=(71)(63)=(14)\vec{z} = \begin{pmatrix} 7 \\ 1 \end{pmatrix} - \begin{pmatrix} 6 \\ -3 \end{pmatrix} = \begin{pmatrix} 1 \\ 4 \end{pmatrix}.

Question 10

Let WW be the subspace of R3\mathbb{R}^3 spanned by the orthogonal basis u1,u2{\vec{u}_1, \vec{u}_2}, where u1=(110)\vec{u}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and u2=(112)\vec{u}_2 = \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix}. Let y=(345)\vec{y} = \begin{pmatrix} 3 \\ 4 \\ 5 \end{pmatrix}. Find the orthogonal projection of y\vec{y} onto WW.

  1. (523)\begin{pmatrix} 5 \\ 2 \\ 3 \end{pmatrix} (correct answer)
  2. (222)\begin{pmatrix} -2 \\ 2 \\ 2 \end{pmatrix}
  3. (16218)\begin{pmatrix} 16 \\ -2 \\ 18 \end{pmatrix}
  4. (819)\begin{pmatrix} 8 \\ -1 \\ 9 \end{pmatrix}
Explanation: Since u1,u2{\vec{u}_1, \vec{u}_2} is an orthogonal basis for WW, the projection of y\vec{y} onto WW is the sum of the projections of y\vec{y} onto each basis vector: projW(y)=yu1u1u1u1+yu2u2u2u2\text{proj}_W(\vec{y}) = \frac{\vec{y} \cdot \vec{u}_1}{\vec{u}_1 \cdot \vec{u}_1}\vec{u}_1 + \frac{\vec{y} \cdot \vec{u}_2}{\vec{u}_2 \cdot \vec{u}_2}\vec{u}_2. Calculate the dot products: yu1=(3)(1)+(4)(1)+(5)(0)=7\vec{y} \cdot \vec{u}_1 = (3)(1) + (4)(1) + (5)(0) = 7. u1u1=(1)2+(1)2+(0)2=2\vec{u}_1 \cdot \vec{u}_1 = (1)^2 + (1)^2 + (0)^2 = 2. yu2=(3)(1)+(4)(1)+(5)(2)=34+10=9\vec{y} \cdot \vec{u}_2 = (3)(1) + (4)(-1) + (5)(2) = 3 - 4 + 10 = 9. u2u2=(1)2+(1)2+(2)2=1+1+4=6\vec{u}_2 \cdot \vec{u}_2 = (1)^2 + (-1)^2 + (2)^2 = 1 + 1 + 4 = 6. Now substitute these values into the formula: projW(y)=72(110)+96(112)=72(110)+32(112)\text{proj}_W(\vec{y}) = \frac{7}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + \frac{9}{6}\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} = \frac{7}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + \frac{3}{2}\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix}. Sum the vectors: projW(y)=(7/2+3/27/23/20+6/2)=(10/24/26/2)=(523)\text{proj}_W(\vec{y}) = \begin{pmatrix} 7/2 + 3/2 \\ 7/2 - 3/2 \\ 0 + 6/2 \end{pmatrix} = \begin{pmatrix} 10/2 \\ 4/2 \\ 6/2 \end{pmatrix} = \begin{pmatrix} 5 \\ 2 \\ 3 \end{pmatrix}. (B) is incorrect because it is the orthogonal component z=yprojW(y)=(345)(523)=(222)\vec{z} = \vec{y} - \text{proj}_W(\vec{y}) = \begin{pmatrix} 3 \\ 4 \\ 5 \end{pmatrix} - \begin{pmatrix} 5 \\ 2 \\ 3 \end{pmatrix} = \begin{pmatrix} -2 \\ 2 \\ 2 \end{pmatrix}. (C) is incorrect because it results from forgetting to divide by the norms squared (u12\|\vec{u}_1\|^2 and u22\|\vec{u}_2\|^2). (D) is incorrect because it results from an arithmetic error, such as calculating the second scalar as 92\frac{9}{2} instead of 96\frac{9}{6}.

Question 11

Let WW be the column space of the matrix A=(100111)A = \begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{pmatrix}. Which vector is the orthogonal projection of y=(600)\vec{y} = \begin{pmatrix} 6 \\ 0 \\ 0 \end{pmatrix} onto WW?

  1. (606)\begin{pmatrix} 6 \\ 0 \\ 6 \end{pmatrix}
  2. (330)\begin{pmatrix} 3 \\ 3 \\ 0 \end{pmatrix}
  3. (224)\begin{pmatrix} 2 \\ 2 \\ 4 \end{pmatrix}
  4. (422)\begin{pmatrix} 4 \\ -2 \\ 2 \end{pmatrix} (correct answer)
Explanation: When you encounter orthogonal projection problems, you're finding the closest point in a subspace to a given vector. Here, you need to project y=(600)\vec{y} = \begin{pmatrix} 6 \\ 0 \\ 0 \end{pmatrix} onto the column space of $$A = \begin{pmatrix} 1 & 0 \ 0 & 1 \ 1 & 1 \end{pmatrix} The projection formula is $$\text{proj}_W(\vec{y}) = A(A^T A)^{-1}A^T \vec{y}$$. First, calculate $$A^T A = \begin{pmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \end{pmatrix} \begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{pmatrix} = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} $$. Next, $$(A^T A)^{-1} = \frac{1}{3}\begin{pmatrix} 2 & -1 \\ -1 & 2 \end{pmatrix} $$ since the determinant is 3. Then $$A^T \vec{y} = \begin{pmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \end{pmatrix} \begin{pmatrix} 6 \\ 0 \\ 0 \end{pmatrix} = \begin{pmatrix} 6 \\ 0 \end{pmatrix} $$. Computing $$(A^T A)^{-1}A^T \vec{y} = \frac{1}{3}\begin{pmatrix} 2 & -1 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 6 \\ 0 \end{pmatrix} = \begin{pmatrix} 4 \\ -2 \end{pmatrix} $$. Finally, $$A(A^T A)^{-1}A^T \vec{y} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{pmatrix} \begin{pmatrix} 4 \\ -2 \end{pmatrix} = \begin{pmatrix} 4 \\ -2 \\ 2 \end{pmatrix} $$, which is answer D. Answer A gives a vector not in the column space of A. Answer B fails the projection formula calculation. Answer C represents an incorrect computation of the inverse or matrix multiplication. Always verify your projection lies in the subspace by checking it's a linear combination of the column vectors. Here, $$4\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} + (-2)\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 4 \\ -2 \\ 2 \end{pmatrix} $$ confirms our answer.

Question 12

In the inner product space C[0,1]C[0,1] with inner product f,g=01f(x)g(x)dx\langle f,g \rangle = \int_0^1 f(x)g(x) dx, consider the subspace W=span{1,x}W = \text{span}\{1, x\}. What is the projection of f(x)=x2f(x) = x^2 onto WW?

  1. x16x - \frac{1}{6}
  2. x+13x + \frac{1}{3}
  3. 16+x-\frac{1}{6} + x (correct answer)
  4. 13+x\frac{1}{3} + x
Explanation: We use the Gram-Schmidt process to orthogonalize the basis {1,x}\{1, x\}. Let u1=1u_1 = 1 with u12=1\|u_1\|^2 = 1. Then u2=xx,1121=x1/21=x12u_2 = x - \frac{\langle x, 1 \rangle}{\|1\|^2} \cdot 1 = x - \frac{1/2}{1} = x - \frac{1}{2}. We have u22=01(x12)2dx=112\|u_2\|^2 = \int_0^1 (x - \frac{1}{2})^2 dx = \frac{1}{12}. The projection is projW(x2)=x2,1121+x2,x12x122(x12)\text{proj}_W(x^2) = \frac{\langle x^2, 1 \rangle}{\|1\|^2} \cdot 1 + \frac{\langle x^2, x - \frac{1}{2} \rangle}{\|x - \frac{1}{2}\|^2} \cdot (x - \frac{1}{2}). Computing: x2,1=13\langle x^2, 1 \rangle = \frac{1}{3} and x2,x12=1416=112\langle x^2, x - \frac{1}{2} \rangle = \frac{1}{4} - \frac{1}{6} = \frac{1}{12}. Thus projW(x2)=13+1/121/12(x12)=13+x12=x16\text{proj}_W(x^2) = \frac{1}{3} + \frac{1/12}{1/12}(x - \frac{1}{2}) = \frac{1}{3} + x - \frac{1}{2} = x - \frac{1}{6}.

Question 13

In R3\mathbb{R}^3, let LL be the line through the origin with direction vector (1,2,1)(1,2,-1), and let PP be the plane x+yz=0x + y - z = 0. If v=(3,1,2)v = (3,1,2), what is the distance from projL(v)\text{proj}_L(v) to projP(v)\text{proj}_P(v)?

  1. 62\frac{\sqrt{6}}{2}
  2. 63\frac{\sqrt{6}}{3}
  3. 263\frac{2\sqrt{6}}{3} (correct answer)
  4. 6\sqrt{6}
Explanation: First, projL(v)=v,(1,2,1)(1,2,1)2(1,2,1)=36(1,2,1)=(12,1,12)\text{proj}_L(v) = \frac{\langle v, (1,2,-1) \rangle}{\|(1,2,-1)\|^2} (1,2,-1) = \frac{3}{6}(1,2,-1) = (\frac{1}{2}, 1, -\frac{1}{2}). For the plane PP with normal vector (1,1,1)(1,1,-1), we have projP(v)=vproj(1,1,1)(v)=(3,1,2)(3,1,2),(1,1,1)(1,1,1)2(1,1,1)=(3,1,2)23(1,1,1)=(73,13,83)\text{proj}_P(v) = v - \text{proj}_{(1,1,-1)}(v) = (3,1,2) - \frac{\langle (3,1,2), (1,1,-1) \rangle}{\|(1,1,-1)\|^2}(1,1,-1) = (3,1,2) - \frac{2}{3}(1,1,-1) = (\frac{7}{3}, \frac{1}{3}, \frac{8}{3}). The distance between these projections is (12,1,12)(73,13,83)=(116,23,196)=12136+49+36136=263\|(\frac{1}{2}, 1, -\frac{1}{2}) - (\frac{7}{3}, \frac{1}{3}, \frac{8}{3})\| = \|(-\frac{11}{6}, \frac{2}{3}, -\frac{19}{6})\| = \sqrt{\frac{121}{36} + \frac{4}{9} + \frac{361}{36}} = \frac{2\sqrt{6}}{3}.

Question 14

Consider the vector space R4\mathbb{R}^4 with the standard inner product. Let S={(1,0,1,0),(0,1,0,1),(1,1,0,0)}S = \{(1,0,1,0), (0,1,0,1), (1,1,0,0)\} and T={(1,0,0,1),(0,1,1,0)}T = \{(1,0,0,1), (0,1,1,0)\}. If v=(2,1,3,2)v = (2,1,3,2), what is projspan(S)(v)projspan(T)(v)2\|\text{proj}_{\text{span}(S)}(v) - \text{proj}_{\text{span}(T)}(v)\|^2?

  1. 52\frac{5}{2}
  2. 72\frac{7}{2} (correct answer)
  3. 92\frac{9}{2}
  4. 112\frac{11}{2}
Explanation: First, we find orthogonal bases for both subspaces using Gram-Schmidt. For span(S): Starting with (1,0,1,0)(1,0,1,0), then orthogonalizing (0,1,0,1)(0,1,0,1) and (1,1,0,0)(1,1,0,0), we get an orthogonal basis. For span(T): The vectors (1,0,0,1)(1,0,0,1) and (0,1,1,0)(0,1,1,0) are already orthogonal since their inner product is 00. Computing the projections: projspan(S)(v)=(52,32,52,32)\text{proj}_{\text{span}(S)}(v) = (\frac{5}{2}, \frac{3}{2}, \frac{5}{2}, \frac{3}{2}) and projspan(T)(v)=(2,32,12,2)\text{proj}_{\text{span}(T)}(v) = (2, \frac{3}{2}, \frac{1}{2}, 2). The difference is (12,0,2,12)(-\frac{1}{2}, 0, 2, -\frac{1}{2}), so projspan(S)(v)projspan(T)(v)2=14+0+4+14=72\|\text{proj}_{\text{span}(S)}(v) - \text{proj}_{\text{span}(T)}(v)\|^2 = \frac{1}{4} + 0 + 4 + \frac{1}{4} = \frac{7}{2}.

Question 15

Let VV be an inner product space with orthonormal basis {u1,u2,u3,u4}\{u_1, u_2, u_3, u_4\}. If v=2u1u2+3u3+u4v = 2u_1 - u_2 + 3u_3 + u_4 and W=span{u1+u2,u2+u3}W = \text{span}\{u_1 + u_2, u_2 + u_3\}, what is projW(v)2\|\text{proj}_W(v)\|^2?

  1. 52\frac{5}{2} (correct answer)
  2. 92\frac{9}{2}
  3. 72\frac{7}{2}
  4. 112\frac{11}{2}
Explanation: First, we need an orthogonal basis for W. Let w1=u1+u2w_1 = u_1 + u_2 and apply Gram-Schmidt to w2=u2+u3w_2 = u_2 + u_3. We have w2,w1=u2+u3,u1+u2=1\langle w_2, w_1 \rangle = \langle u_2 + u_3, u_1 + u_2 \rangle = 1, and w12=2\|w_1\|^2 = 2. So w2=w2w2,w1w12w1=(u2+u3)12(u1+u2)=12u1+12u2+u3w_2' = w_2 - \frac{\langle w_2, w_1 \rangle}{\|w_1\|^2} w_1 = (u_2 + u_3) - \frac{1}{2}(u_1 + u_2) = -\frac{1}{2}u_1 + \frac{1}{2}u_2 + u_3. Now projW(v)=v,w1w12w1+v,w2w22w2\text{proj}_W(v) = \frac{\langle v, w_1 \rangle}{\|w_1\|^2} w_1 + \frac{\langle v, w_2' \rangle}{\|w_2'\|^2} w_2'. We have v,w1=1\langle v, w_1 \rangle = 1, v,w2=2\langle v, w_2' \rangle = -2, and w22=32\|w_2'\|^2 = \frac{3}{2}. Thus projW(v)=12(u1+u2)43(12u1+12u2+u3)=56u116u243u3\text{proj}_W(v) = \frac{1}{2}(u_1 + u_2) - \frac{4}{3}(-\frac{1}{2}u_1 + \frac{1}{2}u_2 + u_3) = \frac{5}{6}u_1 - \frac{1}{6}u_2 - \frac{4}{3}u_3. Therefore projW(v)2=2536+136+169=52\|\text{proj}_W(v)\|^2 = \frac{25}{36} + \frac{1}{36} + \frac{16}{9} = \frac{5}{2}.

Question 16

In R3\mathbb{R}^3, let PP be the plane passing through the origin with normal vector n=(1,2,1)n = (1,2,-1). If AA is the matrix representing the orthogonal projection onto PP, which of the following is true about the eigenvalues of AA?

  1. Two eigenvalues equal 12\frac{1}{2} and one eigenvalue equals 00
  2. One eigenvalue equals 11 and two eigenvalues equal 00
  3. All three eigenvalues equal 13\frac{1}{3}
  4. Two eigenvalues equal 11 and one eigenvalue equals 00 (correct answer)
Explanation: When you encounter orthogonal projection matrices, think about their geometric meaning: they map vectors onto a subspace while preserving distances within that subspace. This geometric insight directly determines the eigenvalue structure. For the orthogonal projection onto plane PP with normal vector n=(1,2,1)n = (1,2,-1), consider what happens to different types of vectors. Any vector lying in the plane PP gets mapped to itself, so these vectors are eigenvectors with eigenvalue 11. Since PP is a 2-dimensional subspace of R3\mathbb{R}^3, there are two linearly independent eigenvectors with eigenvalue 11. The normal vector n=(1,2,1)n = (1,2,-1) is perpendicular to plane PP, so projecting it onto PP gives the zero vector. This means nn is an eigenvector with eigenvalue 00. Since the projection eliminates the component perpendicular to PP, there's exactly one such eigenvalue. Therefore, the matrix AA has two eigenvalues equal to 11 and one eigenvalue equal to 00, making (D) correct. Looking at the wrong answers: (A) incorrectly suggests eigenvalues of 12\frac{1}{2}, which would indicate some kind of scaling rather than true projection. (B) reverses the multiplicities—this would describe projection onto a line rather than a plane. (C) suggests all eigenvalues equal 13\frac{1}{3}, which would make this a scaling transformation, not a projection. Study tip: Remember that orthogonal projections onto kk-dimensional subspaces always have kk eigenvalues equal to 11 and (nk)(n-k) eigenvalues equal to 00.

Question 17

Let VV be an inner product space and W1,W2W_1, W_2 be subspaces of VV such that V=W1W2V = W_1 \oplus W_2 (orthogonal direct sum). For any vVv \in V, if projW1(v)=35v\|\text{proj}_{W_1}(v)\| = \frac{3}{5}\|v\| and v=10\|v\| = 10, what is projW2(v)\|\text{proj}_{W_2}(v)\|?

  1. 66
  2. 88 (correct answer)
  3. 272\sqrt{7}
  4. 424\sqrt{2}
Explanation: Since V=W1W2V = W_1 \oplus W_2 (orthogonal direct sum), we have v=projW1(v)+projW2(v)v = \text{proj}_{W_1}(v) + \text{proj}_{W_2}(v) where the projections onto W1W_1 and W2W_2 are orthogonal to each other. Given that projW1(v)=35v=3510=6\|\text{proj}_{W_1}(v)\| = \frac{3}{5}\|v\| = \frac{3}{5} \cdot 10 = 6. By the Pythagorean theorem for orthogonal components: v2=projW1(v)2+projW2(v)2\|v\|^2 = \|\text{proj}_{W_1}(v)\|^2 + \|\text{proj}_{W_2}(v)\|^2. Substituting: 102=62+projW2(v)210^2 = 6^2 + \|\text{proj}_{W_2}(v)\|^2, so 100=36+projW2(v)2100 = 36 + \|\text{proj}_{W_2}(v)\|^2. Therefore projW2(v)2=64\|\text{proj}_{W_2}(v)\|^2 = 64, which gives projW2(v)=8\|\text{proj}_{W_2}(v)\| = 8.

Question 18

Let AA be a 4×34 \times 3 matrix with orthonormal columns. If bR4b \in \mathbb{R}^4 and b2=25\|b\|^2 = 25, and the projection of bb onto the column space of AA has squared norm 1616, what is bA(ATb)2\|b - A(A^T b)\|^2?

  1. 4141
  2. 1616
  3. 2525
  4. 99 (correct answer)
Explanation: When you encounter orthogonal projections with orthonormal columns, recognize that you're dealing with the fundamental decomposition of a vector into components parallel and perpendicular to a subspace. Since AA has orthonormal columns, the projection of bb onto the column space of AA is given by AATbAA^Tb. This is because when columns are orthonormal, ATA=IA^TA = I, so the standard projection formula A(ATA)1ATbA(A^TA)^{-1}A^Tb simplifies to AATbAA^Tb. The expression bA(ATb)b - A(A^Tb) represents the component of bb perpendicular to the column space of AA - this is the projection error or residual. By the Pythagorean theorem for orthogonal decompositions, we have: b2=AATb2+bAATb2\|b\|^2 = \|AA^Tb\|^2 + \|b - AA^Tb\|^2 Substituting the given values: 25=16+bA(ATb)225 = 16 + \|b - A(A^Tb)\|^2 Therefore: bA(ATb)2=2516=9\|b - A(A^Tb)\|^2 = 25 - 16 = 9 Answer choice A (4141) incorrectly adds the squared norms instead of using the Pythagorean relationship. Answer choice B (1616) confuses the perpendicular component with the parallel component - this is the norm of the projection itself. Answer choice C (2525) represents the original vector's squared norm, missing the decomposition entirely. Strategy tip: For orthogonal projection problems, always remember that the original vector equals the sum of its parallel and perpendicular components, and these components are orthogonal to each other. The Pythagorean theorem then gives you: original2=parallel2+perpendicular2\|original\|^2 = \|parallel\|^2 + \|perpendicular\|^2.

Question 19

Let WW be a subspace of Rn\mathbb{R}^n and let y\vec{y} be a vector in Rn\mathbb{R}^n. Let y^=projW(y)\hat{\vec{y}} = \text{proj}_W(\vec{y}). Which of the following statements is always true?

  1. The vector y^\hat{\vec{y}} is orthogonal to y\vec{y}.
  2. The vector yy^\vec{y} - \hat{\vec{y}} is in WW.
  3. The vector yy^\vec{y} - \hat{\vec{y}} is orthogonal to every vector in WW. (correct answer)
  4. The equality y^=y\|\hat{\vec{y}}\| = \|\vec{y}\| holds.
Explanation: The Orthogonal Decomposition Theorem states that any vector y\vec{y} can be uniquely written as the sum of a vector in a subspace WW and a vector in its orthogonal complement WW^\perp. Specifically, y=y^+z\vec{y} = \hat{\vec{y}} + \vec{z}, where y^=projW(y)\hat{\vec{y}} = \text{proj}_W(\vec{y}) is in WW and z=yy^\vec{z} = \vec{y} - \hat{\vec{y}} is in WW^\perp. By definition, a vector in WW^\perp is orthogonal to every vector in WW. Therefore, the statement that yy^\vec{y} - \hat{\vec{y}} is orthogonal to every vector in WW is always true. (A) is incorrect. The projection y^\hat{\vec{y}} is not generally orthogonal to y\vec{y}. This would only happen if projW(y)=0\text{proj}_W(\vec{y})=\vec{0}, which means y\vec{y} is in WW^\perp. (B) is incorrect. The vector yy^\vec{y} - \hat{\vec{y}} is the component of y\vec{y} orthogonal to WW, so it lies in WW^\perp, not WW. (D) is incorrect. The length of the projection is less than or equal to the length of the original vector. Equality holds only if y\vec{y} is already in the subspace WW, in which case y^=y\hat{\vec{y}} = \vec{y}.

Question 20

Let VV be a finite-dimensional inner product space and WW a subspace of VV. If vVv \in V satisfies projW(v)=23v\text{proj}_W(v) = \frac{2}{3}v, which of the following must be true?

  1. vWv \in W and projW(v)=13v\|\text{proj}_{W^\perp}(v)\| = \frac{1}{3}\|v\|
  2. vWv \notin W and projW(v)=13v\|\text{proj}_{W^\perp}(v)\| = \frac{1}{3}\|v\| (correct answer)
  3. vWv \notin W and projW(v)=53v\|\text{proj}_{W^\perp}(v)\| = \frac{\sqrt{5}}{3}\|v\|
  4. vWv \in W and projW(v)=0\|\text{proj}_{W^\perp}(v)\| = 0
Explanation: Since projW(v)=23vv\text{proj}_W(v) = \frac{2}{3}v \neq v (unless v=0v = 0), we have vWv \notin W. By the orthogonal decomposition, v=projW(v)+projW(v)=23v+projW(v)v = \text{proj}_W(v) + \text{proj}_{W^\perp}(v) = \frac{2}{3}v + \text{proj}_{W^\perp}(v), so projW(v)=v23v=13v\text{proj}_{W^\perp}(v) = v - \frac{2}{3}v = \frac{1}{3}v. Therefore, projW(v)=13v\|\text{proj}_{W^\perp}(v)\| = \frac{1}{3}\|v\|. Choice A is wrong because vWv \notin W. Choice C has the wrong coefficient. Choice D is wrong because if vWv \in W, then projW(v)=v\text{proj}_W(v) = v, not 23v\frac{2}{3}v.