World Library  
Flag as Inappropriate
Email this Article

Approximation error

Article Id: WHEBN0000640422
Reproduction Date:

Title: Approximation error  
Author: World Heritage Encyclopedia
Language: English
Subject: Relative change and difference, Beta distribution, Machine epsilon, Error (disambiguation), Approximation theory
Collection: Numerical Analysis
Publisher: World Heritage Encyclopedia

Approximation error

Graph of f(x) = e^x (blue) with its linear approximation P_1(x) = 1 + x (red) at a = 0. The approximation error is the gap between the curves, and it increases for x values further from 0.

The approximation error in some data is the discrepancy between an exact value and some approximation to it. An approximation error can occur because

  1. the measurement of the data is not precise due to the instruments. (e.g., the accurate reading of a piece of paper is 4.5 cm but since the ruler does not use decimals, you round it to 5 cm.) or
  2. approximations are used instead of the real data (e.g., 3.14 instead of π).

In the mathematical field of numerical analysis, the numerical stability of an algorithm in numerical analysis indicates how the error is propagated by the algorithm.


  • Formal Definition 1
    • Generalizations 1.1
  • Examples 2
  • Uses of relative error 3
  • Instruments 4
  • See also 5
  • References 6
  • External links 7

Formal Definition

One commonly distinguishes between the relative error and the absolute error.

Given some value v and its approximation vapprox, the absolute error is

\epsilon = |v-v_\text{approx}|\ ,

where the vertical bars denote the absolute value. If v \ne 0, the relative error is

\eta = \frac{\epsilon}{|v|} = \left| \frac{v-v_\text{approx}}{v} \right| = \left| 1 - \frac{v_\text{approx}}{v} \right|,

and the percent error is

\delta = 100\times\eta = 100\times\frac{\epsilon}{|v|} = 100\times\left| \frac{v-v_\text{approx}}{v} \right|.

In words, the absolute error is the magnitude of the difference between the exact value and the approximation. The relative error is the absolute error divided by the magnitude of the exact value. The percent error is the relative error expressed in terms of per 100.


These definitions can be extended to the case when v and v_{\text{approx}} are n-dimensional vectors, by replacing the absolute value with an n-norm.[1]


As an example, if the exact value is 50 and the approximation is 49.9, then the absolute error is 0.1 and the relative error is 0.1/50 = 0.002 = 0.2%. Another example would be if you measured a beaker and read 5mL. The correct reading would have been 6mL. This means that your percent error would be 16.67%.

Uses of relative error

The relative error is often used to compare approximations of numbers of widely differing size; for example, approximating the number 1,000 with an absolute error of 3 is, in most applications, much worse than approximating the number 1,000,000 with an absolute error of 3; in the first case the relative error is 0.003 and in the second it is only 0.000003.

There are two features of relative error that should be kept in mind. Firstly, relative error is undefined when the true value is zero as it appears in the denominator (see below). Secondly, relative error only makes sense when measured on a ratio scale, (i.e. a scale which has a true meaningful zero), otherwise it would be sensitive to the measurement units . For example, when an absolute error in a temperature measurement given in Celsius is 1° and the true value is 2 °C, the relative error is 0.5 and the percent error is 50%. For this same case, when the temperature is given in Kelvin, the same 1° absolute error with the same true value of 275.15 K gives a relative error of 3.63×103 and a percent error of only 0.363%. Celsius temperature is measured on an interval scale, whereas the Kelvin scale has a true zero and so is a ratio scale.


In most indicating instruments, the accuracy is guaranteed to a certain percentage of full-scale reading. The limits of these deviations from the specified values are known as limiting errors or guarantee errors.[2]

See also


  1. ^  
  2. ^ Helfrick, Albert D. (2005) Modern Electronic Instrumentation and Measurement Techniques. p. 16. ISBN 81-297-0731-4

External links

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.