Algebra 2Quadratic Functions and Equations4 of 7
Quadratic Functions and Equations · 4

Complex Numbers

When we solve quadratic equations, we sometimes end up with a negative number inside a square root, like −9\sqrt{\imag{-}9}, and we need a way to make sense of it and do arithmetic with it.

1

The Imaginary Unit i\imag{i}

We want to find a number that multiplies by itself to give a negative number, starting with −1\imag{\sqrt{-1}}. No number on the real number line works because multiplying two positives or two negatives always gives a positive number, so we have to look at multiplication as a rotation instead.

The Imaginary Unit i
−9=  ?\sqrt{\htmlClass{lc-violet}{-}9} = \;?
−3-3
−2-2
−1-1
00
11
22
33
i=−1i2=−1\displaystyle \begin{aligned} \imag{i} &= \imag{\sqrt{-1}} \\ \imag{i^2} &= -1 \end{aligned}

Any turn that stays on the number line lands back at 11 when repeated twice, while a 90∘\imag{90^\circ} turn straight up to i\imag{i} lands right on −1-1 the second time.

Repeating a 0° or 180° turn from 1 lands back at 1. Repeating a 90° turn upward to i or downward to -i lands on -1.
2

Square Roots of Negative Numbers

Now we want to simplify the square root of any negative number, like −9\sqrt{\imag{-}9} or −18\sqrt{\imag{-}18}, and multiply square roots of negative numbers together without losing track of their signs.

Square Roots of Negative Numbers
−9=  ?−18=  ?−4×−9=  ?\displaystyle \begin{aligned}\sqrt{\htmlClass{lc-violet}{-}9} &= \;?\\[6pt]\sqrt{\htmlClass{lc-violet}{-}18} &= \;?\\[6pt]\sqrt{\htmlClass{lc-violet}{-}4} \times \sqrt{\htmlClass{lc-violet}{-}9} &= \;?\end{aligned}

To simplify the square root of a negative number, like −18\sqrt{\imag{-}18}, we separate the negative sign from the number first.

Text solution
Pull the negative out as i\imag{i}Split −18-18 into 18×(−1)18 \times \imag{(-1)} and take −1\imag{\sqrt{-1}} out front as i\imag{i}.
−18\displaystyle \sqrt{\imag{-}18} =i18\displaystyle = \imag{i}\sqrt{18}
Simplify the remaining positive rootFactor out the largest perfect square inside the root, 9\whole{9}, and take its square root.
i18\displaystyle \imag{i}\sqrt{18} =i9×2\displaystyle = \imag{i}\sqrt{\whole{9} \times 2} =3i2\displaystyle = \whole{3}\imag{i}\sqrt{2}

When the number inside doesn't have a perfect square factor, like −7=i7\sqrt{\imag{-}7} = \imag{i}\sqrt{7}, write the i\imag{i} in front of the square root symbol so it doesn't look like it is underneath the root bar.

Now let's multiply the square roots of two negative numbers, like −6×−2\sqrt{\imag{-}6} \times \sqrt{\imag{-}2}. The rule a×b=ab\sqrt{a} \times \sqrt{b} = \sqrt{ab} only works when aa and bb are not both negative, so we have to pull the i\imag{i}'s out before multiplying.

Text solution
Pull out each negative as i\imag{i} firstTurn both negative signs into i\imag{i} before combining the roots.
−6×−2\displaystyle \sqrt{\imag{-}6} \times \sqrt{\imag{-}2} =i6×i2\displaystyle = \imag{i}\sqrt{6} \times \imag{i}\sqrt{2}
Multiply the i\imag{i}'s and the positive rootsNow that the numbers under the roots are positive, multiply them together under one root.
i6×i2\displaystyle \imag{i}\sqrt{6} \times \imag{i}\sqrt{2} =i212\displaystyle = \imag{i^2}\sqrt{12}
Replace i2\imag{i^2} with −1-1 and simplify the rootTurn i2\imag{i^2} into a negative sign in front and factor out the perfect square 4\whole{4} from 1212.
i212\displaystyle \imag{i^2}\sqrt{12} =−4×3\displaystyle = -\sqrt{\whole{4} \times 3} =−23\displaystyle = -\whole{2}\sqrt{3}
3

