Why $A\sin(2\pi ft) =\frac{A}{2j}(e^{j2\pi ft}-e^{-j2\pi ft})$ but not $\frac{A}{2}(e^{j2\pi ft}-e^{-j2\pi ft})$?

1k Views Asked by At

$$v_{\mathrm{in}}(t)=A\sin(2\pi ft) =\frac{A}{2j}\left(e^{j2\pi ft}-e^{-j2\pi ft}\right) \\ |H(f)|=|H(-f)|;\angle H(f) = -\angle H(f) \\ v_{\mathrm{out}}=H(f)v_{\mathrm{in}}=\frac{A}{2j}H(f)e^{j2\pi ft} - \frac{A}{2j}H(-f)e^{-j2\pi ft}$$

Here I don't understand why $A\sin(2\pi ft)=\frac{A}{2j}(e^{j2\pi ft}-e^{-j2\pi ft})$ but not $\frac{A}{2}(e^{j2\pi ft}-e^{-j2\pi ft})$ and why the $H(f)$ is converted into $H(f)$ and $H(-f)$ but not only $H(f)$

$j$ in this case is imaginary number to not to be confused with current.

2

There are 2 best solutions below

0
On

Recall Euler's formula (using your $j$ instead of $i$),

$$e^{\pm jx} = \cos x \pm j \sin x$$

Let us now take $e^{jx} -e^{-jx}$, we obtain

$$e^{jx} -e^{-jx} = [\cos x + j\sin x] - [\cos x -j\sin x] = 2j\sin x$$

Therefore, we need to multiply by $1/2j$ to obtain just the sine function. If you had only divided by 2 as you suggested, you would still have a factor of $j$ lingering.

1
On

Euler's equation is:

$$ e^{ix} = \cos x + i \sin x $$

so:

$$\begin{align} e^{ix} - e^{-ix} &= \cos x + i \sin x - \cos( -x )- i \sin (-x) \\ &= \cos x + i \sin x - \cos x + i \sin x \\ &= 2i \sin x \end{align} $$

So:

$$ \sin x = \frac{e^{ix} - e^{-ix}}{2i} $$