# 3.1: Complex Numbers

The study of mathematics continuously builds upon itself. Negative integers, for example, fill a void left by the set of positive integers. The set of rational numbers, in turn, fills a void left by the set of integers. The set of real numbers fills a void left by the set of rational numbers. Not surprisingly, the set of real numbers has voids as well. For example, we still have no solution to equations such as

\[x^2+4=0\]

Our best guesses might be +2 or –2. But if we test +2 in this equation, it does not work. If we test –2, it does not work. If we want to have a solution for this equation, we will have to go farther than we have so far. After all, to this point we have described the square root of a negative number as undefined. Fortunately, there is another system of numbers that provides solutions to problems such as these. In this section, we will explore this number system and how to work within it.

### Expressing Square Roots of Negative Numbers as Multiples of *i*

We know how to find the square root of any positive real number. In a similar way, we can find the square root of a negative number. The difference is that the root is not real. If the value in the radicand is negative, the root is said to be an imaginary number. The imaginary number i is defined as the square root of negative 1.

\[\sqrt{-1}=i\]

So, using properties of radicals,

\[i^2=(\sqrt{-1})^2=−1\]

We can write the square root of any negative number as a multiple of i. Consider the square root of –25.

\[\begin{align} \sqrt{-25}&=\sqrt{25 {\cdot} (-1)}\\ &=\sqrt{25}\sqrt{-1} \\ &= 5i \end{align}\]

We use 5*i* and not −5*i* because the principal root of 25 is the positive root.

A **complex number** is the sum of a real number and an imaginary number. A complex number is expressed in standard form when written \(a+bi\) where \(a\) is the real part and \(bi\) is the imaginary part. For example, \(5+2i\) is a complex number. So, too, is \(3+4\sqrt{3}i\).

Imaginary numbers are distinguished from real numbers because a squared imaginary number produces a negative real number. Recall, when a positive real number is squared, the result is a positive real number and when a negative real number is squared, again, the result is a positive real number. Complex numbers are a combination of real and imaginary numbers.

Note: Imaginary and Complex Numbers

A complex number is a number of the form \(a+bi\) where

\(a\) is the real part of the complex number.

\(bi\) is the imaginary part of the complex number.

If \(b=0\), then \(a+bi\) is a real number. If \(a=0\) and \(b\) is not equal to 0, the complex number is called an **imaginary number**. An imaginary number is an even root of a negative number.

**Given an imaginary number, express it in standard form.**

- Write \(\sqrt{−a}\) as \(\sqrt{a}\sqrt{−1}\).
- Express \(\sqrt{−1}\) as
*\(i\)*. - Write \(\sqrt{a}{\cdot}i\) in simplest form.

Example 3.1.1:Expressing an Imaginary Number in Standard Form

Express \(\sqrt{−9}\) in standard form.

**Solution**

\[\sqrt{−9}=\sqrt{9}\sqrt{−1}=3i\]

In standard form, this is \(0+3i\).

**3.1.1:** Express \(\sqrt{−24}\) in standard form.

**Solution**

\(\sqrt{−24}=0+2i\sqrt{6}\)

### Plotting a Complex Number on the Complex Plane

We cannot plot complex numbers on a number line as we might real numbers. However, we can still represent them graphically. To represent a complex number we need to address the two components of the number. We use the complex plane, which is a coordinate system in which the horizontal axis represents the real component and the vertical axis represents the imaginary component. Complex numbers are the points on the plane, expressed as ordered pairs \((a,b)\), where \(a\) represents the coordinate for the horizontal axis and \(b\) represents the coordinate for the vertical axis.

Let’s consider the number \(−2+3i\). The real part of the complex number is−2 and the imaginary part is \(3i\). We plot the ordered pair \((−2,3)\) to represent the complex number \(−2+3i\) as shown in **Figure 3.1.1**.

**Figure 3.1.1**: Plot of a complex number, \(-2 + 3i\). Note that the real part \((-2)\) is plotted on the x-axis and the imaginary part \((3i)\) is plotted on the y-axis.

Note: Complex Plane

In the **complex plane**, the horizontal axis is the real axis, and the vertical axis is the imaginary axis as shown in **Figure 3.1.2**.

**Figure 3.1.2**: The complex plane showing that the horizontal axis (in the real plane, the x-axis) is known as the real axis and the vertical axis (in the real plane, the y-axis) is known as the imaginary axis.

** Given a complex number, represent its components on the complex plane.**

- Determine the real part and the imaginary part of the complex number.
- Move along the horizontal axis to show the real part of the number.
- Move parallel to the vertical axis to show the imaginary part of the number.
- Plot the point.

