Errors
- 1. Absoulte Error and Relative Error
- 2. Data Error and Computational Error
- 3. Forward Error and Backward Error
- 4. Condition Number
- Reference
1. Absoulte Error and Relative Error
- Absolute error apporoimation true value
- Relative error absolute error true value
- Precision is about the number of digits.
- Accuracy is about the number of correct significant digits.
- if is approximated to , then it is a highly precise number, but not accurate.
2. Data Error and Computational Error
- For a function , let and input be the true value, the true result. But we only know the approximate value , not the true value . In addition, we can only calculate , the approximation of . Then the total error is
- The computational error comes from the difference between the true and approximation functions about the same value. The propagated data error comes from the difference between the true and approximation values about the same function.
- The computational error can be divided by the truncation error and rounding error.
- Suppose that is approximate to from . From the first term, the values are different about the same function, so it represents the propagated data error. From the second term, the functions are changed to about the same value, so it represents the computational error.
3. Forward Error and Backward Error
Assume that is the output from the solution of an input . Then is the backward error where is the approximation of . is the forward error wherer .
- As is very small, it is said that the original problem is well estimated by the nearby problem , and that the approximation solution is good enough.
- As an approximation to for , let since . Then the forward and backward errors are as follows:
4. Condition Number
- When changes reasonably as changes, it is said that the problem is insensitive, or well-conditioned.
- When changes much more largely as changes, it is said that the problem is sensitive, or ill-conditioned.
- The condition number of a problem denotes the ratio of the relative change in the solution to the relative change in the input.
- The condition number, which is usually what we do not know, varies with the input.
- if is close enough to , goes to and .
Reference
[1] Michael T. Heath, Scientific Computing: An Introductory Survey. 2nd Edition, McGraw-Hill Higher Education