Explicit Runge–Kutta methods are generally unsuitable for the solution of
stiff equations because their region of absolute stability is small; in particular, it is bounded. This issue is especially important in the solution of
partial differential equations. The instability of explicit Runge–Kutta methods motivates the development of implicit methods. An implicit Runge–Kutta method has the form : y_{n+1} = y_n + h \sum_{i=1}^s b_i k_i, where : k_i = f\left( t_n + c_i h,\ y_{n} + h \sum_{j=1}^s a_{ij} k_j \right), \quad i = 1, \ldots, s. The difference with an explicit method is that in an explicit method, the sum over
j only goes up to
i − 1. This also shows up in the Butcher tableau: the coefficient matrix a_{ij} of an explicit method is lower triangular. In an implicit method, the sum over
j goes up to
s and the coefficient matrix is not strictly triangular, yielding a Butcher tableau of the form
Examples The simplest example of an implicit Runge–Kutta method is the
backward Euler method: :y_{n + 1} = y_n + h f(t_n + h,\ y_{n + 1}). \, The Butcher tableau for this is simply: : \begin{array}{c|c} 1 & 1 \\ \hline & 1 \\ \end{array} This Butcher tableau corresponds to the formulae : k_1 = f(t_n + h,\ y_n + h k_1) \quad\text{and}\quad y_{n+1} = y_n + h k_1, which can be re-arranged to get the formula for the backward Euler method listed above. Another example for an implicit Runge–Kutta method is the
trapezoidal rule. Its Butcher tableau is: : \begin{array}{c|cc} 0 & 0& 0\\ 1 & \frac{1}{2}& \frac{1}{2}\\ \hline & \frac{1}{2}&\frac{1}{2}\\ & 1 & 0 \\ \end{array} The trapezoidal rule is a
collocation method (as discussed in that article). All collocation methods are implicit Runge–Kutta methods, but not all implicit Runge–Kutta methods are collocation methods. The
Gauss–Legendre methods form a family of collocation methods based on
Gauss quadrature. A Gauss–Legendre method with
s stages has order 2
s (thus, methods with arbitrarily high order can be constructed). The method with two stages (and thus order four) has Butcher tableau: : \begin{array}{c|cc} \frac12 - \frac16 \sqrt3 & \frac14 & \frac14 - \frac16 \sqrt3 \\ \frac12 + \frac16 \sqrt3 & \frac14 + \frac16 \sqrt3 & \frac14 \\ \hline & \frac12 & \frac12 \\ & \frac12+\frac12 \sqrt3 & \frac12-\frac12 \sqrt3 \end{array} where
e stands for the vector of ones. The function
r is called the
stability function. It follows from the formula that
r is the quotient of two polynomials of degree
s if the method has
s stages. Explicit methods have a strictly lower triangular matrix
A, which implies that det(
I −
zA) = 1 and that the stability function is a polynomial. The numerical solution to the linear test equation decays to zero if |
r(
z) | < 1 with
z =
hλ. The set of such
z is called the
domain of absolute stability. In particular, the method is said to be
absolute stable if all
z with Re(
z) < 0 are in the domain of absolute stability. The stability function of an explicit Runge–Kutta method is a polynomial, so explicit Runge–Kutta methods can never be A-stable. The Gauss–Legendre method with
s stages has order 2
s, so its stability function is the Padé approximant with
m =
n =
s. It follows that the method is A-stable. This shows that A-stable Runge–Kutta can have arbitrarily high order. In contrast, the order of A-stable
linear multistep methods cannot exceed two. ==Adaptive Runge–Kutta methods==