ArticleslgStudy

mathematics

Explicit and implicit methods

Explicit and implicit methods 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 Explicit and implicit methods rather than just read about it. In short: Explicit and implicit methods are approaches used in numerical analysis for obtaining numerical approximations to the solutions of ordinary and partial differential equations, as is required in computer simulations of physical processes. Explicit methods calculate the state of a system at a later time from the state of the system at the current time, while implicit methods find a solution by solving an equation invo…

Explicit and implicit methods — main illustration
Explicit and implicit methods — illustration

Key takeaways

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

Reference excerpt

Explicit and implicit methods are approaches used in numerical analysis for obtaining numerical approximations to the solutions of ordinary and partial differential equations, as is required in computer simulations of physical processes. Explicit methods calculate the state of a system at a later time from the state of the system at the current time, while implicit methods find a solution by solving an equation involving both the current state of the system and the later one. Mathematically, if Y(t) is the current system state and Y(t+Δt) is the state at the later time (Δt is a small time step), then, for an explicit method

Y(t+Δt)=F(Y(t)) while for an implicit method one solves an equation

G(Y(t),Y(t+Δt))=0(1) to find Y(t+Δt).

Computation Implicit methods require an extra computation (solving the above equation), and they can be much harder to implement. Implicit methods are used because many problems arising in practice are stiff, for which the use of an explicit method requires impractically small time steps Δt to keep the error in the result bounded (see numerical stability). For such problems, to achieve given accuracy, it takes much less computational time to use an implicit method with larger time steps, even taking into account that one needs to solve an equation of the form (1) at each time step. That said, whether one should use an explicit or implicit method depends upon the problem to be solved. Since the implicit method cannot be carried out for each kind of differential operator, it is sometimes advisable to make use of the so called operator splitting method, which means that the differential operator is rewritten as the sum of two complementary operators

Y(t+Δt)=F(Y(t+Δt))+G(Y(t)), while one is treated explicitly and the other implicitly. For usual applications the implicit term is chosen to be linear while the explicit term can be nonlinear. This combination of the former method is called Implicit-Explicit Method (short IMEX,).

Illustration using the forward and backward Euler methods Consider the ordinary differential equation

dydt=−y2, t∈[0,a](2) with the initial condition y(0)=1. This problem has the exact solution y=1t+1, which usually cannot be written down for problems encountered in practice, but in this case allows a comparison with the numerical solutions. Consider a grid tk=akn for 0 ≤ k ≤ n, that is, the time step is Δt=a/n, and denote yk=y(tk) for each k. Discretize this equation using the simplest explicit and implicit methods, which are the forward Euler and backward Euler methods (see numerical ordinary differential equations) and compare the obtained schemes.

Forward Euler method

The forward Euler method

(dydt)k≈yk+1−ykΔt=−yk2 yields

yk+1=yk−Δtyk2(3) for each k=0,1,…,n. This is an explicit formula for yk+1.

Backward Euler method

With the backward Euler method

yk+1−ykΔt=−yk+12 one finds the implicit equation

yk+1+Δtyk+12=yk for yk+1 (compare this with formula (3) where yk+1 was given explicitly rather than as an unknown in an equation). This is a quadratic equation, having one negative and one positive root. The positive root is picked because in the original equation the initial condition is positive, and then y at the next time step is given by

yk+1=−1+1+4Δtyk2Δt.(4) In the vast majority of cases, the equation to be solved when using an implicit scheme is much more complicated than a quadratic equation, and no analytical solution exists. Then one uses root-finding algorithms, such as Newton's method, to find the numerical solution.

Crank-Nicolson method

The Crank-Nicolson method, also known as the trapezoidal rule, can be thought of as an average of the forward and backward Euler methods. For the differential equation considered above, this gives

yk+1−ykΔt=−12yk+12−12yk2 leading to the implicit equation

yk+1+12Δtyk+12=yk−12Δtyk2 for yk+1 (compare this with formula (3) where yk+1 was given explicitly rather than as an unknown in an equation). This can be numerically solved using root-finding algorithms, such as Newton's method, to obtain yk+1. The advantage of this method is its improved accuracy (see diagram above). Both Euler methods are first order, but the trapezoidal method is second order.

IMEX methods

Because of the difficulty of solving implicit equations, some methods use an implicit method for linear terms and an explicit method for nonlinear terms. These are called IMEX (Implicit-Explicit) schemes.

To illustrate the idea of IMEX schemes, consider a slightly different differential equation:

dydt=y−y2, t∈[0,a](5) Using implicit Euler for the linear term and explicit Euler for the nonlinear term gives

yk+1−ykΔt≈yk+1−yk2, t∈[0,a]. This equation is linear in yk+1 so it can be solved to give

yk+1=yk(1−ykΔt)1−Δt(6) for each k=0,1,…,n. This method is sometimes called the Forward-Backward Euler method (see diagram).

See also Courant–Friedrichs–Lewy condition SIMPLE algorithm, a semi-implicit method for pressure-linked equations

Sources

Illustrations

Explicit and implicit methods: The result of applying both the Forward Euler method and the Forward-Backward Euler method for a=5 and n=30
The result of applying both the Forward Euler method and the Forward-Backward Euler method for a=5 and n=30

Worked examples

Example 1 — a first encounter with Explicit and implicit methods

Start with the simplest possible case. Write down what Explicit and implicit methods 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 Explicit and implicit methods 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 Explicit and implicit methods 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 Explicit and implicit methods

In research
Explicit and implicit methods 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 Explicit and implicit methods 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
Explicit and implicit methods 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 Explicit and implicit methods 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 “Explicit and implicit methods” →

How to study Explicit and implicit methods in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Explicit and implicit methods 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 Explicit and implicit methods out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Explicit and implicit methods in simple terms?

Explicit and implicit methods are approaches used in numerical analysis for obtaining numerical approximations to the solutions of ordinary and partial differential equations, as is required in computer simulations of physical processes. Explicit methods calculate the state of a system at a later t…

Why does Explicit and implicit methods 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 Explicit and implicit methods?

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 Explicit and implicit methods.

Tags

  • Numerical differential equations

Keep exploring