f(x) = x3 + 1
This is really a sum of cubes, f(x) = x3 + 13. There is a standard factoring formula for a sum of cubes:
a3 + b3 = (a + b)(a2 – ab + b2)
In our case, a = x and b = 1, so:
x3 + 13 = (x+1)(x2 - x + 1)
The real root, then, is x = -1. To find the complex roots, apply the quadratic formula to the quadratic expression in the parentheses, x2 - x + 1:
x = -b/2a ± (√(b2-4ac))/2a
x = 1/2 ± (√(1-4·1·1))/2
x = 1/2 ± i(√3)/2 ----> These are the complex zeros
Fully factored:
f(x) = (x + 1)(x + (1/2 + i(√3)/2)(x + (1/2 - i(√3)/2)