Let $V$ be the plane with equation $x_1 + 4x_2 + 2x_3 = 0$ in $\mathbb{R}^3$.

Find the matrix $A$ of the orthogonal projection onto the line spanned by the vector $v = \begin{bmatrix} -12 \\ 4 \\ -2 \end{bmatrix}$ with respect to the basis $\left\{ \begin{bmatrix} -4 \\ 1 \\ 0 \end{bmatrix}, \begin{bmatrix} -2 \\ 0 \\ 1 \end{bmatrix} \right\}$.

I was told that nothing needs to be converted until the end. No change of basis, nothing, until the end, at which point I am supposed to have a 3×2 matrix.

I was thinking I need to use $P = X (X^T X)^{-1} X^T$ equation to get the projection matrix, but everything I have tried has failed. I never once got a 3×2 matrix. The closest I got to a 3×2 matrix was a 3×1 matrix, when I just multiplied $PY$. Isn't $B = Y$ and $v = Y$?

  • $\begingroup$ Do you think my tags are good? Or should I change them? I also need to learn how to better write math equations here, I don't know how to put a matrix in my problem. $\endgroup$ – zagadka314 Jul 13 '15 at 10:48
  • $\begingroup$ If you would like to use an example, you can solve this problem as the example. It is only a practice problem and I have to use the same method for a homework problem. Thank you for your help! $\endgroup$ – zagadka314 Jul 13 '15 at 10:49
  • 2
    $\begingroup$ This question is not related to projective spaces, so that tag is irrelevant. You could add the tag matrices, though. $\endgroup$ – Joonas Ilmavirta Jul 13 '15 at 10:53
  • $\begingroup$ Why is it supposed to be a $3 \times 2$ matrix? The question asks for a $2 \times 2$ matrix, and as far as I can gather, the transformation is from $V$ to $V$, and $V$ is a $2$ dimensional space. $\endgroup$ – Theo Bendit Jul 13 '15 at 11:02
  • 1
    $\begingroup$ Thank you for that @FundThmCalculus! $\endgroup$ – zagadka314 Jul 13 '15 at 14:52

I'm assuming the projection is from $V$ to $V$, so that we can enter in a $2 \times 2$ matrix.

First, write out the formula for orthogonal projection: $$\mathrm{proj}_v(x) = \frac{v \cdot x}{v \cdot v} v$$ Next, transform the basis vectors: $$\mathrm{proj}_v(-4, 1, 0) = \frac{(-12, 4, -2) \cdot (-4, 1, 0)}{(-12, 4, -2) \cdot (-12, 4, -2)} (-12, 4, -2) = \frac{13}{41} (-12, 4, -2)$$ You can do the other one. Then, write these transformed basis vectors as coordinates of the basis. We can compute the coordinates of the first transformed vector by row-reducing the augmented matrix (the third column is augmented): $$\left(\begin{matrix}-4 & -2 & -\frac{156}{41} \\ 1 & 0 & \frac{52}{41} \\ 0 & 1 & -\frac{26}{41} \end{matrix}\right).$$ This row reduces to: $$\left(\begin{matrix}1 & 0 & \frac{52}{41} \\ 0 & 1 & -\frac{26}{41} \\ 0 & 0 & 0 \end{matrix}\right).$$ Thus, we have: $$\mathrm{proj}_v(-4, 1, 0) = \frac{13}{41} (-12, 4, -2) = \frac{52}{41}(-4, 1, 0) - \frac{26}{41}(-2, 0, 1).$$ Therefore, the first column vector of the matrix is: $$\left(\begin{matrix}\frac{52}{41} \\ \frac{-26}{41}\end{matrix}\right).$$ Now do the same for the other vector, and you are done!

  • $\begingroup$ Thank you for your help, I understand it now! I got it now! I just noticed you dropped a negative sign on the last number in your answer, so I tried to edit it (I've never did that before) but it requires more characters to be changed! But only one character was bad, otherwise it was perfect! So I just added a couple colons and removed a contraction to submit the fix. Thank you very much for your help! $\endgroup$ – zagadka314 Jul 13 '15 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.