How to calculate complex dot products

  • Thread starter Thread starter BOYLANATOR
  • Start date Start date
  • Tags Tags
    Complex Dot
BOYLANATOR
Messages
193
Reaction score
18
let y1=(1,0,i,0) and y2=(0,i,1,0)

what is (y1.y2)/(y1.y1)?

I make it i/(1+i2) = i/0 which seems incorrect.

My notes seem to give the answer as -i/2 and I don't understand how this was calculated.

Any help is appreciated. Thanks
 
Physics news on Phys.org
hmm.. I get (i/0) as well.

(1*0 + 0*i + i*1 + 0²) / (1² + 0² + i² + 0² ) =

(0 + 0 + i + 0 ) / (1 + 0 -1 +0) =

(y1*y2)/(y1²)= i/0

Does anyone get a different answer?
 
I suspect the answer is to do with the fact that

<z1,z2>=<(z2)*,z1> where (z2)* is the Hermitian conjugate of z2, but even if this is the case I'm not sure how to carry out the calculation.
 
It seems to work with y1 = (i,0,i,0), you probably didn't copy it correctly.
 
BOYLANATOR said:
let y1=(1,0,i,0) and y2=(0,i,1,0)

what is (y1.y2)/(y1.y1)?

I make it i/(1+i2) = i/0 which seems incorrect.

My notes seem to give the answer as -i/2 and I don't understand how this was calculated.

Any help is appreciated. Thanks



The usual (euclidean) complex dot product in \mathbb C^n is defined as the sum of the

products of the first vector's coordinates times the conjugate of second vector's coordinates.

In your case, y_1\cdot y_1 = 1\cdot 1 + 0 + i\cdot (-i) +0=2 , and this is what must appear in the denominator.

DonAntonio
 
Thank you DonAntonio
I must have missed this definition. When you apply it to the numerator as well, you get the correct answer -i.
Thanks
 
BOYLANATOR said:
Thank you DonAntonio
I must have missed this definition. When you apply it to the numerator as well, you get the correct answer -i.
Thanks



No. It is either y_1\cdot y_2 = i\,\,or\,\,y_2\cdot y_1=-i. Check this.

DonAntonio
 
Yes it was y[2].y[1] = -i . From the Gram-Schmidt Process although I changed the notation slightly.
Thanks
 

Similar threads

Replies
14
Views
4K
Replies
12
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
9
Views
3K
Replies
7
Views
2K
Replies
6
Views
1K
Back
Top