Question:
Write the domain and the range of the function, f(x) = –|x|.
Solution:
(i) Domain
$|x|$ is defined for all real values.
Hence $-|x|$ is also defined for all real values.
The domain is R.
(ii) Range
Range for $|x|$ is $[0, \infty)$
Therefore, range for $-|x|$ is $(-\infty, 0]$.