Questions: Numerical Stability and Conditioning

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A programmer evaluates p(x) = x² − 4x + 4 near x = 2 and gets a wildly inaccurate answer. They rewrite it as p(x) = (x − 2)² and the result is accurate. The underlying mathematical function is identical. What does this illustrate?

AThe problem was ill-conditioned — the answer is inherently sensitive to small input changes near x = 2
BThe algorithm choice determines numerical stability even for a well-conditioned problem
CFloating-point arithmetic is always unreliable for polynomial evaluation
DThe rewritten form changes the mathematical function being computed
Question 2 Multiple Choice

An algorithm is called 'backward stable' if it:

AProduces an output error smaller than machine epsilon
BComputes the exact answer to a slightly perturbed version of the original input
CNever amplifies rounding errors beyond the precision of the inputs
DAlways converges to the correct answer given enough iterations
Question 3 True / False

A stable algorithm cannot save you from an ill-conditioned problem — if the problem amplifies small input errors into large output errors, no choice of algorithm can prevent inaccuracy.

TTrue
FFalse
Question 4 True / False

A numerically stable algorithm is one that produces the mathematically correct answer for nearly every possible input.

TTrue
FFalse
Question 5 Short Answer

Why is it useful to distinguish conditioning (a property of the problem) from stability (a property of the algorithm)? What does each concept tell you?

Think about your answer, then reveal below.