The domain of the function is the set of real numbers. The unexpected behavior occurs at x = 0, where the output is negative.