Example 3.1.2: Plotting a Complex Number on the Complex Plane

Plot the complex number \(3−4i\) on the complex plane.

**Solution**

The real part of the complex number is 3, and the imaginary part is \(−4i\). We plot the ordered pair \((3,−4)\) as shown in **Figure 3.1.3**.

**Figure 3.1.3: **Plot of a complex number, \(3 - 4i\). Note that the real part \((3)\) is plotted on the x-axis and the imaginary part \((-4i)\) is plotted on the y-axis.

**3.1.2:** Plot the complex number \(−4−i\) on the complex plane.

**Solution**

### Adding and Subtracting Complex Numbers

Just as with real numbers, we can perform arithmetic operations on complex numbers. To add or subtract complex numbers, we combine the real parts and combine the imaginary parts.

Note: Complex Numbers: Addition and Subtraction

Adding complex numbers:

\[(a+bi)+(c+di)=(a+c)+(b+d)i\]

Subtracting complex numbers:

\[(a+bi)−(c+di)=(a−c)+(b−d)i\]

** Given two complex numbers, find the sum or difference.**

- Identify the real and imaginary parts of each number.
- Add or subtract the real parts.
- Add or subtract the imaginary parts.

Example 3.1.3: Adding Complex Numbers

Add \(3−4i\) and \(2+5i\).

**Solution**

We add the real parts and add the imaginary parts.

\[\begin{align} (a+bi)+(c+di)&=(a+c)+(b+d)i \\ (3−4i)+(2+5i)&=(3+2)+(−4+5)i \\ &=5+i \end{align}\]

**3.1.3: **Subtract \(2+5i\) from \(3–4i\).

**Solution**

\((3−4i)−(2+5i)=1−9i\)

### Multiplying Complex Numbers

Multiplying complex numbers is much like multiplying binomials. The major difference is that we work with the real and imaginary parts separately.

#### Multiplying a Complex Numbers by a Real Number

Let’s begin by multiplying a complex number by a real number. We distribute the real number just as we would with a binomial. So, for example,

** ****Given a complex number and a real number, multiply to find the product.**

- Use the distributive property.
- Simplify.

Example 3.1.4: Multiplying a Complex Number by a Real Number

Find the product \(4(2+5i).\)

**Solution**

Distribute the 4.

\[\begin{align} 4(2+5i)&=(4⋅2)+(4⋅5i) \\ &=8+20i \end{align}\]

**3.1.4: **Find the product \(−4(2+6i)\).

**Solution**

\(−8−24i\)

#### Multiplying Complex Numbers Together

Now, let’s multiply two complex numbers. We can use either the distributive property or the FOIL method. Recall that FOIL is an acronym for multiplying First, Outer, Inner, and Last terms together. Using either the distributive property or the FOIL method, we get

\[(a+bi)(c+di)=ac+adi+bci+bdi^2\]

Because \(i^2=−1\), we have

\[(a+bi)(c+di)=ac+adi+bci−bd\]

To simplify, we combine the real parts, and we combine the imaginary parts.

\[(a+bi)(c+di)=(ac−bd)+(ad+bc)i\]

** ****Given two complex numbers, multiply to find the product.**

- Use the distributive property or the FOIL method.
- Simplify.

Example 3.1.5: Multiplying a Complex Number by a Complex Number

Multiply \((4+3i)(2−5i)\).

**Solution**

Use \((a+bi)(c+di)=(ac−bd)+(ad+bc)i\)

\[\begin{align} (4+3i)(2−5i)&=(4⋅2−3⋅(−5))+(4⋅(−5)+3⋅2)i \\ &=(8+15)+(−20+6)i \\ &=23−14i \end{align}\]

**3.1.5: **Multiply \((3−4i)(2+3i)\).

**Solution**

\(18+i\)

### Dividing Complex Numbers

Division of two complex numbers is more complicated than addition, subtraction, and multiplication because we cannot divide by an imaginary number, meaning that any fraction must have a real-number denominator. We need to find a term by which we can multiply the numerator and the denominator that will eliminate the imaginary portion of the denominator so that we end up with a real number as the denominator. This term is called the **complex conjugate** of the denominator, which is found by changing the sign of the imaginary part of the complex number. In other words, the complex conjugate of \(a+bi\) is \(a−bi\).

Note that complex conjugates have a reciprocal relationship: The complex conjugate of \(a+bi\) is \(a−bi\), and the complex conjugate of \(a−bi\) is \(a+bi\). Further, when a quadratic equation with real coefficients has complex solutions, the solutions are always complex conjugates of one another.

