Content deleted Content added
style and tone |
m FIx REFPUNCT + other minor fixes |
||
Line 1:
{{
'''Explicit and implicit methods''' are approaches used in [[numerical analysis]] for obtaining numerical approximations to the solutions of time-dependent [[ordinary differential equation|ordinary]] and [[partial differential equation]]s, as is required in [[computer simulation]]s of [[Process (science)|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 <math>Y(t)</math> is the current system state and <math>Y(t+\Delta t)</math> is the state at the later time (<math>\Delta t</math> is a small time step), then, for an explicit method
: <math>Y(t+\Delta t) = F(Y(t))\,</math>
Line 6:
to find <math>Y(t+\Delta t).</math>
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 equation|stiff]], for which the use of an explicit method requires impractically small time steps <math>\Delta t</math> 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
:<math>Y(t+\Delta t) = F(Y(t+\Delta t))+G(Y(t)),\,</math>
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==
Line 49:
for <math>y_{k+1}</math> (compare this with formula (3) where <math>y_{k+1}</math> was given explicitly rather than as an unknown in an equation). This can be numerically solved using [[root-finding algorithm]]s, such as [[Newton's method]], to obtain <math>y_{k+1}</math>.
Crank Nicolson can be viewed as a form of more general
;Forward-Backward Euler method:
|