De Moivre's formula explained

In mathematics, de Moivre's formula (also known as de Moivre's theorem and de Moivre's identity) states that for any real number and integer it holds that

(\cosx+i\sinx)n=\cosnx+i\sinnx,

where is the imaginary unit . The formula is named after Abraham de Moivre, although he never stated it in his works.[1] The expression is sometimes abbreviated to .

The formula is important because it connects complex numbers and trigonometry. By expanding the left hand side and then comparing the real and imaginary parts under the assumption that is real, it is possible to derive useful expressions for and in terms of and .

As written, the formula is not valid for non-integer powers . However, there are generalizations of this formula valid for other exponents. These can be used to give explicit expressions for the th roots of unity, that is, complex numbers such that .

Using the standard extensions of the sine and cosine functions to complex numbers, the formula is valid even when is an arbitrary complex number.

Example

For

x=30\circ

and

n=2

, de Moivre's formula asserts that\left(\cos(30^\circ) + i \sin(30^\circ)\right)^2 = \cos(2 \cdot 30^\circ) + i \sin (2 \cdot 30^\circ),or equivalently that\left(\frac + \frac\right)^2 = \frac + \frac.In this example, it is easy to check the validity of the equation by multiplying out the left side.

Relation to Euler's formula

De Moivre's formula is a precursor to Euler's formulae^ = \cos x + i\sin x,with expressed in radians rather than degrees, which establishes the fundamental relationship between the trigonometric functions and the complex exponential function.

One can derive de Moivre's formula using Euler's formula and the exponential law for integer powers

\left(eix\right)n=einx,

since Euler's formula implies that the left side is equal to

\left(\cosx+i\sinx\right)n

while the right side is equal to

\cosnx+i\sinnx.

Proof by induction

The truth of de Moivre's theorem can be established by using mathematical induction for natural numbers, and extended to all integers from there. For an integer, call the following statement :

(\cosx+i\sinx)n=\cosnx+i\sinnx.

For, we proceed by mathematical induction. is clearly true. For our hypothesis, we assume is true for some natural . That is, we assume

\left(\cosx+i\sinx\right)k=\coskx+i\sinkx.

Now, considering :

\begin{alignat}{2} \left(\cosx+i\sinx\right)k+1&=\left(\cosx+i\sinx\right)k\left(\cosx+i\sinx\right)\\ &=\left(\coskx+i\sinkx\right)\left(\cosx+i\sinx\right)&&    bytheinductionhypothesis\\ &=\coskx\cosx-\sinkx\sinx+i\left(\coskx\sinx+\sinkx\cosx\right)\\ &=\cos((k+1)x)+i\sin((k+1)x)&&    bythetrigonometricidentities \end{alignat}

See angle sum and difference identities.

We deduce that implies . By the principle of mathematical induction it follows that the result is true for all natural numbers. Now, is clearly true since . Finally, for the negative integer cases, we consider an exponent of for natural .

\begin{align} \left(\cosx+i\sinx\right)-n&=(\left(\cosx+i\sinx\right)n)-1\\ &=\left(\cosnx+i\sinnx\right)-1\\ &=\cosnx-i\sinnx       (*)\\ &=\cos(-nx)+i\sin(-nx).\\ \end{align}

The equation (*) is a result of the identity

z-1=

\barz
|z|2

,

for . Hence, holds for all integers .

Formulae for cosine and sine individually

See also: List of trigonometric identities. For 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, and therefore also and, are real numbers, then the identity of these parts can be written using binomial coefficients. This formula was given by 16th century French mathematician François Viète:

\begin{align} \sinnx&=

n
\sum
k=0

\binom{n}{k}(\cosx)k(\sinx)n-k\sin

(n-k)\pi
2

\\ \cosnx&=

n
\sum
k=0

\binom{n}{k}(\cosx)k(\sinx)n-k\cos

(n-k)\pi
2

. \end{align}

In each of these two equations, the final trigonometric function equals one or minus one or zero, thus removing half the entries in each of the sums. These equations are in fact valid even for complex values of, because both sides are entire (that is, holomorphic on the whole complex plane) functions of, and two such functions that coincide on the real axis necessarily coincide everywhere. Here are the concrete instances of these equations for and :

\begin{alignat}{2} \cos2x&=\left(\cosx\right)2+\left(\left(\cosx\right)2-1\right)&{}={}&2\left(\cosx\right)2-1\\ \sin2x&=2\left(\sinx\right)\left(\cosx\right)&&\\ \cos3x&=\left(\cosx\right)3+3\cosx\left(\left(\cosx\right)2-1\right)&{}={}&4\left(\cosx\right)3-3\cosx\\ \sin3x&=3\left(\cosx\right)2\left(\sinx\right)-\left(\sinx\right)3&{}={}&3\sinx-4\left(\sinx\right)3. \end{alignat}

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