Suppose we want to divide \(c+di\) by \(a+bi\), where neither a nor \(b\) equals zero. We first write the division as a fraction, then find the complex conjugate of the denominator, and multiply.

\[\dfrac{c+di}{a+bi} \text{ where $a{\neq}0$ and $b{\neq}0$}\]

Multiply the numerator and denominator by the complex conjugate of the denominator.

\[\dfrac{(c+di)}{(a+bi)}{\cdot}\dfrac{(a−bi)}{(a−bi)}=\dfrac{(c+di)(a−bi)}{(a+bi)(a−bi)}\]

Apply the distributive property.

\[=\dfrac{ca−cbi+adi−bdi^2}{a^2−abi+abi−b^2i^2}\]

Simplify, remembering that \(i^2=−1\).

\[=\dfrac{ca−cbi+adi−bd(−1)}{a^2−abi+abi−b^2(−1)} \\ =\dfrac{(ca+bd)+(ad−cbi)}{a^2+b^2}\]

Note: The Complex Conjugate

The **complex conjugate** of a complex number \(a+bi\) is \(a−bi\). It is found by changing the sign of the imaginary part of the complex number. The real part of the number is left unchanged.

- When a complex number is multiplied by its complex conjugate, the result is a real number.
- When a complex number is added to its complex conjugate, the result is a real number.

Example 3.1.6: Finding Complex Conjugates

Find the complex conjugate of each number.

- \(2+i\sqrt{5}\)
- \(−\frac{1}{2}i\)

**Solution**

a. The number is already in the form \(a+bi\). The complex conjugate is \(a−bi\), or \(2−i\sqrt{5}\).

b. We can rewrite this number in the form \(a+bi\) as \(0−\frac{1}{2}i\). The complex conjugate is \(a−bi\), or \(0+\frac{1}{2}i\). This can be written simply as \(\frac{1}{2}i\).

**Analysis**

Although we have seen that we can find the complex conjugate of an imaginary number, in practice we generally find the complex conjugates of only complex numbers with both a real and an imaginary component. To obtain a real number from an imaginary number, we can simply multiply by \(i\).

** ****Given two complex numbers, divide one by the other.**

- Write the division problem as a fraction.
- Determine the complex conjugate of the denominator.
- Multiply the numerator and denominator of the fraction by the complex conjugate of the denominator.
- Simplify.

Example 3.1.7: Dividing Complex Numbers

Divide \((2+5i)\) by \((4−i)\).

**Solution**

We begin by writing the problem as a fraction.

\[\dfrac{(2+5i)}{(4−i)}\]

Then we multiply the numerator and denominator by the complex conjugate of the denominator.

\[\dfrac{(2+5i)}{(4−i)}{\cdot}\dfrac{(4+i)}{(4+i)}\]

To multiply two complex numbers, we expand the product as we would with polynomials (the process commonly called FOIL).

\[\begin{align} \dfrac{(2+5i)}{(4−i)}{\cdot}\dfrac{(4+i)}{(4+i)}&=\dfrac{8+2i+20i+5i^2}{16+4i−4i−i^2} \\ &=\dfrac{8+2i+20i+5(−1)}{16+4i−4i−(−1)} &\text{ because $i^2=-1$} \\ &=\dfrac{3+22i}{17} \\ &=\dfrac{3}{17}+\dfrac{22}{17}i & \text{Separate real and imaginary parts.} \end{align}\]

Note that this expresses the quotient in standard form.

Example 3.1.8: Substituting a Complex Number into a Polynomial Function

Let \(f(x)=x^2−5x+2\). Evaluate \(f(3+i)\).

**Solution**

Substitute \(x=3+i\) into the function \(f(x)=x^2−5x+2\) and simplify.

**Analysis**

We write \(f(3+i)=−5+i\). Notice that the input is \(3+i\) and the output is \(−5+i\).

**3.1.6: **Let \(f(x)=2x^2−3x\). Evaluate \(f(8−i)\).

**Solution**

\(102−29i\)

Example 3.1.9: Substituting an Imaginary Number in a Rational Function

Let \(f(x)=\frac{2+x}{x+3}\). Evaluate \(f(10i)\).

**Solution**

Substitute \(x=10i\) and simplify.

