Proving Orthogonal Bases Homework Statement

  • Thread starter Thread starter LosTacos
  • Start date Start date
  • Tags Tags
    Bases Orthogonal
LosTacos
Messages
79
Reaction score
0

Homework Statement



Let B be an ordered orthonormal basis for a k-dimensional subspace V of ℝn. Prove that for all v1,v2 ∈ V, v1·v2 = [v1]B · [v2]B, where the first dot product takes place in ℝn and the second takes place in ℝk.


Homework Equations





The Attempt at a Solution


Let B = (b1,...,bk)
Express v1 and v2 as linear combinations of the vectors in B:
v1 = a1v1 + a2v2 + ... + akvk
v2 = b1v1 + b2v2 + ... + bkvk
I am confused as to where to go from here.
 
Physics news on Phys.org
It seems like a terrible idea to use the same notation for the first two basis vectors as for the two arbitrary vectors. Other than that, good start. What happens if you use what you wrote down to evaluate ##v_1\cdot v_2##?
$$v_1\cdot v_2=\cdots $$
 
Okay so let the first basis be x = x1v1 + x2v2 + ... + xkvk and the second basis be y = y1v1 + y2v2 ... + ykvk. Then, the dot product of xy = (x1y1)v1 + (x2y2)v2 + ... + (xkyk)vk
 
LosTacos said:
Okay so let the first basis be x = x1v1 + x2v2 + ... + xkvk and the second basis be y = y1v1 + y2v2 ... + ykvk.
Uhm...I assume that you meant to say that you now intend to use the notation x and y for the two arbitrary vectors in V.

LosTacos said:
Then, the dot product of xy = (x1y1)v1 + (x2y2)v2 + ... + (xkyk)vk
The result of a dot product is a number, but what you wrote here is a vector.

Could you please use sub tags for the indices? Like this: x2. Hit the quote button to see how I typed this. And here's a dot that you can copy and paste: ·
 
Okay, well since B is an orthonormal basis, then the set of all its vecors are unit vectors. So when taking the dot product of xy, I must turn them into unit vectors:
xy = [(x1y1)v1]/IIv1II + [(x2y2)v2]/IIv2II + ... + [(xkyk)vk]/IIvkII.
But, since B is orthnormal:
IIvkII = 1
 
Your notation is pretty hard to read, and that's still a vector.
 
Sorry, xy = [x1y1]v1 / (Unit vector v1) + [x2y2]v2 / (Unit vector v2) + ...+ [xkyk]vk (Unit vector vk) = 1
 
That's easier to read, but it's still wrong. As I've been saying, the result of a dot product isn't a vector, and what you're writing is. Also, you could write ||v1|| for the norm of v1. It's wrong to call it "unit vector v1".
 
