📐 Piecewise-Defined Functions
Big Idea
A piecewise-defined function is a function defined by different formulas on different parts of its domain. Each formula applies only to a specific interval of $x$ values. Think of it as a set of rules — which rule you use depends on the input!
🚕 Why Do We Need Piecewise Functions?
Imagine a taxi that charges:
- $3 flat fee for the first kilometer
- $1.50 per kilometer for every kilometer after that
The pricing rule changes depending on the distance! For a 0.5 km ride, you pay $3. For a 4 km ride, you pay $3 + $1.50 · 3 = $7.50. This is a piecewise function in real life.
Other real-life examples include:
Free for 1st hour, $2/hr after
Different rates per usage level
A for 90–100, B for 80–89, etc.
Flat rate up to 5 kg, more above
📖 How to Read Piecewise Notation
A piecewise function is written with a large curly brace on the left. Each line shows a formula and the interval (condition) where it applies.