Yasir Siddiqui


Explicit & Implicit Schemes and How they relate to Life

In computational techniques, time integration schemes can broadly be divided into explicit and implicit schemes.

While in explicit schemes one usually has an upper limit for the time step, as the current step is computed only from what is already known (the rate of change is evaluated at the old state), only small increments are allowed for stability of the numerical scheme. Go past the limit and the error grows at every step instead of dying out. Many implicit schemes, backward Euler for one, are stable for a much bigger time step as the solution is being found for the current time step while being in it itself, with the past giving the information to start from. The price is that every step now means solving an equation instead of just evaluating one.

Line chart of y against time for dy/dt = minus y with a time step of 2.5. The explicit scheme jumps between negative and positive values and grows at every step, reaching about 5 at time 10. The implicit scheme decays smoothly toward zero, like the true solution but not exact at this step size.
Figure 1. The same equation, dy/dt = −y, stepped with the same large time step (Δt = 2.5). The explicit scheme overshoots and blows up; the implicit scheme stays stable, though at this step size it is not accurate.
Show the numbers and the formulas

Explicit (forward Euler): yn+1 = (1 − Δt) yn, so every step multiplies by −1.5.
Implicit (backward Euler): yn+1 = yn / (1 + Δt), so every step multiplies by 1/3.5.
True solution: y = e−t.

timetrue solutionexplicitimplicit
01.00011.000
2.50.082−1.50.286
50.0072.250.082
7.50.001−3.3750.023
10<0.0015.06250.007

When I think about them, I feel this is what life is about. Someone carrying the baggage of past or solely relying on what has happened already is limited to move forward, taking big leaps will make things go bad. While for someone who uses past as just something to build over, or as an initial guess of what would happen but solve the problems while being in that situation have the liberty to take bigger leaps, move faster. The past is still the starting point, it just isn’t the only thing deciding the next step.

Two rows showing the same journey from start to goal. In the top row, ten small orange hops, each starting where the previous one landed. In the bottom row, three big blue leaps, each landing at a ringed point that is solved for.
Figure 2. The same journey two ways: many small steps, each built from what has already happened, or a few bigger leaps, each solved for where you land.

Surely there is a price that one must pay one way or the other. For taking explicit approach, one would find themselves in a more familiar situation, where every step is cheap and quick and the accuracy stays in one’s own hands, but it is a small step at a time. For the one taking the implicit approach in life, would see themselves as less bound to the past, only using it as a starting point somewhat like learning from it, but have to find their own way to the destination. Each step takes more effort but the steps would be bigger, and being stable is not the same as being accurate, so one has to be ready to accept to overlook small things on the way that might or perhaps were not important. This only pays off when the small steps are what is holding one back, and not the need to get every detail right.

I am tempted to say that one should change the approach from time to time, depending on the situation, but I’ll myself be more inclined towards taking the implicit approach where I have the independence to take bigger steps but also an opportunity to slow down at times and see the smaller things that matter and have a memory of them along the way even though my life does not depend on it.

Perhaps the most important thing is to be conscious of what one is doing, for life is a game and everyone is bound to lose to it sooner or later.

Comments

No comments yet.

Leave a comment

Comments are anonymous and public once approved. A name is optional and no email is asked for.

Protected from spam by Cloudflare Turnstile. To limit abuse, a one-way hash of your IP address is kept for 7 days and is never shown.

← all posts