ArticleslgStudy

mathematics

Stiff equation

Stiff equation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Stiff equation rather than just read about it. In short: 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.

Stiff equation — main illustration
Stiff equation — illustration

Key takeaways

  • Stiff equation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Stiff equation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stiff equation from memory before moving on to harder problems.

Reference excerpt

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.

Illustrations

Stiff equation: Stability regions of Euler methods
Stability regions of Euler methods
Stiff equation: Flame propagation test problem
Flame propagation test problem
Stiff equation: van der Pol test problem
van der Pol test problem
Stiff equation: Oregonator test equation
Oregonator test equation

Worked examples

Example 1 — a first encounter with Stiff equation

Start with the simplest possible case. Write down what Stiff equation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Stiff equation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Stiff equation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Stiff equation

In research
Stiff equation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Stiff equation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Stiff equation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Stiff equation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stiff equation” →

How to study Stiff equation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stiff equation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Stiff equation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stiff equation in simple terms?

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…

Why does Stiff equation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Stiff equation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Stiff equation.

Tags

  • Numerical differential equations

Keep exploring