\[\begin{align} &\dfrac{2+10i}{10i+3} &\text{Substitute $10i$ for $x$.} \\ &\dfrac{2+10i}{3+10i} &\text{Rewrite the denominator in standard form.} \\ &\dfrac{2+10i}{3+10i}{\cdot}\dfrac{3–10i}{3–10i} &\text{Multiply the numerator and denominator by the complex conjugate of the denominator.}\\ &\dfrac{6–20i+30i–100i^2}{9–30i+30i–100i^2} &\text{Multiply using the distributive property or the FOIL method.} \\ &\dfrac{6–20i+30i–100(–1)}{9–30i+30i–100(–1)} &\text{Substitute –1 for $i^2$.}\\ &\dfrac{106+10i}{109} &\text{Simplify.}\\ &\dfrac{106}{109}+\dfrac{10}{109} &\text{Separate the real and imaginary parts.} \end{align}\]

**3.1.7:** Let \(f(x)=\frac{x+1}{x−4}\). Evaluate \(f(−i)\).

**Solution**

\(−\frac{3}{17}+\frac{5i}{17}\)

### Simplifying Powers of \(i\)

The powers of *i* are cyclic. Let’s look at what happens when we raise *i* to increasing powers.

\[\begin{align} i^1&=i \\ i^2&=−1 \\ i^3&=i^2⋅i=−1⋅i=−i \\ i^4&=i^3⋅i=−i⋅i=−i^2=−(−1)=1 \\ i^5&=i^4⋅i=1⋅i=i \end{align}\]

We can see that when we get to the fifth power of *i*, it is equal to the first power. As we continue to multiply *i* by itself for increasing powers, we will see a cycle of 4. Let’s examine the next 4 powers of \(i\).

\[\begin{align} i^6&=i5⋅i=i⋅i=i^2=−1 \\ i^7&=i^6⋅i=i^2⋅i=i^3=−i \\ i^8&=i^7⋅i=i^3⋅i=i^4=1 \\ i^9&=i^8⋅i=i^4⋅i=i^5=i \end{align}\]

Example 3.1.10: Simplifying Powers of \(i\)

Evaluate \(i^{35}\).

**Solution**

Since \(i^4=1\), we can simplify the problem by factoring out as many factors of i^4 as possible. To do so, first determine how many times 4 goes into 35: \(35=4⋅8+3\).

\[i^{35}=i^{4⋅8+3}=i^{4⋅8}⋅i^{3}=(i^4)^8⋅i^3=1^8⋅i^3=i^3=−i\]

** Can we write i35 in other helpful ways?**

*As we saw in Example 3.1.10, we reduced \(i^{35}\) to \(i^3\) by dividing the exponent by 4 and using the remainder to find the simplified form. But perhaps another factorization of *\(i^{35}\)

*may be more useful.*

**Table 3.1.1**shows some other possible factorizations.
Factorization of \(i^{35}\) |
\(i^{34}{\cdot}i\) | \(i^{33}{\cdot}i^2\) | \(i^{31}{\cdot}i^4\) | \(i^{19}{\cdot}i^{16}\) |

Reduced form | \(\big(i^2\big)^{17}{\cdot}i\) | \(i^{33}{\cdot}(-1)\) | \(i^{31}{\cdot}1\) | \(i^{19}{\cdot}\big(i^4\big)^4\) |

Simplified form | \((-1)^{17}{\cdot}i\) | \(-i^{33}\) | \(i^{31}\) | \(i^{19}\) |

**Table 3.1.1**:Each of these will eventually result in the answer we obtained above but may require several more steps than our earlier method.

### Key Concepts

- The square root of any negative number can be written as a multiple of \(i\).
- To plot a complex number, we use two number lines, crossed to form the complex plane. The horizontal axis is the real axis, and the vertical axis is the imaginary axis.
- Complex numbers can be added and subtracted by combining the real parts and combining the imaginary parts.
- Complex numbers can be multiplied and divided.
- To multiply complex numbers, distribute just as with polynomials.
- To divide complex numbers, multiply both the numerator and denominator by the complex conjugate of the denominator to eliminate the complex number from the denominator.
- The powers of \(i\) are cyclic, repeating every fourth one.

#### Verbal

Explain how to add complex numbers.

Add the real parts together and the imaginary parts together.

What is the basic principle in multiplication of complex numbers?

Give an example to show the product of two imaginary numbers is not always imaginary.

\(i\) times \(i\) equals –1, which is not imaginary. (answers vary)

What is a characteristic of the plot of a real number in the complex plane?

#### Algebraic

For the following exercises, evaluate the algebraic expressions.

If \(f(x)=x^2+x−4\), evaluate \(f(2i)\).

\(−8+2i\)

If \(f(x)=x^3−2\), evaluate \(f(i)\).

If \(f(x)=x^2+3x+5\),evaluate \(f(2+i)\).

\(14+7i\)

