{{ item.displayTitle }}
navigate_next
No history yet!
Progress & Statistics equalizer Progress expand_more
Student
navigate_next
Teacher
navigate_next
{{ filterOption.label }}
{{ item.displayTitle }}
{{ item.subject.displayTitle }}
arrow_forward
{{ searchError }}
search
{{ courseTrack.displayTitle }}
{{ printedBook.courseTrack.name }} {{ printedBook.name }}

# Graphing Piecewise and Step Functions

## Graphing Piecewise and Step Functions 1.1 - Solution

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.

### $f(x)=\text{-} 3$

First we will graph $f(x)=\text{-}3$ for the domain $x\leq \text{-}4.$ This function has a slope of $0.$ Since the endpoint is included, this piece should end with a closed circle.

Looking at the graph, we can see that the only possible value for $f(x)$ is $\text{-}3.$

### $f(x)=x$

Next, we will graph $f(x)=x$ for the domain $\text{-}4 This function has a slope of $1$ and intercepts the vertical axis at $0.$ Since the endpoints are not included, this piece should have open circles on both ends.

Looking at the graph, we can see that all the possible values for $f(x)$ are between $\text{-}4$ and $2.$

### $f(x)=\text{-} x+6$

Then, we will graph $f(x)=\text{-} x+6$ for the domain $x\geq 2.$ This function has a slope of $\text{-}1.$ Since the endpoint is included, we will end the piece with a closed circle.

From the graph, we can see that this piece produces values for $f(x)$ that are less than or equal to $4.$

### Combining the Pieces

Finally, we can combine the pieces onto 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 $f(x)$ but that they are all less than or equal to $4.$ We can use these facts to write the domain and range of the function. \begin{aligned} \textbf{Domain: }&\ \text{All real numbers}\\ \textbf{Range: }&\ \{y\leq 4\} \end{aligned}