In most engineering problems, we encounter a coupled system of j first-order differential equations evolving with respect to a single independent variable t:
Happily, extending single-equation Runge-Kutta and multistep methods to coupled systems is completely straightforward! By assembling the state variables into a vector y(t)=[y1(t),y2(t),…,yj(t)]T and the right-hand side rates into a vector function f(t,y), the system takes the compact vector form dtdy=f(t,y), and the s-stage Runge-Kutta update becomes: