Copy of Math 3 Unit 1: More Functions, More Features
Math 3 Unit 1 PDF Student Book.pdf
Introduction to piecewise functionsFunctions assign outputs to inputs. Some functions have simple rules, like "for every x, return x²." However, there can be other rules that are more elaborate. For example, "If x<0, return 2x, and if x≥0, return 3x." These are called *piecewise functions*, because their rules aren't uniform, but consist of multiple pieces.
A piecewise function is a function built from pieces of different functions over different intervals. For example, we can make a piecewise function f(x) where f(x) = -9 when -9 < x ≤ -5, f(x) = 6 when -5 < x ≤ -1, and f(x) = -7 when -1 <x ≤ 9.