De Moivre's formula: Difference between revisions
Cryptic C62 (talk | contribs) m Reverted edits by 113.29.211.255 (talk) to last version by Lothar von Richthofen |
|||
Line 1: | Line 1: | ||
{{lowercase title}} |
{{lowercase title}} |
||
The cat in the Hat first invented De Moivre's theorem as a source of power to his navel fleet travelling North at that time, of course his success was inevitable. Two thousand years later The cat in the infamous hat still lives and control's half of the neighbouring motherhood Russia, guarded by his unparalled guards the 'Bears on unicycles' |
|||
In [[mathematics]], '''de Moivre's formula''', named after [[Abraham de Moivre]], states that for any [[complex number]] (and, in particular, for any [[real number]]) ''x'' and [[integer]] ''n'' it holds that |
In [[mathematics]], '''de Moivre's formula''', named after [[Abraham de Moivre]], states that for any [[complex number]] (and, in particular, for any [[real number]]) ''x'' and [[integer]] ''n'' it holds that |
||
Line 71: | Line 70: | ||
The equation (*) is a result of the identity <math>z^{-1} = \frac{\bar{z}}{|z|^2}</math>, for ''z'' = cos ''nx'' + ''i'' sin ''nx''. Hence, ''S''(''n'') holds for all integers ''n''. |
The equation (*) is a result of the identity <math>z^{-1} = \frac{\bar{z}}{|z|^2}</math>, for ''z'' = cos ''nx'' + ''i'' sin ''nx''. Hence, ''S''(''n'') holds for all integers ''n''. |
||
== Formulas for cosine and sine individually == |
|||
You Dont |
|||
Being an equality of [[complex number]]s, one necessarily has equality both of the [[real part]]s and of the [[imaginary part]]s of both members of the equation. If ''x'', and therefore also cos ''x'' and sin ''x'', are [[real number]]s, then the identity of these parts can be written (interchanging sides) as |
|||
:<math>\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}</math> |
|||
These equations are in fact even valid for complex values of ''x'', because both sides are [[entire function|entire]] (that is, [[holomorphic]] on the whole [[complex plane]]) functions of ''x'', and two such functions that coincide on the real axis necessarily coincide everywhere. Here are the concrete instances of these equations for ''n'' = 2 and ''n'' = 3: |
|||
:<math>\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}</math> |
|||
The right hand side of the formula for cos(''nx'') is in fact the value ''T''<sub>''n''</sub>(cos ''x'') of the [[Chebyshev polynomial]] ''T''<sub>''n''</sub> at cos ''x''. |
|||
== Generalization == |
== Generalization == |
Revision as of 01:55, 6 October 2010
In mathematics, de Moivre's formula, named after Abraham de Moivre, states that for any complex number (and, in particular, for any real number) x and 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 a generalization of this formula to find explicit expressions for the nth roots of unity, that is, complex numbers z such that zn = 1.
Derivation
Although historically proven earlier, de Moivre's formula can easily be derived from Euler's formula
and the exponential law for integer powers
Then, by Euler's formula,
Failure for non-integer powers
De Moivre's formula does not in general hold for non-integer powers. Non-integer powers of a complex number can have many different values, see failure of power and logarithm identities. However there is a generalization that the right hand side expression is one possible value of the power.
The derivation of de Moivre's formula above involves a complex number to the power n. When the power is not an integer, the result is multiple-valued, for example, when n = ½ then:
- For x = 0 the formula gives 1½ = 1
- For x = 2π the formula gives 1½ = −1
Since the angles 0 and 2π are the same this would give two different values for the same expression. The values 1 and −1 are however both square roots of 1 as the generalization asserts.
No such problem occurs with Euler's formula since there is no identification of different values of its exponent. Euler's formula involves a complex power of a positive real number and this always has a preferred value. The corresponding expressions are:
Proof by induction (for integer n)
The truth of de Moivre's theorem can be established by mathematical induction for natural numbers, and extended to all integers from there. Consider S(n):
For n > 0, we proceed by mathematical induction. S(1) is clearly true. For our hypothesis, we assume S(k) is true for some natural k. That is, we assume
Now, considering S(k+1):
We deduce that S(k) implies S(k+1). By the principle of mathematical induction it follows that the result is true for all natural numbers. Now, S(0) is clearly true since cos (0x) + i sin(0x) = 1 +i 0 = 1. Finally, for the negative integer cases, we consider an exponent of -n for natural n.
The equation (*) is a result of the identity , for z = cos nx + i sin nx. Hence, S(n) holds for all integers 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 cos x and sin x, 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 entire (that is, holomorphic on the whole complex plane) functions of x, and two such functions that coincide on the real axis necessarily coincide everywhere. Here are the concrete instances of these equations for n = 2 and n = 3:
- Failed to parse (unknown function "\begin{alignat}"): {\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 cos(nx) is in fact the value Tn(cos x) of the Chebyshev polynomial Tn at cos x.
Generalization
The formula is actually true in a more general setting than stated above: if z and w are complex numbers, then
is a multi-valued function while
is not. Therefore one can state that
Applications
This formula can be used to find the nth roots of a complex number. This application does not strictly use de Moivre's formula as the power isn't an integer. However considering the right hand side to the power of n will in each case give the same value left hand side.
If z is a complex number, written in polar form as
then
where k is an integer. To get the n different roots of z one only needs to consider values of k from 0 to n − 1.
See also
References
- Abramowitz, Milton; Stegun, Irene A. (1964), Handbook of Mathematical Functions, New York: Dover Publications, p. 74, ISBN 0486612724
{{citation}}
: Unknown parameter|lastauthoramp=
ignored (|name-list-style=
suggested) (help).
External links
- De Moivre's Theorem for Trig Identities by Michael Croucher, Wolfram Demonstrations Project.