If \(f(x)=2x^2+x−3\), evaluate \(f(2−3i)\).

If \(f(x)=\frac{x+1}{2−x}\), evaluate \(f(5i)\).

\(−\frac{23}{29}+\frac{15}{29}i\)

If \(f(x)=\frac{1+2x}{x+3}\), evaluate \(f(4i)\).

#### Graphical

For the following exercises, determine the number of real and nonreal solutions for each quadratic function shown.

2 real and 0 nonreal

For the following exercises, plot the complex numbers on the complex plane.

\(1−2i\)

\(−2+3i\)

\(i\)

\(−3−4i\)

#### Numeric

For the following exercises, perform the indicated operation and express the result as a simplified complex number.

\((3+2i)+(5−3i)\)

\(8−i\)

\((−2−4i)+(1+6i)\)

\((−5+3i)−(6−i)\)

\(−11+4i\)

\((2−3i)−(3+2i)\)

\((−4+4i)−(−6+9i)\)

\(2−5i\)

\((2+3i)(4i)\)

\((5−2i)(3i)\)

\(6+15i\)

\((6−2i)(5)\)

\((−2+4i)(8)\)

\(−16+32i\)

\((2+3i)(4−i)\)

\((−1+2i)(−2+3i)\)

\(−4−7i\)

\((4−2i)(4+2i)\)

\((3+4i)(3−4i)\)

25

\(\frac{3+4i}{2}\)

\(\frac{6−2i}{3}\)

\(2−\frac{2}{3}i\)

\(\frac{−5+3i}{2i}\)

\(\frac{6+4i}{i}\)

\(4−6i\)

\(\frac{2−3i}{4+3i}\)

\(\frac{3+4i}{2−i}\)

\(\frac{2}{5}+\frac{11}{5}i\)

\(\frac{2+3i}{2−3i}\)

\(\sqrt{−9}+3\sqrt{−16}\)

\(15i\)

\(−\sqrt{−4}−4\sqrt{−25}\)

\(\frac{2+\sqrt{−12}}{2}\)

\(1+i\sqrt{3}\)

\(\frac{4+\sqrt{−20}}{2}\)

\(i^8\)

\(1\)

\(i^{15}\)

\(i^{22}\)

\(−1\)

#### Technology

For the following exercises, use a calculator to help answer the questions.

Evaluate \((1+i)^k\) for \(k=4, 8, \) and \(12\).Predict the value if \(k=16\).

Evaluate \((1−i)^k\) for \(k=2, 6,\) and \(10\).Predict the value if \(k=14\).

128i

Evaluate (1+i)k−(1−i)k for \(k=4\), 8, and 12. Predict the value for \(k=16\).

Show that a solution of \(x^6+1=0\) is \(\frac{\sqrt{3}}{2}+\frac{1}{2}i\).

\((\frac{\sqrt{3}}{2}+\frac{1}{2}i)^6=−1\)

Show that a solution of \(x^8−1=0\) is \(\frac{\sqrt{2}}{2}+\frac{\sqrt{2}}{2}i\).

#### Extensions

For the following exercises, evaluate the expressions, writing the result as a simplified complex number.

\(\frac{1}{i}+\frac{4}{i^3}\)

\(3i\)

\(\frac{1}{i^{11}}−\frac{1}{i^{21}}\)

\(i^7(1+i^2)\)

0

\(i^{−3}+5i^7\)

\(\frac{(2+i)(4−2i)}{(1+i)}\)

\(5 – 5i\)

\(\frac{(1+3i)(2−4i)}{(1+2i)}\)

\(\frac{(3+i)^2}{(1+2i)^2}\)

\(−2i\)

\(\frac{3+2i}{2+i}+(4+3i)\)

\(\frac{4+i}{i}+\frac{3−4i}{1−i}\)

\(\frac{9}{2}−\frac{9}{2}i\)

\(\frac{3+2i}{1+2i}−\frac{2−3i}{3+i}\)

### Glossary

**complex conjugate**

the complex number in which the sign of the imaginary part is changed and the real part of the number is left unchanged; when added to or multiplied by the original complex number, the result is a real number

**complex number**

the sum of a real number and an imaginary number, written in the standard form

\(a+bi\),

where \(a\) is the real part, and \(bi\) is the imaginary part

**complex plane**

a coordinate system in which the horizontal axis is used to represent the real part of a complex number and the vertical axis is used to represent the imaginary part of a complex number

**imaginary number**

a number in the form bi where \(i=\sqrt{−1}\)

### Contributors

Jay Abramson (Arizona State University) with contributing authors. Textbook content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at https://openstax.org/details/books/precalculus.