kith said:
But physicists still wouldn't say that the integral is "the same" as a sum.
You are of course correct.
But IMHO the best way is what you find in an analysis textbook that sneakily avoids the idea of limits - but of course you can do it that way if you like. It also hones in on the key property of the real number system - the LUB axiom (also known as completeness - but that is just by the by). The axioms of the rationals is exactly the same as the axioms of real numbers - to the OP look them up. Except, and this is of crucial importance, the completeness axiom - that only applies to the reals. It is what resolves Zeno's paradox and is a very interesting thing to point out to philosophers that argue about this - I just love 'poking' philosophers a little bit - although I usually come off second best - but not on this one - it is clear cut.
One divides the interval to be integrated over into a partition ie a number of sub-intervals. You take the minimum of the function in any sub-interval and multiply it by the length of that particular sub-interval. Sum it up. Call it the lower sum. Do the same with the maximum value in the partition and call it the upper sum. Now lower sum <= upper sum and will always remain so regardless of partition size ie the number of intervals in the partition.
If the partition is made finer say by dividing each sub-interval in half all the time - but any procedure that makes the sub-intervals smaller will work - we have an increasing sequence of lower sums Ln bounded above by any upper sum. We also have a decreasing sequence of upper sums Un bounded below by any lower sum. Ln is an increasing sequence and one of the defining properties of the real numbers is the least upper bound property. This says any sequence of increasing real numbers bounded above has a least upper bound. Thus Ln is bounded above hence has a LUB I will call Rl. There is a simple corollary to the LUB axiom, the greatest lower bound property, that says any sequence of decreasing real numbers that is bounded below has a greatest lower bound. So Un has a greatest lower bound I will call Ru. Now Rl <= Ru. However if Ru = Rl then the function is said to be Riemann integrable with Riemann integral Ru=Rl.
Another advantage of this method is there are other definitions of the integral eg the Lebesgue integral that is defined a bit differently - but defining it the way above allows you to clearly see the difference between the two and to show, in the case of Lebesgue integrals that if a function is Riemann integrable it is Lebesgue integrable.
Why are Lebesgue integrals important - well that's another thread but its intimately tied up with the Hilbert space of QM and we have the rather important and very interesting Fubini theorem that does not apply to Riemann integrals:
https://en.wikipedia.org/wiki/Fubini's_theorem
Physicists, and applied mathematicians in general, often exchange integral signs with gay abandon. You can't do that for Riemann Integrals, but you can do that for Lebesgue integrals. Forgetting this can on occasion can lead to problems.
In fact that's why analysis is so important - if you aren't careful - and in analysis you are very careful - you will sometimes come unstuck.
Thanks
Bill