Relation between Simpson's Rule, Trapezoid Rule and Midpoint Rule.
How
telegrafyx
Answered question
2022-06-21
Relation between Simpson's Rule, Trapezoid Rule and Midpoint Rule. How numbers come out at the left side while only numbers at the right side.
Answer & Explanation
aletantas1x
Beginner2022-06-22Added 22 answers
For the Trapezoidal Rule, you actually use points. For example, in the simple case where you are integrating from to , and you want , you evaluate at the points , , , , and . It is points because we use the endpoints. For the Midpoint Rule, you use points, but these are not the same points as for the Trapezoidal Rule. They are the midpoints of our intervals. So in the example discussed above, for you would be evaluating at , , , and . The Simpson Rule uses evaluation of at points. If for example , then you are dividing the interval into 8 subintervals. With and the interval , you would be using the points , , , , , , , , and . Note that , , and are the points that were used for . The points , , , , and are just , , , , and , exactly the points that were used for . A more abstract summary: uses points, and uses points. But the points used by Mn are completely different from the points used for . So altogether, and carry information about function evaluation at points, which is exactly what does. I have not written out a proof of the formula, only tried to deal with your discomfort with the on one side and 's on the other. The formula is not hard to verify. Let's do it explicitly for . Write down, say for the interval , what is. We have
Now write down : Now calculate . It is convenient for the addition to make sure that has denominator , so write as , and add. Divide by and you will get the expression you would get in . The same method works in general.