When the pattern or model changes over the domain of a function, we can use a piecewise function to connect the different pieces. A domain is given for each individual function which make up the piecewise function.
The inequalities for the domains will help us to determine whether the endpoints will be filled or unfilled.
Filled: \bullet for \leq or \geq
Unfilled: \circ for < or >
To graph piecewise functions, it can be helpful to first find all of the endpoints and then determine what the graph will look like between them.
The overall domain of the piecewise function may be all real numbers, or a subset based on the domain constraints.
Consider the following piecewise function:
f(x) = \begin{cases} x - 3, & x \lt -2 \\ -4, &-2\leq x \lt 0 \\ x^{2} - 4, & x \gt 0 \end{cases}
Sketch the piecewise function.
State the domain and range of the piecewise function.
Lizzy goes out for a run. She accelerates from rest up to a desired speed and maintains that speed for some time. Suddenly, she feels exhausted and so she slows down until she's back at rest.
The speed, S, in mi/h after t seconds is given by the following piecewise relationship:
S = \begin{cases} 0.4t, & 0 \leq t \lt 15 \\ 6, & 15 \leq t \lt 100 \\ 36 - 0.3t, & 100 \leq t \leq 120 \end{cases}
Sketch the graph of the speed S for time t.
Find the speed after 10 minutes.
Determine how long has been Lizzy has been running before she stops.