Adding Vectors by Components — Question 7

Section 3-5 · Physics pages 404–405

Question 7 Near cancellation exposes rounding errors Two vectors are⃗A = (1000, 1) m and⃗B = (−999, 1) m. Treat these as exact components. A display rounds each component to the nearest 10 m before addition. A: (1000, 1) m B: (−999, 1) m Rx Ry exact sum residual enlarged The two large nearly opposing arrows conceal a small residual; the inset uses a different scale. (a) Find the exact resultant, magnitude and direction. (b) Find the result obtained from the rounded component display. Why is it misleading? (c) If each original component instead has an independent hard error bound of ±0.1 m, bound each resultant component and decide whether the true resultant can vanish.
Show solutionHide solution
Question 7 - Solution Near cancellation exposes rounding errors A: (1000, 1) m B: (−999, 1) m Rx Ry exact sum residual enlarged (a) Preserve the small residual.⃗ R = (1000 −999, 1 + 1) = (1, 2) m , R = √ 5 m, θ = 63.435◦⃗ R = (1, 2) m, magnitude √ 5 ≈2.236 m, direction tan−1(2) ≈63.435◦from east. The large opposite horizontal terms nearly cancel but do not cancel exactly. (b) Rounding can erase the answer.⃗ Rrounded = (1000, 0) + (−1000, 0) =⃗0̸ =⃗R The display shows (1000, 0) m and (−1000, 0) 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. |δRi| ≤|δAi| + |δBi| ≤.2 m ⇒Rx ∈[.8, 1.2], Ry ∈[1.8, 2.2] m Rx ∈[0.8, 1.2] m and Ry ∈[1.8, 2.2] 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.

Question 7

Near cancellation exposes rounding errors

Two vectors are A→=(1000,1)\vec A=(1000,1) m and B→=(−999,1)\vec B=(-999,1) 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.

  1. Find the exact resultant, magnitude and direction.

  2. Find the result obtained from the rounded component display. Why is it misleading?

  3. If each original component instead has an independent hard error bound of ±0.1\pm0.1 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.

R→=(1000−999,1+1)=(1,2)m,R=5m,θ=63.435∘\boxed{\vec R=(1000-999,1+1)=(1,2)\,\mathrm m},\quad R=\sqrt5\,\mathrm m,\quad\theta=63.435^\circ R→=(1,2)\vec R=(1,2) m, magnitude 5≈2.236\sqrt5\approx2.236 m, direction tan⁡−1(2)≈63.435∘\tan^{-1}(2)\approx63.435^\circ from east. The large opposite horizontal terms nearly cancel but do not cancel exactly.

(b) Rounding can erase the answer.

R→rounded=(1000,0)+(−1000,0)=0→≠R→\vec R_{\mathrm{rounded}}=(1000,0)+(-1000,0)=\vec0\ne\vec R The display shows (1000,0)(1000,0) m and (−1000,0)(-1000,0) 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.

|δRi|≤|δAi|+|δBi|≤.2m⇒Rx∈[.8,1.2],Ry∈[1.8,2.2]m|\delta R_i|\le|\delta A_i|+|\delta B_i|\le.2\,\mathrm m\Rightarrow R_x\in[.8,1.2],\ R_y\in[1.8,2.2]\quad\mathrm m Rx∈[0.8,1.2]R_x\in[0.8,1.2] m and Ry∈[1.8,2.2]R_y\in[1.8,2.2] 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.