0
$\begingroup$

I am reading signal processing first by McClellan

As shown in attached snapshot, we have formula of sinusoidal synthesis

I am confused ,why in expression of x(t), there is a '2' in first line immediately after summation sign but that'2' disappear in 2nd line?enter image description here

$\endgroup$
1

2 Answers 2

1
$\begingroup$

The second term can be expanded to $$\begin{align} 2|a_k|\left(\frac{ e^{i(2\pi f_k t+\angle a_k)} + e^{-i(2\pi f_k t+\angle a_k)}}{2}\right) &= |a_k|e^{i\angle a_k}e^{i(2\pi f_k t)}+|a_k|e^{-i\angle a_k}e^{-i(2\pi f_k t)} \\ &= a_k e^{i(2\pi f_k t)}+a_k^*e^{-i(2\pi f_k t)} \\ \end{align}$$

Since $a_k=|a_k|e^{i\angle a_k}$ and $a_k^*=|a_k|e^{-i\angle a_k}$ and $\cos\theta=\frac{ e^{i\theta} + e^{-i\theta}}{2}$

$\endgroup$
0
2
$\begingroup$

Simple:

Euler's formula:

$$ e^{i\theta} = \cos(\theta) + i \sin(\theta) $$

and

$$ e^{-i\theta} = \cos(\theta) - i \sin(\theta) $$

Add them together:

$$ e^{i\theta} + e^{-i\theta} = 2 \cos(\theta) $$

You should see that in your equation.

From there it is usually stated:

$$ \cos(\theta) = \frac{ e^{i\theta} + e^{-i\theta}}{ 2 } $$

See my article

for a more expansive explanation.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.