Difference between revisions of "Simpson's rule"

From Conservapedia
Jump to navigation Jump to search
(→‎Simpson's Rule: added a second example)
m (→‎Example 2: fixed incorrect calculation)
Line 34: Line 34:
 
:<math>\left ({12-4 \over 6}\right ) \left ( {23 \over 6} + 4 \left( {7\over10} \right)+ {47 \over 126} \right ) = \left ( {4\over3} \right ) ({2207\over315}) \approx 9.34179... </math>
 
:<math>\left ({12-4 \over 6}\right ) \left ( {23 \over 6} + 4 \left( {7\over10} \right)+ {47 \over 126} \right ) = \left ( {4\over3} \right ) ({2207\over315}) \approx 9.34179... </math>
 
<br />As the function given does not resemble a parabola, the answer we get is completely off of the real answer, which is:
 
<br />As the function given does not resemble a parabola, the answer we get is completely off of the real answer, which is:
−
: <math>\approx 6.02941...</math>
+
: <math>\approx 7.94160...</math>
 
This is why we will sometimes split the interval of integration into multiple pieces, causing the approximation to approach the actual value. When we do this, we use the '''Composite Simpson's Rule'''.
 
This is why we will sometimes split the interval of integration into multiple pieces, causing the approximation to approach the actual value. When we do this, we use the '''Composite Simpson's Rule'''.
  

Revision as of 02:47, December 31, 2008

This article/section deals with mathematical concepts appropriate for late high school or early college.

In Calculus, Simpson's Rule is a method of approximating integrals by using parabolas or other higher order polynomial expressions. It is named after its discoverer, Thomas Simpson[1].

Simpson's Rule


Specifically, Simpson's Rule states:

Example 1

Given:

We can use Simpson's Rule to get a quick approximation of the actual value of the definite integral.


Now we can evaluate the integral:

If we solve this using integration, we find that Simpson's Rule gave the exact value for the definite integral. However, this is rarely the case, as shown in the next example.

Example 2

Given:

Directly solving this integral would require an understanding of partial fractions. If we want to quickly attain an approximation of the integral, we can use Simpson's Rule.


Now we can solve:


As the function given does not resemble a parabola, the answer we get is completely off of the real answer, which is:

This is why we will sometimes split the interval of integration into multiple pieces, causing the approximation to approach the actual value. When we do this, we use the Composite Simpson's Rule.

Composite Simpson's Rule

Simpson's Rule can be applied to segments of an integral, effectively making it a Riemann Integral.
If the interval is split into segments, with as an even number, there is a formula that can be used to solve for the integral.
Note that:

As an extension of Simpson's Rule, we can find that:

The above formula can be rewritten as:

The formulas above do not work unless is even.

Other Versions of Simpson's Rule

There are a few other rules that Simpson proved. For example, Simpson's 3/8 Rule[2] shows that cubic functions can be used to approximate integrals.

See also

References