Simpson's Rule Formula: Number of Partitions ∞

  • Thread starter gfd43tg
  • Start date
  • Tags
    Formula
In summary, the formula for Simpson's rule, given by ## \int_{a}^{b} f(x) \, dx \approx \tfrac{b-a}{6}\left[f(a) + 4f\left(\tfrac{a+b}{2}\right)+f(b)\right] ##, shows that the error decreases as the number of partitions increases. However, the symbol ##\approx## means it is only approximately equal and the degree of accuracy depends on the definition of "approximate."
  • #1
gfd43tg
Gold Member
950
50
Hello,

I was wondering if the formula

## \int_{a}^{b} f(x) \, dx \approx \tfrac{b-a}{6}\left[f(a) + 4f\left(\tfrac{a+b}{2}\right)+f(b)\right]. ##

for simpson's rule is for when the number of partitions approaches infinity?
 
Physics news on Phys.org
  • #2
The symbol ##\approx## means it's approximately equal, so this is always true depending on your definition of "approximate." :wink:

The integral above is for a single partition, so the error decrease as the partition gets small. For a definite integral over some fixed limits a, b, then yes, it means the error decreases as you split the fixed interval into more partitions.
 

What is the Simpson's Rule formula for finding the approximate area under a curve?

The Simpson's Rule formula is given by:
A ≈ (h/3) * [f(x0) + 4f(x1) + 2f(x2) + 4f(x3) + 2f(x4) + ... + 2f(xn-2) + 4f(xn-1) + f(xn)]
where h is the width of each partition, n is the number of partitions, and f(x) is the function being integrated.

How is the number of partitions related to the accuracy of Simpson's Rule?

The more partitions used in Simpson's Rule, the more accurate the approximation of the area under the curve will be. As the number of partitions approaches infinity, the approximation becomes more and more precise.

Can Simpson's Rule be used for any type of function?

Yes, Simpson's Rule can be used for any continuous function. However, it may not always be the most accurate method for finding the area under the curve. Other methods such as the Trapezoidal Rule may be more appropriate for certain functions.

How do you choose the value of h in Simpson's Rule?

The value of h is typically chosen by dividing the interval of integration into equal subintervals. The smaller the value of h, the more accurate the approximation will be. However, using too small of a value for h can also introduce rounding errors.

What is the advantage of using Simpson's Rule over other methods of numerical integration?

Simpson's Rule is generally more accurate than other methods such as the Trapezoidal Rule, especially for functions that have a more complex shape. It also requires fewer evaluations of the function, making it more efficient for calculating the area under the curve.

Similar threads

Replies
16
Views
2K
Replies
3
Views
2K
Replies
1
Views
936
Replies
4
Views
350
Replies
3
Views
971
Replies
7
Views
1K
  • Calculus
Replies
6
Views
1K
Replies
2
Views
1K
Replies
3
Views
1K
Back
Top