A piecewise function (or piecewise-defined function) is a function that changes “formula” depending on which interval falls into. We have already met them in the study of the absolute value: now we treat them as an object in their own right.
Definition — Piecewise function
A function is piecewise defined if is split into intervals with and on each a formula is assigned:
Example — Sign function
Three constant pieces. It is not continuous at : a jump of height .
Example — Absolute value as a piecewise function
. Two linear pieces meeting at at the same height: continuous but not differentiable at (a corner point, which we shall see in Year Five).
Links
Topics: Functions and properties
Concepts: Piecewise function · Sign function · Absolute value
Functions: Sign function · Absolute value