Conditioning in Numerical Analysis
Conditioning in Numerical Analysis
Ill-conditioned problem: Take the function f(x) = 1/(x − 1). Note that f(1.1) = 10 and f(1.001) = 1000: a
change in x of less than 0.1 turns into a change in f(x) of nearly 1000. Evaluating f(x) near x = 1 is an
ill-conditioned problem.
Well-conditioned problem: By contrast, evaluating the same function f(x) = 1/(x − 1) near x = 10 is a
well-conditioned problem. For instance, f(10) = 1/9 ≈ 0.111 and f(11) = 0.1: a modest change
in x leads to a modest change in f(x).
Discretization[edit]
Furthermore, continuous problems must sometimes be replaced by a discrete problem whose
solution is known to approximate that of the continuous problem; this process is called
'discretization'. For example, the solution of a differential equation is a function. This function must
be represented by a finite amount of data, for instance by its value at a finite number of points at its
domain, even though this domain is a continuum.
Round-off[edit]
Round-off errors arise because it is impossible to represent all real numbers exactly on a machine
with finite memory (which is what all practical digital computers are).
of , after ten iterations, the calculated root is roughly 1.99. Therefore, the truncation error is
roughly 0.01.
Once an error is generated, it propagates through the calculation. For example, the operation + on a