At a point where the formula changes, use the piece for for the left limit and the piece for for the right limit. Away from the breaks, just substitute into the piece that applies.
| Step | On for , for , for , at | |
|---|---|---|
| 1 | Locate a relative to the breaks. If is strictly inside one piece, substitute into that piece and you are done. If is a break, continue. | is the break between and |
| 2 | Left limit from the piece for x < a. Substitute into that formula.Direct substitution ↗ | |
| 3 | Right limit from the piece for x > a. Substitute into that formula.Direct substitution ↗ | |
| 4 | Compare, and ignore the value at a. Equal: that is the limit. Different: the limit does not exist. The value matters only for continuity, never for the limit. | limit , although |