3

I recently repeated some math basics of the Fourier transform and of course stumbled across Euler's formula. When reading the term $\cos(x) + i\sin(x)$ I wondered why it could not be written as $2\cos(x)$. Since all professors always emphasize that a cosine is nothing but a $90$ degree shifted sine, I was wondering why the multiplication with i, which also causes a $90°$ shift on the complex plane, doesn't result in a $\cos$-function.

offline
  • 974
  • 2
    note that for any chosen $x\in\Bbb R$ we have that $i\sin(x)$ is a purely imaginary number, however $2\cos (x)$ is real, so they cannot be equal – Masacroso May 01 '19 at 10:49

2 Answers2

8

"Cosine is 90 degree shifted sine" means a shift in the arguments, not the rotation of the values on the complex plane. That is $ \cos(x) = \sin(x+90^\circ) $. Multiplication by $i$ is rotating the value of the function, not shifting the argument.

  • I encountered another problem: If it is like you say, why is it that differentiation in the time domain (which would make a sine a cosine) is multiplication with i in the frequency domain? This is why the impedances of capacitors and inductors have the i in their formula, isnt it? But if cos(x) is not i*sin(x), how does this make sense? – Philipp317 Jul 23 '19 at 06:38
  • @Philipp317 I would need more contest to be sure, but I think you're talking about a case of alternating current, where for example we assume that the charge on the capacitor is $Q(t) = {\rm Re}(Q_0 e^{i\omega t})$. Then you have $$ I = \frac{dQ}{dt} = {\rm Re}(i\omega Q_0 e^{i\omega t}) = {\rm Re}(I_0 e^{i\omega t})$$ where $I_0 = i\omega Q_0$. – Adam Latosiński Jul 23 '19 at 09:06
  • I was talking about the current-voltage relation for a capacitor. It's described by I = C * dU/dt , basically meaning that if the applied voltage is a sine-wave, the resulting current is a cosine-wave. It effectively means a 90° degree shift for a harmonic input. The expression to describe the impedance of a capacitor in the frequency domain is 1/jwC , and here I thought the division by j in the denominator expresses the same phase shift the differential equation in the time domain described. But the answers told me, those 2 "phase shifts" are not the same – Philipp317 Jul 24 '19 at 15:39
  • Division by $i$ is a phase shift in the oposite direction because while $i=e^{i\pi/2}$, we have $\frac{1}{i} = -i = e^{-i\pi/2 }$. – Adam Latosiński Jul 24 '19 at 17:59
  • I am aware of that, but I skipped this minor detail because it was not the point. I was wondering why it is valid to describe the phase shift, caused by capacitors or inductors, with multiplication/division by i in the frequency domain when a rotation on the complex plane is not the same as phase shifting the argument. (which essentially comes down to my original question again) – Philipp317 Jul 25 '19 at 05:40
  • @Philipp317 That is because the qualities of alternating current can be described using function $e^{i\phi}$, and for this function we have $$ i e^{i\phi} = e^{i(\phi + \pi/2)}$$ so in this special case, multiplying the function by $i$ is equivalent to shifting to argument. If, for example $$ U =U_0 \cos(\omega t) = U_0 {\rm Re}(e^{i\omega t})$$ then $$I = C\frac{dU}{dt} = U_0 C {\rm Re}(i\omega e^{i\omega t}) = U_0 C\omega {\rm Re}(e^{i(\omega t+\pi/2}) = U_0 C\omega \cos (\omega t+\pi/2)$$ – Adam Latosiński Jul 25 '19 at 08:29
  • So, if ie^(wt) = e^(wt + pi/2) then this must mean, if I write eulers formula with sine and cosine and set them equal: ie^(wt) = icos(wt) + iisin(wt) = e^(wt+pi/2) = cos(wt + pi/2) + isin(wt + pi/2). And here we see the phase shift in the argument again. So wouldnt this mean that icos(wt) = cos(wt + pi/2) and therefore icos(wt) = sin(wt)? (since sine is a phase shifted cosine) (I apologize for the formatting, I wrote this on my phone and dont know how to edit formulas) – Philipp317 Jul 27 '19 at 14:28
  • 1
    No, you must compare real part to the real part and imaginary part to the imaginary part. That gives you $$ -sin(\omega t) = \cos(\omega t + \pi/2)$$ $$ \cos(\omega t) = \sin(\omega t+\pi/2)$$ – Adam Latosiński Jul 28 '19 at 07:33
  • Oh right, that was dumb of me. Thanks a lot for the patience, you helped me a lot. :) – Philipp317 Jul 28 '19 at 09:40
1

It causes a shift when we deal with angles and not with functions of angles.

For example, in a frequency domain, we may write, $5i$ as $5\angle90^o$, which is a notation for $5e^{(i\omega t +\pi/2)}$

But here, we have $i. sin(x)$ and not a magnitude of a time or frequency domain voltage or current or whatsoever.

So, $i\cdot\sin(x)$ is not equal to $cos(x)$ . Also only $\sin(90°\pm x) = \cos(x)$, not when we have $i\cdot \sin(x)$.

offline
  • 974
19aksh
  • 12,768