Between two curves
The area enclosed between two curves
The most useful case is not the area under a curve, but the area between two curves. The formula is remarkably simple: you integrate the difference of the two functions.
If, on , the curve of is above that of , that is, , the area of the region enclosed between the two is:
that is, the top one minus the bottom one.
The remarkable point: this formula remains valid even if the curves go below the axis. Their position relative to the x-axis does not matter — only their position relative to each other counts. The difference top minus bottom is always positive, so the area is too. You no longer have to worry about the sign of or of separately, only about knowing which one is on top.
Example. Between the line , on top, and the parabola , below, on :
Simple, robust, and free of sign problems. All that remains is to find the bounds.

