I felt I had some sort of intuition for the Runge-Kutta method up to second order, but for the fourth order I have some confusions. Also, my idea of it could be totally wrong in the first place.
So, I'll just repeat it here:
$$y_n = y_{n-1} + (1/2)(k_1+k_2)$$
Where
$$k_1=hf(x_{n-1},y_{n-1})$$ $$k_2=hf(x_{n-1}+h,y_{n-1}+k_1)$$
Now the way I try and rationalize it is this:
- $k_1$ is the change in $y$ for the forward Euler method
- $k_2$ looks like an Euler step but with a step forward in $x$, with $h$, and a step forward in $y$, $k_1$, in accordance with the step in $x$. It seems sort of like a a slope for the next point, for $y_n+1$)
- The next point $y_n$ is the average of those two $k$ values, which are slopes.
I don't think I have this right, as, to my logic, $k_2$ should be the increment from $y_n$ to $y_{n+1}$.
Now, for the fourth order method, it looks like this (and I'm lazy so I'll just attach an image instead of writing it all up):
Here, I think my intuition falls apart, as I cannot explain, for instance, why $k_2$ and $k_3$ are using $h/2$ and $k/2$ increment increases while $k_1$ and $k_4$ do not.
However, it looks like an average again.
Can someone help illuminate this for me?