Let f (x) = 2x. Find .
When we look at the graph, we see a big triangle below the x-axis and a little triangle above the x-axis.
The total area above the x-axis and below f is
The total area below the x-axis and above f is
To get the integral of f, we take the area above the x-axis and subtract the area below the x-axis: