Sign In
Draw each part separately.
Domain: D={all real numbers}
Range: R={ g(x)| g(x)≤ 2}
Graph:
To graph the given piecewise function, we should think about the graph of each individual piece of the function. Then we can combine the graphs on one coordinate plane.
First we will graph g(x)=0 for the domain x<0. This function has a slope of 0, so it is a vertical line. Since the endpoint is not included, this piece should end with an open circle.
Looking at the graph, we can see that all of the possible g(x) values are equal to 0.
Next, we will graph g(x)=- x+2 for the domain x≥ 0. Since the endpoint is included, we will end the piece with a closed circle.
From the graph, we can see that all values of g(x) that are less than or equal to 2 will be produced by this portion.
Finally, we can combine the pieces onto to one coordinate plane.
Looking at the pieces together, we can see that there are no gaps in the possible values of x. We can also see there are no gaps in the possible values of g(x) but that they are all less than or equal to 2. We can use these facts to write the domain and range of the function. Domain:& D={all real numbers} Range:& R={ g(x)| g(x)≤ 2}