Stability (numerics)

from Wikipedia, the free encyclopedia

In numerical mathematics , a method is called stable if it is insensitive to small disturbances in the data. In particular, this means that rounding errors (see also machine accuracy ) do not have too great an impact on the calculation. When solving mathematical problems numerically, one differentiates between condition , stability and consistency . Stability is a property of the algorithm and the condition is a property of the problem. The relationship between these quantities can be described as follows:

Let it be the mathematical problem depending on the input , and it be the numerical algorithm, as well as the perturbed input data:

Condition: How much does the problem fluctuate in the event of a disruption?
Stability: How much does the numerical algorithm fluctuate in the event of a fault?
Consistency: How well does the algorithm (with exact input) actually solve the problem?
Convergence: How well does the perturbed algorithm actually solve the problem?

So the stability describes the robustness of the numerical method against disturbances in the input data, in particular this means that rounding errors do not add up and lead to disturbances in the solution. However, the quantification of the term differs depending on the problem and the standard used.

As a rule, stability and consistency (sometimes with a small additional requirement) lead to the convergence of the numerical solution against the analytical solution, since both the errors in the input data and the errors are dampened by the discretization of the problem.

The two analytical methods

Forward analysis

A method is called stable if there is a constant and an with such that:

where denotes the relative condition of the problem and the machine accuracy. quantifies the stability in terms of forward analysis.

Backward analysis

The second common analysis method is the reverse analysis introduced by James Hardy Wilkinson . Most of the time, one knows a sensible upper limit  for the unavoidable relative input error (depending on the problem, this can be a measurement error or a rounding error). In order to be able to better assess the error caused by the algorithm, it is converted into an equivalent error in the input data of the problem, which is also referred to as a backward error, in the backward analysis. The formal definition of the backward error of the algorithm for the (rounded) input data (with ) is:

,

where stands for domain .

The algorithm is backward stable if the relative backward error for all is smaller than the inevitable relative input error. For some applications, this requirement is weakened and a constant that is appropriate to the problem is also allowed with

for all

should apply. Sometimes one is only interested in whether the relative backward error is limited at all.

It can be shown that backward stability implies forward stability.

Applications

addition

Since it can be shown that the relative condition of the addition can be arbitrarily bad for two numbers in the event of extinction (result is close to 0), it follows from the definition of the forward analysis that addition as a numerical method (in the computer) is stable.

Differential equations

In the case of numerical solvers for differential equations with initial or boundary values, or with the right-hand side , one tries to get an estimate of the developed solution from these input quantities. In the sense of forward analysis there is the constant in this case .

Ordinary differential equations

For ordinary differential equations the true equivalence theorem of Lax , after the zero stability and consistency equivalent to convergence of the method are.

For specific procedures, the stability area is defined as the set of complex numbers for which the numerical procedure in solving the Dahlquist test equation

with a fixed step size delivers a limited series of approximations .

The best case is when the stability area contains the complete left half-plane, then the method is called A-stable .

Partial differential equations

The standard method for the stability analysis of numerical methods for partial differential equations is the Von Neumann stability analysis , which makes necessary and sufficient statements for linear problems, but only necessary statements for nonlinear problems.

See also: stability theory

literature

  • JH Wilkinson: Error Analysis of Direct Methods of Matrix Inversion . Journal of the ACM, Vol. 8 (1961), No. 3, pp. 281-330
  • Peter Deuflhard, Andreas Hohmann: Numerical Mathematics I, An Algorithmically Oriented Introduction . 3. Edition. De Gruyter, 2002, ISBN 978-3-11-017182-2 .
  • Martin Hermann: Numerical Mathematics . Oldenbourg Verlag, Munich and Vienna 2001, ISBN 3-486-25558-4 .
  • Martin Hermann: Numerics of ordinary differential equations, initial and boundary value problems . Oldenbourg Verlag, Munich and Vienna 2004, ISBN 3-486-27606-9 .