Definition (local truncation error, order of method)

The local truncation error of a numerical method is the error of the method assuming we have obtained the true solution previously: for a method $\v y_{n+1} = \v ϕ(t_n, \v y_0, \ldots, \v y_n)$, the local truncation error is $$ \begin{align*} \v η_{n+1} = \v y(t_{n+1}) - \v ϕ(t_n, \v y(t_{0}), \ldots, \v y(t_n)). \end{align*} $$

We say the method has order $p$ if $\v η_{n+1} = O(h^{p+1})$ where $h$ is the step size.