In computational mathematics, a stiff equation is an initial value problem
u˙=f(u),u(0)=u0,t∈[0,T], where f:ℝd→ℝd, requiring dedicated implicit time stepping methods for its efficient numerical integration. The simplest mathematical characterization of a stiff equation is the necessary condition
Td(divuf)(u)≪−1. Since (divuf)(u)=trace(graduf)(u)=tracef′(u), where f′(u)∈ℝd×d is the Jacobian matrix of f at the point u, the criterion above is easily evaluated and quantifies stiffness. The criterion is derived, explained and illustrated for nonlinear stiff equations below. For a linear system with constant coefficients u˙=Au, the divergence is constant, making stiffness a global characteristic whose magnitude is related to the time scale T. For a nonlinear system, stiffness usually varies in space and time along the solution trajectory u(t), where the criterion quantifies stiffness locally. In practical computations, stiff equations are invariably solved using adaptive methods.
Background There is a rich literature on stiff differential equations, but intuitive descriptions and heuristics are far more common than attempts at a rigorous definition of the concept. Hairer and Wanner concisely describe the most obvious feature:
Stiff equations are problems for which explicit methods don't work.
This refers to the observation that explicit integration methods are forced to use exceedingly small time steps h to maintain numerical stability, preventing such methods from being competitive. Although each step is inexpensive, the total number of steps N=T/h becomes prohibitively large, and the integration over [0,T] effectively stalls. By contrast, implicit methods for stiff equations require costly "algebraic" equation solving on each step. The extra work per step is offset by superior stability properties, allowing the use of large time steps. Without crippling stability restrictions, the total computational effort is manageable, and the requested accuracy can be achieved without loss of efficiency. For some stiff equations, the efficiency may be several orders of magnitude higher than that of even the best explicit methods.
Analogous efficiency issues in other fields of scientific computing The phenomenon of stiffness is analogous to well-known performance issues in other areas of numerical analysis. For example, in optimization, gradient methods have similar limitations. Using the steepest descent method to minimize a convex functional F(x) leads to the iteration
xk+1=xk−hgradxF(xk), where h is the line search step size. This is merely the explicit Euler method for the differential equation x˙=−gradxF(xk). Problems with steep gradients are known for their slow convergence, due to restrictions on the choice of h. The typical remedy is to replace the gradient method by some Newton-type method, which essentially corresponds to using an "implicit" method for differential equations. Another example is in solving nonlinear equations of the form x=g(x). Simple fixed point iteration, xk+1=g(xk), does not converge for problems where the Lipschitz constant L[g] is large, but only for contractions. Yet the equation may have a unique solution under much weaker but common conditions, e.g. when the map g−I is monotone and the logarithmic Lipschitz constant of g satisfies M[g]<1. Since fixed point iterations diverge, it is necessary to use a Newton-type iteration. A third example is iterative solvers for the (discretized) Poisson equation −Δu=f. Here, the Jacobi method (which attempts to avoid matrix algebra) is equivalent to using the explicit Euler method (in pseudo time) for the corresponding method-of-lines discretization of the diffusion equation ut=Δu+f, seeking its stationary solution. The diffusion equation is a prototypical example of a stiff equation: the time step of the explicit recursion is severely restricted by a CFL condition and required to be proportional to the square of the mesh width in space. This makes the convergence of the Jacobi iteration painfully slow. As before the remedy is to use some form of algebraic equation solving, e.g. by using a preconditioner or a multigrid method. Thus there are many different mathematical problems, where computational efficiency necessitates the use of dedicated numerical methods, typically of a considerable complexity. Stiff equations is the particular instance for initial value problems in ordinary differential equations. Nevertheless, with a well designed adaptive stiff solver, the efficient numerical integration of most stiff equations is now a routine task.
History and origins of a mathematical characterization The first mention of stiff equations is found in Curtiss and Hirschfelder in 1952. The authors discuss a scalar model equation equivalent to
x˙=1a(t,x)(x−g(t)) and characterize stiffness as follows:
If Δt is the desired resolution of t or the interval which will be used in the numerical integration, the equation is "stiff" if
|a(t,x)Δt|≪1 and g is well behaved.
This characterization relates a time scale Δt to the decay rate of transients, governed by the coefficient a(t,x), which is assumed to be negative. As a(t,x) varies in time and space, it allows stiffness to vary accordingly. Prothero and Robinson introduced a similar but more instructive model problem, essentially taking a(t,x)=1/λ<0 constant and studying the equation
x˙=λ(x−g(t))+g˙(t),x(0)=x0≠g(0),t∈[0,T]. The solution consists of a decaying transient (x0−g(0))etλ, together with the particular solution g(t), which is supposed to be bounded and smooth. The mathematical solution x(t) is then obviously bounded. Contrasting the explicit and implicit Euler methods, one can investigate under what circumstances the numerical methods replicate the properties of the mathematical solution. The Curtiss-Hirschfelder criterion will be considered for Δt=T and Δt=h, corresponding to the conditions Tλ≪−1 and hλ≪−1, respectively. The explicit Euler method for a differential equation u˙=f(u) is defined by
un+1=un+hf(un), while the implicit Euler method is defined by the recursion
… excerpt ends here. Continue reading the full article.