Powers of i\imag{i}

What if we multiply i\imag{i} by itself many times, like i39\imag{i}^{39}? Instead of multiplying i\imag{i} out thirty-nine times, we use the 90∘\imag{90^\circ} rotation cycle to find where it lands.

Powers of i
11
i\htmlClass{lc-violet}{i}
−1-1
−i\htmlClass{lc-violet}{-i}
00
i39=  ?\htmlClass{lc-violet}{i}^{39} = \;?
11
×i\htmlClass{lc-violet}{\times i}
i\htmlClass{lc-violet}{i}
×i\htmlClass{lc-violet}{\times i}
−1-1
×i\htmlClass{lc-violet}{\times i}
−i\htmlClass{lc-violet}{-i}
×i\htmlClass{lc-violet}{\times i}
00
Text solution
Drop full circles of 4\whole{4}Count by 4\whole{4}s up to 36\whole{36}, the largest multiple of 4\whole{4} inside 3939, since every 4\whole{4} turns lands right back at 11.
i39\displaystyle \imag{i}^{39} =i36+3\displaystyle = \imag{i}^{\whole{36} + \leftover{3}} =i3\displaystyle = \imag{i}^{\leftover{3}}
Count the leftover turns around the circleTake the remaining 3\leftover{3} quarter-turns from 11 (i\imag{i}, then −1-1, then −i\imag{-i}).
i3\displaystyle \imag{i}^{\leftover{3}} =−i\displaystyle = \imag{-i}

Every 4\whole{4} quarter-turns completes a full circle back to 11, so only the 0\leftover{0}, 1\leftover{1}, 2\leftover{2}, or 3\leftover{3} leftover turns matter. With 0\leftover{0} turns left, the value is 11.

Every four 90° turns land right back at 11, so any power of i\imag{i} comes down to the 0\leftover{0}, 1\leftover{1}, 2\leftover{2}, or 3\leftover{3} turns left over after full circles. With no turns left, the value is 11.
4

Complex Numbers and Equality

When we put a real number and an imaginary number together, like 3+2i3 + \imag{2i}, we get a complex number. We want to see how to write these numbers and how to find unknown values when two complex numbers are equal, like in (2x+1)+4yi=9−12i(2x + 1) + \imag{4yi} = 9 \imag{- 12i}, where xx and yy are real numbers.

Complex Numbers and Equality
3+2i=?5i3 + \htmlClass{lc-violet}{2i} \overset{?}{=} \htmlClass{lc-violet}{5i}
00
11
22
33
44
55
i\htmlClass{lc-violet}{i}
2i\htmlClass{lc-violet}{2i}
3i\htmlClass{lc-violet}{3i}

We write a complex number in standard form as a+bia + \imag{bi}, where aa and b\imag{b} are real numbers. The real part is aa, and the imaginary part is b\imag{b}.

a⏟realpart+b⏟imaginaryparti\displaystyle \underbrace{a}_{\begin{gathered}\scriptstyle\text{real}\\\scriptstyle\text{part}\end{gathered}} + \imag{\underbrace{b}_{\begin{gathered}\scriptstyle\text{imaginary}\\\scriptstyle\text{part}\end{gathered}}i}
Text solution
Match the real partsSet the parts without i\imag{i}, 2x+12x + 1 and 99, equal to each other and solve for xx.
2x+1=92x=8x=4\displaystyle \begin{aligned} 2x + 1 &= 9 \\ 2x &= 8 \\ x &= 4 \end{aligned}
Match the imaginary partsSet the numbers attached to i\imag{i}, 4y\imag{4y} and −12\imag{-12}, equal to each other and solve for yy.
4y=−12y=−3\displaystyle \begin{aligned} \imag{4y} &= \imag{-12} \\ y &= -3 \end{aligned}

So x=4x = 4 and y=−3y = -3 are the only values that make both sides land on the same point 9−12i9 - 12i on the grid.

Changing the real part aa only moves the point left or right, and changing the imaginary part b\imag{b} only moves it up or down, so the two directions stay completely independent.

The real part only counts left-and-right steps and the imaginary part only counts up-and-down steps, so the two parts never mix.
5

Adding, Subtracting, and Multiplying Complex Numbers

