On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Numbers & Quantities · Grade 9-12

Complex Numbers

A complex number has the form a+bi where a,b are real and i=−1.

i2=−1

Quick Answer

A complex number has the form a+bi where a,b are real and i=−1. Use complex numbers when an equation needs the square root of a negative number, such as x2=−4, or a quadratic whose discriminant b2−4ac is negative. You add and multiply them with ordinary algebra, treating i like a letter, then replace every i2 with −1. Each one is also a point in a plane: a units along the real axis and b units up the imaginary axis.

Why This Matters

With complex numbers every quadratic has solutions: x2+2x+5=0 has none on the real line but has x=−1±2i. More generally, a polynomial of degree n has exactly n complex roots, counting repeats. Engineers use complex numbers to describe alternating current and signals, because multiplying by i turns a point a quarter-turn about the origin.

Intuitive Explanation

On the real number line, multiplying by −1 flips a number to the other side of zero, a half-turn. Ask for a number that, used twice, makes that half-turn, and the line has no answer, since any real number squared is zero or positive. The fix is to step off the line: let multiplying by i be a quarter-turn. Two quarter-turns make a half-turn, so i⋅i=−1.

That turns the line into a plane. The real axis runs left to right, the imaginary axis runs up and down, and 3+2i is the point 3 right and 2 up. Its distance from the origin, called its modulus, is ∣3+2i∣=32+22=13. The real numbers are the points on the horizontal axis, the case b=0.

Arithmetic follows the usual algebra rules. To add, combine real parts and imaginary parts separately: (3+2i)+(1−5i)=4−3i. To multiply, expand and then turn i2 into −1: (2+i)(3+4i)=6+8i+3i+4i2=6+11i−4=2+11i.

Not every square root needs i. 2 is irrational but real, because 2 is positive; only a negative under the root leaves the line. And i is not a variable like x waiting to be solved for. It is one fixed number whose square is −1.

Think of it like this. Multiplying by i is a quarter-turn counterclockwise about the origin, so repeated multiplication cycles 1→i→−1→−i→1. That is why i2=−1: two quarter-turns leave you facing the opposite way. The turning picture covers multiplication only; adding complex numbers is a slide, not a turn.

Core idea. A complex number a+bi adds a sideways imaginary axis so that x2=−1 finally has a solution.


When to Use

Reach for complex numbers when a problem has a negative under a square root, a quadratic with a negative discriminant, or asks for all solutions of a polynomial rather than only the real ones. Rewrite −k as ik before doing anything else. If the question asks for real solutions, or where a graph crosses the x-axis, a negative discriminant means there are none; report that instead of complex values.

Tip. Ask: Does the problem require the square root of a negative number, i=−1?

How to Recognize It

Before you bring in i, check what the question accepts as an answer and whether a negative ends up under an even root.

  1. Does the question ask for all solutions, or for real solutions only?

    If it says real solutions or x-intercepts and the discriminant is negative, the answer is that there are none. If it asks for all solutions, or solutions in C, give the complex pair, such as 2±3i.

  2. Is the number under the square root negative, or positive but not a perfect square?

    A negative radicand needs i: −12=2i3. A positive non-perfect square, as in 12=23, gives an irrational number that is still real, so no i appears.

  3. After multiplying, is an i2 or a higher power of i left in the answer?

    Replace it: i2=−1, i3=−i, i4=1, and the cycle repeats every four powers. Leaving i2 standing treats i like an unknown variable, which it is not; it is one fixed number.

  4. Is a complex number in the denominator, as in 52+i?

    Multiply top and bottom by the conjugate 2−i, so the bottom becomes 4−i2=5. The result is 5(2−i)5=2−i. A real denominator needs no conjugate: just divide each part.

Complex Numbers compared with Real numbers, Irrational numbers, and Variables/algebraic terms

All four rows can turn up in one line of algebra, often beside a square root sign. Ask what is under the root: a negative radicand brings in i, a positive one stays real, and i itself is a fixed number, never an unknown.

Complex Numbers

Meaning
Use this when you need square roots of negative numbers or solutions that don't exist on the real number line.
Key test
Does the problem require the square root of a negative number, i=−1?
Formula
i2=−1
Example
Solve x2=−4.

Real numbers

Meaning
Live on a single line with no imaginary part; the case b=0.
Key test
Use when no square root of a negative appears.
Formula
R
Example
5 is real (and complex with b=0)

Irrational numbers

Meaning
Still real values like 2; the root is of a positive, so no i appears.
Key test
Use when the root is of a positive non-perfect-square.
Formula
2
Example
2 is real, −2 is complex

Variables/algebraic terms

Meaning
i looks like a letter but is a fixed constant equal to −1, not a placeholder.
Key test
Use the rule i2=−1 rather than carrying i as an unknown.
Formula
i2=−1
Example
2i⋅3i=6i2=−6

Formula & Notation

i2=−1
C={a+bi:a,b∈R,  i2=−1} with addition (a+bi)+(c+di)=(a+c)+(b+d)i and multiplication (a+bi)(c+di)=(ac−bd)+(ad+bc)i

How to read it: a+bi denotes a complex number with real part a and imaginary part b; C denotes the set of all complex numbers

Worked Examples

Example 1 — Solve for an imaginary root

Easy

Solve x2=−4.
Show the steps and the answer
  1. Note that no real number works, since real squares are never negative.

    A negative number equal to a square is the signal that the answer needs i.

  2. Take square roots of both sides: x=±−4.

    A square equal to a number has two roots of opposite sign, just as x2=4 does.

  3. Pull out i: −4=4⋅−1=2i, so x=±2i.

    Writing −4 as 4⋅(−1) separates a perfect square from −1.

  4. Check: (2i)2=4i2=−4 and (−2i)2=4i2=−4.

    Both values square to −4, so both are solutions.

