The fundamental idea is that the area of a rectangle equals base times height. To calculate other areas, we approximate by rectangles. Let be a continuous functions defined for ; we call and the lower and upper limits of integration respectively, and we call the integrand. Then the definite integral
is defined to be the area under the graph of between and . This area is defined in the process below to be the limit of the total area of lower (inscribed) rectangles as the partition of is refined. Areas below the -axis are counted negative. If for all , then