Years ago I was introduced to complex numbers. In class we had been talking about the cubic polynomial and its solutions. At one point we saw an example where, when using the formula, one had to stop because one had to take a square root of a negative number. The teacher went ahead and expressed things in terms of the square root of negative 1. The surprise was that the solutions that we got in the end were real solutions.
The point of the example was that if we just ignore the square root of a negative number and continue using the algorithm/formula for the solution, then everything actually worked out.
My question/request is to see such an example redone. I haven't been able to find an example like that.
You might be interested in looking at Cardano's method for solving cubics. Cardano himself didn't use complex numbers, but we can. Here's what happens when we use his method to solve, say, $x^3-x=0$.
First set $x=u+v$, then rearrange the result so that we have:
$$u^3 + v^3 + (3uv-1)(u+v) = 0.$$
Now assume that $3uv=1$. This implies from the above equation that $u^3+v^3=0$, and it also means that $u^3v^3=\frac{1}{27}$. We now have two equations relating the sum and product $u^3$ and $v^3$, which can be solved using the quadratic formula.
In particular, we will get $u^3 = \sqrt{-\frac{1}{27}}$, at which point Cardano would have chosen a different method. But if we forge on using complex numbers, we'll get three choices for $u$:
$$u_1 = -i\frac{\sqrt3}{3},$$ $$u_2 = u_1\big(-\frac{1}{2}+\frac{\sqrt3}{2}i\big),$$ $$u_3 = u_1\big(-\frac{1}{2}-\frac{\sqrt3}{2}i\big).$$
(That is, after finding $u_1$, the other two are rotations of it by $\pm120^\circ$.) It is straightforward to find the corresponding values for $v$. Finally, coming back to $x=u+v$, all of the imaginary components will happily cancel out. For instance,
$$x_1 = u_1 + v_1 = -i\frac{\sqrt3}{3} + i\frac{\sqrt3}{3} = 0.$$
We find that the three roots are $0$, $1$, and $-1$.