Please somebody help me, recently we have been studying numerical methods for solving ODEs and we went over proofs for the Euler method being order 1 and Huen’s method being order 2. But our lecturer didn’t cover why the Runge Kutta method (RK4) is of fourth order, he set it as an extension exercise but all I get out is that the error is order 3 which is not right. Could some one please show me a correct proof. The method I am defining is: $$k_1 = f(t_0,x(t_0))$$ $$k_2 = f(t_0+h/2,x(t_0)+hk_1/2)$$ $$k_3 = f(t_0+h/2,x(t_0)+hk_2/2)$$ $$k_4 = f(t_0+h,x(t_0)+hk_3)$$ Then $$x(t_0+h)= x(t_0) + h\frac{k_1+2k_2+2k_3+k_4}{6}$$
Thank you in advance!
You can find the order conditions and what they mean in the first two presentations of https://www.math.auckland.ac.nz/~butcher/ODE-book-2008/Tutorials/, along with various examples up to explicit 4-stage order 4 methods.