The function f(x) takes numerical inputs and returns a complex number for all inputs except when the input is 0, where it returns a real number. The complex output can be split into a real part and an imaginary part.

