Normalizing a vector / Orthonormal?

  • Thread starter RJLiberator
  • Start date
  • Tags
    Vector
In summary: This is good too!So, it is orthonormal. 3. Is it an orthonormal basis?Yes! Since it is orthonormal, it is automatically linearly independent. Since it is also a basis (as it spans the space of C^3), it is an orthonormal basis. I'm not sure if this is what you were asking for, but I hope it helps you understand the basics of this question.
  • #1
RJLiberator
Gold Member
1,095
63

Homework Statement



Which of the following sets of vectors in C^3 is an orthogonal set? Orthonormal? Orthonormal basis?

Homework Equations


Orthogonal if v * w *= 0
Orthonormal if orthogonal and each vector is normalized

The Attempt at a Solution



We are giving in the first example:

v:= \begin{pmatrix}
1\\
1\\
1
\end{pmatrix}
w:= \begin{pmatrix}
1\\
-2\\
1
\end{pmatrix}
z:= \begin{pmatrix}
1\\
0\\
-1
\end{pmatrix}

1. It is pretty clear, by computation, to see that this is a set of orthogonal vectors. v*w=0, w*z=0 and v*z=0.
2. Orthonormal requirement 1 is now met, but is each vector normalized? Here is my question:
Is there a way to normalize vectors in general? I assume so from my notes.
If so, can this be normalized? From the looks of it, it doesn't seem so, but how would one go about this process?

With the way it is, IF it could be normalized, can you say this set is orthonormal? Or is it enough that the set is NOT currently normalized to conclude that it is NOT orthonormal?
 
Physics news on Phys.org
  • #2
If [itex]\|v\| \neq 0[/itex] then [itex]\frac{v}{\|v\|}[/itex] has norm 1.
 
  • #3
RJLiberator said:
With the way it is, IF it could be normalized, can you say this set is orthonormal? Or is it enough that the set is NOT currently normalized to conclude that it is NOT orthonormal?
The second sentence is correct. The set is not orthonormal, but we can obtain a new set (in the way suggested above) that is orthonormal.
 
  • Like
Likes RJLiberator
  • #4
Okay, so what I am getting here is the following:

If ||v|| does NOT equal 0, then it can always be normalized to 1 using the equation posted in the first reply.
But since the set was NOT normalized to begin with, I can conclude that this is NOT orthonormal.

That makes sense to me ^^.

And since it is not orthonormal, it is automatically not an orthonormal basis.
 
  • #5
I agree.

Maybe just as an exercise, are the following statements true (give a proof) or false (give a counterexample)?
  1. Every orthogonal set is linearly independent.
  2. Every orthonormal set is linearly independent.
