Alright so I am trying to find the projection matrix for the subspace spanned by the vectors(adsbygoogle = window.adsbygoogle || []).push({});

[1] and [2]

[-1] [0]

[1] [1]

I actually have the solution to the problem, it is ...

P = [ 5 1 2 ]

(1/6) [1 5 -2]

[2 -2 2]

Every formula I have found is not for two vectors but a vector and a matrix or something else. I found the formula P = A(A^{T}A)^{-1}A^{T}but that makes no sense for what A could be since I'm given two vectors and not a matrix. I feel like I'm missing something simple.

PLEASE help!!!!

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Projection matrix onto a subspace

**Physics Forums | Science Articles, Homework Help, Discussion**