Numerical Stability - Forward, Backward, and Mixed Stability

Forward, Backward, and Mixed Stability

There are different ways to formalize the concept of stability. The following definitions of forward, backward, and mixed stability are often used in numerical linear algebra.

Consider the problem to be solved by the numerical algorithm as a function f mapping the data x to the solution y. The result of the algorithm, say y*, will usually deviate from the "true" solution y. The main causes of error are round-off error and truncation error. The forward error of the algorithm is the difference between the result and the solution; in this case, Δy = y* − y. The backward error is the smallest Δx such that f (x + Δx) = y*; in other words, the backward error tells us what problem the algorithm actually solved. The forward and backward error are related by the condition number: the forward error is at most as big in magnitude as the condition number multiplied by the magnitude of the backward error.

In many cases, it is more natural to consider the relative error

instead of the absolute error Δx.

The algorithm is said to be backward stable if the backward error is small for all inputs x. Of course, "small" is a relative term and its definition will depend on the context. Often, we want the error to be of the same order as, or perhaps only a few orders of magnitude bigger than, the unit round-off.

The usual definition of numerical stability uses a more general concept, called mixed stability, which combines the forward error and the backward error. An algorithm is stable in this sense if it solves a nearby problem approximately, i.e., if there exists a Δx such that both Δx is small and f (x + Δx) − y* is small. Hence, a backward stable algorithm is always stable.

An algorithm is forward stable if its forward error divided by the condition number of the problem is small. This means that an algorithm is forward stable if it has a forward error of magnitude similar to some backward stable algorithm.

Read more about this topic:  Numerical Stability

Famous quotes containing the words mixed and/or stability:

    I’ll wager that it was impossible after we got mixed together to tell an anti from a suffragist by her clothes. There might have been a difference, though, in the expression of the faces and the shape of the heads.
    Susan B. Anthony (1820–1906)

    The message you give your children when you discipline with love is “I care too much about you to let you misbehave. I care enough about you that I’m willing to spend time and effort to help you learn what is appropriate.” All children need the security and stability of food, shelter, love, and protection, but unless they also receive effective and appropriate discipline, they won’t feel secure.
    Stephanie Marston (20th century)