Piecewise Defined Functions
Graph the following function
How do you do it? Well, you have to graph two different lines: and :

But then you need to “cut off” the graph of after , and “cut off” the graph of before :

That’s the graph of ! It is called a piecewise defined function. Since each piece is linear, sometimes it is called a piecewise linear function.
There is one more detail to clear up. What is the value of the function at ?
Well, going back to the original function, we see that was defined as for , and this includes . So we should use the blue line to determine the y-coordinate for . To indicate this on the graph, a filled in dot can be added to the blue graph (indicating the endpoint is included), and an open or not-filled-in dot is added to the green graph (to indicate the endpoint is not included).
