1. Complex Numbers¶
The lecture on complex numbers consists of three parts, each with their own video:
Total video length: 38 minutes and 53 seconds
1.1 Definition and basic operations¶
Complex numbers¶
Definition I
Complex numbers are numbers of the form Here is the square root of -1: or equivalently:
Usual operations on numbers have their natural extension for complex numbers, as we shall see below.
Some useful definitions:
Definition II
For a complex number , is called the real part, and the imaginary part.
Complex conjugate
The complex conjugate of is defined as
i.e., taking the complex conjugate means flipping the sign of the imaginary part.
Addition¶
Addition
For two complex numbers, and , the sum is given as
where the parentheses in the rightmost expression have been added to group the real and the imaginary part. A consequence of this definition is that the sum of a complex number and its complex conjugate is real: i.e., this results in twice the real part of .
Similarly, subtracting from yields i.e., twice the imaginary part of (times ).
Multiplication¶
Multiplication
For the same two complex numbers and as above, their product is calculated as where the parentheses have again beรจn used to indicate the real and imaginary parts.
A consequence of this definition is that the product of a complex number with its conjugate is real: The square root of this number is called the norm of :
Division¶
The quotient of two complex numbers and defined above can be evaluated by multiplying the numerator and denominator by the complex conjugate of :
Division
Try this yourself!
Example:
Visualization: the complex plane¶
Complex numbers can be rendered on a two-dimensional (2D) plane, the complex plane. This plane is spanned by two unit vectors, one horizontal representing the real number 1 and the vertical unit vector representing .
Addition in the complex plane¶
Adding two numbers in the complex plane corresponds to adding their respective horizontal and vertical components:
1.2. Complex functions¶
Real functions can (most of the times) be written in terms of a Taylor series expanded at a point : We can write something similar for complex functions by replacing the real variable with its complex counterpart :
For this course, the most important function is the complex exponential function, at which we will have a closer look below.
The complex exponential function¶
The complex exponential is used extremely often. It occurs in Fourier transforms and it is very convenient for doing calculations involving cosines and sines. It also makes many common operations on complex number a lot easier to perform.
The exponential function and Euler identity
The exponential function is defined as:
The last expression is called the Euler identity.
Exercise
Check that this function obeys You will need sum and difference formulas of cosine and sine.
The polar form¶
A complex number can be represented by two real numbers, and , which correspond to the real and imaginary part of the complex number. Another representation of is a vector in the complex plane with a horizontal component that corresponds to the real part of and a vertical component that corresponds to the imaginary part of . It is also possible to characterize that vector by its length and direction, where the latter can be represented by the angle that the vector makes with the horizontal axis:
Polar form of complex numbers
A complex number can be represented either by its real and imaginary part corresponding to the Cartesian coordinates in the complex plane, or by its norm and its argument corresponding to polar coordinates. The norm is the length of the vector, and the argument is the angle it makes with the horizontal axis.
We can conclude that for a complex number , its real and imaginary parts can be expressed in polar coordinates as
Inverse equations
The inverse equations are for . In general:
It turns out that by using the magnitude and phase , we can write any complex number as By increasing by , we make a full circle around the origin and reach the same point on the complex plane. In other words, by adding to the argument of , we get the same complex number ! As a result, the argument is defined up to , and we are free to make any choice we like, such as in the examples in the figure below:
Some useful values of the complex exponential to know by heart are:
Useful identities:
From the first expression, it also follows that As a result, is only defined up to .
Furthermore, we can define the sine and cosine in terms of complex exponentials:
Complex sine and cosine
Most operations on complex numbers become easier when complex numbers are converted to their polar form using the complex exponential. Some functions and operations, which are common in real analysis, can be easily derived for their complex counterparts by substituting the real variable with the complex variable in its polar form:
Examples of some complex functions stated using polar form
Use of polar form lets us notice immediately that for example, as a result of multiplication, the norm of the new number is the product of the norms of the multiplied numbers and its argument is the sum of the arguments of the multiplied numbers.
In the complex plane, this looks as follows:
Example: Find all solutions solving .
Of course, we know that are two solutions, but which other solutions are possible? We take a systematic approach:
1.3. Differentiation and integration¶
We only consider differentiation and integration over real variables.
We can then regard the complex as another constant, and use our usual differentiation and integration rules:
Differentiation and Integration rules
1.4. Bonus: the complex exponential function and trigonometry¶
Let us show some tricks in the following examples where the simple properties of the exponential function help in re-deriving trigonometric identities.
Properties of the complex exponential function I
Take , and and . It is easy to see then that , . Then: The left hand side can be written as
Also, the right hand side can be written as Comparing the two expressions, equating their real and imaginary parts, we find Note that we used the Euler formula in order to derive the identities of trigonometric function. The point is to show you that you can use the properties of the complex exponential to quickly find the form of trigonometric formulas, which are often easily forgotten.
Properties of the complex exponential function II
In this example, let's see what we can learn from the derivative of the exponential function: Writing out the exponential in terms of cosine and sine, we see that where the prime denotes the derivative as usual. Equating real and imaginary parts leads to
1.5. Summary¶
-
A complex number has the form where and are both real, and . The real number is called the real part of and is the imaginary part. Two complex numbers can be added, subtracted and multiplied straightforwardly. The quotient of two complex numbers and is
-
Complex numbers can also be characterised by their norm and argument . These parameters correspond to polar coordinates in the complex plane. For a complex number , its real and imaginary parts can be expressed as The inverse equations are The complex number itself then becomes
-
The most important complex function for us is the complex exponential function, which simplifies many operations on complex numbers where is defined up to .\ The and can be rewritten in terms of this complex exponential as Because we only consider differentiation and integration over real variables, the usual rules apply:
1.6. Problems¶
-
[] Given and , calculate and draw in the complex plane the numbers:
- ,
- ,
- .
-
[] Evaluate:
- ,
- ,
- .
-
[] Find the three 3rd roots of and . (i.e. all possible solutions to the equations and , respectively).
-
[] Quotients
- Find the real and imaginary part of
- Evaluate for real and :
-
[] For any given complex number , we can take the inverse .
- Visualize taking the inverse in the complex plane.
- What geometric operation does taking the inverse correspond to? (Hint: first consider what geometric operation corresponds to.)
-
[] Differentation and integration
- Compute
- Calculate the real part of (, , , and are real; is positive).
-
[] Compute by making use of the Euler identity.