Geometric and algebraic approaches in the concept of complex numbers