Piecewise-Defined Function
Apiecewise-definedfunction is one which is defined not by a single equation, but by two or more. Each equation is valid for someinterval.
Example 1:
Consider the function defined as follows.
The function in this example is piecewise-linear, because each of the three parts of the graph is a line.
Piecewise-defined functions can also have discontinuities ("jumps"). The function in the example below has discontinuities atand.
Example 2:
Graph the function defined as shown.
Note that we use small white circles in the graph to indicate that the endpoint of a curve is not included in the graph, and solid dots to indicate endpoints that are included.
Example 3:
Graph the function defined below.
Negative values ofandare not included in thedomainbecause the first function,,是未定义的ose values. The valueis not included in the domain because the second function is not defined for that value (it has a vertical asymptote there). Therefore the domain of this function is. This can be represented using interval notation as.