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 {\displaystyle \Delta 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
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,123).
Consider the ordinary differential equation
with the initial condition y ( 0 ) = 1. {\displaystyle y(0)=1.} Consider a grid t k = a k n {\displaystyle t_{k}=a{\frac {k}{n}}} for 0 ≤ k ≤ n, that is, the time step is Δ t = a / n , {\displaystyle \Delta t=a/n,} and denote y k = y ( t k ) {\displaystyle y_{k}=y(t_{k})} for each k {\displaystyle 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.
The forward Euler method
yields
for each k = 0 , 1 , … , n . {\displaystyle k=0,1,\dots ,n.} This is an explicit formula for y k + 1 {\displaystyle y_{k+1}} .
With the backward Euler method
one finds the implicit equation
for y k + 1 {\displaystyle y_{k+1}} (compare this with formula (3) where y k + 1 {\displaystyle y_{k+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 {\displaystyle y} at the next time step is given by
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.
With the Crank-Nicolson method
for y k + 1 {\displaystyle y_{k+1}} (compare this with formula (3) where y k + 1 {\displaystyle y_{k+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 y k + 1 {\displaystyle y_{k+1}} .
Crank-Nicolson can be viewed as a form of more general IMEX (Implicit-Explicit) schemes.
In order to apply the IMEX-scheme, consider a slightly different differential equation:
It follows that
and therefore
for each k = 0 , 1 , … , n . {\displaystyle k=0,1,\dots ,n.}
U.M. Ascher, S.J. Ruuth, R.J. Spiteri: Implicit-Explicit Runge-Kutta Methods for Time-Dependent Partial Differential Equations, Appl Numer Math, vol. 25(2-3), 1997 http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.48.1525&rep=rep1&type=pdf ↩
L.Pareschi, G.Russo: Implicit-Explicit Runge-Kutta schemes for stiff systems of differential equations, Recent Trends in Numerical Analysis, Vol. 3, 269-289, 2000 https://www.researchgate.net/profile/Lorenzo_Pareschi/publication/230865813_Implicit-Explicit_Runge-Kutta_schemes_for_stiff_systems_of_differential_equations/links/0046352a03ba3ee92a000000.pdf ↩
Sebastiano Boscarino, Lorenzo Pareschi, and Giovanni Russo: Implicit-Explicit Methods for Evolutionary Partial Differential Equations, SIAM, ISBN 978-1-61197-819-3 (2024). ↩