Most of the tasks on this page — evaluating a piecewise function at an input, graphing it, finding its domain or range, checking continuity at a boundary — share the same general principle: handle each piece on its own interval, then combine. The table below collects the five core tasks with the procedure for each and the pitfall to watch for, useful as a checklist when working through a new piecewise function from scratch.
| Task |
What to do |
Watch out for |
| Evaluate at a specific input |
identify which condition the input satisfies; apply that formula only |
boundary points — the inequality symbols decide which piece owns the boundary |
| Graph the function |
graph each piece on its interval and combine |
use solid dots for included endpoints, open dots for excluded |
| Find the domain |
take the union of the intervals stated by the conditions |
also check each formula's natural restrictions (denominators, square roots, logs) |
| Find the range |
find the outputs of each piece on its interval, then take the union |
gaps in the range can appear if no piece covers some y-values |
| Check continuity at a boundary c |
compute left limit, right limit, and f(c) |
all three must agree — any mismatch is a discontinuity |