Approximating Derivatives with Finite Differences

  • Thread starter Thread starter Shade
  • Start date Start date
  • Tags Tags
    Finite Pde
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Shade
Messages
13
Reaction score
0

Homework Statement


Show that the first order derivative y'(xi) in the point xi may be approximated by

y'(xi)= (1/12*h) * (-3yi-1 -10yi + 18yi+1 -6yi+2 + yi+3) - (1/20h) h^4*y^(5) + O(h^5)


The Attempt at a Solution



I think the idea is to setup a linear system and some how use taylor expansion.

y'(xi) = a(-1)*y(xi-1) +
a(0) *y(xi) +
a( 1) *y(xi+1) +
a( 2) *y(xi+2) +
a( 3) *y(xi+3) +

Anyone has any idea on how I can show the above?
 
Physics news on Phys.org
I would assume one dimension.

xi are discrete points.

If anyone has any ideas on how to solve this please shout ;-)
 
Last edited:
If you can give a hint for n-dimensions HallsofIvy then I am sure I can solve it for 1d ;-)