# De moivres theorem

• Jan 28th 2009, 11:57 AM
djmccabie
De moivres theorem
Simplify the following

A) (cosx - isinx)^5
B) (sinx - icosx)^4

for A i get

cos5x - isin5x
I think this is right...?

not sure if B is done the same or not. any help?
• Jan 28th 2009, 12:03 PM
Moo
Hello,
Quote:

Originally Posted by djmccabie
Simplify the following

A) (cosx - isinx)^5
B) (sinx - icosx)^4

for A i get

cos5x - isin5x
I think this is right...?

not sure if B is done the same or not. any help?

Here is what you can do :)

De Moivre's formula says : $(\cos(x)+i\sin(x))^n=\cos(nx)+i \sin(nx)$

Remember that the sine function is odd and the cosine function is even.
So $(\cos(x)-i\sin(x))^n=(\cos(-x)+i \sin(-x))^n=$ $\cos(-nx)+i \sin(-nx)=\cos(nx)-i \sin(nx)$ (Wink)
• Jan 28th 2009, 12:05 PM
djmccabie
so did i do it right :S

is it different when cosine and sine are switched round?

thanks
• Jan 28th 2009, 12:09 PM
Moo
Quote:

Originally Posted by djmccabie
so did i do it right :S

is it different when cosine and sine are switched round?

thanks

Yes, it's the correct result.

If they're switched... do you mean $(-\cos(x)+i \sin(x))^n$ ?
Then it's just $(-1)^n (\cos(x)-i\sin(x))^n=(-1)^n(\cos(nx)-i\sin(nx))$

:p
• Jan 28th 2009, 12:21 PM
djmccabie
hi thanks for helping me. its actualyy (sinx - icosx) does this change things??
• Jan 28th 2009, 12:25 PM
Moo
Quote:

Originally Posted by djmccabie
hi thanks for helping me. its actualyy (sinx - icosx) does this change things??

Yes :

$\sin(x)-i \cos(x)$
Multiply and divide by i :

$\frac 1i \left(i [\sin(x)-i\cos(x)]\right)=\frac 1i (\cos(x)+i \sin(x))$

So $(\sin(x)-i \cos(x))^n=\frac{1}{i^n} (\cos(nx)+i \sin(nx))$