1. Round-Off Error, Truncation Error and Error Propagation
If approximates true : absolute error and relative error (). Two fundamentally different error sources trade off against each other:
- Truncation error: Replacing an infinite limit or series by finitely many terms; shrinks as step size (e.g. or ).
- Round-off error: Finite floating-point mantissa storage ( in IEEE double, when rounded to decimal places). Dividing by tiny amplifies subtraction round-off like , so excessively small increases total error.
First-order error propagation: For with small independent input errors , the worst-case output error bound is:
For products/powers , relative errors add weighted by exponents: . The condition number measures relative sensitivity.