Projections onto subspaces

  • Thread starter shaon0
  • Start date
  • #1
48
0

Homework Statement


See attachment

The Attempt at a Solution


How should I approach these questions? By using the projection formula?
 

Attachments

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,833
961
Yes, since the problem asks for projections, use the projection formula!
 
  • #3
48
0
Yes, since the problem asks for projections, use the projection formula!
Will I have to do two different calculations ie one with v and the first vector in W and then v with the second vector in W? Also, how would I find P?
 
  • #4
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,881
1,458
W is a plane. The question is asking you to find the projection of the vector v onto that plane.

As far as finding the matrix P goes, the projection onto W is a linear mapping. How do you find the matrix representing a linear mapping?
 
  • #5
48
0
W is a plane. The question is asking you to find the projection of the vector v onto that plane.

As far as finding the matrix P goes, the projection onto W is a linear mapping. How do you find the matrix representing a linear mapping?
For P, the projection of what vector onto W? Would I just span the vectors i've found so, P=span{v1,v2} and find the co-effs s.t Basis1=a1.v1+a2.v2 where v1,v2 are the vectors i've found using the projection formula and a1,a2 are constants which will give me the 1st column of P?
 
Last edited:
  • #6
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,881
1,458
You might find the page helpful:

http://www.cliffsnotes.com/study_guide/Projection-onto-a-Subspace.topicArticleId-20807,articleId-20792.html [Broken]
 
Last edited by a moderator:
  • #7
48
0
You might find the page helpful:

http://www.cliffsnotes.com/study_guide/Projection-onto-a-Subspace.topicArticleId-20807,articleId-20792.html [Broken]
I've tried to use the projWv=projv1v+projv2v where v1=(-2,,1,-2)^T and v2=(1,4,-8)^T but i don't get the correct answer. Maybe because v1, v2 are not mutually orthogonal?
 
Last edited by a moderator:
  • #8
1
0
Since any vector [itex]v[/itex] can be written as a linear combination of vectors of a basis of [itex]\mathbb{R}^3[/itex], if you can find the projection of each of the vectors of the canonical basis of [itex]\mathbb{R}^3[/itex], you can then write a projection matrix using the results.
 
  • #9
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,881
1,458
I've tried to use the projWv=projv1v+projv2v where v1=(-2,,1,-2)^T and v2=(1,4,-8)^T but i don't get the correct answer. Maybe because v1, v2 are not mutually orthogonal?
Yes, that's why it didn't work.
 
  • #10
48
0
Since any vector [itex]v[/itex] can be written as a linear combination of vectors of a basis of [itex]\mathbb{R}^3[/itex], if you can find the projection of each of the vectors of the canonical basis of [itex]\mathbb{R}^3[/itex], you can then write a projection matrix using the results.
So; proje1v1? for all combinations of e1,e2,e3 and v1, v2?
 
  • #11
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,881
1,458
If you look at the first picture on that web page, it illustrates that you can write
[tex]\vec{v} = (\mathrm{proj}_W\ \vec{v}) + \vec{v}_\perp[/tex]That is, you can resolve any vector [itex]\vec{v}[/itex] into a piece that lies in the plane W and a piece that's perpendicular to W. Solving for the projection, you get
[tex]\mathrm{proj}_W\ \vec{v} = \vec{v} - \vec{v}_\perp[/tex]So if you can figure out how to find [itex]\vec{v}_\perp[/itex], which is very likely a problem you solved before, you can then find the projection of [itex]\vec{v}[/itex] onto W. Hint: think about the normal to the plane.

If you don't want to use that approach, you can go with the method you tried. But as you noted, you need an orthogonal basis for W. You've been given a basis. You just need to make it orthogonal.
 
  • #12
48
0
If you look at the first picture on that web page, it illustrates that you can write
[tex]\vec{v} = (\mathrm{proj}_W\ \vec{v}) + \vec{v}_\perp[/tex]That is, you can resolve any vector [itex]\vec{v}[/itex] into a piece that lies in the plane W and a piece that's perpendicular to W. Solving for the projection, you get
[tex]\mathrm{proj}_W\ \vec{v} = \vec{v} - \vec{v}_\perp[/tex]So if you can figure out how to find [itex]\vec{v}_\perp[/itex], which is very likely a problem you solved before, you can then find the projection of [itex]\vec{v}[/itex] onto W. Hint: think about the normal to the plane.

If you don't want to use that approach, you can go with the method you tried. But as you noted, you need an orthogonal basis for W. You've been given a basis. You just need to make it orthogonal.
Ok, thanks. I think i've got it.
 

Related Threads on Projections onto subspaces

Replies
0
Views
4K
Replies
5
Views
11K
Replies
0
Views
2K
Replies
4
Views
3K
Replies
2
Views
3K
Replies
3
Views
949
  • Last Post
Replies
2
Views
981
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
2
Views
3K
Top