Projecting a Vector onto a Subspace using Linear Algebra

Click For Summary

Homework Help Overview

The problem involves projecting a vector in the complex space \(\mathbb{C}^3\) onto a subspace spanned by two given vectors. The original poster presents their attempts at the projection and expresses uncertainty about their approach.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the validity of the original poster's assumption that the vector is contained within the subspace and suggest finding an orthogonal vector. There are questions about the normalization of the spanning vectors and the implications of using inner products for projections.

Discussion Status

Participants are actively engaging with the problem, providing suggestions for alternative approaches and clarifying concepts related to inner products and projections. The original poster is reworking their solution based on feedback, indicating a productive direction in the discussion.

Contextual Notes

There are indications of confusion regarding the normalization of vectors and the necessity of finding an orthogonal vector, as well as considerations specific to complex vectors in the context of the problem.

DanielFaraday
Messages
86
Reaction score
0
I apologize for the excessive use of Latex, but for this particular problem I think the notation would be extremely difficult to read otherwise. I usually try to keep my use of Latex to a minimum.

Homework Statement



[tex]\text{Let }<br /> \mathbb{C}^3<br /> \text{ be equipped with the standard inner product and let }<br /> \text{\textit{W}}<br /> \text{ be the subspace of }<br /> \mathbb{C}^3<br /> \text{ that is spanned by }[/tex]
[tex] \pmb{u}_1=(1,0,1)<br /> \text{ and }<br /> \pmb{u}_2=\left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},-\frac{1}{\sqrt{3}}\right)<br /> \text{. Project the vector }<br /> \pmb{v}=(1,i,i)<br /> \text{ onto }<br /> \text{\textit{W}}.[/tex]

Homework Equations



None

The Attempt at a Solution



Here is what I have so far. I think I'm missing something, though.

[tex] \pmb{\hat{\pmb{u}}}_1=\frac{\pmb{u}_1}{\left\|\pmb{u}_1\right\|}=\frac{(1,0,1)}{\sqrt{2}}=\left(\sqrt{2},0,\sqrt{2}\right)[/tex]
[tex] \pmb{\hat{\pmb{u}}}_2=\frac{\pmb{u}_2}{\left\|\pmb{u}_2\right\|}=\frac{\left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},-\frac{1}{\sqrt{3}}\right)}{1}=\left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},-\frac{1}{\sqrt{3}}\right)[/tex]
[tex] \pmb{v}=(1,i,i)=a\pmb{\hat{\pmb{u}}}_1+b\pmb{\hat{\pmb{u}}}_2=a\left(\sqrt{2},0,\sqrt{2}\right)+b\left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},-\frac{1}{\sqrt{3}}\right)=\left(a\sqrt{2}+b\frac{1}{\sqrt{3}},b\frac{1}{\sqrt{3}},a\sqrt{2}-b\frac{1}{\sqrt{3}}\right)[/tex]
[tex] b\frac{1}{\sqrt{3}}=i\Rightarrow b=i\sqrt{3}[/tex]
[tex] 1=a\sqrt{2}+b\frac{1}{\sqrt{3}}=a\sqrt{2}+i\Rightarrow a=\frac{1-i}{\sqrt{2}}[/tex]
[tex] v=\frac{1-i}{\sqrt{2}}\pmb{\hat{\pmb{u}}}_1+i\sqrt{3}\pmb{\hat{\pmb{u}}}_2[/tex]
 
Last edited:
Physics news on Phys.org
You started off by assuming that v is contained in W, which is a mistake. You need to find a vector orthogonal to W, write v in terms of u1, u2 and that new third vector (which will necessarily be spanning C3 at this point) and then eliminate the component that's not in W.

There's a slick way to do this by noting that since u1, u2 and the third vector are all orthogonal, you can use inner products to determine what the coefficients will be by taking the inner product of v with u1 and u2, this is either described in your text already or you can figure it out in a fairly straightforward manner
 
To add to that, you did not normalize u1 correctly. Also, why are you normalizing them? The question seems to be asking for what the vector is in terms of these vectors that aren't normalized. You can do one of two things - 1) don't normalize and continue with what Office_Shredder suggested and answer with the basis given or 2) normalize and keep in mind that you're dealing with a new basis when answering the question.
 
Thank you both for your input. I have started reworking the problem using Pengwuino's suggestion of not normalizing the vectors. I also took the advice of Office_Shredder by finding an orthogonal vector.

Things are looking good, but I don't quite understand the trick with inner products. Could you offer a bit more explanation?

Thanks again!
 
Wait, I think I might understand what you mean now. So, I can take the inner product of v with u1 and u2 and those two values will be the two projection values, right? So do I even need to find that third orthogonal vector?
 
If v=au1 + bu2+cu3 and the ui's are orthogonal, to find a you can look at <v,u1> = a<u1,u1> (see this by using the linearity of the inner product with the right hand side of the first equation
 
The inner product allows you to find, in a sense, how much of a vector is on another vector. For example, if you have 2 vectors A = (0,0,1) and B = (0,3,0) and you want to find the projection of the vector B onto a new vector C = (0,6,3) , you dot B into C with the usual dot product and divide by the norm of B, that is [tex]\frac{{B \cdot C}}{{|B|^2 }}[/tex], you'll get "how much" of B is in C. You'll obviously get 2 which means that you can express C = 2B + 3C if you do the same for the projection of A onto C (getting 3).
 
Okay, how is this? Is there anything special I should do since I am dealing with complex vectors?

[tex] \pmb{u}_1=(1,0,1)[/tex]

[tex] \pmb{u}_2=\left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},-\frac{1}{\sqrt{3}}\right)\[/tex]

[tex] \left\langle \pmb{v},\pmb{u}_1\right\rangle =1+0+i=1+i[/tex]

[tex] \left\langle \pmb{v},\pmb{u}_2\right\rangle =\frac{1}{\sqrt{3}}+\frac{1}{\sqrt{3}}i-\frac{1}{\sqrt{3}}i=\frac{1}{\sqrt{3}}[/tex]

[tex] v=(1+i)\pmb{u}_1+\frac{1}{\sqrt{3}}\pmb{u}_2[/tex]
 
Last edited:
Does anyone know if this is correct?
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K