Simpson's rule can solve cubics exactly

  • Context: Undergrad 
  • Thread starter Thread starter zeta101
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers around the application of Simpson's rule to cubic polynomials, specifically exploring why it can solve cubics exactly, similar to quadratics. Participants seek to understand the underlying reasoning and proof for this property.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant asserts that Simpson's rule can solve cubics exactly and seeks an explanation for this assertion.
  • Another participant suggests applying Simpson's rule to a generic cubic polynomial (ax^3 + bx^2 + cx + d) as a straightforward method to prove the claim.
  • A participant questions whether setting the lower limit of integration to zero (x_0 = 0) while keeping the upper limit as x_0 + 2h affects the generality of the proof.
  • Another participant encourages finding a way to convert the general problem into a simpler form to facilitate the proof.
  • One participant proposes that subtracting a constant from both the upper and lower limits of integration does not lose generality, suggesting that setting x_0 to zero is valid.
  • A later reply emphasizes the need to show that applying Simpson's rule to x^3 yields the same result as direct integration, noting that if Simpson's rule works for two polynomials, it should also work for their sum.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the proof or the implications of setting limits of integration. Multiple viewpoints and approaches to the problem remain present.

Contextual Notes

Some participants express uncertainty about the validity of their approaches, particularly regarding the generality of setting limits of integration. The discussion includes unresolved mathematical steps and assumptions about the properties of integration and Simpson's rule.

zeta101
Messages
44
Reaction score
0
Simpson's rule can solve cubics exactly...(as well as quadratics which makes sense) the question is why? I've googled around and can't find an explanation, although it is just stated as being true.

Can someone offer and explanation or a website?

Thanks
 
Physics news on Phys.org
The most straightforward way to try and prove it would be to apply Simpson's rule to a generic cubic. (i.e. ax^3 + bx^2 + cx + d)
 
Thanks for the reply.

Could you tell me that if the integral is from x_0 to x_0 + 2h then can i set x_0 = 0 and it still be a proof (it's a lot simplier if i do)? or have i lost generality?

Thanks again!
 
Instead of simply wondering if it's okay, you could try and prove it's okay. Can you find a way to convert the general problem into this form?
 
having thought about it this is the only thing i can think of:

[tex]int_{x_0}^{x_0+2h} -----> int_{x_0 -x_0}^{x_0+2h-x_0}[/tex]

so, that's saying that the integral doesn't lose any generality by subtracting [tex]x_0[/tex] (a constant) from both the upper and lower limits (i don't know for certain i can do this, but it seems ok). So if it still stays general then setting [tex]x_0[/tex] to zero is also.

please tell me i am right :)

thanks for the guidance
 
Last edited:
You only need to prove that appling simpsons rule to x^3 gives the same answer as integration.

Thi
It should be clear that if simpsons works for both polynomials p(x) and q(x) then it works for p(x)+ q(x). Because int (p(x)+q(x)) = int(p(x)) + int(q(x))
and the same rule applies to Simpsons rule since using simpsons rule on the function p(x) +q(x) gives area =( b-a)/6*( p(a)+ q(a) +
4*(p(a+b)/2)+ q((a+b)/2) + p(b) + q(b)).
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
19K
  • · Replies 53 ·
2
Replies
53
Views
8K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 34 ·
2
Replies
34
Views
6K