5 questions to test your understanding
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?
An algorithm is called 'backward stable' if it:
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.
A numerically stable algorithm is one that produces the mathematically correct answer for nearly every possible input.
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?