Verifying dot product and finding h

In summary: I would think that the inner product of two complex valued elements should be complex valued. Having the absolute value around the sum is rather strange. I suspect that is a mistake.In any case, that inner product also violates the conditions for an inner product. In particular, <g,g> \ne 0.I would think that the inner product of two complex valued elements should be complex valued. Having the absolute value around the sum is rather strange. I suspect that is a mistake.In any case, that inner product also violates the conditions for an inner product. In particular, <g,g> \ne 0.I also suspect
  • #1
dirk_mec1
761
13

Homework Statement



http://img152.imageshack.us/img152/3851/33495448dh9.png

Homework Equations




http://img146.imageshack.us/img146/4655/37276835io7.png

The Attempt at a Solution



Well I found:

[tex]
||f|| = \frac{1}{ \sqrt{3}}
[/tex]

[tex]
||g||=\frac{i}{ \sqrt{3}}
[/tex]


[tex]
<f,g> = \frac{1-4i}{17}
[/tex]

Can someone verify the above?



The last question really bothers me. I know that the inproduct must be zero but what does the span explicitly mean? Is it the term below?

[tex]
\alpha \cdot \left( \frac{-1}{2} \right) ^n + \beta \left( \frac{i}{2} \right) ^n
[/tex]

But if that's the case how can I find h?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
I'm not seeing any questions. I can't check your solutions if I don't know the question.
 
  • #3
gabbagabbahey said:
I'm not seeing any questions. I can't check your solutions if I don't know the question.

Oops, sorry! I've edited the post.
 
  • #4
Each of these is correct except ||g||. The norm is MUST be a real number. That is true even for a space over the complex numbers. Each of <f, f>, <f, g>, and <g, g> is a geometric series so you can use
[tex]\sum_{n=0}^\infty ar^n= \frac{a}{1- r}[/tex]
 
  • #5
Your ||g|| and <f,g> are a little off, perhaps you should show me your work for those two.
 
  • #6
[tex] ||g|| = \sum_{k=0}^{\infty} \left( \frac{i}{2} \right) ^k \left( \frac{i}{2} \right)^k = \sum_{k=0}^{\infty} \left( \frac{-1}{2} \right) ^k = |-1/3| =1/3 [/tex]
 
  • #7
shouldn't you have (-1)^k/4 ? ;0) ...(and the summation should start at k=1, since n is a natural number)
 
  • #8
Yes, you're right! I'll try again:

[tex]
||g|| = | \sum_{k=1}^{\infty} \left( \frac{i}{2} \right) ^k \left( \frac{i}{2} \right)^k | =| \sum_{k=1}^{\infty} \left( \frac{-1}{4} \right) ^k |= |\frac{-1}{5}| = \frac{1}{5}
[/tex]
 
  • #9
gabbagabbahey said:
(and the summation should start at k=1, since n is a natural number)

That's a bold assertion to make in a math forum :-p

For the last part, the span of f and g is all linear combinations of f and g (so what you put up in the OP describes the nth term of an arbitrary element in the span)
 
  • #10
||g|| looks good now, but I think you are still missing a neg sign in your <f,g>
 
  • #11
[tex] <f,g> = | \sum_{m=1}^{\infty} \left( \frac{-1}{2}\ \right) ^m \left( \frac{i}{2} \right) ^m | =| \sum_{m=1}^{\infty} \left( \frac{-i}{4} \right) ^m |= | \frac{-i}{i+4} |= | \frac{-1-4i}{17} | =
[/tex]
 
  • #12
Why do you have modulus signs in that equation? ...And (4-i)(-i)= (-1)-4i not (+1)-4i ;0)
 
  • #13
So the modulus sign is only inserted in the norm calculation?

[tex]
= \sum_{m=1}^{\infty} \left( \frac{-1}{2}\ \right) ^m \left( \frac{i}{2} \right) ^m = \sum_{m=1}^{\infty} \left( \frac{-i}{4} \right) ^m = \frac{-i}{i+4} = \frac{-1-4i}{17} =

[/tex]
 
  • #14
Yes, if you were asked to find ||<f,g>|| then you would use them, but <f,g> doesn't even need to be real, let alone positive.
 
  • #15
Office_Shredder said:
That's a bold assertion to make in a math forum :-p
For the last part, the span of f and g is all linear combinations of f and g (so what you put up in the OP describes the nth term of an arbitrary element in the span)

So it is: [tex]

\alpha \cdot \left[ \left( \frac{-1}{2} \right) ^n \right] _{n \in \mathbb{N} } + \beta \left[ \left( \frac{i}{2} \right) ^n \right] _{n \in \mathbb{N} }

[/tex]

But how are you then suppose to find h?
 
Last edited:
  • #16
