Graphing Piecewise Functions — Cheat sheet
On this page
Key method
At each boundary, record the left-hand behavior, the right-hand behavior, and the function value separately. They can be three different things. A function may be defined at a boundary without being continuous there.
Example
Let for and for . Draw the first line only left of and the second only on and right of . Both approach , and the second assigns , so the graph joins continuously. The left slope is and right slope is , so there is a corner.
Avoid this mistake
Continuity does not require the same formula or slope on both sides. Conversely, differentiability requires more than the pieces simply meeting.