We present a general procedure to obtain rigorous estimates
for the local error of Runge-Kutta methods when applied to an ODE
system
. Under the assumption that
is real analytic
in
an open set of phase space (this assumption can somewhat be
relaxed), we give a procedure to obtain, for each
particular
th order Runge-Kutta method, an estimate for the local error
of the form
We propose to compare the theoretical accuracy of different RK
schemes by comparing the corresponding function
.
We claim that
is a fair indicator of
the average behaviour of the local error
performed by the RK scheme when applied to
general ODEs satisfying our assumptions. Numerical experiments
are presented to support this claim.
We use our theory to evaluate the theoretical efficiency of
different RK schemes (of possibly different orders) with the same
number of effective stages by comparing the diagrams of their
corresponding functions
. We use this approach to
chose, among several Runge-Kutta methods, the most efficient
schemes for different ranges of tolerances.