Thursday, 20 December 2012

complex analysis - Finding real and imaginary parts of frac1e2ipixRleft(1efrac2ipixRright)



I have a function given by



1e2iπxR(1e2iπxR)



Using Euler's formula, I expand into real and complex components:



1cos2πxisin2πxR(1cos2πxRisin2πxR)




But for some reason, here I come unstuck. It seems obvious to me that the real part should be



1cos2πxR(1cos2πxR)



but this appears not to be the case. In fact, it's pretty obvious from the plots below (with R=3), that I'm wrong:



enter image description here



And it's not even as simple as multiplying through by 1R, as this plot charting the variance after multiplying through shows:




enter image description here



Could someone please explain what I'm doing wrong?



(I'd also appreciate help with the complex component.)


Answer



You are right in your use of Euler's formula to convert to rectangular coordinates, but you seemed to just divide the real part of the numerator by the real part of the denominator. To rectify the issue, you should multiply by the complex conjugate of the denominator on top and bottom (so that way the denominator becomes a real scalar that can be applied to both the imaginary and real parts of the numerator):



F=1cos2πxisin2πxR(1cos2πxRisin2πxR)1cos2πxR+isin2πxR1cos2πxR+isin2πxR




Letting the following substitutions take place:



a=1cos2πx



b=sin2πx



c=1cos2πxR



d=sin2πxR




Then we get:



F=abiR(cdi)c+dic+di=ac+bd+i(adbc)R(c2+d2)



Thus:



Re(F)=ac+bdR(c2+d2)



Appropriate trig identities and algebraic manipulation can massage the above into a nicer form if you desire.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...