Explicit and Implicit Methods
Explicit and Implicit Methods
Explicit and implicit methods are approaches used in using the simplest explicit and implicit methods, which
numerical analysis for obtaining numerical approxima- are the forward Euler and backward Euler methods (see
tions to the solutions of time-dependent ordinary and numerical ordinary dierential equations) and compare
partial dierential equations, as is required in computer the obtained schemes.
simulations of physical processes.
Explicit methods calculate the state of a system at a later Forward Euler method
time from the state of the system at the current time, while
implicit methods nd 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))
( )
G Y (t), Y (t + t) = 0 (1)
yk+1 yk
= yk+1
2
dy t
= y 2 , t [0, a] (2)
dt one nds the implicit equation
with the initial condition y(0) = 1. Consider a grid tk =
a nk for 0 k n, that is, the time step is t = a/n, and
2
denote yk = y(tk ) for each k . Discretize this equation yk+1 + tyk+1 = yk
1
2 2 SEE ALSO
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
1 + 1 + 4tyk
yk+1 = . (4)
2t
In the vast majority of cases, the equation to be solved
when using an implicit scheme is much more compli-
cated than a quadratic equation, and no analytical solu-
tion exists. Then one uses root-nding algorithms, such
as Newtons method, to nd the numerical solution.
2 See also
CourantFriedrichsLewy condition
3.2 Images
File:Forward_and_backward_Euler_method.png Source: https://upload.wikimedia.org/wikipedia/commons/1/1f/Forward_and_
backward_Euler_method.png License: CC0 Contributors: Own work Original artist: Pred
File:Question_book-new.svg Source: https://upload.wikimedia.org/wikipedia/en/9/99/Question_book-new.svg License: Cc-by-sa-3.0
Contributors:
Created from scratch in Adobe Illustrator. Based on Image:Question book.png created by User:Equazcion Original artist:
Tkgd2007