Could someone supply a mathematical proof of the following rule:
$$\int_a^b f(x) \ dx \approx (b-a) \left[ \dfrac{f(a)+f(b)}{2} \right]$$
that doesn't rely on partitions as I'm not comfortable with them yet?
Could someone supply a mathematical proof of the following rule:
$$\int_a^b f(x) \ dx \approx (b-a) \left[ \dfrac{f(a)+f(b)}{2} \right]$$
that doesn't rely on partitions as I'm not comfortable with them yet?
This isn't necessarily a proof per se, but perhaps will shed some insight on why they are approximately equal.
So the area of a trapezoid is given by $\dfrac{b_1+b_2}{2} \cdot h$, where
So now looking at some functions graph and noting the placement of $a,b,f(a),$ and $f(b)$ (where I chose $a$ and $b$ arbitrarily) you can see how the trapezoid begins to form:
and how its area very closely approximates the proper area under the curve (integral). Now using the points that I've labeled on our functions graph and the formula of a trapezoid, the area would come out to be:
$$\dfrac{f(a)+f(b)}{2} \cdot (b-a)$$
(Note that our trapezoid is sort of "on it's side" in the photo, as the height of it is $(b-a)$.)
Now sure, this approximation is great and all, but one obvious problem is the larger our interval is the messier things could get. So one good countermeasure is to break up our entire big interval into smaller intervals, then do the rule above over and over and so on. That way, we get an even better approximation!
So afterwards, things instead look like this:
And of course you can guess that more trapezoids (aka more "partitions") means a better approximation.