Undetermined coefficients - deriving formula

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
muso07
Messages
53
Reaction score
0

Homework Statement


Derive a formula of the form [tex]\int\stackrel{b}{a}f(x)dx \approx c_{0}f(a)+c_{1}f(b)+c_{2}f'(a)+c_{3}f'(b)[/tex] that is exact for polynomials of the highest degree possible.

Apply a change of variable: y=x-a

Homework Equations


The Attempt at a Solution


I don't get the "highest degree possible" thing. Like, if it's exact for quadratics, I know it has to be exact for f(x)=1,x,x2.

But applying the change of variable, I got [tex]\int\stackrel{b-a}{0}f(y)dy \approx c_{0}f(0)+c_{1}f(b-a)+c_{2}f'(0)+c_{3}f'(b-a)[/tex]

Any help much appreciated. :)
 
Last edited:
Physics news on Phys.org
Whoops, that's meant to be integral from a to b for the first one and 0 to b-a for the second one.
 
Can anyone even point me in the right direction?