(Don't feel obliged, and do it only when you have already studied linear independence, which I suppose you have.)
 
  • Like
Likes RJLiberator
  • #6
I'm going to jump at this one:
1. No, not every orthogonal set is L.I.
2. Yes! Every orthonormal set is linearly independent and this a linear basis.

Proof? Hm. That will take a bit more time today, but perhaps by the end of my assignment I will be able to easily prove it. I already had the intuition based off the definitions.

To drive the original post in this thread home:

Example 2:

{ 1/sqrt(6) * (1, -2, -i), 1/sqrt(3) (i, i, 1)}

In this example, we have to use complex conjugate by definition, correct?
In using the complex conjugate, we see these two vectors multiplied together do indeed equal 0 and we see orthogonality.

We also conclude that this is not orthonormal since it is not in normalized form.
Therefore it is not an orthonormal basis.
 
  • #7
Hm, it seems I am confused on one major aspect:

In this example: { 1/sqrt(6) * (1, -2, -i), 1/sqrt(3) (i, i, 1)}

If we apply the complex conjugate as I stated in my previous post, then YES it is orthogonal.

Error: NVM this part of my post, found my algebraic error.

This is NOT orthonormal as the first component multiplied by itself DOES equal 1, the second component multiplied by itself does NOT equal 1.
 
  • #8
RJLiberator said:
I'm going to jump at this one:
1. No, not every orthogonal set is L.I.
2. Yes! Every orthonormal set is linearly independent and this a linear basis.
Any orthogonal set that doesn't include the zero vector is linearly independent.

One thing you might not be clear on is what the "normal" part means. The only difference between an orthogonal set of nonzero vectors and an orthonormal set of vectors, is that the orthonormal vectors all have magnitude 1. It's very simple to normalize (i.e., make it length 1) -- just divide the vector by its magnitude. As long as the vector isn't the zero vector, you can always do this.
 
  • Like
Likes RJLiberator
  • #9
Krylov said:
I agree.

Maybe just as an exercise, are the following statements true (give a proof) or false (give a counterexample)?
  1. Every orthogonal set is linearly independent.
  2. Every orthonormal set is linearly independent.
(Don't feel obliged, and do it only when you have already studied linear independence, which I suppose you have.)

What is the justification of your answer to (1)? Can you actually find an orthogonal set whose members are linearly dependent? (I am betting not!
RJLiberator said:
I'm going to jump at this one:
1. No, not every orthogonal set is L.I.
2. Yes! Every orthonormal set is linearly independent and this a linear basis.

Proof? Hm. That will take a bit more time today, but perhaps by the end of my assignment I will be able to easily prove it. I already had the intuition based off the definitions.

To drive the original post in this thread home:

Example 2:

{ 1/sqrt(6) * (1, -2, -i), 1/sqrt(3) (i, i, 1)}

In this example, we have to use complex conjugate by definition, correct?
In using the complex conjugate, we see these two vectors multiplied together do indeed equal 0 and we see orthogonality.

We also conclude that this is not orthonormal since it is not in normalized form.
Therefore it is not an orthonormal basis.

What is the justification of your answer to (1)? Can you actually give/describe/construct an orthogonal set whose members are not linearly independent?

What is the justification of your answer to (2)? Can you actually start with some orthonormal set and prove that it is a basis? (Waring: be very careful about the actual wording in (2).)
 
  • Like
Likes RJLiberator
  • #10
Okay, I'm at a bit of a loss on this question and want to get back to the very basics of this question.Let's take for example
(1/sqrt(6), -2/sqrt(6), -i/sqrt(6)) = vector 1 = v
(i/sqrt(3), i/sqrt(3), 1/sqrt(3)) = vector 2 = w

{ vector 1, vector 2 } is the set in question.

1. Is this set orthogonal?
YES. why?
|v> |w> = we must use the complex conjugate of w here, so we see that it does indeed equal 0 when we use the complex conjugate.
This concludes orthogonality.

2. Is it orthonormal?
Well, I'm not sure, but when I take:
|v>*|v> = 1 that is good.
|w>*|w> seems to equal -1/3.

So that would mean that this is NOT orthonormal.

3. This would mean that this cannot be an orthonormal basis.

Is my analysis here correct?
 
  • #11
RJLiberator said:
Okay, I'm at a bit of a loss on this question and want to get back to the very basics of this question.Let's take for example
(1/sqrt(6), -2/sqrt(6), -i/sqrt(6)) = vector 1 = v
(i/sqrt(3), i/sqrt(3), 1/sqrt(3)) = vector 2 = w

{ vector 1, vector 2 } is the set in question.

1. Is this set orthogonal?
YES. why?
|v> |w> = we must use the complex conjugate of w here, so we see that it does indeed equal 0 when we use the complex conjugate.
This concludes orthogonality.

2. Is it orthonormal?
Well, I'm not sure, but when I take:
|v>*|v> = 1 that is good.
|w>*|w> seems to equal -1/3.
Check your arithmetic. One definition of the norm for complex numbers is ##|z| = \sqrt{z \cdot \bar{z}}##

RJLiberator said:
So that would mean that this is NOT orthonormal.

3. This would mean that this cannot be an orthonormal basis.

Is my analysis here correct?
 
  • Like
Likes RJLiberator
  • #12
Beautiful. This is a great definition that I've been missing out here.

This could be the key to this problem!

But after trying to apply it here for the past 20 minutes, I can't seem to figure out how. Let's take our example:

(1/sqrt(6), -2/sqrt(6), -i/sqrt(6)) = vector 1 = v
(i/sqrt(3), i/sqrt(3), 1/sqrt(3)) = vector 2 = w

so If we use that definition of the norm

|v| = | (1/6+4/6-1/6) as we square each component, and namely (-i/sqrt(6))^2 = -1/6
The square root part of the equation turns out to be:

sqrt(<1/sqrt(6), -2/sqrt(6), -i/sqrt(6)> * <1/sqrt(6), -2/sqrt(6), i/sqrt(6)>)
and so we get
sqrt(1/6+4/6+1/6>
= 1

1 does not equal 4/6 so this is not orthogonal

But something tells me I am calculating this improperly.
My assignment has 4 different sets and I calculated them all to be non-orthonornmal, I highly doubt that all 4 of them are not orthonormal.
I must be doing something wrong.
 
  • #13
RJLiberator said:
Beautiful. This is a great definition that I've been missing out here.

This could be the key to this problem!

But after trying to apply it here for the past 20 minutes, I can't seem to figure out how. Let's take our example:

(1/sqrt(6), -2/sqrt(6), -i/sqrt(6)) = vector 1 = v
(i/sqrt(3), i/sqrt(3), 1/sqrt(3)) = vector 2 = w

so If we use that definition of the norm

|v| = | (1/6+4/6-1/6) as we square each component, and namely (-i/sqrt(6))^2 = -1/6
No, you're not doing this right.

Let's look at a simpler example: z = 1 + 2i, and calculate |z| two ways.
1. ##|z| = \sqrt{1^2 + 2^2} = \sqrt{5}## Note that you use the coefficient of i here, not i itself.
2. ##|z| = \sqrt{z \cdot \bar{z}} = \sqrt{(1 + 2i) \cdot (1 - 2i)} = \sqrt{1 -4i^2} = \sqrt{5}##
RJLiberator said:
The square root part of the equation turns out to be:

sqrt(<1/sqrt(6), -2/sqrt(6), -i/sqrt(6)> * <1/sqrt(6), -2/sqrt(6), i/sqrt(6)>)
and so we get
sqrt(1/6+4/6+1/6>
= 1

1 does not equal 4/6 so this is not orthogonal

But something tells me I am calculating this improperly.
My assignment has 4 different sets and I calculated them all to be non-orthonornmal, I highly doubt that all 4 of them are not orthonormal.
I must be doing something wrong.
 
  • Like
Likes RJLiberator
  • #14
Well, I completely understand that example, but how do I translate it to this with 3 components?

Do I take it component by component?

That's what is giving me problems here.
 
  • #15
RJLiberator said:
Well, I completely understand that example, but how do I translate it to this with 3 components?

Do I take it component by component?
You could use the 2nd technique I listed before, i.e., ##|z| = \sqrt{z \cdot \bar{z}}##.
What's the complex conjugate of ##<\frac{1}{\sqrt{6}}, \frac{-2}{\sqrt{6}}, \frac{-i}{\sqrt{6}}>##?
RJLiberator said:
That's what is giving me problems here.
 
  • Like
Likes RJLiberator
  • #16
Mark44 said:
You could use the 2nd technique I listed before, i.e., ##|z| = \sqrt{z \cdot \bar{z}}##.
What's the complex conjugate of ##<\frac{1}{\sqrt{6}}, \frac{-2}{\sqrt{6}}, \frac{-i}{\sqrt{6}}>##?
complex conjugate : ##<\frac{1}{\sqrt{6}}, \frac{-2}{\sqrt{6}}, \frac{i}{\sqrt{6}}>##?

Isn't that what I did in post #12? Sorry for the lack of latex...
 
  • #17
RJLiberator said:
complex conjugate : ##<\frac{1}{\sqrt{6}}, \frac{-2}{\sqrt{6}}, \frac{i}{\sqrt{6}}>##?
Yes
RJLiberator said:
Isn't that what I did in post #12? Sorry for the lack of latex...
In post #12 you did the same calculation twice, and got two different answers. The part quoted below is the one you got wrong.
RJLiberator said:
|v| = | (1/6+4/6-1/6) as we square each component, and namely (-i/sqrt(6))^2 = -1/6
The coefficient of i in the third element of your vector is ##\frac{-1}{\sqrt{6}}##. When you square it, you get ##\frac 1 6## not ##\frac{-1} 6##.

IMO, if you have to find the magnitude of a vector in ##\mathbb{C}^2## or higher dimensions, you're better off using the inner product definition -- ##|z| = \sqrt{z \cdot \bar{z}}##. Less chance for making an error, I think.
 
  • Like
Likes RJLiberator
  • #18
RJLiberator said:
complex conjugate : ##<\frac{1}{\sqrt{6}}, \frac{-2}{\sqrt{6}}, \frac{i}{\sqrt{6}}>##?

Isn't that what I did in post #12? Sorry for the lack of latex...

I think you are still not "getting" it, despite having been told over and over again what to do. The examples above are all a bit simple, as each component is either real or pure imaginary. To really hammer home the concept, I suggest you do it for a "mixed" example, such as
[tex] \vec{v} = \langle 2+i, (1 - i)/2, -3i \rangle [/tex]
What is ##|\vec{v}|^2 = \langle \vec{v}, \vec{v} \rangle## in this case?
 
  • Like
Likes RJLiberator
  • #19
Okay, that makes sense to me -- regarding my calculation:
I am not seeing where I went wrong with my calculation, but I understand that that is how it is defined.

so If we use that definition of the norm

|v| = | (1/6+4/6-1/6) as we square each component, and namely (-i/sqrt(6))^2 = -1/6

I think with a bit more work on my part soon, I will understand why I went wrong here.
With this being stated, let me try out Ray Vickson's suggestion:

[tex]\vec{v} = \langle 2+i, (1 - i)/2, -3i \rangle[/tex]

[tex]\sqrt{\langle 2+i, (1 - i)/2, -3i \rangle * \langle 2-i, (1 + i)/2, +3i \rangle}[/tex]

[tex] =\sqrt{(2+i)(2+i)+(1-i)/2*(1+i)/2+(-3i)(3i)}[/tex]

[tex] =\sqrt{ 3+2i+1/2+9} [/tex]

[tex] = \sqrt{12.5+2i} [/tex]
 
  • #20
RJLiberator said:
Okay, that makes sense to me -- regarding my calculation:
I am not seeing where I went wrong with my calculation, but I understand that that is how it is defined.
I think with a bit more work on my part soon, I will understand why I went wrong here.
With this being stated, let me try out Ray Vickson's suggestion:

[tex]\vec{v} = \langle 2+i, (1 - i)/2, -3i \rangle[/tex]

[tex]\sqrt{\langle 2+i, (1 - i)/2, -3i \rangle * \langle 2-i, (1 + i)/2, +3i \rangle}[/tex]

[tex] =\sqrt{(2+i)(2+i)+(1-i)/2*(1+i)/2+(-3i)(3i)}[/tex]
(Above) No.
RJLiberator said:
[tex] =\sqrt{ 3+2i+1/2+9} [/tex]

[tex] = \sqrt{12.5+2i} [/tex]
The answer should be a real, nonnegative number.
 
  • #21
A mistake of quickness has been made, let me rewrite:

[tex]\vec{v} = \langle 2+i, (1 - i)/2, -3i \rangle[/tex]

[tex]\sqrt{\langle 2+i, (1 - i)/2, -3i \rangle * \langle 2-i, (1 + i)/2, +3i \rangle}[/tex]

[tex] =\sqrt{(2+i)(2-i)+(1-i)/2*(1+i)/2+(-3i)(3i)}[/tex]

[tex] =\sqrt{ 4+1+1/2+9} [/tex]

[tex] = \sqrt{14.5} [/tex]

Is this correct now?
 
  • #22
RJLiberator said:
A mistake of quickness has been made, let me rewrite:

[tex]\vec{v} = \langle 2+i, (1 - i)/2, -3i \rangle[/tex]

[tex]\sqrt{\langle 2+i, (1 - i)/2, -3i \rangle * \langle 2-i, (1 + i)/2, +3i \rangle}[/tex]

[tex] =\sqrt{(2+i)(2-i)+(1-i)/2*(1+i)/2+(-3i)(3i)}[/tex]

[tex] =\sqrt{ 4+1+1/2+9} [/tex]

[tex] = \sqrt{14.5} [/tex]

Is this correct now?

Yes.
 
  • Like
Likes RJLiberator
  • #23
RJLiberator said:
A mistake of quickness has been made
It's a bit more than this, I think. The magnitude of a real number, complex number, vector (real or complex), matrix, or whatever, is always nonnegative. Ending up with a result that was the square root of a complex number should have been a tipoff that something was wrong.
 
Last edited:
  • Like
Likes RJLiberator

FAQ: Normalizing a vector / Orthonormal?

What is the purpose of normalizing a vector?

Normalizing a vector means to scale it down to a unit vector with a magnitude of 1. This allows for easier comparison between vectors and simplifies mathematical operations.

How do you normalize a vector?

To normalize a vector, you divide each component of the vector by its magnitude. The magnitude can be found by taking the square root of the sum of the squared components.

What is the difference between a normalized vector and an orthonormal vector?

A normalized vector is a vector with a magnitude of 1. An orthonormal vector is a normalized vector that is also orthogonal to all other vectors in the same space. This means that the dot product of any two orthonormal vectors is 0.

Why is it important for a set of vectors to be orthonormal?

An orthonormal set of vectors is useful in many mathematical applications, such as in linear algebra and signal processing. It simplifies calculations and allows for easier visualization and interpretation of data.

Can any set of vectors be normalized or orthonormalized?

Yes, any set of non-zero vectors can be normalized. However, not all sets of vectors can be orthonormalized. For a set of vectors to be orthonormal, they must be linearly independent and form a basis for the vector space.

Similar threads

Replies
4
Views
1K
Replies
2
Views
688
Replies
6
Views
1K
Replies
6
Views
780
Replies
3
Views
1K
Replies
16
Views
2K
Replies
4
Views
2K
Replies
4
Views
2K
Replies
12
Views
2K
Back
Top