
Simpson's Rule
We can begin to get more creative with our Reimann Sums to get better approximations for area under curves. Instead of using a rectangle approximation, we can place quadratics on the graph to approximate area.
Simpson's Rule Approximation
∫abf(x)dx ≈3Δx(f(x0)+4f(x1)+2f(x2)+4f(x3)+2f(x4)+...+4f(xn−1)+f(xn))
where Δx=nb−a, xi=a+iΔx, and n is the number of subintervals.

Example: Simpson's Rule
Use a Simpson's Rule approximation for
∫04ex2dx
using 4 sub intervals.
∫abf(x)dx ≈3Δx(f(x0)+4f(x1)+2f(x2)+4f(x3)+2f(x4)+...+4f(xn−1)+f(xn))
Δx=nb−a=44−0=1
∫04ex2dx≈31(f(0)+4f(1)+2f(2)+4f(3)+f(4)) =31(e02+4e12+2e22+4e32+e42)
=31(1+4e+2e4+4e9+e16)