Complex numbers can be used to solve problems that seem at first glance to only deal with real numbers. An important tool you can use in these cases is de Moivre’s formula.
Formula
For all natural numbers , you have
Calculations are often simplified by moving the exponent as in de Moivre’s formula. This is demonstrated in Example 1.
De Moivre’s formula can be proved using Euler’s formula and simple power rules:
Example 1
Prove the following trigonometric identities:
and
using de Moivre’s formula
The expressions include and , so you can use in de Moivre’s formula:
Using Euler’s formula, you can derive a relationship between the exponential function and the trigonometric functions:
You can therefore define cosine and sine using complex numbers via Euler’s formula.
Theory
For all complex numbers , the following holds:
The definition can be justified for real numbers using Euler’s formula like this:
and
The relationship between the exponential function and the trigonometric functions is useful in a variety of situations. It is often easier to work with the exponential function than the trigonometric functions. So when you’re working with trigonometric functions, it can be a good idea to reformulate the problem using the exponential function.
Example 2
Rediscover the differentiation rules for sine and cosine,
using the exponential function
First, you write sine in exponential form:
Then you find the derivative of both sides of the expression with respect to . Remember the differentiation rules for the exponential function. The imaginary unit is derived in the same manner as for any other number:
You can do the same with cosine by first writing it in exponential form: