Example 1 — Evaluate a piecewise function
EasyProblem
For , find and .
Solution
-
Each input picks its interval, then only that piece is used.
Name the structure before touching arithmetic — that is what makes the right method obvious.
-
Ask the recognition question: Does the formula used depend on which interval the input falls into?
If the answer is yes, the concept applies; the cue, not a keyword, decides the method.
-
Check which condition each input satisfies, then apply that piece.
The rule is chosen only after the structure matches, so the steps mean something.
-
satisfies , so ; satisfies , so .
Keep units, shape, or answer form tied to the story so the work does not become symbol pushing.
-
Check the answer against the original question.
It should fit the mental model — pick the rule for your input's interval. If it does not, revisit the recognition step before changing the arithmetic.
Answer
and
Takeaway: Find the input's interval first, then compute with only that piece.