Now we want to add, subtract, and multiply complex numbers using ordinary algebra so that our answer is written in a+bia + \imag{bi} form.

Adding, Subtracting, and Multiplying Complex Numbers
(4+3i)+(2−5i)=  ?(5+2i)−(3−4i)=  ?(3+2i)(1+4i)=  ?\displaystyle \begin{aligned}(4 + \htmlClass{lc-violet}{3i}) + (2 \htmlClass{lc-violet}{- 5i}) &= \;?\\[6pt](5 + \htmlClass{lc-violet}{2i}) - (3 \htmlClass{lc-violet}{- 4i}) &= \;?\\[6pt](3 + \htmlClass{lc-violet}{2i})(1 + \htmlClass{lc-violet}{4i}) &= \;?\end{aligned}

For subtraction, like (5+2i)−(3−4i)(5 + \imag{2i}) - (3 \imag{- 4i}), we have to apply the minus sign to the entire second complex number.

Text solution
Distribute the negative signSubtract both the real term 33 and the imaginary term −4i\imag{-4i} in the second parentheses.
(5+2i)−(3−4i)\displaystyle (5 + \imag{2i}) - (3 \imag{- 4i}) =5+2i−3+4i\displaystyle = 5 + \imag{2i} - 3 \imag{+ 4i}
Combine like partsAdd the real numbers together and the i\imag{i} terms together.
(5−3)+(2i+4i)\displaystyle (5 - 3) + (\imag{2i} + \imag{4i}) =2+6i\displaystyle = 2 + \imag{6i}

Now let's multiply two complex numbers, (3+2i)(1+4i)(3 + \imag{2i})(1 + \imag{4i}).

Text solution
Multiply every pair of termsExpand the parentheses just as you would with xx.
(3+2i)(1+4i)\displaystyle (3 + \imag{2i})(1 + \imag{4i}) =3+12i+2i+8i2\displaystyle = 3 + \imag{12i} + \imag{2i} + 8\imag{i^2}
Combine the middle i\imag{i} terms and replace i2\imag{i^2} with −1-1Add 12i+2i\imag{12i} + \imag{2i}, and replace i2\imag{i^2} with −1-1, which changes +8i2+8\imag{i^2} to −8-8.
3+14i+8(−1)\displaystyle 3 + \imag{14i} + 8(-1) =3+14i−8\displaystyle = 3 + \imag{14i} - 8
Combine the real numbersAdd 33 and −8-8 to finish in a+bia + \imag{bi} form.
(3−8)+14i\displaystyle (3 - 8) + \imag{14i} =−5+14i\displaystyle = -5 + \imag{14i}
6

Dividing Complex Numbers

When we divide two complex numbers, like 4+2i3−i\frac{4 + \imag{2i}}{3 \imag{- i}}, we want the answer in a+bia + \imag{bi} form so we can see its real and imaginary parts. We need a way to multiply the denominator by something that gets rid of i\imag{i} completely.

Dividing Complex Numbers
4+2i3−i\displaystyle \frac{4 + \htmlClass{lc-violet}{2i}}{3 \htmlClass{lc-violet}{- i}} =  ?\displaystyle = \;?

Multiplying a complex number by its complex conjugate (the number with the same real part and the opposite imaginary part) cancels the outer and inner i\imag{i} terms and turns −b2i2-b^2\imag{i^2} into +b2+b^2:

