Piecewise Functions — Cheat sheet
On this page
Key method
To evaluate, first decide which condition the input satisfies, then use only that formula. At a boundary, inspect strict and non-strict inequality signs to determine endpoint inclusion.
Example
Let for and for . Then , , and . The left branch approaches near zero, while the value at zero is determined by the second branch. This is a jump, despite both formulas being individually continuous.
Avoid this mistake
Using both formulas at a boundary without checking the case conditions can assign two incompatible outputs.