Complex Exponentiation
Complex exponentiation extends the notion of exponents to the complex plane. That is, we would like to consider functions of the form where is a complex number.
Why do we care about complex exponentiation? Although they are functions involving the imaginary number , complex exponentiation can be a powerful tool for analyzing a variety of applications in the real world. A couple of examples are as follows:
- Circuit analysis
Complex exponentiation can be used to solve for currents and voltages in an electrical circuit
- Motion of an object in an electromagnetic field
Motion of a particle in an electromagnetic field
Contents
Complex Numbers
This wiki assumes some familiarity with complex numbers where and are real numbers and is the imaginary number,
The Complex Plane
The complex plane provides a way of visualizing the complex number , where and are real numbers. It is similar to a Cartesian plane, where the -axis represents the real part of a complex number, and the -axis represents the imaginary part.
The complex plane
Consider the complex number . As will be shown in the next couple of sections, this can also be represented as where and is the angle between the vector in the complex plane and the -axis, as defined in this figure:
The absolute value of a complex number is given by
The argument (or phase) of a complex number is given by such that and
From this, we can convert to the polar coordinates
- .
Or, for the unit circle, we have
- .
What is the absolute value of the complex number ?
The absolute value of a complex number is defined as So,
Euler's Formula - Derivation
One of the most fundamental equations used in complex theory is Euler's formula, which relates the exponent of an imaginary number, to the two parametric equations we saw above for the unit circle in the complex plane:
So, what can we do with Well, for one we can consider taking the Maclaurin series expansion of it. The Maclaurin series expansion of a function is given by
where denotes the derivative of evaluated at .
Or, writing out this sum, we get
So, if we let , then taking the first few derivatives gives
So, a Maclaurin series expansion for gives us
Now, if we group real and imaginary parts together, we have
One might immediately recognize that the series in the first set of parentheses representing the real part of is the expansion for and that the series in the second set of parentheses representing the imaginary part of is the expansion for Therefore,
This famous result is known as the Euler formula after the mathematician Leonhard Euler who discovered it in 1748, which is a very powerful tool when it comes to finding properties associated with complex numbers.
Show that the following identities hold:
using Euler's formula.
From Euler's formula, we know that
Also, we have
Equating the real and imaginary parts of (1) and (2) gives
Show that
Using Euler's formula,
So,
Show that de Moivre's theorem is correct, namely that the following equality holds true:
Using Euler's formula,
Complex Exponentiation - Beyond Euler's Formula
We have seen that
Now let's consider again the following representation of a complex variable :
If we consider and , it is straightforward to see that
So, from Euler's equation, it follows that
This makes multiplying two complex numbers together intuitive and easy to visualize.
Show that multiplying together two complex numbers is the same as adding together their angles and multiplying together their absolute values.
Lets suppose you have two complex numbers:
You can convert them to polar coordinates, using the formulae:
This gives us the equations
Multiplying,
So, we can see that multiplying together two complex numbers in the complex plane is as easy as adding their angles together and multiplying their absolute values together.
If , what is ?
This could be done in two ways:
- multiplying out the long way;
- first converting to polar coordinates.
The first way is a bit tedious, and prone to error. However, converting to polar coordinates can make the task much simpler. In this case,
Its polar coordinates give us
So, is equivalent to raising the radius to the power of and multiplying the angle in the exponent by , or
Note: From Euler's formula, and .
The complex number can be written as , where and are real numbers. What is the value of ?
Details and Assumptions:
- is the imaginary unit, where .
Raising a Complex Number to a Complex Number
Consider the general problem of raising a complex number to the power of a complex number. That is, if and are both complex numbers, what is ? In order to solve , where and are both complex numbers, we rewrite as follows:
So, how can we evaluate Consider the following example:
Show that
We have
\[\begin{align} e^{\ln z}
&= e^{\ln |z| + i\big(2n\pi + \arg(z)\big) }\\ &= |z| e^{i2n\pi} e^{i \arg(z)}\\ &= |z| e^{ i \arg(z)}\\ &= |z| \Big(\cos\big(\arg(z)\big) + i\sin\big(\arg(z)\big)\Big)\\ &= \text{Re}(z) + i\, \text{Im}(z)\\ &= z. \end{align}\]Therefore,
Using the results from this example,
The second exponential here, is of course multi-valued, and therefore, in general, if and are complex, then is multi-valued, in fact it has an infinite number of possible values. We call the principle value.
Which of the following is a possible value for this expression:
Complex Roots - Common Pitfalls
For real numbers it is straightforward to find the root of a number.
A couple of examples:
- If then . (one value)
- If then . (two values)
In general, for even a number will have two roots, and for odd it will have one root.
However, finding the roots of complex numbers is, well (pardon the expression!), much more complex!
In fact, in general, if we have , where is a given complex number, it will have distinct roots.
Let's consider an example:
How many complex cube roots are there for the number
The obvious answer, of course, is . But are there any others?
Recall that a complex number can be written in polar form: In this case , so
In general, so
In the complex plane, we can let So, we have three roots, corresponding to, and
So, the three roots are
In the complex plane, notice all these lie on the unit circle:
![]()
They are called the three roots of unity.
We have seen that the three roots of unity for are simply points on the unit circle in the complex plane at evenly distributed points, starting at .
Similarly for , we will have evenly distributed points on the unit circle at angles , where goes from to .
For example for we will have this:
More generally, if we have , then we will have evenly distributed points on a circle of radius , with argument , where goes from to .
The multi-valued nature of complex roots can lead to some apparent paradoxes and erroneous results.
For example, one might argue (incorrectly) that
The issue here, of course, is that you have multiple values for both and so the above is strongly dependent on which branch you choose.
Another common pitfall is finding "the solution" to an exponential and assuming that it is the unique solution.
For example consider the following example:
Find all possible values of .
We know the famous eqution:
One might conclude the following:
However, even though each of the steps appears to be valid, this is only a partial answer, only one of the many possible values for !
A more complete approach might be to recognize that can take on all the following values:
So, if we raise it to the power, we get
This gives a much more complete picture of all the possible values of .
So, we can see, through these couple of examples, how important it is to keep track of all possible complex roots in order to arrive at a complete (and correct) solution to a problem involving complex exponentials.
AC Circuit Application
As mentioned earlier, complex exponentiation--in particular, assuming the results of the form and its resulting properties--can be used to solve real world problems, even though they involve imaginary numbers.
Consider, for example, the following electrical circuit:
We would like to understand why a sine wave produced by the voltage source in the circuit on the left would produce the waveforms on the right.
In order to analyze this circuit, we first look at the differential equations of the above circuit. In this section, we will assume some understanding of the fundamental behavior of an RLC circuit.
In the above circuit, we have
where is the frequency of the input voltage which will be sinusoidal.
Note: Electrical engineers will often use to denote the imaginary number , so as to not confuse it with the variable used for current. However, for the sake of continuity, we will continue to use .
Now, we consider the behavior of each element.
The voltage across the resistor will be
where is the current in amperes, and is the resistance in ohms,
The voltage across the inductor will be
where is the inductance of the inductor in henries, and is the derivative of the current with respect to time.
The voltage across the capacitor will be
where is the charge across the capacitor, and is its capacitance in Farads,
Note that the current is given by
For the differential equation for the above circuit, we simply add up the (time-dependent) voltages across each element, and the sum must be the input voltage. This translates to the following differential equation:
Now, how do we approach this integro-differential equation? This is where the magic of complex exponentiation comes in!
Note that differentiation of the function is essentially multiplying by , and integration is essentially dividing by . So, the above integro-differential equation can much more simply be written as
Note that is called the impedence of , and the impedence of .
Rewriting,
At this point, you might say, "Hey wait, this is nonsense, we still have imaginary numbers..." However, we can now treat this voltage as a vector in the complex plane that will have a magnitude and a phase.
Finally, the impedence of each element is now treated as a "complex resistance" as if we had three resistors in series.
So, the solution for the voltage can be obtained from the following complex quantities:
We then can solve for the real and imaginary part of each waveform. Solving, we can find the real wave forms across each of the elements, where the amplitude of the voltage across each element, , will be given by
Or in other words,
where
Now if we just look at the real part of the result, we can completely determine the resulting waveforms. That is,
- for the resistor, the amplitude is and it is in phase with the applied voltage;
- for the inductor, the amplitude is and it is out of phase by with respect to the applied voltage;
- for the capacitor, the amplitude is and it is out of phase by with respect to the applied voltage.
So, we have seen that by using complex exponentials, we are able to simplify and solve problems, the results of which are very real and tangible. That is, If we were to measure an ideal volt meter across the elements, the resulting waveform would look exactly as we described above.