# 3.1: Complex Numbers

- Page ID
- 17359

Skills to Develop

- Express square roots of negative numbers as multiples of \(i\).
- Plot complex numbers on the complex plane.
- Add and subtract complex numbers.
- Multiply and divide 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\nonumber\]

Our best guesses might be \(x=+2\) or \(x=–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 \(-1\).

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

So, using properties of radicals,

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

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)}\nonumber\\ &=\sqrt{25}\sqrt{-1} \nonumber\\ &= 5i\nonumber \end{align}\nonumber\]

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\) (with \(a, b\) real numbers) 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\).

Note: since it is so easy to make the mistake of thinking that the \(i\) at the end of the number sits under the radical sign, it is customary to write this number as \(3+4i\sqrt{3}\). Also, as usual, if a term is 0, or a coefficient is 1, we often omit it; so \(0+1i\) (correct standard form) is often written simply as \(i\).

**Figure \(\PageIndex{1}\)**

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.

Definition: 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 \(\PageIndex{1}\): Expressing an Imaginary Number in Standard Form

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

**Solution**

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

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

\(\PageIndex{1}\)

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

**Answer**-
\(\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 \(\PageIndex{2}\)

**Figure \(\PageIndex{2}\):** 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.

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 \(\PageIndex{3}\).

**Figure \(\PageIndex{3}\): **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 \(\PageIndex{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 \(\PageIndex{4}\).

**Figure \(\PageIndex{4}\): **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.

\(\PageIndex{2}\)

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

**Answer**-
**Figure \(\PageIndex{5}\)**

## 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.

Complex Numbers: Addition and Subtraction

Adding complex numbers:

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

Subtracting complex numbers:

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

** 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 \(\PageIndex{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 \nonumber\\ (3−4i)+(2+5i)&=(3+2)+(−4+5)i \nonumber\\ &=5+i \nonumber\end{align}\nonumber\]

\(\PageIndex{3}\)

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

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

## Multiplying Complex Numbers

Multiplying complex numbers is much like multiplying binomials. The "twist" is that whenever we have an \(i^2\) term, we rewrite \(i^2\) as \(-1\).

### 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,

**Figure \(\PageIndex{6}\)**

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

- Use the distributive property.
- Simplify.

Example \(\PageIndex{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) \nonumber\\ &=8+20i \nonumber\end{align}\nonumber\]

\(\PageIndex{4}\)

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

**Answer**-
\(−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\nonumber\]

Here is the "twist": because \(i^2=−1\), we have

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

To simplify, we combine the real parts, and we combine the imaginary parts to get standard form.

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

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

- Use the distributive property or the FOIL method.
- If there is a term containing \(i^2\), rewrite \(i^2\) as \(-1\).
- Simplify.
- Write the answer in standard form.

Example \(\PageIndex{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−4(5i)+3i(2)-15i^2\nonumber\\ &=(8+15)+(−20+6)i \nonumber\\ &=23−14i \nonumber\end{align}\nonumber\]

\(\PageIndex{5}\)

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

**Answer**-
\(18+i\)

## Dividing Complex Numbers

Division of two complex numbers is more complicated than addition, subtraction, and multiplication because standard form of a complex number does not allow an imaginary number in the denominator. "Division" of complex numbers becomes a task of rewriting a fraction so that the result is in standard form. We need a term by which we can multiply the numerator and the denominator that will eliminate the imaginary portion of 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\).

Definition: 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: \((a+bi)(a-bi)=a^2+b^2\).
- When a complex number is added to its complex conjugate, the result is a real number: \((a+bi) +(a-bi)=2a\).

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\). Note: as we will see in Section 3.2, 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$ and $b$ are not both } 0\nonumber\]

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)}\nonumber\]

Apply the distributive property.

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

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

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

Example \(\PageIndex{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. Rewrite this number in the form \(a+bi\) to get \(0−\frac{1}{2}i\). The complex conjugate is \(a−bi\), or \(0-(-\frac{1}{2}i)\), which simplifies to \(0+\frac{1}{2}i\). This is usually written simply as \(\frac{1}{2}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 \(\PageIndex{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)}\nonumber\]

We multiply the numerator and denominator by the complex conjugate of the denominator.

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

To multiply two complex numbers, we expand the product as we would with binomials (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} \nonumber\\ &=\dfrac{8+2i+20i+5(−1)}{16+4i−4i−(−1)} &\text{ because $i^2=-1$} \nonumber\\ &=\dfrac{3+22i}{17} \nonumber\\ &=\dfrac{3}{17}+\dfrac{22}{17}i & \text{Separate real and imaginary parts.} \nonumber\end{align}\nonumber\]

Note that this expresses the quotient in standard form.

*Extra Credit**:* We multipliy the original fraction by \(\frac{4+i}{4+i}\). **(a)** What is the value of \(\frac{4+i}{4+i}\)? **(b)** Explain the importance of this value in the process of dividing complex numbers. Write this up and give it to your instructor for Extra Credit.

Example \(\PageIndex{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.

\[\begin{align*} f(3+i) &= (3+i)^2 - 5(3+i) + 2\; \qquad \text{Substitute } 3+i \text{ for } x\\ &= (3+6i+i^2) - (15+5i) + 2\; \qquad \text{Multiply}\\ &= 9+6i+(-1)-15-5i+2\; \qquad \text{Subsitute -1 for } i^2\\ &= -5+i\; \qquad \text{Combine like terms} \end{align*}\]

**Analysis**

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

\(\PageIndex{6}\)

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

**Answer**-
\(102−29i\)

Example \(\PageIndex{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$.} \nonumber\\[5pt] &\dfrac{2+10i}{3+10i} &\text{Rewrite the denominator in standard form.} \nonumber\\[5pt] &\dfrac{2+10i}{3+10i}{\cdot}\dfrac{3–10i}{3–10i} &\text{Multiply the numerator and denominator by the complex conjugate of the denominator.}\nonumber\\[5pt] &\dfrac{6–20i+30i–100i^2}{9–30i+30i–100i^2} &\text{Multiply using the distributive property or the FOIL method.} \nonumber\\[5pt] &\dfrac{6–20i+30i–100(–1)}{9–30i+30i–100(–1)} &\text{Substitute –1 for $i^2$.}\nonumber\\[5pt] &\dfrac{106+10i}{109} &\text{Simplify.}\nonumber\\[5pt] &\dfrac{106}{109}+\dfrac{10}{109} &\text{Separate the real and imaginary parts.} \nonumber\end{align*}\nonumber\]

\(\PageIndex{7}\)

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

**Answer**-
\(−\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 \\[5pt] i^2&=−1 \\[5pt] i^3&=i^2⋅i=−1⋅i=−i \nonumber\\[5pt] i^4&=i^3⋅i=−i⋅i=−i^2=−(−1)=1 \nonumber\\[5pt] i^5&=i^4⋅i=1⋅i=i \nonumber\end{align*}\nonumber\]

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 length 4. Let’s examine the next 4 powers of \(i\).

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

Example \(\PageIndex{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 \nonumber \]

** Can we write \(i^{35}\) in other helpful ways?**

*As we saw in Example \(\PageIndex{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 \(\PageIndex{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}\) |

## 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.

## 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\) (\(a,b \in \mathbb{R}\)),

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.