LucasGB said:
Sometimes, integrals can take up negative values. In those cases, how can I assume they represent the area under the curve, since areas can never be negative?
PS.: They not only take up negative values when f(x)<0, but also when f(x)>0 and the direction of integration is towards the negative direction.
Your two examples have different explanations.
The integral of a function over a finite interval can be thought of as an average. The Riemann sum,
sum over i (b a)/n f(xi) is the length of the interval,)b-a, times the average of the values f(xi).
So 1/b-a times the Riemann sum is the average and in the limit the integral is the limits of the averages. In a way 1/b-a times the integral is the average value of f. It is the same average you would get if you could take an infinitely large random sample of values of f and take the average of the sample.
If the values of f are negative, then the average is negative. The remarkable thing is that the area under the curve when f is positive can be thought of as this average times the length of the interval.
But when f is negative, the integral can be thought of as the negative of the area.
When f is mixed positive and negative then the integral becomes a difference of two areas -
but it is still the average value.
the original motivation for the Riemann integral, came from Physics. If one wants to know the total amount of a Physical quantity one takes its average value in small areas or volumes and adds them up. For instance if you want to know how much fluid is flowing across a surface you divide the surface up into small squares, multiply the area of each square by the average amount of fluid per unit area crossing that square and add over all of the squares.
In practice though you may not know the average amount of fluid per unit area in each square and would like to just take any value and hope that if the squares are really small that you get a good approximation. This approximation is a Riemann sum.
In my mind, the idea of averages of physical quantities as the idea behind Riemann sums is key and areas secondary. The interesting question you are really asking is when does the average times the length of the interval equal the area under the curve?
2. When one integrates from right to left rather than from left to right you are not multiplying by the length of the inteval (b - a)/n but by its negative. So in this case you really don't have a true average but its negative.