A team solves for the nodal displacements of a lightly damped mechanical structure by…

PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics

Error, Chance and the Machine, Ch Rounding, backward error and the sensitivity of a computation

Problem

A team solves Ax=b\mathsf{A}\mathbf{x} = \mathbf{b} for the nodal displacements of a lightly damped mechanical structure by Gaussian elimination with partial pivoting in binary64 arithmetic (u≈1.1×10−16u \approx 1.1\times10^{-16}). The matrix has κ2(A)=4.0×109\kappa_2(\mathsf{A}) = 4.0\times10^{9}. The computed solution x^\hat{\mathbf{x}} has residual ∥b−Ax^∥/(∥A∥∥x^∥)=3×10−16\|\mathbf{b} - \mathsf{A}\hat{\mathbf{x}}\|/(\|\mathsf{A}\|\|\hat{\mathbf{x}}\|) = 3\times10^{-16}, but comparison with a known analytic solution shows the relative error ∥x^−x∥/∥x∥=2.6×10−7\|\hat{\mathbf{x}} - \mathbf{x}\|/\|\mathbf{x}\| = 2.6\times10^{-7}. The team's report concludes: "Because 2.6×10−72.6\times10^{-7} is far larger than the unit roundoff 1.1×10−161.1\times10^{-16}, the elimination routine must be introducing extra rounding error and should be classed as numerically unstable." Find the error in this reasoning, using the residual and the condition number to say what the numbers actually show.

Browse the problem library