The domain of the function is all real numbers. However, the function behaves differently for negative and positive inputs, so we can consider the domain to be split into two intervals: (-∞, 0) and (0, ∞).

