In calculus 101, amongst the first things we learn, is that the derivative a function is the slope of the tangent to the function, that is, the instantaneous slope at some point on the function. We have, for some function that the derivative
is given by:
So the formulation looks like a slope, and it is taught that it is a slope as well; all the concepts surrounding differentiation are expressed in terms of slopes of tangents, and that’s OK, because that’s what they are.
But suddenly, in calculus 201, we learn how to find the anti-derivative of a function, also known as the integral. But the metaphor changes completely: we’re know talking about the area under the curve. Wait. What?
Oh, so the inverse of the derivative, the slope, is not height, but area. Make sense. Or does it? If we look at the Riemann sum, it is usually noted as:
where the are positions where the function
is evaluated, with a space of
before the next point,
. We can reparametrize the expression with a fixed variation
:
and taking the limit:
gives us, if the limit of the sum exists, the definite Riemann integral of , the function
, on the interval
. This process is unfortunately taught as the limit of the sums of the areas under
, which makes no sense. Of course, you can interpret the product
as an area, a rectangle, and the (limit of the) sum of the rectangles as an area. While this is a valid interpretation, it’s not the most natural one.
If is the slope of
, wouldn’t it be more natural to interpret the integral as a height variation of
on a given interval (for the definite integral) or the general expression of the height variation of
for the indefinite case? In this interpretation, the Riemann sum becomes the limit of the sum of height variations; walking up and down
; an interpretation of the integral that does not involve the area, which bears no immediate relation to the slope (safe for the accidental form of the equation) but remains entirely in the conceptual space of slopes and heights. And I think that’s how it should be taught in schools.
*
* *
Interpreting the Riemann integral as the inverse of computing slopes, as computing the total height variation between two points (in the definite case) leads to an easier comprehension, or at least, better geometric intuition, when we consider more advanced integrals such as, say, the surface integral. In a surface integral, trying to understand the problem as sums and differences of volumes is not as helpful as understanding it in terms of gradients and curvature.
*
* *
Also, we can find the definite integral quite directly from the definition of the Riemann integral:
But this is a telescoping sum, where terms cancel:
*
* *
Even if we forget about the area interpretation of the Riemann sum, we can derive the notions of “left” and “right” sum, or even middle point; suffice to reparametrize the sum. For:
To get the “left” sum, we put:
To get the “middle” sum, we have:
and, finally, the “right” sum: