In short
No real number squared gives a negative result, so the equation x^2 = -1 has no solution on the number line. The fix is to invent a new number i with the defining property i^2 = -1. Every complex number is then a + bi where a and b are real. The number a is the real part, b is the imaginary part, and together they extend the one-dimensional number line into a two-dimensional number plane. The powers of i cycle with period four: i, -1, -i, 1, i, -1, \dots
Try to solve x^2 = -1. Pick any positive number and square it — the answer is positive. Pick any negative number and square it — still positive. Try zero — you get zero, not -1. No matter which real number you try, x^2 lands on zero or to the right of zero on the number line. It never goes left. The equation x^2 = -1 has no solution among the real numbers.
You have seen this pattern before. In Number Systems, every new layer of the number system was forced into existence by an equation the old layer could not solve. Subtraction forced the invention of negatives. Division forced the invention of fractions. The existence of \sqrt{2} forced the invention of irrationals. Each time, the response was the same: if the equation has no answer inside the current system, build a bigger system.
The equation x^2 = -1 is the next crack. And the patch follows the same pattern: invent a new number.
The need for complex numbers
The problem is not just the equation x^2 = -1 in isolation. It shows up naturally when you solve quadratic equations.
Take x^2 + 1 = 0. The quadratic formula gives
The discriminant is -4. You learned in Discriminant and Nature of Roots that a negative discriminant means no real roots. But the formula itself does not break — it produces \sqrt{-4}, a square root of a negative number. The formula is trying to give you an answer. It just needs a number system where \sqrt{-4} means something.
Or consider a more concrete quadratic: x^2 - 4x + 5 = 0. The discriminant is 16 - 20 = -4. No real roots. But this equation describes a parabola that sits entirely above the x-axis — it has a vertex at (2, 1) and never touches down. The parabola is real, the algebra is real, the question "where are the roots?" is real. The roots are the thing that is not real — in the literal, mathematical sense.
The situation is exactly the one that forced every previous extension of the number system. An equation you care about has no answer in the current system. Time to build a bigger one.
The imaginary unit
The imaginary unit
The number i is defined by the property
Equivalently, i = \sqrt{-1}, where the square root symbol here means "the number whose square is -1." No real number has this property.
The name "imaginary" is unfortunate. It was coined centuries ago by mathematicians who were uncomfortable with the idea, and the name stuck. There is nothing imaginary about i — it is as precisely defined as \sqrt{2}, which is "the positive number whose square is 2." The number i is "the number whose square is -1." Both are defined by a single equation. Both extend the number system to handle something the previous system could not.
With i in hand, you can write the square root of any negative number. Since -4 = 4 \times (-1), you have
More generally, for any positive real number a,
The negative sign under the radical becomes an i sitting outside. Every square root of a negative number is just a real multiple of i.
Complex numbers: real part and imaginary part
Once i exists, you can add it to any real number. The number 3 + 2i makes sense: it is the real number 3 plus two copies of i. The number -1 + 7i makes sense. The number 0 + 4i, which you write as just 4i, makes sense. Every expression of the form a + bi — where a and b are real numbers — is a complex number.
Complex number
A complex number is any expression of the form
where a, b \in \mathbb{R} and i^2 = -1. The number a is called the real part of z, written \operatorname{Re}(z). The number b is called the imaginary part of z, written \operatorname{Im}(z).
Notice that the imaginary part is the real number b, not bi. If z = 3 + 2i, then \operatorname{Re}(z) = 3 and \operatorname{Im}(z) = 2, not 2i. This is a convention that catches people the first time, so note it now.
The set of all complex numbers is written \mathbb{C}. It contains every real number — because any real a can be written as a + 0i — and it contains the purely imaginary numbers like 3i = 0 + 3i. The hierarchy of number systems extends one more layer:
Powers of i
One of the first things to nail down is what happens when you repeatedly multiply by i. Start from the definition and keep going.
And now i^5 = i^4 \cdot i = 1 \cdot i = i. The cycle repeats. The powers of i rotate through exactly four values:
The period is 4. To find i^n for any positive integer n, divide n by 4 and look at the remainder:
| Remainder when n \div 4 | i^n |
|---|---|
| 1 | i |
| 2 | -1 |
| 3 | -i |
| 0 | 1 |
This works for large powers too. What is i^{2026}? Divide 2026 by 4: 2026 = 4 \times 506 + 2. Remainder 2. So i^{2026} = -1.
What about negative exponents? Since i^4 = 1, you can write i^{-1} = i^{-1} \cdot \dfrac{i^4}{i^4} = \dfrac{i^3}{i^4} = \dfrac{-i}{1} = -i. Or more directly: i^{-1} = \dfrac{1}{i} = \dfrac{1}{i} \cdot \dfrac{i}{i} = \dfrac{i}{i^2} = \dfrac{i}{-1} = -i. The negative powers cycle through the same four values in reverse order.
Writing square roots of negative numbers
With the powers of i settled, you can now express \sqrt{-a} for any positive a.
A few examples:
There is a subtlety here. The identity \sqrt{ab} = \sqrt{a}\sqrt{b} that you learned for positive reals does not extend to negative numbers. If you carelessly write \sqrt{-4} \cdot \sqrt{-9} = \sqrt{(-4)(-9)} = \sqrt{36} = 6, you get the wrong answer. The correct computation is \sqrt{-4} \cdot \sqrt{-9} = (2i)(3i) = 6i^2 = -6. Always convert to the i form first, then multiply.
Returning to the quadratic
Now go back to x^2 - 4x + 5 = 0, the equation whose discriminant was -4.
The two roots are 2 + i and 2 - i. They come in a pair: same real part, opposite imaginary parts. This always happens when the coefficients of the quadratic are real — the complex roots appear in conjugate pairs.
Check by expanding (x - (2+i))(x - (2-i)):
The original polynomial is recovered. The complex roots work — they satisfy the equation in the same way real roots would, just with arithmetic that passes through i.
Equality of complex numbers
Two complex numbers a + bi and c + di are equal if and only if their real parts are equal and their imaginary parts are equal:
This is stronger than equality of real numbers. A single real equation gives you one condition. A single complex equation gives you two — one from the real parts, one from the imaginary parts. This is why complex equations are often equivalent to a pair of simultaneous real equations.
For instance, if (x + y) + (x - y)i = 4 + 2i, then matching real parts gives x + y = 4 and matching imaginary parts gives x - y = 2. Adding: 2x = 6, so x = 3 and y = 1.
Try this directly. Drag the red point around the complex plane below. The readouts show the real part, imaginary part, and the value of z^2 — computed using the rule (a + bi)^2 = (a^2 - b^2) + 2abi. Watch how the square changes as you move through different quadrants.
Worked examples
Example 1: Simplify $i^{403} + i^{404} + i^{405} + i^{406}$
Four consecutive powers of i. The cycle has period 4, so consecutive powers always form a predictable pattern.
Step 1. Find the remainder of 403 \div 4.
So the remainder is 3, and i^{403} = i^3 = -i.
Why: the cycle i, -1, -i, 1 repeats every four powers. Only the remainder matters.
Step 2. The next three powers follow from the cycle.
Why: each power is the previous one times i. Four consecutive powers of i always cycle through all four values in the set \{i, -1, -i, 1\}.
Step 3. Add them up.
Why: the four values i, -1, -i, 1 sum to zero — they cancel in pairs. This is always true for any four consecutive powers of i.
Result: i^{403} + i^{404} + i^{405} + i^{406} = 0.
The fact that four consecutive powers of i always sum to zero is a useful shortcut. If you are asked for i^1 + i^2 + i^3 + \cdots + i^{100}, just count: 100 terms form 25 complete groups of four, each summing to zero. The answer is 0.
Example 2: Find the complex roots of $x^2 + 6x + 13 = 0$
A quadratic with real coefficients and a negative discriminant. The roots will be complex conjugates.
Step 1. Compute the discriminant.
Why: D < 0 confirms no real roots, and the value of D tells you exactly what goes under the square root in the formula.
Step 2. Apply the quadratic formula.
Why: the formula works for all quadratics, including those with negative discriminants. The new ingredient is expressing \sqrt{-16} using i.
Step 3. Simplify \sqrt{-16}.
So the roots are:
Why: separate the negative sign from the 16, convert to i, then simplify the fraction by dividing numerator and denominator by 2.
Step 4. Verify by substitution. Take x = -3 + 2i.
Why: substitution is the definitive check. The real terms sum to zero and the imaginary terms sum to zero independently — both conditions are needed for the complex number to equal zero.
Result: The roots are x = -3 + 2i and x = -3 - 2i.
The conjugate symmetry is visible in the picture: the two roots are reflections of each other across the real axis. The midpoint of the pair lies on the real axis at -3, which is -b/(2a) — the same formula that gives the vertex of the parabola. The real part of the complex roots remembers where the vertex is; the imaginary part measures how far above the axis the vertex sits.
Common confusions
-
"i is the square root of -1, so i = \sqrt{-1} and -i = -\sqrt{-1} and these are different." Be careful. The symbol \sqrt{-1} is a notational convenience. Unlike positive reals, where \sqrt{4} = 2 picks the positive root by convention, there is no universal agreement on which of i and -i gets the \sqrt{\phantom{x}} symbol. The safe approach: write i^2 = -1 and avoid \sqrt{-1} in the middle of a chain of algebra.
-
"The imaginary part of 3 + 2i is 2i." The imaginary part is the real number 2, not 2i. The i is part of the notation a + bi, not part of the imaginary component. \operatorname{Im}(3 + 2i) = 2.
-
"\sqrt{-4} \cdot \sqrt{-9} = \sqrt{36} = 6." Wrong. The product rule \sqrt{a}\sqrt{b} = \sqrt{ab} holds only when a and b are non-negative. For negative numbers, convert to i first: \sqrt{-4} \cdot \sqrt{-9} = 2i \cdot 3i = 6i^2 = -6.
-
"Complex numbers aren't real, so they don't matter." Complex numbers appear in electrical engineering (alternating current), quantum physics (wavefunctions), signal processing (Fourier transforms), and fluid dynamics. They are as practically useful as negative numbers or fractions — each of which was once considered "not real" too.
-
"If the discriminant is negative, the quadratic has no roots." It has no real roots. It always has exactly two complex roots (counting multiplicity). The quadratic formula still works — it just produces numbers with a non-zero imaginary part.
-
"i is just a symbol — you can't compute with it." You can. Arithmetic with i follows the same rules as arithmetic with any algebraic expression, plus the single extra rule i^2 = -1. The next article, Algebra of Complex Numbers, covers this in detail.
Going deeper
If you now know that i^2 = -1, that every complex number is a + bi, that the powers of i cycle with period four, and that quadratics with negative discriminants have complex conjugate roots, you have the core of the introduction. The rest of this section is for readers who want to see where the idea came from and where it leads.
The historical nudge
Complex numbers were not invented to solve x^2 = -1. That equation was easy to dismiss — just say "no solution" and move on. The real pressure came from cubic equations, where a formula discovered in the 16th century sometimes required computing the square root of a negative number even when all three roots were real. The formula forced mathematicians to pass through complex arithmetic to reach a real answer. They could not just say "no solution" — the solution was right there, real and correct, but the path to it went through \sqrt{-1}. That is what made complex numbers impossible to ignore.
Brahmagupta's 7th-century rules for negative numbers had a similar flavour — he wrote that "the square of a negative number is positive," which implicitly rules out real square roots of negatives. The recognition that you could define a useful number whose square is negative came much later, but the arithmetic foundation Brahmagupta laid for negative numbers was part of what made the eventual leap possible.
\mathbb{C} is algebraically closed
Once you have the complex numbers, no polynomial equation — not just quadratics, but cubics, quartics, and polynomials of any degree — can escape the system. Every polynomial with complex coefficients has all its roots in \mathbb{C}. This is the Fundamental Theorem of Algebra: a polynomial of degree n has exactly n roots in \mathbb{C} (counting multiplicity).
This means \mathbb{C} is the last extension you will ever need for the purpose of solving polynomial equations. There is no equation that forces a further patch. The number system that started with counting mangoes, and grew through negatives and fractions and irrationals, finally closes at \mathbb{C}. That is a remarkable place to stop.
The complex plane — a preview
A real number lives on a line. A complex number a + bi has two independent pieces of information — a and b — so it lives on a plane. The horizontal axis represents the real part; the vertical axis represents the imaginary part. Every complex number is a point in this plane, and every point is a complex number.
Multiplying by i rotates a point 90° counterclockwise around the origin. Multiplying by -1 rotates by 180°. The four-cycle 1 \to i \to -1 \to -i \to 1 is a quarter-turn rotation repeated four times. This geometric picture — that multiplication by a complex number is a rotation-and-scaling — is the subject of Complex Numbers — Modulus and Argument and Complex Numbers — Argand Plane.
Where this leads next
The imaginary unit i is the first step. The articles below build the full picture.
- Algebra of Complex Numbers — how to add, subtract, multiply, and divide complex numbers, and the properties of the conjugate.
- Complex Numbers — Modulus and Argument — how far a complex number is from the origin (modulus) and which direction it points (argument).
- Complex Numbers — Argand Plane — the full geometric picture, where multiplication becomes rotation.
- Quadratic Equations — Introduction — the quadratic formula that first produced \sqrt{-D}, and what the discriminant tells you.
- Discriminant and Nature of Roots — the three cases D > 0, D = 0, D < 0 and what each means for the roots.