Condition number
From Wikipedia, the free encyclopedia
In numerical analysis, the condition number associated with a problem is a measure of that problem's amenability to digital computation, that is, how numerically well-posed the problem is. A problem with a low condition number is said to be well-conditioned, while a problem with a high condition number is said to be ill-conditioned.
[edit] The condition number of a matrix
For example, the condition number associated with the linear equation Ax = b gives a bound on how inaccurate the solution x 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, x, will change with respect to a change in b. Thus, if the condition number is large, even a small error in b may cause a large error in x. On the other hand, if the condition number is small then the error in x will not be much bigger than the error in b.
For this problem, the condition number, κ, is defined by
in 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.
- If is l2 norm then
- where σmax(A) and σmin(A) are maximal and minimal singular values of A respectively. Hence
- If A is normal then
- ( are maximal and minimal (by moduli) eigenvalues of A respectively)
- If A is unitary then
- κ(A) = 1
- If is norm and A is lower triangular non-singular (i.e., ) then
[edit] The condition number in other contexts
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 f mapping its data, which is an m-tuple of real numbers x, into its solution, an n-tuple of real numbers f(x).
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 f is also differentiable, this is approximately
[edit] External links
- Condition Number of a Matrix at Holistic Numerical Methods Institute
- Matrix condition number on PlanetMath