A piecewise function is made up of two or more functions, each defined on a specific domain. Piecewise functions follow the following format:
The piecewise function above is the absolute value function. As you can see, piecewise functions include:
The domains of the subfunctions cannot overlap, but one function can end where another starts. If different functions were part of the same domain, the piecewise function would not be a function anymore!
To graph a piecewise function, graph each subfunction at the indicated domain. Be wary of the inequality symbols ( , ≥ ) and whether they include or exclude the end of the subdomain. If they include the domain, draw a point and fill it in. If they exclude the domain, draw a point but do not fill it in.
Then, graph y = x 2 + 3 at -3 ≤ x (closed at x = -3 , open at x = 2 ).
Lastly, graph y = 7 at x ≥ 2 (closed at x = 2 ).