For example, the condition number associated with the linear equation gives a bound on how inaccurate the solution will be after approximate solution. Note that this is before the effects of round-off error are taken into account; conditioning is a property of the matrix, not the algorithm or floating point accuracy of the computer used to solve the corresponding system. In particular, one should think of the condition number as being (very roughly) the rate at which the solution, , will change with respect to a change in . Thus, if the condition number is large, even a small error in may cause a large error in . On the other hand, if the condition number is small then the error in will not be much bigger than the error in .
The condition number is defined more precisely to be the maximum ratio of the relative error in divided by the relative error in .
Let be the error in . Then the error in the solution is . The ratio of the relative error in the solution to the relative error in is
This is easily transformed to
The maximum value (for nonzero and ) is easily seen to be the product of the two operator norms:
The same definition is used for any consistent norm. This number arises so often in numerical linear algebra that it is given a name, the condition number of a matrix.
Of course, this definition depends on the choice of norm.
Condition numbers for singular-value decompositions, polynomial root finding, eigenvalue and many other problems may be defined.
Generally, if a numerical problem is well-posed, it can be expressed as a function mapping its data, which is an -tuple of real numbers , into its solution, an -tuple of real numbers .
Its condition number is then defined to be the maximum value of the ratio of the relative errors in the solution to the relative error in the data, over the problem domain:
where is some reasonably small value in the variation of data for the problem.
If is also differentiable, this is approximately