The function is
.
The above function is piecewise function.
\Graph the constant function
for
. Since 0 does not satisfy this inequality, began with an open circle at
and draw a horizontal ray to the left.
Graph the linear function
for
. Since 0 does satisfy this inequality, stop with a closed circle at
.
The graph of function
is
=-1_g(x)=-x+2.gif\")
The function is defined for all values of x, so the domain is all real numbers.
\The values that are y - coordinates of points on the graph are
and all real numbers less than or equal 2. So the range is
.
The domain of the function is all real numbers and its range is
, and its graph is
=-1_g(x)=-x+2.gif\")