Why is simpsons rule exact for 3rd degree polynomials?

  • Context: Undergrad 
  • Thread starter Thread starter okkvlt
  • Start date Start date
  • Tags Tags
    Degree Polynomials
Click For Summary
SUMMARY

Simpson's Rule is exact for third-degree polynomials due to its foundation in Newton-Cotes quadrature formulas, which establish that Simpson's Rule accurately integrates polynomials up to degree three. The method relies on the integration of a unique interpolating second-order polynomial, which results in zero truncation error when applied to cubic functions, as their fourth derivative is zero. This property confirms that Simpson's Rule can precisely evaluate integrals of cubic polynomials.

PREREQUISITES
  • Understanding of Newton-Cotes quadrature formulas
  • Familiarity with Simpson's Rule and its application
  • Knowledge of polynomial degrees and their properties
  • Basic calculus concepts, particularly integration
NEXT STEPS
  • Study the derivation and application of Newton-Cotes quadrature formulas
  • Explore the properties of higher-degree polynomials in numerical integration
  • Learn about the truncation error in numerical methods
  • Investigate other quadrature rules, such as the 5-point rule for fourth-degree polynomials
USEFUL FOR

Mathematicians, engineers, and students involved in numerical analysis, particularly those focusing on integration techniques and polynomial approximation methods.

okkvlt
Messages
53
Reaction score
0
this is really perplexing. how can it be exact? simpsons rule uses quadratics to approximate the curve. how can it be exact if I am approximating a cubic with a quadratic?
 
Physics news on Phys.org
This is a general property of Newton-Cotes quadrature formulas: trapezoid is exact for degree 1 polynomials, Simpsons' for 3rd degree, the 5-point rule (sometimes called Bode or Boolean quadrature) is exact for 4th degree, etc.

One way to see this is the following: notice that, for simpsons' rule, you may assume that the points are symmetric relative to the origin (and as you have three, an odd number, one of them is in the origin); now let [tex]p_{3}(x)[/tex] be a 3rd degree polynomial and consider the integral:

[tex]\int^{1}_{-1}p_{3}(x)dx = \int^{1}_{-1}(a_{3}x^{3} + p_{2}(x))dx <br /> <br /> = \int^{1}_{-1}a_{3}x^{3}dx + \int^{1}_{-1}p_{2}(x)dx = \int^{1}_{-1}p_{2}(x)dx[/tex]

And notice that you are left with the integral of a 2nd order polynomial. But remember that Simpsons' rule is based on the integration of an interpolating 2nd order polynomial, and these are unique; therefore, you are integrating the 2nd order interpolating polynomial of a 2nd order polynomial, and these must be equal.
 
Last edited:
The truncation error for the Simpson method is proportional to the f(iv)(x). If the integrand is cubic, then the fourth order derivative is zero. So the quadrature will be exact for this case.
 

Similar threads

Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K