How to calculate complex dot products

  • Context: Undergrad 
  • Thread starter Thread starter BOYLANATOR
  • Start date Start date
  • Tags Tags
    Complex Dot
Click For Summary

Discussion Overview

The discussion revolves around the calculation of complex dot products, specifically focusing on the vectors y1 and y2 defined in the context of complex numbers. Participants explore the application of the complex dot product definition and its implications for the results obtained.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant calculates (y1.y2)/(y1.y1) and arrives at i/(1+i²), which leads to an undefined expression i/0, expressing confusion over the result.
  • Another participant confirms the same calculation, also arriving at i/0 and questions if anyone has a different answer.
  • A third participant introduces the concept of the Hermitian conjugate in the context of the dot product but expresses uncertainty about the calculation process.
  • DonAntonio clarifies the definition of the complex dot product, stating that y1·y1 equals 2, which should be used in the denominator.
  • One participant acknowledges the missed definition and confirms that applying it correctly yields the answer -i.
  • DonAntonio points out that y1·y2 equals i or y2·y1 equals -i, prompting a check on the calculations.
  • Another participant agrees with the latter result, attributing it to the Gram-Schmidt Process while noting a change in notation.

Areas of Agreement / Disagreement

There is no consensus on the correct interpretation of the dot product results, as participants express differing views on the calculations and definitions involved.

Contextual Notes

Participants reference the Hermitian conjugate and the Gram-Schmidt Process, indicating that the discussion may involve advanced concepts that require careful application of definitions and properties of complex numbers.

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 [itex]\mathbb C^n[/itex] 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, [itex]y_1\cdot y_1 = 1\cdot 1 + 0 + i\cdot (-i) +0=2[/itex] , 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 [itex]y_1\cdot y_2 = i\,\,or\,\,y_2\cdot y_1=-i[/itex]. 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 ·
Replies
14
Views
5K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
1
Views
3K