4.8.26 · D1Numerical Methods

Foundations — Stiff equations — implicit methods, backward Euler

2,317 words11 min readBack to topic

This is the Foundations child of the stiff-equations topic. We assume you have seen none of the notation. We earn every symbol before using it.


1. What is a function of time, ?

Picture a single number that changes as time passes: the temperature of a cooling cup of coffee, the height of a bouncing-then-settling swing, the charge left on a battery.

Figure — Stiff equations — implicit methods, backward Euler

Look at the blue curve above: at each moment (a spot on the bottom axis) the curve is at some height. That height is the single number . The entire blue curve is the function; one dot on it is one value . Reading the curve left-to-right is watching the system evolve.

Why the topic needs this: everything in stiff equations is about how such a curve decays toward zero and how well a computer can trace it.


2. The derivative — the slope of the curve

A computer cannot store the whole curve; it can only know the value now and a rule for how fast it is changing. That rate of change is the derivative.

Figure — Stiff equations — implicit methods, backward Euler

The green line is the tangent — the straight line that touches the curve and matches its slope at that one spot. Its steepness is the number .

Why "derivative" and not some other tool? Because a differential equation is a machine that hands you the slope at every point and asks you to reconstruct the curve. Slope is exactly the language it speaks.


3. The differential equation and its starting point

Read it aloud: "the rate of change of equals some formula involving the current time and the current ."

But a slope-rule alone is not enough. Knowing the slope everywhere tells you the shape of the curve, not where it starts. Infinitely many parallel curves have the same slope-rule; we must pin down one.

Why the topic needs this: the whole subject studies one master IVP, with , because it is the simplest decay-rule and every method's behaviour shows up cleanly in it.


4. The exponential — the shape of pure decay/growth

But is not the only solution of — any constant multiple works too, because scaling a curve scales its slope by the same factor. The starting value from Section 3 fixes which multiple:

Figure — Stiff equations — implicit methods, backward Euler

Two decaying curves: (gentle, yellow) and (a cliff, red). Both head to zero, but the red one is essentially gone almost instantly. A stiff problem contains both shapes at once — and that clash of speeds is the whole difficulty.


5. Complex and ""

Sometimes is a complex number (it has a "real part" and an "imaginary part") because oscillations hide inside it. You do not need complex analysis here — only one word.

Why the topic needs it: real systems (springs, circuits) decay and oscillate. Writing lets one clean inequality cover them all.


6. The discrete world: , ,

A computer cannot handle a smooth continuum. It jumps forward in fixed hops.

Figure — Stiff equations — implicit methods, backward Euler

The smooth blue curve is the truth; the yellow dots are the computer's samples spaced apart. The very first dot is handed to us by the initial condition; numerical methods are recipes for getting the next dot from the current one.


7. The approximation

Here is where "slope" meets "hops". A slope is rise over run. Over one hop, the run is and the rise is the change in .

This is the bridge from the exact world (Section 2) to the computable world (Section 6). Which dot's slope this rise-over-run represents — the old dot or the new dot — is the single choice that splits forward Euler (explicit) from backward Euler (implicit). That choice is the heart of the parent topic; you now have every symbol to understand it.


8. Absolute value — the size that decides stability

Why the topic needs it: a method is stable when, step after step, it shrinks the value toward zero rather than blowing it up. "Does it shrink?" is exactly "is the multiplier's magnitude below ?" — written . Sign doesn't matter (a value could flip sign each step and still shrink); only size does. That is why absolute value, not the plain number, rules stability.


9. Prerequisite map

Time t and value y at t

Derivative y-prime = slope

ODE y-prime = f of t and y

Initial value y sub 0 at t sub 0

Initial value problem picks one curve

Solution y sub 0 times e to the lambda t

Rate constant lambda

Real part of lambda

Stiff = fast and slow decay together

Step size h and samples y sub n

Finite difference slope at t sub n

Forward and Backward Euler

Absolute value = size

Stability test size below 1

Stiff equations topic 4.8.26

Each foundation feeds the next: time and value make a curve, the curve has a slope, the slope-rule plus a starting value is an IVP, the IVP's answer is a scaled exponential, mixing fast and slow exponentials makes stiffness, and the finite-difference slope plus the size-test decide whether a method survives.


Equipment checklist

Self-test: can you answer each before revealing it?

What does the single value mean, versus the function ?
is one number — the height at that one time ; the function is the whole curve, every value at every time.
What is the derivative ?
The slope/steepness of the curve at a point — how fast changes per tiny bit of time.
What does say?
A rule giving the current slope from the current time and current value; is the slope-rule.
What extra ingredient turns a slope-rule into an IVP, and why?
The initial condition ; it pins down where the curve starts, selecting one curve from the infinite family with that slope-rule.
What is ?
The starting value of at the start time — the one number we know exactly, and the first sample.
What curve solves with ?
, whose slope is always times its height and which starts at .
What does do to the solution?
Makes it decay toward zero — more negative means faster decay.
What does mean?
The real part of is negative, i.e. the system decays (allowing hidden oscillation).
What are , , and ?
Step size, the time after hops, and the computed estimate of there.
How do we approximate with samples?
By the finite difference — rise over run between the dots at and .
Why does stability use and not the plain value?
Because stability asks "does the value shrink each step?", which depends on the multiplier's size, not its sign.
Difference between and ?
is the computed dot (may err or explode); is the exact value; their gap is the error.