To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Truncation error

From Wikipedia, the free encyclopedia

In numerical analysis and scientific computing, truncation error is an error caused by approximating a mathematical process.[1][2]

YouTube Encyclopedic

  • 1/5
    Views:
    17 339
    8 028
    116 908
    12 757
    2 643
  • Numerical Methods: Roundoff and Truncation Errors (1/2)
  • Truncation and Round-Off Errors
  • Truncation Error: Definition
  • Truncation Error - Example
  • Taylor Series and truncation errors

Transcription

Examples

Infinite series

A summation series for is given by an infinite series such as

In reality, we can only use a finite number of these terms as it would take an infinite amount of computational time to make use of all of them. So let's suppose we use only three terms of the series, then

In this case, the truncation error is

Example A:

Given the following infinite series, find the truncation error for x = 0.75 if only the first three terms of the series are used.

Solution

Using only first three terms of the series gives

The sum of an infinite geometrical series

is given by

For our series, a = 1 and r = 0.75, to give

The truncation error hence is

Differentiation

The definition of the exact first derivative of the function is given by

However, if we are calculating the derivative numerically, has to be finite. The error caused by choosing to be finite is a truncation error in the mathematical process of differentiation.

Example A:

Find the truncation in calculating the first derivative of at using a step size of

Solution:

The first derivative of is

and at ,

The approximate value is given by

The truncation error hence is

Integration

The definition of the exact integral of a function from to is given as follows.

Let be a function defined on a closed interval of the real numbers, , and

be a partition of I, where
where and .

This implies that we are finding the area under the curve using infinite rectangles. However, if we are calculating the integral numerically, we can only use a finite number of rectangles. The error caused by choosing a finite number of rectangles as opposed to an infinite number of them is a truncation error in the mathematical process of integration.

Example A.

For the integral

find the truncation error if a two-segment left-hand Riemann sum is used with equal width of segments.

Solution

We have the exact value as

Using two rectangles of equal width to approximate the area (see Figure 2) under the curve, the approximate value of the integral

Occasionally, by mistake, 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 chopping. That is not the correct use of "truncation error"; however calling it truncating a number may be acceptable.

Addition

Truncation error can cause within a computer when because (like it should), while . Here, has a truncation error equal to 1. This truncation error occurs because computers do not store the least significant digits of an extremely large integer.

See also

References

  1. ^ Atkinson, Kendall E. (1989). An Introduction to Numerical Analysis (2nd ed.). New York: Wiley. p. 20. ISBN 978-0-471-62489-9. OCLC 803318878.
  2. ^ Stoer, Josef; Bulirsch, Roland (2002), Introduction to Numerical Analysis (3rd ed.), Princeton, N.J.: Recording for the Blind & Dyslexic, OCLC 50556273, retrieved 2022-02-08
This page was last edited on 19 September 2023, at 15:13
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.