# 3.1: Complex Numbers

- Last updated

- Save as PDF

- Page ID
- 13421

- Contributed by OpenStax
- Mathematics at OpenStax CNX

Learning Objectives

- 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\]

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.

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.

Standard Form

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\]

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

Exercise \(\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}\)

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}\).

** 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}\).

Exercise \(\PageIndex{1}\)

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

**Answer**

## 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\]

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

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

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

**\(\PageIndex{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}\]

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.
- When a complex number is added to its complex conjugate, the result is a real number.

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

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 \(\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 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\).

Exercise \(\PageIndex{8}\)

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$.} \\ &\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*}\]

Exercise \(\PageIndex{9}\)

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

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 i35 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\),

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.