Practice Robustness in Math
Use these practice problems to test your method after reviewing the concept explanation and worked examples.
Quick Recap
The property of a result, algorithm, or model remaining valid or approximately correct even when its assumptions are slightly violated.
Is this answer fragile, or does it survive small errors and changes?
Showing a random 20 of 50 problems.
Example 1
easyA sorting algorithm gives correct results even if a few input values are duplicated or out of expected range. What property does this describe?
Example 2
challengeA quadratic root computation x = (-b + sqrt(b^2 - 4ac))/(2a) suffers catastrophic cancellation when b > 0 and 4ac is tiny. Give a robust algebraically-equivalent formula for that root and explain why it is robust.
Example 3
easyA weather-prediction model is accurate to within °C in of cases but is off by °C on rare extreme days. Is it robust to extremes?
Example 4
hardA function is asked to predict outputs near . Is it robust to small input errors there?
Example 5
hardThe dataset has mean and median . Replace the value with . Compute the new mean and median.
Example 6
hardA recipe calls for cups of flour. Cooks A measure and . Both cakes turn out fine. Is the recipe robust to this variation?
Example 7
mediumIf and , find the resulting range of and assess robustness.
Example 8
mediumGiven , compute the mean. Then replace with and recompute. By how much did the mean shift?
Example 9
easyA bridge is designed to hold exactly the expected load with no margin. Is this design robust to small overloads?
Example 10
mediumTrue or false: a least-squares regression line is robust to outliers in .
Example 11
challengeA voting rule must elect the same winner even if up to 1 of 5 ballots is corrupted. Candidate X has 4 votes, Y has 1. Show the rule's outcome is robust to one corrupted ballot, and find the smallest X-lead that guarantees robustness.
Example 12
easyWhich is more robust to outliers, the standard deviation or the interquartile range (IQR)?
Example 13
easyA recipe still tastes good whether you use 1.9 or 2.1 cups of flour. Is the recipe robust to small measurement errors?
Example 14
easyA formula assumes friction is exactly zero. Real surfaces have small friction. A robust result would still be approximately correct. True or false?
Example 15
hardWhy is the median absolute deviation (MAD) preferred over standard deviation for robust spread?
Example 16
challengeA model's prediction p(x) = 1/(1 + (x - 2)^2) is evaluated near x = 2. Show whether the prediction is robust (insensitive) to a small input change there, using the derivative.
Example 17
easyA poll of people is generally more robust to a few unusual respondents than a poll of . True or false?
Example 18
mediumProve that the statement ' for all ' is robust to replacing with : does ' for all ' still hold?
Example 19
mediumA least-squares fit and a least-absolute-deviations fit both model points, but one point is a gross outlier. Which fit is more robust to that outlier and why?
Example 20
easyIf an input has a measurement error of , find the range of and assess whether is robust to this error.