Define the function using separate rules for different intervals of the input
Write each rule with its corresponding condition
Use braces to group the rules together
Make sure the intervals do not overlap unless intended
Check whether endpoints are included or excluded using ≤, <, ≥, or >
Evaluate the correct rule based on the input value
Graph each rule only on its specified interval
Mark open or closed circles at interval endpoints as needed
