We have to graph this piecewise function.
It will be two horizontal lines that change when x = -1: to the left it will be y = 5, as x ≤ 1, and to the right, it will be y = -3.
We can see it graphed as:
b) The range is the set of values that f(x) takes for the domain for which it is defined.
We can see that f(x) only takes two values: y = -3 and y = 5, so the set {-3,5} is the range of f(x).
Answer:
a) Graph
b) Range = {-3, 5}