Graphing Piecewise Functions — Cheat sheet

Choose “Save as PDF” in the print dialog.
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 f(x)=x+1f(x)=x+1 for x<1x<1 and f(x)=3−xf(x)=3-x for x≥1x\ge1. Draw the first line only left of 11 and the second only on and right of 11. Both approach 22, and the second assigns f(1)=2f(1)=2, so the graph joins continuously. The left slope is 11 and right slope is −1-1, 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.