I have the following complex vectors:


We need to apply Gram-Schmidt.

For $v_1$ I got the same vector as for $u_1$ that means $v_1=(0,0,0,0,1)$.
For $v_2' = u_2 \langle v_1,u_2 \rangle v1 $
So I calculated $\langle v_1,u_2 \rangle = (0,0,0,0,1)\cdot(0,0,1,0,i) = i$
With that: $(0,0,1,0,i) - i\,(0,0,0,0,1) = (0,0,1,0,0)=v_2'$
Moreover for $v_2$ i also got $(0,0,1,0,0)$ with $\|v_2\|=\sqrt{0^2+0^2+1^2+0^2+0^2} = \sqrt1 = 1\,(0,0,1,0,0)=(0,0,1,0,0)$
For $v_3'=u_3-\langle v_1,u_3 \rangle v_1-\langle v_2,u_3 \rangle v_2$
For $\langle v_1,u_3 \rangle =(0,0,0,0,1)\cdot(2,0,i,1,1)=1$
For $\langle v_2,u_3 \rangle =(0,0,1,0,0)\cdot(2,0,i,1,1)=i$
With that $(2,0,i,1,1)-1\,(0,0,0,0,1)-i\,(0,0,1,0,0)=(2,0,i,0,0)-i\,(0,0,1,0,0)=(2,0,0,0,0)=v_3'$
There is definitly a mistake here. So it would be really helpful if someone could help me here..

  • $\begingroup$ I would be really helpful if you showed more of your work. $\endgroup$ – amd May 22 '17 at 18:55
  • $\begingroup$ Ok. I edited it $\endgroup$ – PhysX May 22 '17 at 19:20
  • $\begingroup$ I’ve edited your question to make it more readable. Have a look at how my edit differs from what you had. For the future, please learn to use MathJax. You can find a tutorial here. You’re much more likely to attract answers when people don’t have to slog through nigh-unreadable questions. $\endgroup$ – amd May 22 '17 at 20:53
  • $\begingroup$ Thank you so much man.. I am still a noob at this, so I will take a look $\endgroup$ – PhysX May 22 '17 at 20:55

$(2,0,i,1,1)-(0,0,0,0,1)\ne(2,0,i,0,0)$. You dropped the $1$ in the fourth slot.

  • $\begingroup$ (2,0,i,1,1)−(0,0,0,0,1) = (2,0,i,1,0) With that I would get = (2,0,i,1,0) -i(0,0,1,0,0)= (2,0,0,1,0) $\endgroup$ – PhysX May 22 '17 at 20:57
  • $\begingroup$ @PhysX Yes, but that’s not what you’ve got in the work that you show in your question. $\endgroup$ – amd May 22 '17 at 20:58
  • $\begingroup$ Are v'2 and v2 even right? I am really not sure about this. $\endgroup$ – PhysX May 22 '17 at 21:01
  • $\begingroup$ @PhysX They are. You just made a simple arithmetic error when computing $v_3'$. $\endgroup$ – amd May 22 '17 at 21:02
  • $\begingroup$ I calculated the rest. For v'3=(2,0,0,1,0). For v3= $\sqrt5$ * (2,0,0,1,0). v'4 = (1/5, 2i, 0,-2/5, 0) and v4= $\sqrt24/5 \ $ *(1/5, 2i, 0 ,-2/5,0) ^^ $\endgroup$ – PhysX May 22 '17 at 22:28

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.