Answer: x=±2i

Takeaway: For x2=−k with k>0, the solutions are x=±ik.

Example 2 — A positive under the root

Standard

Solve x2=4.
Show the steps and the answer
  1. Check the sign of the right side: 4 is positive.

    A positive number has two real square roots, so i is not needed.

  2. Take square roots: x=±4=±2.

    Both 22 and (−2)2 equal 4.

  3. Compare with x2=−4, whose roots are ±2i.

    The equations differ only in the sign on the right, and that sign alone decides between real and imaginary roots.

Answer: x=±2

Takeaway: A positive number under the root gives real roots; only a negative one calls for i.

Example 3 — Find the mistake: combining negative radicals

Application

Simplify −4⋅−9. Priya writes: "−4⋅−9=(−4)(−9)=36=6." Find the mistake and correct it.
Show the steps and the answer
  1. Convert each root to i form first: −4=2i and −9=3i.

    The rule ab=ab is only guaranteed when a and b are not both negative, and here both are.

  2. Multiply: (2i)(3i)=6i2.

    Multiply the real coefficients, 2×3=6, and the i factors, i×i=i2.

  3. Replace i2 with −1: 6i2=−6.

    Combining the radicals first hid this i2, which is where Priya lost the minus sign.

  4. Check with the plane picture: 2i and 3i both point straight up, a quarter-turn each.

    Multiplying adds the turns to a half-turn and multiplies the lengths to 6, which points to −6 on the real axis.

Answer: −4⋅−9=−6

Takeaway: Rewrite square roots of negatives as multiples of i before multiplying, then turn i2 into −1.

Where You'll See It

  • Alternating current in a circuit

    Electrical engineers describe how a circuit resists alternating current with a complex impedance, such as 3+4j ohms; they write j because i already means current. Its size, 32+42=5 ohms, sets how much current flows, and its angle says how far the current lags behind the voltage.

  • Rotating shapes on a screen

    Multiplying a point x+yi by i rotates it 90 degrees about the origin: (4+i)⋅i=4i+i2=−1+4i. Some 2D graphics code rotates shapes this way, and 3D engines use quaternions, an extension of the same idea.

  • Drawing the Mandelbrot set

    Each pixel stands for a complex number c, and a program repeats z→z2+c starting from z=0. For c=−1 the values go 0,−1,0,−1,… and stay small, so the pixel is coloured black; for c=1 they go 0,1,2,5,26,… and escape, so it gets a colour.

Common Mistakes

  1. The slip: Forgetting i2=−1 and leaving it unsimplified

    Instead: replace i2 with -1 every time.

  2. The slip: Writing −4 as −2

    Instead: it is 2i; the negative comes out as a factor of i.

  3. The slip: Multiplying −a⋅−b as ab

    Instead: convert to i form first, since the radical rule fails for negatives.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Simplify −49 and write it using i.

    Hint: Split it as 49×−1.

  2. Add the complex numbers (3+2i)+(5−6i) and write the result as a+bi.

    Hint: Combine real parts with real parts and imaginary parts with imaginary parts.

  3. Multiply (2+3i)(4−i) and write the answer as a+bi.

    Hint: Expand all four products, then replace i2 with −1.

  4. Simplify i7 to one of 1, −1, i or −i.

    Hint: The powers of i repeat every 4: i,−1,−i,1.

  5. Does x2−2x+5=0 have real solutions, or do you need complex numbers? Solve it.

    Hint: Find the discriminant b2−4ac first.

  6. Raj writes −4⋅−9=36=6. Correct his work.

    Hint: Rewrite each root with i before multiplying.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why can't I compare complex numbers with < and >?

Any ordering that follows the usual rules needs every nonzero square to be positive. But i2=−1i^2 = -1, so whether you declare i>0i > 0 or i<0i < 0, squaring leads to −1>0-1 > 0, which breaks the rules. You can compare sizes instead: the modulus ∣a+bi∣=a2+b2|a + bi| = \sqrt{a^2 + b^2} is a real number, so ∣3+4i∣=5|3 + 4i| = 5 is larger than ∣1+i∣=2|1 + i| = \sqrt{2}.

Were complex numbers invented just to solve x2=−1?

Historically, no. In the 1500s, Italian mathematicians such as Gerolamo Cardano and Rafael Bombelli met square roots of negatives as a middle step in formulas for cubic equations, while the final answers came out as ordinary real numbers. The roots of negatives cancelled along the way. Bombelli worked out how to calculate with them because the cubic formula needed them, centuries before anyone drew them as points in a plane.

Where are complex numbers used outside math class?

Electrical engineers describe alternating current with them, writing jj instead of ii because ii already stands for current. A current has both a size and a timing, and multiplying by jj shifts the timing by a quarter cycle. Signal processing, the math behind compressing music and images, uses them constantly, and quantum physics describes particles with complex-valued waves.

Does every polynomial equation have a complex solution?

Yes, if its degree is at least 1. The fundamental theorem of algebra says a polynomial of degree nn has exactly nn complex roots, counting repeats. So x3=1x^3 = 1 has three: 11 and −12±32i-\frac{1}{2} \pm \frac{\sqrt{3}}{2}i. Unlike the step from real to complex numbers, no further numbers are ever needed, because complex coefficients never force a new kind of root.

Learning Path

Complex Numbers

You are here

Next →

Nothing after this yet
You need Real Numbers and the Quadratic Formula first. Complex Numbers add i, with i2=−1, so square roots of negatives exist and every quadratic has two roots, counting a repeated root twice. With them you can solve any quadratic completely, factor x2+9 as (x+3i)(x−3i), and later study polar form, where multiplying two complex numbers adds their angles and multiplies their lengths.

See Also