(a+bi)(a−bi⏟complexconjugate)=a2−b2i2=a2+b2\displaystyle (a + \imag{bi})(\underbrace{a \imag{- bi}}_{\begin{gathered}\scriptstyle\text{complex}\\\scriptstyle\text{conjugate}\end{gathered}}) = a^2 - b^2\imag{i^2} = a^2 + b^2
Text solution
Multiply top and bottom by the conjugate of the bottomFlip the middle sign of the denominator 3−i3 \imag{- i} to get 3+i3 \imag{+ i}.
4+2i3−i×3+i3+i\displaystyle \frac{4 + \imag{2i}}{3 \imag{- i}} \times \frac{3 \imag{+ i}}{3 \imag{+ i}}
Multiply the denominators using a2+b2a^2 + b^2The middle i\imag{i} terms cancel out and −i2-\imag{i^2} becomes +1+1, leaving the real number 1010 on the bottom.
(3−i)(3+i)\displaystyle (3 \imag{- i})(3 \imag{+ i}) =32+12\displaystyle = 3^2 + 1^2 =9+1\displaystyle = 9 + 1 =10\displaystyle = 10
Expand and simplify the numeratorMultiply out the top, change +2i2+2\imag{i^2} to −2-2, and combine like parts.
(4+2i)(3+i)=12+4i+6i+2i2=12+10i−2=10+10i\displaystyle \begin{aligned} (4 + \imag{2i})(3 \imag{+ i}) &= 12 + \imag{4i} + \imag{6i} + 2\imag{i^2} \\ &= 12 + \imag{10i} - 2 \\ &= 10 + \imag{10i} \end{aligned}
Split the fraction into a+bia + \imag{bi} formDivide both parts of the numerator by the real denominator 1010.
10+10i10\displaystyle \frac{10 + \imag{10i}}{10} =1010+1010i\displaystyle = \frac{10}{10} + \imag{\frac{10}{10}i} =1+i\displaystyle = 1 + \imag{i}

So 4+2i3−i\frac{4 + \imag{2i}}{3 \imag{- i}} simplifies to the complex number 1+i1 + \imag{i}.

7

Quadratic Equations with Imaginary Solutions

Now we can return to quadratic equations like x2+16=0\curve{x^2 + 16} = 0, where taking the square root of a negative number used to stop us.

Quadratic Equations with Imaginary Solutions
x2+16=0x=  ?\displaystyle \begin{aligned}\htmlClass{lc-blue}{x^2 + 16} &= 0\\[12pt]x &= \;?\end{aligned}
−4-4
−2-2
22
44
1010
2020
3030
4040
xx
yy
y=x2+16\htmlClass{lc-blue}{y = x^2 + 16}
(0, 16)\htmlClass{lc-blue}{(0,\ 16)}
Text solution
Isolate x2x^2Subtract 1616 from both sides of the equation.
x2\displaystyle x^2 =−16\displaystyle = -16
Take the square root of both sidesInclude the ±\pm sign to get both solutions.
x\displaystyle x =±−16\displaystyle = \pm\sqrt{\imag{-}\whole{16}}
Pull out the negative as i\imag{i}Turn −1\imag{\sqrt{-1}} into i\imag{i} and take the square root of 16\whole{16}.
x\displaystyle x =±4i\displaystyle = \pm \whole{4}\imag{i}

So the equation has two complex solutions, x=4ix = 4\imag{i} and x=−4ix = -4\imag{i}, even though the graph of y=x2+16y = \curve{x^2 + 16} sits entirely above the real xx-axis and never crosses it.

Key concepts

Everything with complex numbers comes down to two facts from the 90∘\imag{90^\circ} turn (−1=i\imag{\sqrt{-1}} = \imag{i} and i2=−1\imag{i^2} = -1) and keeping the horizontal real part separate from the vertical imaginary part in a+bia + \imag{bi}.

Negative inside a square root (−a=ia\sqrt{\imag{-}a} = \imag{i}\sqrt{a} for a≥0a \ge 0)

Make pulling the negative out as i\imag{i} your very first step, especially before multiplying two roots like −4×−9=2i×3i=6i2=−6\sqrt{\imag{-}4} \times \sqrt{\imag{-}9} = 2\imag{i} \times 3\imag{i} = 6\imag{i^2} = -6. Only multiply under one root directly when the numbers inside aren't both negative, such as 4×9=36=6\sqrt{4} \times \sqrt{9} = \sqrt{36} = 6 or −4×9=−36=6i\sqrt{-4} \times \sqrt{9} = \sqrt{-36} = 6i.

High powers of i\imag{i} (i4=1\imag{i}^{\whole{4}} = 1)

Drop multiples of 4\whole{4} from the exponent and count through only the remainder (i1=i\imag{i}^{\leftover{1}} = \imag{i}, i2=−1\imag{i}^{\leftover{2}} = -1, i3=−i\imag{i}^{\leftover{3}} = \imag{-i}), so i39=i3=−i\imag{i}^{39} = \imag{i}^{\leftover{3}} = \imag{-i}.