Failure for non-integer powers, and generalization

De Moivre's formula does not hold for non-integer powers. The derivation of de Moivre's formula above involves a complex number raised to the integer power . If a complex number is raised to a non-integer power, the result is multiple-valued (see failure of power and logarithm identities).

Roots of complex numbers

A modest extension of the version of de Moivre's formula given in this article can be used to find the -th roots of a complex number for a non-zero integer . (This is equivalent to raising to a power of).

If is a complex number, written in polar form as

z=r\left(\cosx+i\sinx\right),

then the -th roots of are given by

1n
\left(
r

\cos

x+2\pik
n

+i\sin

x+2\pik
n

\right)

where varies over the integer values from 0 to .

This formula is also sometimes known as de Moivre's formula.

Complex numbers raised to an arbitrary power

Generally, if

z=r\left(\cosx+i\sinx\right)

(in polar form) and are arbitrary complex numbers, then the set of possible values isz^w = r^w \left(\cos x + i\sin x\right)^w = \lbrace r^w \cos(xw + 2\pi kw) + i r^w \sin(xw + 2\pi kw) | k \in \mathbb\rbrace\,.(Note that if is a rational number that equals in lowest terms then this set will have exactly distinct values rather than infinitely many. In particular, if is an integer then the set will have exactly one value, as previously discussed.) In contrast, de Moivre's formula givesr^w (\cos xw + i\sin xw)\,,which is just the single value from this set corresponding to .

Analogues in other settings

Hyperbolic trigonometry

Since, an analog to de Moivre's formula also applies to the hyperbolic trigonometry. For all integers,

(\coshx+\sinhx)n=\coshnx+\sinhnx.

If is a rational number (but not necessarily an integer), then will be one of the values of .[2]

Extension to complex numbers

For any integer, the formula holds for any complex number

z=x+iy

(\cosz+i\sinz)n=\cos{nz}+i\sin{nz}.

where

\begin{align}\cosz=\cos(x+iy)&=\cosx\coshy-i\sinx\sinhy,\\ \sinz=\sin(x+iy)&=\sinx\coshy+i\cosx\sinhy.\end{align}

Quaternions

To find the roots of a quaternion there is an analogous form of de Moivre's formula. A quaternion in the form

d+a\hati+b\hatj+c\hatk

can be represented in the form

q=k(\cos\theta+\varepsilon\sin\theta)    for0\leq\theta<2\pi.

In this representation,

k=\sqrt{d2+a2+b2+c2},

and the trigonometric functions are defined as

\cos\theta=

d
k

and\sin\theta=\pm

\sqrt{a2+b2+c2
}.In the case that,

\varepsilon=\pm

a\hati+b\hatj+c\hatk
\sqrt{a2+b2+c2
},that is, the unit vector. This leads to the variation of De Moivre's formula:

qn=kn(\cosn\theta+\varepsilon\sinn\theta).

[3]

Example

To find the cube roots of

Q=1+\hati+\hatj+\hatk,

write the quaternion in the form

Q=2\left(\cos

\pi
3

+\varepsilon\sin

\pi
3

\right)    where\varepsilon=

\hati+\hatj+\hatk
\sqrt3

.

Then the cube roots are given by:

\sqrt[3]{Q}=\sqrt[3]{2}(\cos\theta+\varepsilon\sin\theta)    for\theta=

\pi
9

,

7\pi
9

,

13\pi
9

.

2 × 2 matrices

With matrices,

\begin{pmatrix}\cos\phi&-\sin\phi\\sin\phi&\cos\phi\end{pmatrix}n=\begin{pmatrix}\cosn\phi&-\sinn\phi\\sinn\phi&\cosn\phi\end{pmatrix}

when is an integer. This is a direct consequence of the isomorphism between the matrices of type

\begin{pmatrix}a&-b\b&a\end{pmatrix}

and the complex plane.

References

External links

Notes and References

  1. Book: Margaret L. . Lial . John . Hornsby . David I. . Schneider . Daniels . Callie J. . College Algebra and Trigonometry. 4th . 2008 . Boston . Pearson/Addison Wesley . 9780321497444 . 792.
  2. Mukhopadhyay. Utpal. Some interesting features of hyperbolic functions. Resonance. August 2006. 11. 8. 81–85. 10.1007/BF02855783. 119753430.
  3. Brand. Louis. The roots of a quaternion. The American Mathematical Monthly. October 1942. 49. 8. 519–520. 2302858. 10.2307/2302858.