Show solutionHide solution
Question 7
Near cancellation exposes rounding errors
Two vectors are m and m. Treat these as exact components. A display rounds each component to the nearest 10 m before addition.
Diagram shown in the original SVG worksheet.
Find the exact resultant, magnitude and direction.
Find the result obtained from the rounded component display. Why is it misleading?
If each original component instead has an independent hard error bound of m, bound each resultant component and decide whether the true resultant can vanish.
Question 7 - Solution
Near cancellation exposes rounding errors
Diagram shown in the original SVG worksheet.
(a) Preserve the small residual.
m, magnitude m, direction from east. The large opposite horizontal terms nearly cancel but do not cancel exactly.
(b) Rounding can erase the answer.
The display shows m and m, whose sum is zero. That eliminates both the residual length and its direction. Small relative errors in large input vectors can produce large relative errors in their nearly canceled sum. Keep guard digits until after addition.
(c) Propagate hard bounds by interval addition.
m and m because each sum can err by at most 0.2 m. Neither interval contains zero, so the resultant cannot vanish and stays in quadrant I. This bound does not use a root-sum-square statistical assumption.