Definition
A piecewise-defined function is a function described by different formulas on different parts of its domain.
Why It Matters
The world is not smooth. Systems often exhibit “Threshold Effects”—where a minor change in input triggers a total shift in behavior. Piecewise functions are the only way to model these “if-then” realities. If you try to model a tiered tax system or a physical phase transition with a single linear function, your predictions will be catastrophically wrong at the boundaries. It is the math of “context-dependent” truth.
Core Concepts
- Conditional Rules: The function applies a specific rule based on the value of the input .
- Absolute Value Function: A classic piecewise function defined as:
- How to read: “The absolute value of x is equal to x if x is greater than or equal to zero, and negative x if x is strictly less than zero.”
- Meaning: Distance from zero—reflects negative inputs to positive outputs.
- Step Functions: Functions whose graphs consist of horizontal line segments, such as the Greatest Integer Function (), which returns the largest integer less than or equal to .
- How to read: “The floor function of x, which returns the greatest integer less than or equal to x.”
- Meaning: Rounds down to the nearest integer—graph jumps at each integer value (classic step function).