Math Core

Lesson 2.3 · Quadratic Functions

Complex numbers

The equation x2=−1x^2 = -1 has no real solution, because the square of every real number is zero or positive. Mathematicians handled this the same way they once handled x+5=2x + 5 = 2 (by inventing negative numbers) and x2=2x^2 = 2 (by accepting irrational ones): they extended the number system. The result, the complex numbers, is what makes every quadratic equation solvable.

The imaginary unit

Define a new number ii whose square is −1-1.

Definition

Imaginary unit

The imaginary unit ii is the number with

i2=−1,soi=−1.i^2 = -1, \qquad\text{so}\qquad i = \sqrt{-1}.

For any positive real number aa, the square root of −a-a is defined as −a=ia\sqrt{-a} = i\sqrt{a}.

With this definition, square roots of negative numbers become ordinary expressions you can simplify.

−25=i25=5i,−7=i7,−50=i25⋅2=5i2.\sqrt{-25} = i\sqrt{25} = 5i, \qquad \sqrt{-7} = i\sqrt{7}, \qquad \sqrt{-50} = i\sqrt{25 \cdot 2} = 5i\sqrt{2}.

It is customary to write i7i\sqrt{7} or 7 i\sqrt{7}\,i rather than 7i\sqrt{7}i, so that nobody mistakes the ii for being under the radical.

Check the first one: (5i)2=25i2=25(−1)=−25(5i)^2 = 25 i^2 = 25(-1) = -25. So 5i5i really is a number whose square is −25-25. (So is −5i-5i, just as both 55 and −5-5 square to 2525. The symbol −25\sqrt{-25} means the one with the positive coefficient, 5i5i.)

The word "imaginary" is a historical accident. These numbers are no less legitimate than negative numbers, and they are essential in electrical engineering, signal processing and quantum physics.

Complex numbers

Combining real numbers with multiples of ii gives a whole new set of numbers.

Definition

Complex number

A complex number is a number of the form a+bia + bi, where aa and bb are real numbers. This is its standard form.

  • aa is the real part.
  • bb is the imaginary part (the real number multiplying ii, not bibi).

Some examples:

numberstandard formreal partimaginary part
3−4i3 - 4i3+(−4)i3 + (-4)i33−4-4
6i6i0+6i0 + 6i0066
−2-2−2+0i-2 + 0i−2-200
1+i2\dfrac{1 + i}{2}12+12i\dfrac{1}{2} + \dfrac{1}{2}i12\dfrac{1}{2}12\dfrac{1}{2}

Every real number is a complex number with imaginary part 00. A complex number with real part 00 and b≠0b \ne 0, such as 6i6i, is called pure imaginary. So the real numbers sit inside the complex numbers, the way the integers sit inside the rational numbers.

Worked example: Writing in standard form

Write 6−−122\dfrac{6 - \sqrt{-12}}{2} in the form a+bia + bi.

First simplify the radical: −12=i4⋅3=2i3\sqrt{-12} = i\sqrt{4 \cdot 3} = 2i\sqrt{3}. Then divide each term by 22:

6−2i32=3−i3.\frac{6 - 2i\sqrt{3}}{2} = 3 - i\sqrt{3}.

The real part is 33 and the imaginary part is −3-\sqrt{3}.

Equal complex numbers

Two complex numbers are equal only when their real parts are equal and their imaginary parts are equal. This turns one equation with complex numbers into two equations with real numbers.

Worked example: Matching parts

Find real numbers xx and yy so that 2x+(y−1)i=8+5i2x + (y - 1)i = 8 + 5i.

Match real parts: 2x=82x = 8, so x=4x = 4. Match imaginary parts: y−1=5y - 1 = 5, so y=6y = 6.

Powers of i

Multiplying by ii over and over cycles through just four values.

i1=i,i2=−1,i3=i2⋅i=−i,i4=(i2)2=1.i^1 = i, \qquad i^2 = -1, \qquad i^3 = i^2 \cdot i = -i, \qquad i^4 = (i^2)^2 = 1.

After i4=1i^4 = 1 the pattern repeats: i5=i4⋅i=ii^5 = i^4 \cdot i = i, i6=−1i^6 = -1, and so on.

Powers of i repeat every 4

To find ini^n for a whole number nn, divide nn by 44 and use the remainder:

remainder0123
ini^n11ii−1-1−i-i

Worked example: A large power

Simplify i23i^{23}.

23=4⋅5+323 = 4 \cdot 5 + 3, so i23=(i4)5⋅i3=15⋅(−i)=−ii^{23} = (i^4)^5 \cdot i^3 = 1^5 \cdot (-i) = -i.

A product rule that breaks

For nonnegative real numbers, a⋅b=ab\sqrt{a}\cdot\sqrt{b} = \sqrt{ab}. This rule is not true when both numbers are negative.

Common mistake

−4⋅−9≠36\sqrt{-4} \cdot \sqrt{-9} \ne \sqrt{36}. Always rewrite square roots of negatives using ii before multiplying:

−4⋅−9=(2i)(3i)=6i2=−6.\sqrt{-4} \cdot \sqrt{-9} = (2i)(3i) = 6i^2 = -6.

Multiplying under one radical first would give (−4)(−9)=36=6\sqrt{(-4)(-9)} = \sqrt{36} = 6, which has the wrong sign.

The complex plane

Real numbers fill a number line. Complex numbers need two dimensions, because each has two independent parts. In the complex plane, the horizontal axis is the real axis and the vertical axis is the imaginary axis, and a+bia + bi is plotted at the point (a,b)(a, b).

In the complex plane, a + bi is the point (a, b). The dashed segment from 0 to 3 + 4i has length 5.Open in grapher →

The distance from 00 to a+bia + bi is called its absolute value (or modulus), and the Pythagorean theorem gives

∣a+bi∣=a2+b2.|a + bi| = \sqrt{a^2 + b^2}.

For example, ∣3+4i∣=9+16=5|3 + 4i| = \sqrt{9 + 16} = 5. For a real number (b=0b = 0) this is just a2=∣a∣\sqrt{a^2} = |a|, the usual absolute value.

Tip

Complex numbers can't be put in order the way real numbers can: it makes no sense to say 2+i<3i2 + i < 3i. Absolute value is how you compare their sizes: ∣2+i∣=5|2 + i| = \sqrt{5} is smaller than ∣3i∣=3|3i| = 3.

Practice

Practice 1

Simplify −49\sqrt{-49}.

Practice 2

Write −18\sqrt{-18} in the form k i2k\,i\sqrt{2}. What is kk?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Simplify i42i^{42}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Simplify i15i^{15}.

Practice 5

Write −4+−202\dfrac{-4 + \sqrt{-20}}{2} in the form a+bia + bi. What is bb? (Type a square root as sqrt(5).)

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Simplify −3⋅−12\sqrt{-3} \cdot \sqrt{-12}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Find real numbers xx and yy with (x+3)+2yi=7−10i(x + 3) + 2yi = 7 - 10i. Enter your answer as (x,y)(x, y).

Enter a point like (2, -3)

Practice 8

Find ∣−5+12i∣|-5 + 12i|.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.