Unit 7.7 of Math 152
Motivating problem: Evaluate
-
No elementary antiderivative
- very hard :(
- but we can approximate it by doing riemann sums
- Riemann sums are inefficient and inaccurate! so we use a new way that is similar to mid point rule and riemann sums
-
Trapezoidal rule!
-
- Riemann sums are inefficient and inaccurate! so we use a new way that is similar to mid point rule and riemann sums
- but we can approximate it by doing riemann sums
- very hard :(
trapezoidal rule
-
The trapezoidal rule is defined by
- $\int _{a}^{b}f(x)\approx \frac{\Delta x}{2}[f(x_{0})+2f(x_{1})+2f(x_{2})+\dots+2f(x_{n-1})+f(x_{n})] \, dx$ - *where* $\Delta x=\frac{b-a}{n}$ - It's kinda like a sandwich on the ones that are multiplied by 2 -
Error bounds for Trapezoidal rules
-
What error is defined by is
-
Error bounds is calculated by
-
This only calculates the MAX error not the exact
-
-
Simpson’s rule :)
-
The simpson’s rule is defined by
-
- Basically we are just turning the linear function from the trapezoidal rule into a quadratic, kinda like a spline
-
-
Error bound for simpson’s rule
-
Error bounds are calculated by
-

