The integral of a function can be defined as the limit (in a certain precise sense) of the sums of the areas of rectangles touching the graph of the function. Suppose that a typical rectangle has the interval for its base. Then you can choose among these heights for the rectangles: