Precalculus Lesson 9: Introduction to Complex Numbers and the Complex Plane
Introduction to Complex Numbers and the Complex Plane
- AoPS Online is closed May 24-26th.
Motivation
- A simple quadratic equation with no real solutions is presented as motivation:
- The equation has no real solutions because the square of any real number is non-negative.
- Instead of giving up, a new kind of number is introduced to solve this problem.
- Let's use the symbol to denote this new "number".
The Imaginary Unit
- is defined such that .
- Then:
- It is possible to figure out any power of in this manner.
Complex Numbers
- Complex numbers are defined as all numbers of the form , where and are real numbers.
- is the real part of , written as .
- is the imaginary part of , written as .
- Both and are real numbers.
- Example: , so is a complex number.
- Quick Quiz: What is ? Notice that the imaginary part of is , not .
- Two complex numbers are equal when their real parts are equal to each other and their imaginary parts are equal to each other.
- Complex numbers with a zero imaginary part are the real numbers.
- Complex numbers with a zero real part are called purely imaginary.
- We add, subtract, and multiply complex numbers just like you might expect -- to add and subtract, we gather like terms, and to multiply, we use the distributive property.
The Complex Plane
- To graph complex numbers, we use the two-dimensional cousin of the real line: the complex plane.
- The number corresponds to the point on the complex plane.
- The horizontal axis is called the real axis, representing the real part of the complex number.
- The vertical axis is called the imaginary axis, representing the imaginary part of the complex number.
Example
- Given a complex plane with a grid where each square has side lengths of 1 unit, we can identify complex numbers.
- If is at the point (2, 4) then .
- If is at the point (3, -1) then .
- If you want a single variable denoting a complex number, it is customary to use the letter , if a second complex variable is needed, .
Complex Number Arithmetic
- We add and subtract in the usual way, by gathering terms.
- If and , then:
Geometric Interpretation of Addition and Subtraction
- Addition and subtraction have interesting geometric interpretations.
- To get from to , we go right 2 and up 4. And what do we do to get from to ?
- To get from to , we also go right 2 and up 4.
- The line segment from to is a translation of the line segment from to , meaning they have the same length and direction.
- To add to , we take the line segment from to and translate the endpoint at 0 over to . The end of this shifted line segment will be . This is called head to tail addition of complex numbers.
- Complex number addition is commutative: .
- The shape formed by , , , and is a parallelogram.
- Both pairs of opposite sides are equal in length and parallel.
- is the complex number we need to add to to get .
- If we shift the line segment from to to start at , we get .
- From the diagram, we can see that to go from to , we need to go 1 unit left and 5 units up. This means that .
- Head to tail addition lets us draw sums and differences of complex numbers without doing any calculations.
- Completing the parallelogram: the complex number is the unique point in the plane such that , , and form a parallelogram. (Assuming that those first three points are not collinear.)
- It can be surprisingly easy to incorrectly visualize differences of complex numbers. The best way to avoid this issue is to always check what you find using the addition equation.
Multiplication and Division
- The obvious next candidates are multiplication and division.
- If and , we can calculate and .
Multiplication
- Make sure that you don't just multiply the real parts by the real parts and the imaginary parts by the imaginary parts! Think of what you'd do to multiply and .
Division
- Division is a bit trickier.
- When we have messy denominators, we multiply top and bottom by something (the same thing, of course) to rationalize the denominator.
- In this case, we are going to "realize" the denominator. We're going to multiply numerator and denominator by something that makes the denominator a real number.
- Multiply numerator and denominator by :
- We've figured out geometric interpretations of addition and subtraction. We might wonder about whether multiplication and division have geometric interpretations, too.
- It turns out that they do. However, we won't learn about them today. That'll have to wait until the next couple of weeks. Stay tuned!
- (As a little teaser: our work with polar coordinates last week will prove very useful for those operations!)
Complex Conjugates
- What would we multiply the numerator and denominator by when "realizing" the denominator of ?
- Multiply the numerator and denominator by .
- If , then we define . We call the conjugate of .
- In LaTeX you can type to get . If you're using plain text, you can use conj(z) to mean the conjugate of .
- We usually read as "z bar".
- If and , then and .
- Conjugates are reflections of each other in the real axis.
- In fact, this always works! For any complex number we have . The conjugate of a conjugate is the original number.
- The conjugate of a sum also works out nicely. Say that , , where , , , are real numbers.
- Then , so
- Conjugating and gives , so .
- Therefore, for any complex numbers, . Or in other words, the conjugate of a sum is the sum of the conjugates.
- Now let's think about multiplication and look at , the conjugate of .
- We might guess that , that is, the conjugate of a product is the product of the conjugates.
- Let's test that out! This time, the calculations with get ugly fast, so before we dive into that, let's try an example and see what happens. After all, if it doesn't work for our example, it will definitely not work in general!
- Let and . What's ?
- From here, it's simple to see that the conjugate of is
- Now let's check whether is indeed . What do we get when we multiply and ?
- which is precisely !
- That means that for this one example, the product of the conjugates equal to the conjugate of the products! This, of course, is not a proof that this works in general, but it's certainly suggestive.
- Let's quickly see the actual proof. If and , then .
- Thus we see that .
- and .
- Therefore, for any complex numbers . Or in other words, the conjugate of a product is always the product of the conjugates.
- To recap, we've now observed that in general:
- I will sometimes refer to these properties by saying that "conjugation plays nicely with addition and multiplication."
- If you want a more conventional way to say this, we can also say that conjugation commutes with addition and multiplication.
- Conjugation also plays nicely with subtraction and division, since subtraction is just addition by an inverse, and division is just multiplication by an inverse:
Complex Number Algebra
- It'll be helpful for us to think about how to solve equations involving complex numbers.
- When we solve equations in the real numbers, we perform the same operations on both sides of an equation to manipulate the equation. The same ideas apply to complex numbers.
- If we have an equation, and we add the same complex number to both sides, the equation is still true.
- Our equation is still true if we subtract the same complex number from both sides, or multiply both sides by the same complex number, or divide both sides by the same nonzero complex number.
Example 1
- Solve the equation:
- Subtract from both sides:
- Multiply both sides by :
Example 2
- Find all solutions to .
- Write and substitute it into the equation. We get
- Expanding the left side, we get:
- We know that the two sides are equal when the real and imaginary parts are equal!
- The first equation tells us .
- Since the second equation tells us that the product is positive, and must be the same sign!
- Therefore, is impossible, which means that .
- substituting into we find that .
- Since , our answers are:
- If these numbers look familiar to you — say, from the work we did with terminal points on the unit circle — that is not a coincidence! We'll see why in our next class.
Example 3
- Two complex numbers and satisfy:
- What is ?
- One approach is to write and and write out our equations in terms of . That looks really ugly with terms.
- The left sides of the equations look very similar. Maybe we can combine them somehow to make things cancel out. Let's see. If we add the two equations, we get:
- We could take the conjugates of both sides of one of our equations! Taking the conjugate of both sides of the second equation we get:
- The right side is just .
- Since , we can turn the left side into:
- Similarly, since , we can turn this into:
- Finally, taking the conjugate of both sides of the second equation turned it into:
- Now we can just add this to the first equation and the terms will cancel out! We get:
The Magnitude
- Our last important function of the day is the magnitude or absolute value of a complex number, which we write as . This is the distance of the complex number from the origin.
- This is a generalization of the familiar absolute value of real numbers. For a real number , the absolute value is the distance from to 0 on the number line, which we can also think of as its distance to the origin in the complex plane.
- Both in LaTeX and in plain text, you can use vertical bars to denote the magnitude. That is, we write in LaTeX and |z| in plain text.
Example
- Calculate and for the and in the picture below:
- By definition, is the distance of from the origin. Using Pythagoras,
- If , then .
- What is for the above?
- In general, again using Pythagoras, .
Algebraic Interpretation
- How could we factor the expression ?
- We can write since .
- Factoring this as a difference of squares, we get:
- Since and , this tells us that .
- This is an important fact!
Magnitude of Sums
- Let's figure out whether there are nice expressions for and in terms of and .
- Let's start with . We'll start by trying this with some actual numbers, just to get a sense.
- Let's use and . Adding them and keeping things organized, we see that .
- We know that the magnitude of a complex number is its distance from the origin. So what are ?
- Calculating the distances using Pythagoras, we have that:
- In particular, in this case.
- Note that unlike before, this is actually a proof that since one counterexample shows that this property can't possibly hold in general!
- There turns out to be a good geometric reason that this doesn't work.
- Which line segments above have length ?
- the blue ones do: the ones from 0 to and from to
- Similarly, the line segments from 0 to and from to have length ; they are color-coded in red in the diagram above.
- The green line segment, the diagonal of the parallelogram that goes from 0 to, has length ||.
- Since these are the sides of a triangle, we don't usually have = + although we do have ≤ + due to the triangle inequality.
- So we now know that is not equal to + but it's possible that there's a different relationship!
- The next question is whether knowing and is enough to figure out
- Notice that and form three sides of a triangle in the complex plane. This question is equivalent to asking, "is knowing two side lengths in a triangle sufficient to figure out the third side length?"
- Not at all! We'd need at least one angle in order to figure out the length of the third side.
- If we fix and there are many possible values for :
- Hence, we generally don't have an equation that relates to and (We do have the triangle inequality, though, which has its uses.)
- When does the triangle inequality become an equality? In other words, under what circumstances do we have = +?
- Right, it's when and "point in the same direction". This is equivalent to saying that and are collinear and in the same quadrant
- So that's addition and magnitude! It doesn't play nicely in the way we might want it to, which is very useful to know.
Magnitude of Products
- Now let's think about whether has a nice relationship to and
- Let's use and again. Then what's
- That's right,
- Since we're calculating magnitudes, let's use the complex plane.
- Putting it all together,
- putting it all together, that is, the magnitude of the product is the product of the magnitudes.
- Letting and, we have that
- Therefore, That's pretty neat!
- Now let's also demonstrate another method.
- Perhaps we can use that somehow.
- What nice relationship between|| and did we just discover?
- That's right, we have that
- Did we figure out about earlier this class?
- We learned that conjugation plays nicely with multiplication. So and therefore We get: |zw|^2 = ((z z )(w w) = |z|^2|W|^2
- We now know that magnitudes do not play nice with addition, but do play nice with multiplication.
- Since division undoes multiplication, magnitudes do play nice with division: we have that
Complex Number Algebra, Part 2
- We've already seen earlier that just like with real number equations, an equation with complex numbers stays true if we do the same thing to both sides.
*We also learned that we could take the conjugate of both sides, because doing the same thing to both sides keeps the two sides equal. We also discovered that this can be useful when the original equation involves conjugation.
The problem below feels tricky at first, but becomes very simple if we take the magnitude of both sides!
Summary
- Today we introduced complex numbers and defined the rules of arithmetic for them: addition, subtraction, multiplication, and division. We figured out geometric interpretations of addition and subtraction, but we haven't yet figured out geometric interpretations of multiplication and division. That will come in later classes.
- We also defined two very useful functions on complex numbers: the conjugate and the magnitude.
- Magnitudes, on the other hand, play nice with multiplication and division, but not addition or subtraction.
- Along the way, we talked a lot about the utility of working with complex numbers without breaking them up into real and imaginary parts.
- We also realized if we have an equation in complex numbers, we can conjugate both sides, and we can also take the magnitude of both sides.
- Next week we'll link complex numbers to trigonometry and polar coordinates.
- Today's topics are pretty foundational for the next few weeks. So if you don't get the hang of them, you'll get pretty lost.