Root Residual and Error in the Input

A small residual means the function is close to its target value. How accurately that locates the input depends on the function's sensitivity.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Compare scaled functions
  2. Use a meaningful termination condition
  3. Show why a small residual can coexist with a large error
  4. Use a lower bound on slope where the proof supports it

Compare scaled functions

For \(f(x)=10^{-6}(x-2)\), \(x=3\) gives residual \(10^{-6}\) while the input error is one. Multiplying the function by a constant changes residuals without moving its root. See absolute error.

Use a meaningful termination condition

For a bracketed method, width gives another source of location evidence. Forward and backward error distinguish residual size from solution error more generally.[1][2]

Show why a small residual can coexist with a large error

For \(f(x)=10^{-6}(x-3)\), using \(x=4\) gives residual \(10^{-6}\) but location error one. Rescaling a function rescales residuals without moving its root. Interpret a residual using local sensitivity or a bracket. See relative and absolute error.

Root r=3
Approximation x=4
Error in x: 1
Residual value: 0.000001
Multiplying the equation by a constant changes only the residual scale

Use a lower bound on slope where the proof supports it

If the derivative magnitude stays at least \(m>0\) between root and approximation, the mean value theorem gives location error at most residual magnitude divided by \(m\).

References

  1. Tobin A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation ↩
  2. Nicholas J. Higham, Accuracy and Stability of Numerical Algorithms ↩