Absolute and Relative Errors

2.1.2 Absolute and Relative Errors

Approximation is a central concept in almost all the uses of mathematics. One must often

be satisfied with approximate values of the quantities with which one works. Another type of approximation occurs when one ignores some quantities which are small compared to others. Such approximations are often necessary to ensure that the mathematical and numerical treatment of a problem does not become hopelessly complicated.

We make the following definition.

Definition 2.1.1.

Let ˜x be an approximate value whose exact value is x. Then the absolute error in ˜x is

4x = | ˜x − x|, 4x/x = |( ˜x − x)/x|.

In some books the error is defined with the opposite sign to what we use here. It makes almost no difference which convention one uses, as long as one is consistent. Note that x − ˜x is the correction which should be added to ˜x to get rid of the error. The correction and the absolute error then have the same magnitude but may have different signs.

In many situations one wants to compute a strict or approximate bound for the absolute or relative error. Since it is sometimes rather hard to obtain an error bound that is both strict and sharp, one sometimes prefers to use less strict but often realistic error estimates. These can be based on the first neglected term in some expansion, or on some other asymptotic considerations.

The notation x = ˜x ± ǫ means, in this book, | ˜x − x| ≤ ǫ. For example, if x = 0.5876 ± 0.0014, then 0.5862 ≤ x ≤ 0.5890, and | ˜x − x| ≤ 0.0014. In other texts, the same plus–minus notation is sometimes used for the “standard error” (see Sec. 2.3.3) or

bound and the relative error bound may be defined as bounds for

−p implies that components ˜x i with | ˜x i about p significant digits, but this is not true for components of smaller absolute value. An

alternative is to use componentwise relative errors,

(2.1.1) but this assumes that x i

max

| ˜x i −x i |/|x i |,

2.1. Basic Concepts in Error Estimation

91 We will distinguish between the terms accuracy and precision. By accuracy we mean

the absolute or relative error of an approximate quantity. The term precision will be reserved for the accuracy with which the basic arithmetic operations +, −, ∗, / are performed. For

floating-point operations this is given by the unit roundoff; see (2.2.8). Numerical results which are not followed by any error estimations should often, though not always, be considered as having an uncertainty of 1 2 of a unit in the last decimal place. In presenting numerical results, it is a good habit, if one does not want to go through the difficulty of presenting an error estimate with each result, to give explanatory remarks such as

• “All the digits given are thought to be significant.” • “The data have an uncertainty of at most three units in the last digit.”

• “For an ideal two-atom gas, c P /c V = 1.4 (exactly).”

We shall also introduce some notations, useful in practice, though their definitions are not exact in a mathematical sense:

a ≪ b (a ≫ b) is read “a is much smaller (much greater) than b.” What is meant by “much smaller”(or “much greater”) depends on the context—among other things, on the desired precision.

a ≈ b is read “a is approximately equal to b” and means the same as |a − b| ≪ c, where c is chosen appropriate to the context. We cannot generally say, for example, that 10 −6 ≈ 0.

a same as “a ≤ b or a ≈ b.”

Occasionally we shall have use for the following more precisely defined mathematical concepts:

f (x) = O(g(x)), x → a, means that |f (x)/g(x)| is bounded as x → a (a can be finite, +∞, or −∞).

f (x) = o(g(x)), x → a, means that lim x →a f (x)/g(x) = 0.

f (x) ∼ g(x), x → a, means that lim x →a f (x)/g(x) = 1.

Dokumen yang terkait

Analisis Komparasi Internet Financial Local Government Reporting Pada Website Resmi Kabupaten dan Kota di Jawa Timur The Comparison Analysis of Internet Financial Local Government Reporting on Official Website of Regency and City in East Java

19 819 7

ANTARA IDEALISME DAN KENYATAAN: KEBIJAKAN PENDIDIKAN TIONGHOA PERANAKAN DI SURABAYA PADA MASA PENDUDUKAN JEPANG TAHUN 1942-1945 Between Idealism and Reality: Education Policy of Chinese in Surabaya in the Japanese Era at 1942-1945)

1 29 9

Improving the Eighth Year Students' Tense Achievement and Active Participation by Giving Positive Reinforcement at SMPN 1 Silo in the 2013/2014 Academic Year

7 202 3

An Analysis of illocutionary acts in Sherlock Holmes movie

27 148 96

The Effectiveness of Computer-Assisted Language Learning in Teaching Past Tense to the Tenth Grade Students of SMAN 5 Tangerang Selatan

4 116 138

The correlation between listening skill and pronunciation accuracy : a case study in the firt year of smk vocation higt school pupita bangsa ciputat school year 2005-2006

9 128 37

Existentialism of Jack in David Fincher’s Fight Club Film

5 71 55

Phase response analysis during in vivo l 001

2 30 2

The Risk and Trust Factors in Relation to the Consumer Buying Decision Process Model

0 0 15

PENERAPAN ADING (AUTOMATIC FEEDING) PINTAR DALAM BUDIDAYA IKAN PADA KELOMPOK PETANI IKAN SEKITAR SUNGAI IRIGASI DI KELURAHAN KOMET RAYA, BANJARBARU Implementation of Ading (Automatic Feeding) Pintar in Fish Farming on Group of Farmer Close to River Irriga

0 0 5