Image:AbsoluteErrorNumericalDifferentiationExample.png

From Wikipedia, the free encyclopedia

[edit] Summary

I made this using the graphics programming language TikZ, Beamer and LaTeX

The plot displays the absolute error when computing the derivative of f(x) = x3 (f'(x) = 3x2) using a forward difference (of first order) and a centered difference (of second order),

\frac{f(x+h)-f(x)}{h} - 3x^2

for various values of x. The centered difference is for x = 0.1 only.

The noisy negative slope is due to finite precision (64-bit IEEE754) in the computer used, and the positive slope is due to the formula error of the differentiation formula.

[edit] Licensing

Public domain

I, the creator of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible,
I grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.


The following pages on the English Wikipedia link to this file (pages on other projects are not listed):