Complex equality

Because real and imaginary parts never mix, an equals sign between two complex numbers like (2x+1)+4yi=9−12i(2x + 1) + \imag{4yi} = 9 \imag{- 12i} splits into two separate equations: real matches real (2x+1=92x + 1 = 9) and imaginary matches imaginary (4y=−12\imag{4y} = \imag{-12}).

Adding, subtracting, and multiplying

Treat i\imag{i} like xx, and whenever multiplication produces i2\imag{i^2}, replace i2\imag{i^2} with −1-1 and flip the sign of its number (+8i2+8\imag{i^2} becomes −8-8).

Dividing complex numbers

If the denominator is already a real number like 4+2i10\frac{4 + \imag{2i}}{10}, you don't need a conjugate, so just split the fraction into 410+210i\frac{4}{10} + \imag{\frac{2}{10}i}. When i\imag{i} is on the bottom, like 4+2i3−i\frac{4 + \imag{2i}}{3 \imag{- i}}, multiply top and bottom by the bottom's conjugate 3+i3 \imag{+ i} to turn the denominator into a2+b2=32+12=10a^2 + b^2 = 3^2 + 1^2 = 10.

8

Practice

1

Simplify −48\sqrt{-48}.

Pull the negative out as i\imag{i} first, then look for the largest perfect square that divides 4848.

Pull the negative sign out front as i\imag{i}:
−48\displaystyle \sqrt{\imag{-}48} =i48\displaystyle = \imag{i}\sqrt{48}
Factor out the largest perfect square, 16\whole{16} (watch out: factoring out 44 instead of 16\whole{16} leaves 12\sqrt{12} inside and gives the unsimplified answer 2i122i\sqrt{12}, and forgetting i\imag{i} gives 434\sqrt{3}):
i16×3\displaystyle \imag{i}\sqrt{\whole{16} \times 3} =4i3\displaystyle = \whole{4}\imag{i}\sqrt{3}
Answer4i34i\sqrt{3}
2

Solve x2+36=0x^2 + 36 = 0.

Isolate x2x^2 on one side first, and remember that two opposite numbers square to the same value.

Subtract 3636 from both sides:
x2\displaystyle x^2 =−36\displaystyle = -36
Take the square root of both sides and pull the negative out as i\imag{i} (watch out: forgetting the ±\pm sign gives only 6i6i, and dropping the negative sign under the root gives the real numbers ±6\pm 6):
x\displaystyle x =±−36\displaystyle = \pm\sqrt{\imag{-}\whole{36}} =±6i\displaystyle = \pm \whole{6}\imag{i}
Answerx=±6ix = \pm 6i
3

Multiply −10×−5\sqrt{-10} \times \sqrt{-5}.

Turn both negative signs into i\imag{i} before you multiply the numbers under the square roots.

Pull the negative out of each root as i\imag{i} first (watch out: multiplying (−10)×(−5)=50(-10) \times (-5) = 50 under the root first cancels the negatives and gives the wrong positive answer 525\sqrt{2}):
−10×−5\displaystyle \sqrt{\imag{-}10} \times \sqrt{\imag{-}5} =i10×i5\displaystyle = \imag{i}\sqrt{10} \times \imag{i}\sqrt{5}
Multiply the i\imag{i}'s and combine the positive roots:
i250\displaystyle \imag{i^2}\sqrt{50} =−25×2\displaystyle = -\sqrt{\whole{25} \times 2} =−52\displaystyle = -\whole{5}\sqrt{2}
Answer−52-5\sqrt{2}
4

Simplify i50\imag{i}^{50}.

Find how many full circles of 4\whole{4} turns fit inside 5050, and see how many turns are left over.

Drop the largest multiple of 4\whole{4} up to 5050, which is 4×12=48\whole{4 \times 12 = 48} (watch out: using the quotient 1212 or dividing by 22 instead of using the remainder after dividing by 4\whole{4} gives 11 or ii):
i50\displaystyle \imag{i}^{50} =i48+2\displaystyle = \imag{i}^{\whole{48} + \leftover{2}} =i2\displaystyle = \imag{i}^{\leftover{2}}
Take the remaining 2\leftover{2} quarter-turns from 11:
i2\displaystyle \imag{i}^{\leftover{2}} =−1\displaystyle = -1
Answer−1-1
5

