Understanding the Trapezoidal Rule for Approximating Definite Integrals

  • Thread starter Thread starter MMM
  • Start date Start date
  • Tags Tags
    Intuition
MMM
Messages
8
Reaction score
0

Homework Statement


I'm curious about how the trapezoidal rule is derived for approximating definite integrals.

Homework Equations



According to my calculus book the equation is $$h[(1/2)y_{0} + y_{1} + y_{2} + ... +y_{n-1} + (1/2)y_{n}]$$

The Attempt at a Solution


I'm curious as to why the first and last y values are multiplied by $$1/2$$
I've solved a lot of problems using the trapezoidal rule, but I don't quite understand it. Any insight on why the first and last y values are multiplied by $$1/2$$.
 
Physics news on Phys.org
MMM said:

Homework Statement


I'm curious about how the trapezoidal rule is derived for approximating definite integrals.

Homework Equations



According to my calculus book the equation is $$h[(1/2)y_{0} + y_{1} + y_{2} + ... +y_{n-1} + (1/2)y_{n}]$$

The Attempt at a Solution


I'm curious as to why the first and last y values are multiplied by $$1/2$$
I've solved a lot of problems using the trapezoidal rule, but I don't quite understand it. Any insight on why the first and last y values are multiplied by $$1/2$$.
You are representing the area under the curve as a set of trapezoids. The total area is h(y0 + y1)/2 + h(y1 + y2)/2 ... and so on. The 1/2 goes away for all points but the first and last.
 
  • Like
Likes 1 person
I get it now, I appreciate the help.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top