Let

Find the area between the graphs of and on the interval .

First, we draw the graph, shading the region between the two graphs in blue.

For this exercise, since and cross in the interval we are interested in (and we are calculating the area between the graphs, so we’re really looking at the integral of ) we split the integral into two pieces (at the point the functions cross). We have on and on ; thus, we have