Subtract (7−4i)−(2−9i)(7 \imag{- 4i}) - (2 \imag{- 9i}).

Distribute the minus sign in the middle to both terms in the second parentheses before combining.

Distribute the negative sign across (2−9i)(2 \imag{- 9i}) (watch out: subtracting 22 but forgetting to change −9i\imag{-9i} to +9i\imag{+9i} gives 5−13i5 - 13i):
7−4i−2+9i\displaystyle 7 \imag{- 4i} - 2 \imag{+ 9i}
Combine the real parts and the imaginary parts:
(7−2)+(−4i+9i)\displaystyle (7 - 2) + (\imag{-4i} + \imag{9i}) =5+5i\displaystyle = 5 + \imag{5i}
Answer5+5i5 + 5i
6

Find the real numbers xx and yy if (3x−2)+5yi=10−15i(3x - 2) + 5yi = 10 - 15i.

Split the equation into two separate equations: one matching the real parts and one matching the imaginary parts.

Match the real parts without i\imag{i}:
3x−2=10  ⟹  3x=12  ⟹  x=4\displaystyle \begin{aligned} 3x - 2 &= 10 \\ \implies 3x &= 12 \\ \implies x &= 4 \end{aligned}
Match the imaginary parts attached to i\imag{i} (watch out: dropping the minus sign on −15i\imag{-15i} and setting 5y=155y = 15 gives y=3y = 3, and subtracting 22 instead of adding 22 in the real equation gives x=83x = \frac{8}{3}):
5y=−15  ⟹  y=−3\displaystyle \begin{aligned} \imag{5y} &= \imag{-15} \\ \implies y &= -3 \end{aligned}
Answerx=4,y=−3x = 4, y = -3
7

Multiply (4−3i)(2+5i)(4 \imag{- 3i})(2 + \imag{5i}) and write the answer in a+bia + \imag{bi} form.

Multiply every pair of terms out, then check what i2\imag{i^2} does to the sign of the last number.

Expand the parentheses:
(4−3i)(2+5i)\displaystyle (4 \imag{- 3i})(2 + \imag{5i}) =8+20i−6i−15i2\displaystyle = 8 + \imag{20i} \imag{- 6i} - 15\imag{i^2}
Combine the middle i\imag{i} terms and change −15i2-15\imag{i^2} to +15+15 (watch out: treating i2\imag{i^2} as +1+1 and keeping −15-15 gives 8−15+14i=−7+14i8 - 15 + 14i = -7 + 14i):
8+14i+15\displaystyle 8 + \imag{14i} + 15 =23+14i\displaystyle = 23 + \imag{14i}
Answer23+14i23 + 14i
8

Divide 5+5i2−i\frac{5 + \imag{5i}}{2 \imag{- i}} and write the answer in a+bia + \imag{bi} form.

Multiply top and bottom by the conjugate of the denominator so the i\imag{i} terms on the bottom cancel out.

Multiply top and bottom by the conjugate of 2−i2 \imag{- i}, which is 2+i2 \imag{+ i}:
5+5i2−i×2+i2+i\displaystyle \frac{5 + \imag{5i}}{2 \imag{- i}} \times \frac{2 \imag{+ i}}{2 \imag{+ i}}
Simplify the denominator using a2+b2a^2 + b^2 and expand the numerator (watch out: computing the denominator as 22−12=32^2 - 1^2 = 3 instead of 22+12=52^2 + 1^2 = 5 gives 53+5i\frac{5}{3} + 5i):
10+5i+10i+5i222+12=10+15i−54+1=5+15i5\displaystyle \begin{aligned} \frac{10 + \imag{5i} + \imag{10i} + 5\imag{i^2}}{2^2 + 1^2} &= \frac{10 + \imag{15i} - 5}{4 + 1} \\ &= \frac{5 + \imag{15i}}{5} \end{aligned}
Split the fraction by dividing both top terms by 55:
55+155i\displaystyle \frac{5}{5} + \imag{\frac{15}{5}i} =1+3i\displaystyle = 1 + \imag{3i}
Answer1+3i1 + 3i