Graphing Piecewise Functions
What You'll Learn
You'll learn how to construct accurate graphs of piecewise functions by plotting each piece on its designated interval and handling endpoints with care.
The Core Idea
Think of a piecewise function as a chameleon that changes its formula depending on which part of the x-axis you're looking at. When graphing, you're essentially drawing multiple mini-graphs that connect (or don't connect) at the boundaries.
The Process:
- Identify each piece and its interval – Look at which formula applies to which x-values
- Graph each piece separately – Plot points or sketch the shape for each formula, but only over its designated interval
- Handle endpoints carefully – This is crucial:
- Closed endpoint (≤ or ≥): Use a solid dot • to show the point is included
- Open endpoint (< or >): Use an open circle ○ to show the point is excluded
Example walkthrough:
Consider f(x) = {x + 1 if x < 2; x² if x ≥ 2}
- For x < 2: Draw the line y = x + 1, but stop at x = 2 with an open circle at (2, 3)
- For x ≥ 2: Draw the parabola y = x², starting at x = 2 with a solid dot at (2, 4)
Notice the "jump" at x = 2? That's perfectly valid for piecewise functions!
Common Pitfalls
- Forgetting to restrict each piece to its interval
- Using the wrong type of endpoint marker (solid vs. open)
- Connecting pieces that shouldn't be connected
Key Takeaway: Graph piecewise functions by plotting each formula only on its specified interval, using solid dots for inclusive endpoints (≤, ≥) and open circles for exclusive ones (<, >).