If you knew what h was, what would span{f,h} be?
 
  • #17
I think this:

[tex] \alpha \cdot \left[ \left( \frac{-1}{2} \right) ^n \right] _{n \in \mathbb{N} } + \beta \left[ h(n)] _ {n \in \mathbb{N} }


[/tex]
 
  • #18
right, now use that along with the fact that <f,h>=0 (and span{f,g}=span{f,h}) to find h(n).
 
  • #19
Wait something is wrong...

There holds: [tex] <g,g> = -1/5 [/tex] but <...> is always larger than 0...so what's wrong?

Okay, I thought of something for h(n)

[tex] h(n) = 2^n + (-1)^{n+1}[/tex]
 
Last edited:
  • #20
@gabbagabbahey is

[tex]
h(n) = 2^n + (-1)^{n+1}
[/tex]

a good choice?
 
  • #21
hmmm... let's see, that mean that:

[tex]\left<f,h \right> = \sum_{n=1}^{\infty} \left( \frac{-1}{2} \right) ^n (2^n + (-1)^{n+1})=\sum_{n=1}^{\infty}\left( (-1)^n- \left( \frac{1}{2} \right) ^n \right)=\frac{-3}{2} \neq 0[/tex]

...so, no it doesn't work...any other ideas?
 
  • #22
dirk_mec1 said:
Wait something is wrong...

There holds: [tex] <g,g> = -1/5 [/tex] but <...> is always larger than 0...so what's wrong?

[itex]||g||=||\left< g,g \right> ||[/itex] is always real and greater than or equal to zero, but [itex]\left< g,g \right>[/itex] can be any complex number.
 
  • #23
dirk_mec1 said:
So it is: [tex]

\alpha \cdot \left[ \left( \frac{-1}{2} \right) ^n \right] _{n \in \mathbb{N} } + \beta \left[ \left( \frac{i}{2} \right) ^n \right] _{n \in \mathbb{N} }

[/tex]

But how are you then suppose to find h?

Hmmm...I'm not too familiar with the notation here. What exactly do the []'s mean?

Here is how I would write the span:

[tex]\text{span} \{ f,g \} =\{ \alpha_n \left( \frac{-1}{2} \right) ^n+ \beta_n \left( \frac{i}{2} \right) ^n|\alpha_n,\beta_n \in \mathbb{C} \quad \forall \; n \in \mathbb{N} \}[/tex]
 
  • #24
gabbagabbahey said:
[itex]||g||=||\left< g,g \right> ||[/itex] is always real and greater than or equal to zero, but [itex]\left< g,g \right>[/itex] can be any complex number.
No. One of the conditions for an inner product is that [itex]<g, g> \ge 0[/itex]. Another is that <g,g>= 0 if and only if g= 0. The inner product <f, g>, for two different vectors f and g, over the complex numbers can be any complex number.
 
  • #25
HallsofIvy said:
No. One of the conditions for an inner product is that [itex]<g, g> \ge 0[/itex]. Another is that <g,g>= 0 if and only if g= 0. The inner product <f, g>, for two different vectors f and g, over the complex numbers can be any complex number.

Doesn't that depend on which definition of inner product you use?

The one given in his original post is just:

[tex](a,b)=\sum_i a_ib_i[/tex]

Although, it isn't clear if that applies to complex elements or just reals.

Usually, for complex valued elements, the definition is:

[tex](a,b)=\sum_i a_i\overline{b_i}[/tex] (where the overbar denote complex conjugation)I admit, I've never seen the inner product defined without the complex conjugation for complex valued elements, but I decided to go with the definition given in his post.
 
  • #26
The instructor has put a pdf file on the internet (which I didn't see), apparently the inner product is defined as above:

http://img221.imageshack.us/img221/2899/58958904pd7.png

So then the answer is [tex]||g|| = \sqrt{ \frac{1}{3} } [/tex]

But for <f,g> the inner product can have two values depending which function you use for the overbar, right?
 
Last edited by a moderator:
  • #27
That's better, but <f,g> only has one value...its is the one where g is complex conjugated...<g,f> would have f conjugated.

Is there a definition like this from your course notes that you can post for span{}?...different authors use different notation sometimes.
 
  • #28
gabbagabbahey said:
That's better, but <f,g> only has one value...its is the one where g is complex conjugated...<g,f> would have f conjugated.
Yes, you're right I get then [tex]<f,g> = \frac{4i-1}{17} [/tex]

Is there a definition like this from your course notes that you can post for span{}?...different authors use different notation sometimes.

I found this in the lecture notes:

http://img135.imageshack.us/img135/3959/11448859oi8.png
 
Last edited by a moderator:
  • #29
gabbagabbahey said:
Doesn't that depend on which definition of inner product you use?
Halls is saying that (f,f) (both terms are f) is always real and nonnegative. This is certainly always true. Of course (f,g) can be any complex number if g!=f.
 
  • #30
gabbagabbahey said:
Doesn't that depend on which definition of inner product you use?
How many definitions of "inner product" are there?

The only one I know is
"An inner product on a vector space V is a mapping from VxV to C (or R is the vector space is over R) such that
1) <au+ bv,w>= a<u,v>+ b<v,w>

