Supouse that at a point , the function has a value . We
want to find the approximate value of in a point close to
,
, with small. We assume that ,
the rate of change of , is constant in this interval .
Therefore we find:
(2) | |||
(3) |
This is a good approximation as long as is ``small''. what is small? Depends on the problem, but it is basically defined by the ``rate of change'', or ``smoothness'' of . has to behave smoothly and without rapid variations in the interval .
Notice that Euler's method is equivalent to a 1st order Taylor expansion about the point . The ``local error'' calculating is then . If we use the method times to calculate consecutive points, the propagated ``global'' error will be . This error decreases linearly with decreasing step, so we need to halve the step size to reduce the error in half. The numerical work for each step consists of a single evaluation of .