piecewise linear

Let’s extend our composition of linear functions to piecewise linear functions.

Graph of .

Let’s create the composition .

This means the range of needs to be inside the domain of . But as the chart below shows, there are numbers in the range of that are not in the domain of .

For instance, is in the range of , but not in the domain of .

We need to identify the intersection of the range of and the domain of .

We need to map the domain of back onto the range of and then work our way back into the domain of , in order to restrict the domain of to just the numbers that work in the composition.

Focusing on the common endpoints (hollow or solid), we need to find the preimages of , , , and in .

Domain of

Which numbers in the domain of have , , , and as function values?

These are the domain numbers of , that have function values in , which is the intersection of the range of and domain of .

Now for the formulas

We have a composition: . We know this is a linear function, because it is the composition of linear functions.

Graph of .

ooooo=-=-=-=-=-=-=-=-=-=-=-=-=ooOoo=-=-=-=-=-=-=-=-=-=-=-=-=ooooo
more examples can be found by following this link
More Examples of Piecewise Composition