Main Page | See live article | Alphabetical index

Condition number

In numerical analysis, the condition number associated with a numerical problem is a measure of that quantity's amenability to digital computation, that is, how 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.

For example, the condition number associated with the linear equation

gives a bound on how inaccurate the solution  will be after numerical solution.

The condition number also amplifies the error present in . The extent of this amplification can render a low condition number system (normally a good thing) inaccurate and a high condition number system (normally a bad thing) accurate, depending on how well the data in are known. For this problem, the condition number is defined by

,

in any consistent 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

.