Complex numbers in algebraic and polar form