I am confused as to how the dot product works here. So i am going to try it from the other direction. Since B is an orthonormal basis, [v1]b = [v1·v1, + v1·v2, + ...+ v1·vk

Then, [v2]b = [v2·v1, + v2·v2, + ...+ v2·vk

So how could I represent teh dot product of both of these?
 
  • #10
LosTacos said:
Let B = (b1,...,bk)
Express v1 and v2 as linear combinations of the vectors in B:
v1 = a1v1 + a2v2 + ... + akvk
v2 = b1v1 + b2v2 + ... + bkvk
As Fredrik already noted, your notation is very confusing. Here's my attempt to unravel it.
v1 = a1b1 + a2b2 + ... + akbk
Here, v1 is written as a linear combination of the basis vectors b1, b2, ... , bk.
v2 = c1b1 + c2b2 + ... + ckbk
Here, v2 is written as a different linear combination of the same basis vectors b1, b2, ... , bk.

Now, what is v1 ##\cdot## v2?
 
  • #11
LosTacos said:
I am confused as to how the dot product works here. So i am going to try it from the other direction. Since B is an orthonormal basis, [v1]b = [v1·v1, + v1·v2, + ...+ v1·vk

Then, [v2]b = [v2·v1, + v2·v2, + ...+ v2·vk

So how could I represent teh dot product of both of these?
I can't imagine a more confusing notation than this :smile:

You started at the right end before, with an OK notation. You just need to use what you know about of the dot product to evaluate what you get when you replace the x and the y in x·y with the corresponding linear combinations of elements of B.
 
  • #12
v1 ⋅ v2 = a1c1(b1) + a2c2(b2) + ... + akck(bk)

Since B = (b1, b2, ... , bk) is the orthonormal basis,

v1 ⋅ v2 = [v1]B ⋅ [v2]B
 
  • #13
Still wrong, in the same way as before. What you're writing there is a vector, but ##v_1\cdot v_2## is not a vector, so what you wrote can't possibly be right. Think about what you know about the dot product, and write out the intermediate steps in your calculation.
 
  • #14
I understand v1 ⋅ v2 is not a vector. I don't know how to represent it. I understand that v1 ⋅ v2 = the sum of (1st element of v1)x(1st element of v2) + (2nd element of v1) x (2nd element of v2) + ... + (kth element of v1)x(kth element of v2)
 
  • #15
Suppose u = u1i + u2j + u3k, and
v = u1i + u2j + u3k

What is u ##\cdot## v? In the above, i, j, and k are the usual unit vectors in R3. Note that they are an orthonormal set.
 
  • #16
u ⋅ v = (u1)(u1) + (u2)(u2) + (u3)(u3)
 
  • #17
Do you know any theorems about the properties of the dot product? For example, if x,y,z are vectors and k is a number, what can you tell me about these expressions?
\begin{align}x\cdot (y+z)=?\\
(kx)\cdot y=?
\end{align}
 
  • #18
x⋅(y+z) = x⋅y + x⋅z

(kx)⋅y = k(x⋅y)
 
  • #19
LosTacos said:
u ⋅ v = (u1)(u1) + (u2)(u2) + (u3)(u3)
Yes, that's correct. Do you understand why there are no i##\cdot## j or i##\cdot## k (etc.) terms? Or why you don't need to include the i##\cdot## i and j##\cdot## j (etc.) terms?

Think about this when you're calculating v1 ##\cdot## v2. As Fredrik already said, this dot product represents a number, so should not involve any vectors.
 
  • #20
LosTacos said:
x⋅(y+z) = x⋅y + x⋅z

(kx)⋅y = k(x⋅y)
Exactly right. So what do you get if you use these rules to evaluate ##v_1\cdot v_2##? (First express ##v_1## and ##v_2## as linear combinations of the basis vectors. Then use these rules).
 
  • #21
v1 = a1b1 + a2b2 + ... + akbk

v2 = c1b1 + c2b2 + ... + ckbk

v1⋅v2 = a1c1 + a2c2 + ... + akck
 
  • #22
This is correct, but I would like to see an intermediate step that shows that you know why that last equality holds.
 
  • #23
v1⋅v2 = a1c1(b1) + a2c2(b2) + ... + akck(bk)

= a1c1(1) + a2c2(1) + ... + akck(1)
 
  • #24
No, that first equality is wrong. Each of those terms is a vector, so their sum is too. This is assuming that (b1) means b1. I don't know what else it could mean.

In the first step, you should just use the first two equalities from post #21, nothing else. In the second step, you should use the rules I mentioned.
 
  • #25
You didn't answer the questions I asked earlier.
Mark44 said:
Do you understand why there are no i##\cdot## j or i##\cdot## k (etc.) terms? Or why you don't need to include the i##\cdot## i and j##\cdot## j (etc.) terms?

LosTacos said:
v1⋅v2 = a1c1(b1) + a2c2(b2) + ... + akck(bk)

= a1c1(1) + a2c2(1) + ... + akck(1)
 
  • #26
v1⋅v2 = a1b1 + a2b2 + ... + akbk
v2 = b1c1 + b2c2 + ... + bkck

v1⋅v2 = (a1b1)c1 + (a2b2)c2 + ... + (akbk)ck

v1⋅v2 = (a1c1)b1 + (a2c2)b2 + ... + (akck)bk
 
  • #27
Now you're just guessing...
 
  • #28
I used the fact that (kx)⋅y = k(x⋅y). Since the basis is orthonormal, all the vectors are unit vectors. Therefore, they are each = 1. So, I took the fact that 1 times xy = xy
 
  • #29
LosTacos said:
v1⋅v2 = a1b1 + a2b2 + ... + akbk
v2 = b1c1 + b2c2 + ... + bkck
If you're following Fredrik's suggestion, the first equation above should be
v1 = a1b1 + a2b2 + ... + akbk

The second equation would be better written as
v2 = c1b1 + c2b2 + ... + ckbk

(I added bolding to make the vectors more obvious.)

So v1 ##\cdot## v2 = (a1b1 + a2b2 + ... + akbk) ##\cdot## (c1b1 + c2b2 + ... + ckbk)

Now what do you get, showing the intermediate steps?
LosTacos said:
v1⋅v2 = (a1b1)c1 + (a2b2)c2 + ... + (akbk)ck

v1⋅v2 = (a1c1)b1 + (a2c2)b2 + ... + (akck)bk

LosTacos said:
I used the fact that (kx)⋅y = k(x⋅y). Since the basis is orthonormal, all the vectors are unit vectors. Therefore, they are each = 1. So, I took the fact that 1 times xy = xy
No, their magnitudes are 1. They are all still vectors, so they can't be equal to the number 1. For example, |b2| = 1, but b2 ≠ 1.
 
  • #30
v1⋅v2 = (a1b1 + a2b2 + ... + akbk)⋅ (b1c1 + b2c2 + ... + bkck)
= ((a1b1)(b1c1) + (a2b2)(b2c2) + ... + (akbk)(bkck)
 
  • #31
LosTacos said:
v1⋅v2 = (a1b1 + a2b2 + ... + akbk)⋅ (b1c1 + b2c2 + ... + bkck)
= ((a1b1)(b1c1) + (a2b2)(b2c2) + ... + (akbk)(bkck)

Since each vector has k terms, there should be k2 products. I see only k of them. You're missing most of them. Also, which things are vectors in what you wrote. I made an extra effort to indicate the things that were vectors in my last post.
 
  • #32
The b's would be squared because they are in each vector.
 
  • #33
LosTacos said:
v1⋅v2 = (a1b1 + a2b2 + ... + akbk)⋅ (b1c1 + b2c2 + ... + bkck)
=
Would you know how to handle this if we (temporarily) denote the first factor by x?

v1⋅v2 = (a1b1 + a2b2 + ... + akbk)⋅ (b1c1 + b2c2 + ... + bkck)
= x·(b1c1 + b2c2 + ... + bkck) =

Edit: I just noticed something that Mark44 has already made a comment about. The order of the bs and the cs there is pretty odd. We usually write the number first, and the vector second. So it would be better to write ##c_1b_1## instead of ##b_1c_1##, and it would be even better to use a notation like ##c_1\mathbf b_1##.
 
  • #34
Yes, it would be (b1x)c1 + (b2x)c2 + ... +(b1x)ck
 
  • #35
Yes, but it would make more sense to write it as ##c_1 x\cdot b_1+\cdots+c_k x\cdot b_k##. Now consider an arbitrary term from this sum, ##c_i x\cdot b_i##. What will this term look like if you use the definition of x?
 
  • #36
Let's try it again -

x ##\cdot## (c1b1 + c2b2 + ... + ckbk) = ?

Please distinguish between vectors and scalars. You're writing them all the same, so they are probably becoming an amorphous mush in your mind.

Don't use parentheses.
 
  • #37
It would be the sum of (cix)⋅bi
 
  • #38
LosTacos said:
It would be the sum of (cix)⋅bi
Which things in this expression are vectors? Aside from this, this is OK.

Now what about this?
So v1 ##\cdot## v2 = (a1b1 + a2b2 + ... + akbk) ##\cdot## (c1b1 + c2b2 + ... + ckbk)

Again, note that I am making clear which things are vectors and which things are scalars. Please try to follow this pattern. And we're looking for the intermediate steps, not necessarily the final result.
 
  • #39
If it makes things easier for you, you can start by using the definition

x=a1b1 + a2b2 + ... + akbk

to continue this:

(cix)·bi =ci (x·bi) = ...

As Mark said, we're more interested in the intermediate steps than in the final result.
 
  • #40
v1v2 = (a1b1 + a2b2 + ... + ak bk) ⋅ (c1b1 + c2b2 + ... + ck bk)
= (a1b1 ⋅ c1b1) + (a2b2⋅c2b2) + ... + (akbk ⋅ ckbk)

= (a1c[/B]1 b1b1) + (a2c[/B]2 b2b2) + ... + (akc[/B]k bkbk)

= sum of (aici)bi

= sum of (ai)bi + sum of (ci)bi

= [v1]B ⋅ [v2]B
 
  • #41
LosTacos said:
v1v2 = (a1b1 + a2b2 + ... + ak bk) ⋅ (c1b1 + c2b2 + ... + ck bk)
= (a1b1 ⋅ c1b1) + (a2b2⋅c2b2) + ... + (akbk ⋅ ckbk)
You are close to a complete solution now, but we are still interested in how you're getting from the first line to the second line. In particular, why are there only k terms in the second line?
 
  • #42
I don't understand. Back on #16 u ⋅ v = (u1)(u1) + (u2)(u2) + (u3)(u3)[/QUOTE]

And there are k terms because B is the orthonormal basis for a k-dimensional subspace
 
  • #43
#16 is just the definition of the dot product on ##\mathbb R^3##. It doesn't have a lot to do with this.

Let's consider a simpler problem. Suppose that ##\{u,v\}## is an orthonormal basis for ##\mathbb R^2##. Then what is ##u\cdot(u+v)##? Obivously, we have
$$u\cdot (u+v)=u\cdot u+u\cdot v=1+0=1.$$ Our objection is that since your calculation doesn't have any terms like ##u\cdot v##, we can't see if you used the properties of the dot product correctly.

What you're doing is like writing the above as
$$u\cdot (u+v)=u\cdot u.$$ This looks strange, because if we haven't yet used (any part of) the orthonormality of the set {u,v}, the result is ##u\cdot u+u\cdot v##, and if we have used the orthonormality, we can write the result as 1+0.

It looks a lot better if you use only the properties of the dot product in the first step, and then use the orthonormality in the second. What you did in the first step was (I hope) to use the properties of the dot product, and that B is an orthogonal set (while not using the other aspect of orthonormality). This isn't wrong, but it hides the fact that you understand what you're doing.

It would have been OK if you had added a comment like this: "In step 1, I'm using the properties of the dot product, and that B is an orthogonal set. In step 2, I'm using that the members of B are unit vectors."
 
  • #44
What do you mean that in step 2 you are using the members of B as unit vectors? And what was wrong with k elements?
 
  • #45
I'm not sure I can explain that any clearer than in my previous post. Was I using terms that you don't know the definition of? In that case, please ask about the terms you don't know, and then read my previous post again.

A unit vector is a vector with norm 1.

Do you understand that for all vectors u and v, we have (u+v)·(u+v) = u·u + u·v + v·u + v·v? This holds even if {u,v} is an orthonormal basis for ##\mathbb R^2##. Note that there are 4 terms, not 2 terms.
 
  • #46
Okay I think I understand.

v1v2 = (a1b1 + ... + ak bk) ⋅ (c1b1 + ... + ck bk)

= (a1b1 ⋅ c1b1) + (a1b1 ⋅ ckbk) + (akbk ⋅ c1b1) + (akbk ⋅ ckbk)

=
(a1c1 b1b1) +(a1ck b1bk) +(akc1 bkb1) +
(akck bkbk)

=
(a1c1 b1b1) + (a1ck⋅ 0) +
(akc1⋅ 0) +
(akck bkbk)

=
(a1c1 b1b1) +
(akck bkbk)
= sum of (aici)bi

= sum of (ai)bi + sum of (ci)bi

= [v1]B ⋅ [v2]B
 
  • #47
Can you please edit those B tags? This is too hard to read. [noparse]Start with or , end with or .[/noparse] You can edit your post for 11 hours and 40 minutes.
 
  • #48
LosTacos said:
Okay I think I understand.

v1v2 = (a1b1 + ... + ak bk) ⋅ (c1b1 + ... + ck bk)

= (a1b1 ⋅ c1b1) + (a1b1 ⋅ ckbk) + (akbk ⋅ c1b1) + (akbk ⋅ ckbk)
The B tags come in pairs - a B tag at the start of what you want to bold, and an /B tag at the end of what you want to bold. The easiest way is to use the B icon on the menu you get when you click Go Advanced (if the menu isn't already showing). A tag by itself doesn't do anything.

Your equation above isn't right, as it is missing most of the terms.

You're getting warmer on the work below, but it is not correct.




LosTacos said:
=
(a1c1 b1b1) +(a1ck b1bk) +(akc1 bkb1) +
(akck bkbk)

=
(a1c1 b1b1) + (a1ck⋅ 0) +
(akc1⋅ 0) +
(akck bkbk)

=
(a1c1 b1b1) +
(akck bkbk)



= sum of (aici)bi

= sum of (ai)bi + sum of (ci)bi

= [v1]B ⋅ [v2]B
 
  • #49
Let's make a simpler problem that will help you with this one, since there are some important concepts you aren't understanding.

Suppose u and v are in R3, and we have an orthonormal basis {x1, {x2, {x3}.

Then we can write u and v in this way:
u = u1x1 + u2x2 + u3x3
v = v1x1 + v2x2 + v3x3

The dot product of u and v is:
u ##\cdot## v = (u1x1 + u2x2 + u3x3) ##\cdot## (v1x1 + v2x2 + v3x3)

Please do the calculation for me, showing all nine terms in this product, each of which will include a dot product. Also, please use a dot (##\cdot##) in all nine intermediate dot products.
 
  • #50
Would I create an i where 1 < i < k, and then all the terms would cancel out bc they would equal zero except the term (aici )⋅ (bibi)
 
Back
Top