In numerical analysis and scientific computing, truncation error is the error made by truncating an infinite sum and approximating it by a finite sum. For instance, if we approximate the sine function by the first two non-zero term of its Taylor series, as in for small, the resulting error is a truncation error. It is present even with infinite-precision arithmetic, because it is caused by truncation of the infinite Taylor series to form the algorithm.
Often, truncation error also includes discretization error, which is the error that arises from taking a finite number of steps in a computation to approximate an infinite process. For example, in numerical methods for ordinary differential equations, the continuously varying function that is the solution of the differential equation is approximated by a process that progresses step by step, and the error that this entails is a discretization or truncation error. See Truncation error (numerical integration) for more on this.
Occasionally, round-off error (the consequence of using finite precision floating point numbers on computers) is also called truncation error, especially if the number is rounded by truncation.
Famous quotes containing the word error:
“You can hardly convince a man of an error in a life-time, but must content yourself with the reflection that the progress of science is slow. If he is not convinced, his grandchildren may be. The geologists tell us that it took one hundred years to prove that fossils are organic, and one hundred and fifty more to prove that they are not to be referred to the Noachian deluge.”
—Henry David Thoreau (18171862)