Given this complex number,
$$e^{9ix/2} \frac{\sin 4x }{ (\sin (x/2) }$$
The real part of this complex number can be worked out easily, by replacing the $e^{9ix/2}$ with $\cos(9x/2)$
However if I'm given the complex number,
$$\frac{3} {3 - e^{ix} }$$
I cannot work out the real part by replacing the $e^{ix}$ with $\cos x $.
I want to understand why I can do this replacement in the first example and why I can't do it in the second example; and what I should look for when doing practice questions myself. And how I would actually go about working out the real part of the second example.
Thanks, any help would be appreciated.
in other words, it is valid to write $\frac{a + b}{c} = \frac{a}{c} + \frac{b}{c}$, but on the other hand it is not generally true that $\frac{a}{b+c} = \frac{a}{b} + \frac{a}{c}$.
Thus, if you have a complex number (real and imaginary part) in your denominator, you will have to do some work before you can split it into real and imaginary parts, whereas the case where the complex number in the numerator is more straightforward.
– BaronVT Oct 24 '18 at 20:15