Projecting vectors from R3 onto a subspace

  • Thread starter Thread starter Ghost of Progress
  • Start date Start date
  • Tags Tags
    Subspace Vectors
Ghost of Progress
Messages
5
Reaction score
0
I want to project a vector from R3 onto a subspace.
I'll let the bases for the subspace be [a,b,c]T
(my T's mean transpose)
---
I have the defintion for vector projection
p = (<u,v>/<v,v>)*v
---
I know v will be the [a,b,c]T vector but what is u?
The only thing I could think of is let it be the triplet [x,y,z]T which could be any vector in R3.
---
Using this I get
p = [(a/(a^2 + b^2 + c^2))(ax + by + cz)]
[(b/(a^2 + b^2 + c^2))(ax + by + cz)]
[(c/(a^2 + b^2 + c^2))(ax + by + cz)]
---
I'm not very confident with this solution, I was hoping someone could tell me if this is correct or show me where I've gone wrong.
 
Physics news on Phys.org
u is presumably the vector you want to project onto the subspace.
 
I was just working an a problem that askes me to find the projection matrix P that projects vectors in R3 onto the orthoginal compliment of a two dimensional subsapce of R3 spanned by
x1 = [1,0,2]T x2 = [0,1,-2]
---
I've found that the bases of the orthoginal compliment is [-2,2,1]T
---
Using the defintion of P that a posted above I've found
P = [(-2/9)(-2x +2y +z)]
[ (2/9)(-2x +2y +z) ]
[ (1/9)(-2x +2y +z) ]

where, like you said, u = (x,y,z) = the vector I want to project onto the subspace. Does this seem like a correct solution?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top