The domain of the function is all real numbers. There is an interval between -1 and 1 where the function displays unexpected behavior. Within this interval, the function has a local minimum at x=0 and a local maximum at x=1.

