Cardano's cubic and the origin of complex numbers
/ kar-DAH-noh /
Here is a genuine surprise about history: complex numbers did NOT enter mathematics to solve x^2 + 1 = 0. For the quadratic, when the answer was 'imaginary' people simply shrugged and said the equation has no solution — no harm done. What actually forced complex numbers on us was the cubic equation, in the 1500s, in the hands of Cardano and Bombelli. There, square roots of negatives appeared as unavoidable stepping stones to answers that everyone could see were perfectly ordinary real numbers.
Cardano's formula solves the cubic x^3 = p x + q by a recipe involving the square root of (q/2)^2 - (p/3)^3. Bombelli looked at the equation x^3 = 15x + 4, which plainly has the real solution x = 4, yet the formula sends you through the square root of -121 — a 'meaningless' number. Bombelli's leap was to push on anyway: he treated sqrt(-121) as 11i, did the algebra obeying i^2 = -1, watched the imaginary pieces cancel, and out popped the answer 4. The imaginary numbers were real tools that delivered real, true answers.
This is the honest reason complex numbers had to be invented: not as an abstract whim, but because they appear partway through a calculation whose start and finish are both completely real. The case where all three roots of a cubic are real but the formula must travel through complex numbers even has a Latin name, the casus irreducibilis — and it is provably unavoidable: you cannot solve those cubics by real radicals alone. Complex numbers were born of necessity, not fantasy.
For x^3 = 15x + 4, Cardano's formula needs the cube roots of 2 + 11i and 2 - 11i. These turn out to be 2 + i and 2 - i; their sum is exactly 4, the real root — the imaginary parts cancel.
Complex numbers appear mid-calculation, then vanish, leaving a real answer behind.
A common myth is that complex numbers were invented to solve x^2 = -1. Historically that case was just dismissed as 'no solution'; it was the cubic, where real answers demanded a detour through the imaginary, that made them indispensable.