2) <u, v>= complex conjugate of <v, u> (or just <v,u> if the vector space is over R)

3) <u, u> [itex]\ge [/itex] 0

4) <u, u>= 0 if and only if u= 0."

If by "defining" the inner product, you mean defining such a function on a specific vector space, if it does not satisfy those, it is NOT an inner product.
 
  • #31
dirk_mec1 said:
The instructor has put a pdf file on the internet (which I didn't see), apparently the inner product is defined as above:

http://img221.imageshack.us/img221/2899/58958904pd7.png

So then the answer is [tex]||g|| = \sqrt{ \frac{1}{3} } [/tex]

But for <f,g> the inner product can have two values depending which function you use for the overbar, right?

Yes, you can. The innerproduct, over the complex numbers, is NOT symmetric:
[tex]<f, g>= \overline{<g, f>}[/tex]
 
Last edited by a moderator:
  • #32
gabbagabbahey said:
Hmmm...I'm not too familiar with the notation here. What exactly do the []'s mean?

Here is how I would write the span:

[tex]\text{span} \{ f,g \} =\{ \alpha_n \left( \frac{-1}{2} \right) ^n+ \beta_n \left( \frac{i}{2} \right) ^n|\alpha_n,\beta_n \in \mathbb{C} \quad \forall \; n \in \mathbb{N} \}[/tex]
I talked to the instructor and the expression above is incorrect.

It should be like this:

[tex]\text{span} \{ f,g \} =\{ \alpha \left( \frac{-1}{2} \right) ^n+ \beta \left( \frac{i}{2} \right) ^n|\alpha,\beta \in \mathbb{C} \quad \forall \; n \in \mathbb{N} \}[/tex]

Notice that the constants are independent of n.
 
  • #33
HallsofIvy said:
How many definitions of "inner product" are there?

The only one I know is
"An inner product on a vector space V is a mapping from VxV to C (or R is the vector space is over R) such that
1) <au+ bv,w>= a<u,v>+ b<v,w>

2) <u, v>= complex conjugate of <v, u> (or just <v,u> if the vector space is over R)

3) <u, u> [itex]\ge [/itex] 0

4) <u, u>= 0 if and only if u= 0."

If by "defining" the inner product, you mean defining such a function on a specific vector space, if it does not satisfy those, it is NOT an inner product.

Yes, this definition is used in my lecture notes.
 
  • #34
HallsofIvy said:
Yes, you can. The innerproduct, over the complex numbers, is NOT symmetric:
[tex]<f, g>= \overline{<g, f>}[/tex]

What do you mean by "yes, you can"? I presume you mean that only one value corresponds to <f,g> with f and g complex.
 

Related to Verifying dot product and finding h

1. What is the dot product?

The dot product is a mathematical operation that takes two vectors as inputs and produces a scalar value as the output. It is also known as the scalar product or inner product.

2. How is the dot product calculated?

The dot product is calculated by multiplying the corresponding components of the two vectors and then summing up the results. For example, if A = [a1, a2, a3] and B = [b1, b2, b3], then the dot product of A and B is a1*b1 + a2*b2 + a3*b3.

3. How do you verify the dot product?

To verify the dot product, you can use the properties of the dot product, such as commutativity and distributivity. For example, if A and B are two vectors, then A*B = B*A and A*(B+C) = A*B + A*C. You can also use the geometric interpretation of the dot product, which is the product of the magnitude of the two vectors and the cosine of the angle between them.

4. What is the significance of finding h in the dot product?

The value of h in the dot product represents the projection of one vector onto the other. It tells us how much of one vector is in the direction of the other vector. This is useful in many applications, such as calculating work done by a force or determining the angle between two vectors.

5. Can the dot product be negative?

Yes, the dot product can be negative. This happens when the angle between the two vectors is greater than 90 degrees, which means they are pointing in opposite directions. In this case, the dot product is negative because the projection of one vector onto the other is in the opposite direction of the other vector's magnitude.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
646
  • Calculus and Beyond Homework Help
Replies
10
Views
567
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
890
  • Calculus and Beyond Homework Help
Replies
1
Views
657
  • Calculus and Beyond Homework Help
Replies
4
Views
500
  • Calculus and Beyond Homework Help
Replies
4
Views
6K
  • Calculus and Beyond Homework Help
Replies
1
Views
6K
Back
Top