Jump to content

De Moivre's formula: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reddevyl (talk | contribs)
Line 88: Line 88:
==Applications==
==Applications==
This formula can be used to find the <math>n^{th}</math> roots of a complex number. If <math>z</math> is a complex number, written in polar form as
This formula can be used to find the <math>n^{th}</math> roots of a complex number. If <math>z</math> is a complex number, written in polar form as

: <math>z=r\left(\cos x+i\sin x\right),\,</math>
: <math>z=r\left(\cos x+i\sin x\right),\,</math>

then
then

: <math>
: <math>
z^{{}^{\frac{1}{n}}}= \left[ r\left( \cos x+i\sin x \right) \right]^ {{}^{\frac{1}{n}}}= r^{{}^{\frac{1}{n}}} \left[ \cos \left( \frac{x+2k\pi}{n} \right) + i\sin \left( \frac{x+2k\pi}{n} \right) \right]
z^{{}^{\frac{1}{n}}}= \left[ r\left( \cos x+i\sin x \right) \right]^ {{}^{\frac{1}{n}}}= r^{{}^{\frac{1}{n}}} \left[ \cos \left( \frac{x+2k\pi}{n} \right) + i\sin \left( \frac{x+2k\pi}{n} \right) \right]

</math>
</math>

where <math>k</math> is an integer, to get the <math>n</math> different roots of <math>z</math> one only needs to consider values of <math>k</math> from <math>0</math> to <math>n-1</math>.
where <math>k</math> is an integer, to get the <math>n</math> different roots of <math>z</math> one only needs to consider values of <math>k</math> from <math>0</math> to <math>n-1</math>.



Revision as of 21:56, 28 November 2008

De Moivre's formula, named after Abraham de Moivre, states that for any complex number (and, in particular, for any real number) x and any integer n it holds that

The formula is important because it connects complex numbers (i stands for the imaginary unit) and trigonometry. The expression "cos x + i sin x" is sometimes abbreviated to "cis x".

By expanding the left hand side and then comparing the real and imaginary parts under the assumption that x is real, it is possible to derive useful expressions for cos(nx) and sin(nx) in terms of cos(x) and sin(x). Furthermore, one can use this formula to find explicit expressions for the n-th roots of unity, that is, complex numbers z such that zn = 1.

Derivation

Although historically proved earlier, de Moivre's formula can easily be derived from Euler's formula

and the exponential law

Then, by Euler's formula,

Proof by induction

We consider three cases.

For n > 0, we proceed by mathematical induction. When n = 1, the result is clearly true. For our hypothesis, we assume the result is true for some positive integer k. That is, we assume

Now, considering the case n = k + 1:

We deduce that the result is true for n = k + 1 when it is true for n = k. By the principle of mathematical induction it follows that the result is true for all positive integers n≥1.

When n = 0 the formula is true since , and (by convention) .

When n < 0, we consider a positive integer m such that n = −m. So

Hence, the theorem is true for all integer values of n.

Formulas for cosine and sine individually

Being an equality of complex numbers, one necessarily has equality both of the real parts and of the imaginary parts of both members of the equation. If x, and therefore also and , are real numbers, then the identity of these parts can be written (interchanging sides) as

Failed to parse (unknown function "\begin{alignat}"): {\displaystyle \begin{alignat}2 \cos(nx)&=\sum_{k=0}^{\lfloor n/2\rfloor}{\tbinom{n}{2k}}(-1)^k(\cos{x})^{n-2k}(\sin{x})^{2k}& &=\sum_{k=0}^{\lfloor n/2\rfloor}{\tbinom{n}{2k}}(\cos{x})^{n-2k}((\cos{x})^2-1)^k\\ \sin(nx)&=\sum_{k=0}^{\lfloor (n-1)/2\rfloor}{\tbinom{n}{2k+1}}(-1)^k(\cos{x})^{n-2k-1}(\sin{x})^{2k+1}& &=(\sin{x})\sum_{k=0}^{\lfloor(n-1)/2\rfloor}{\tbinom{n}{2k+1}}(\cos{x})^{n-2k-1}((\cos{x})^2-1)^k.\\ \end{alignat}}

These equations are in fact even valid for complex values of x, because both sides are holomorphic functions of x, and two such functions that coincide on the real axis necessarily coincide on the whole complex plane. Here are the concretre instances of these equations for and :

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle \begin{alignat}2 \cos(2x) &= (\cos{x})^2 +((\cos{x})^2-1) &&= 2(\cos{x})^2-1\\ \sin(2x) &= 2(\sin{x})(\cos{x})\\ \cos(3x) &= (\cos{x})^3 +3\cos{x}((\cos{x})^2-1) &&= 4(\cos{x})^3-3\cos{x}\\ \sin(3x) &= 3(\cos{x})^2(\sin{x})-(\sin{x})^3 &&= 3\sin{x}-4(\sin{x})^3.\\ \end{alignat}}

The right hand side of the formula for is in fact the value of the Chebyshev polynomial at

Generalization

The formula is actually true in a more general setting than stated above: if z and w are complex numbers, then

is a multivalued function while

is not. Therefore one can state that

     is one value of     
A plot on the complex plane of the cube roots of 1.

Applications

This formula can be used to find the roots of a complex number. If is a complex number, written in polar form as

then

where is an integer, to get the different roots of one only needs to consider values of from to .

See also

References