The stability function is an aid in numerics to analyze solution methods for ordinary differential equations . The simple test equation by Germund Dahlquist with has the exponential function as a solution . With most of the methods for ordinary differential equations, the calculated approximate solution after a time step with a step size can also be written as a function that only depends on the product . This function is the stability function and is often referred to as. A comparison with the exponential function provides basic information about the numerical method. Some stability terms refer to the properties of .







Stability area and terms of stability
With the aid of the stability function , the leaves stability area describe and calculate, in the form


This is because in the case of one-step methods , the relationship and therefore applies
to the approximations at the time



If the entire left complex half-plane includes, the method is called A-stable . Then the amount of in the entire open left half-plane is less than 1. It is particularly favorable for a method if it also has the limit value 0 when it tends towards the real axis , so that the amount from there is asymptotical as the exponential function behaves. Then the procedure is called L-stable .






example
The explicit Euler method gives the test equation with after one step


-
,
thus applies to its stability function . Its area of stability therefore consists of all complex numbers with , which corresponds to the interior of the circle with center and radius in the complex number plane.





For the implicit Euler method , however, follows with
-
,
so . The stability area is now given by the condition with



is equivalent to what corresponds to the outside of the circle with center and radius . It therefore contains the entire open left half-plane and thus the implicit Euler method is A-stable. Because of that it is even L-stable.



The stability function of the Runge-Kutta method
Runge-Kutta methods are completely determined by the coefficients from their Butcher tableau. In the test equation is the initial value and for the levels it results in the first time step



This is a quadratic linear system of equations for the vector in the form
with the vector. With its solution one then gets the Runge-Kutta approximation in the form





This is a rational function in the Runge-Kutta method, which is why it is often referred to as.

In the case of explicit Runge-Kutta methods, the coefficient matrix is a strictly lower triangular matrix , so the Neumann series breaks off from to s summands and you get



Therefore the stability function of an explicit Runge-Kutta method is a polynomial, such methods cannot be A-stable .
In the case of implicit Runge-Kutta methods , however, B. the Gauss-Legendre method A-stable . The stability functions of these special methods are even very good approximations to the exponential function , namely the so-called Padé approximations .
The stability function of multistep methods
Applying a linear multi-step procedure to the test equation results in the equation again



This is a linear difference equation that is easy to solve. Because the consequence is a nontrivial solution of this difference equation if u is a zero of the characteristic polynomial


is, where the polynomials


introduced. So one gets the solutions to the test equation with the zeros of the polynomial that depend on and therefore the stability region of the method is when all these solutions approach 0 for . Therefore one can view the zero point with the maximum amount as a stability function of the method.






Stability area for the 6-stage BDF process
This interpretation seems very unwieldy. However, one is often less interested in the stability function than in the stability region . The edge of this area consists of the one for which the zeros apply where the zeros lie on the complex unit circle. Since it is true that the determination of the stability area is even particularly easy with multi-step methods, because its edge is obtained i. W. explicitly through





The stability area for the 6-step BDF process is shown as an example .
The stability function of general linear methods
Although multi-step process in the form of general linear process can be written, the structure is similar to that of the Runge-Kutta method further above . Hence, you get a similar result. The following applies to the vector of the step solutions

![{\ displaystyle Y = zAY + Uy ^ {[n-1]} \ quad \ Rightarrow Y = (I-zA) ^ {- 1} Uy ^ {[n-1]}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c42c652d7fab80eea9bdb550278be9fcdf94b6ef)
and the time step therefore becomes
![{\ displaystyle y ^ {[n]} = e.g.Y + Vy ^ {[n-1]} = (V + e.g. (I-zA) ^ {- 1} U {\ big)} y ^ {[n-1 ]}.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2103de9fe45c2b1a5531849e52f2b3d046ca4c8b)
In each time step, the multiplication takes place with the same matrix

It therefore applies when the powers approach 0, i.e. all eigenvalues of lie within the complex unit circle. Therefore the spectral radius of can be seen here as a stability function in the definition of the stability region.
![{\ displaystyle y ^ {[n]} = M (z) ^ {n} y ^ {[0]} \ to 0 \, (n \ to \ infty)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e44afdd17b14531c597ce322a00d6d310c72b666)





Further meaning for linear systems
The above test equation by Dahlquist is very simple, but has a wider meaning for systems of linear, autonomous and homogeneous differential equations

The exact solution is with the matrix exponential . The numerical solution can now be represented with the matrix stability function. If where is the Jordan normal form of , then applies






For a diagonalizable matrix , is a diagonal matrix with the diagonal elements . If that is true for all eigenvalues of , then also converges here . With this differential equation you can see at the same time that it makes sense to define it as an open set. Because in the diagonalizable case, solutions on the boundary with still remain restricted, but generally no longer if multiple eigenvalues with Jordan blocks occur.








literature
- E. Hairer, G. Wanner: Solving Ordinary Differential Equations II, Stiff problems. Springer publishing house.
- K. Strehmel, R. Weiner, H. Podhaisky: Numerics of ordinary differential equations - non -rigid, rigid and differential-algebraic equations. Springer Spectrum, 2012.