Consider as an example problem solving . We can think of the solution process as a map f: .

Forward and backward error analysis can be formulated abstractly by representing any algorithm as a function that maps inputs to outputs.

Forward error equation: “What is the error in the solution computed with our algorithm?”

This corresponds to establishing bounds of the form:

This is a natural question. However, a direct forward error analysis is difficult. In many numerical algorithms, a backward error analysis is much more useful.

Backward error equation: “What is the problem that our algorithm actually (exactly) solved?”

This corresponds to:

We now look for bounds of the type

The forward error can be connected to the backward error using the conditioning of the problem.

Stability of the LU factorization, Floating point numbers, Floating point arithmetic and unit roundoff error