The domain of the function is all real numbers. However, the function behaves differently for negative inputs, only squaring the positive numbers.

