Numerical differentiation formulas

by Trent Guidry4. September 2010 11:32

The numerical differentiation formulas shown below were calculated using the algorithm from Calculating derivatives of a function numerically.  In these equations, h is the distance between sequential x values.

Derivatives can be numerically calculated from sets of equally spaced function values. 

For example, for f=x2, consider the points below:

X  Y

0  0

1  1

2  4

3  9

For this series, there are 4 pairs for x and y sets.  To numerically calcuate the first derivative at x=2, the equation shown below for the first derivative of the third point in a four point series is used.

f1 = (2f3 + 3f2 - 6f1 + f0)/(6h) = (2*9 + 3*4 - 6*1 + 1*0)/(6*1)= 24/6 = 4

The analytic derivative of x2 is 2x.   At x = 2, this also gives 2*2 = 4.

Two points first derivatives.

Numerical Differentiation first order two points

Three points first derivatives.

Numerical Differentiation first order three points

Three points second derivatives.

Numerical Differentiation second order three points

Four points first derivatives.

Numerical Differentiation first order four points

Four points second derivatives.

Numerical Differentiation second order four points

Four points third derivatives.

Numerical Differentiation third order four points

Five points first derivatives.

Numerical Differentiation first order five points

Five points second derivatives.

Numerical Differentiation second order five points

Five points third derivatives.

Numerical Differentiation third order five points

Five points fourth derivatives.

Numerical Differentiation fourth order five points

Six points first derivatives.

Numerical Differentiation first order six points

Six points second derivatives.

Numerical Differentiation second order six points

Six points third derivatives.

Numerical Differentiation third order six points

Six points fourth derivatives.

Numerical Differentiation fourth order six points

Six points fifth derivatives.

Numerical Differentiation fifth order six points

Seven points first derivatives.

Numerical Differentiation first order seven points

Seven points second derivatives.

Numerical Differentiation second order seven points

Seven points third derivatives.

Numerical Differentiation third order seven points

Seven points fourth derivatives.

Numerical Differentiation fourth order seven points

Seven points fifth derivatives.

Numerical Differentiation fifth order seven points

Eight points  first derivatives.

Numerical Differentiation first order eight points

Eight points second derivatives.

Numerica -Differentiation second order eight points

Eight points third derivatives.

Numerical Differentiation third order eight points

Eight points fourth derivatives.

Numerical Differentiation fourth order eight points

Eight points fifth derivatives.

Numerical Differentiation fifth order eight points

Nine points first derivatives.

Numerical Differentiation first order nine points

Nine points second derivatives.

Numerical Differentiation second order nine points

Nine points third derivatives.

Numerical Differentiation third order nine points

Nine points fourth derivatives.

Numerical Differentiation fourth order nine points

Nine points fifth derivatives.

Numerical Differentiation fifth order nine points

Ten points first derivatives.

Numerical Differentiation first order ten points

Ten points second derivatives.

Numerical Differentiation second order ten points

Ten points third derivatives.

Numerical Differentiation third order ten points

Ten points fourth derivatives.

Numerical Differentiation fourth order ten points

Eleven points first derivatives.

Numerical Differentiation first order eleven points

Eleven points second derivatives.

Numerical Differentiation second order eleven points

Eleven points third derivatives.

Numerical Differentiation third order eleven points

Eleven points fourth derivatives.

Numerical Differentiation fourth order eleven points

Eleven points fifth derivatives.

Numerical Differentiation fifth order eleven points

Comments (8) -

Md. Amanullah Aman
Md. Amanullah AmanBangladesh
4/6/2011 4:25:45 AM #

Thank's a lot.....

Reply

raheleh rezai
raheleh rezaiIran
9/3/2011 1:09:00 AM #

Thanks a lot for useful information

Reply

Kikawa CR
Kikawa CRSouth Africa
11/11/2011 11:33:03 PM #

This is really good work i must say! Else could you define, h , as it may cause some students to be stuck at some stage on starting.

Reply

Trent Guidry
Trent GuidryUnited States
12/17/2011 2:39:43 AM #

Good point.

When I have time I will add more of an explanation to the preface.

Reply

Ezzat
EzzatUnited States
12/27/2012 6:29:41 PM #

Those all forward finite difference,due you have the backward finite difference of these derivative.

Reply

ivillanueva1983
ivillanueva1983United Kingdom
4/24/2013 7:05:30 AM #

Bonsoir! C’est la première fois que je me rends sur votre site! Nous sommes plusieurs volontaires et nous lançons un nouveau projet dans une communauté d’une même niche. Votre site internet nous a fourni des infos importantes.  Assez bon site en tout cas !
tania de <a href="http://scellier-bbc.meilleur-credit-pret.fr/ ">immobilier neuf</a>

Reply

ivillanueva26
ivillanueva26United Kingdom
5/4/2013 5:08:54 AM #

Post r&eacute;volutionnaire! Est-ce que &ccedil;a vous emb&ecirc;te si je tweete le lien de votre site sur mon site? Cela va sans dire, je vous mentionnerai comme source  des articles r&eacute;dig&eacute;s.
edith de <a href="http://www.scellier-2012.cmspeed.fr/ ">immobilier maroc</a>

Reply

kais
kaisAlgeria
5/16/2013 1:23:21 AM #

Thank you very very much.
Your beautiful formulae are very practical and useful.
I will implement in my research work right away.
Thanks again

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading