Truncation Error: true result (input) minus exact arithmetic result from algorithm
i.e. truncating series, replacing derivatives by differences, replacing function by a simpler polynomial, terminating iteration before convergence.
Rounding Error: inexact representation of real numbers and the arithmetic operations upon them.
Usually: Truncation error dominates.
Absolute and Relative Error
Q: What does an error of ``1'' mean?
if counting world population
pretty good
(insignificant error)
if counting
of people in car
not so good
(more significant error)
Abs error = approximate value - true value (could use absolute value)
Rel error =
Not cast in stone: always define what these are.
for real error
could use %
However, we seldom know the true value! So we estimate or bound the error.