fbpx
Wikipedia

Interval arithmetic

Interval arithmetic (also known as interval mathematics; interval analysis or interval computation) is a mathematical technique used to mitigate rounding and measurement errors in mathematical computation by computing function bounds. Numerical methods involving interval arithmetic can guarantee relatively reliable and mathematically correct results. Instead of representing a value as a single number, interval arithmetic or interval mathematics represents each value as a range of possibilities.

Tolerance function (turquoise) and interval-valued approximation (red)

Mathematically, instead of working with an uncertain real-valued variable , interval arithmetic works with an interval that defines the range of values that can have. In other words, any value of the variable lies in the closed interval between and . A function , when applied to , produces an interval which includes all the possible values for for all .

Interval arithmetic is suitable for a variety of purposes; the most common use is in scientific works, particularly when the calculations are handled by software, where it is used to keep track of rounding errors in calculations and of uncertainties in the knowledge of the exact values of physical and technical parameters. The latter often arise from measurement errors and tolerances for components or due to limits on computational accuracy. Interval arithmetic also helps find guaranteed solutions to equations (such as differential equations) and optimization problems.

Introduction edit

The main objective of interval arithmetic is to provide a simple way of calculating upper and lower bounds of a function's range in one or more variables. These endpoints are not necessarily the true supremum or infimum of a range since the precise calculation of those values can be difficult or impossible; the bounds only need to contain the function's range as a subset.

This treatment is typically limited to real intervals, so quantities in the form

 

where   and   are allowed. With one of  ,   infinite, the interval would be an unbounded interval; with both infinite, the interval would be the extended real number line. Since a real number   can be interpreted as the interval   intervals and real numbers can be freely combined.

Example edit

 
Body mass index for a person 1.80 m tall in relation to body weight m (in kilograms)

Consider the calculation of a person's body mass index (BMI). BMI is calculated as a person's body weight in kilograms divided by the square of their height in meters. Suppose a person uses a scale that has a precision of one kilogram, where intermediate values cannot be discerned, and the true weight is rounded to the nearest whole number. For example, 79.6 kg and 80.3 kg are indistinguishable, as the scale can only display values to the nearest kilogram. It is unlikely that when the scale reads 80 kg, the person has a weight of exactly 80.0 kg. Thus, the scale displaying 80 kg indicates a weight between 79.5 kg and 80.5 kg, or the interval  .

The BMI of a man who weighs 80 kg and is 1.80m tall is approximately 24.7. A weight of 79.5 kg and the same height yields a BMI of 24.537, while a weight of 80.5 kg yields 24.846. Since the body mass is continuous and always increasing for all values within the specified weight interval, the true BMI must lie within the interval  . Since the entire interval is less than 25, which is the cutoff between normal and excessive weight, it can be concluded with certainty that the man is of normal weight.

The error in this example does not affect the conclusion (normal weight), but this is not generally true. If the man were slightly heavier, the BMI's range may include the cutoff value of 25. In such a case, the scale's precision would be insufficient to make a definitive conclusion.

The range of BMI examples could be reported as   since this interval is a superset of the calculated interval. The range could not, however, be reported as  , as the interval does not contain possible BMI values.

Multiple intervals edit

 
Body mass index for different weights in relation to height L (in meters)

Height and body weight both affect the value of the BMI. Though the example above only considered variation in weight, height is also subject to uncertainty. Height measurements in meters are usually rounded to the nearest centimeter: a recorded measurement of 1.79 meters represents a height in the interval  . Since the BMI uniformly increases with respect to weight and decreases with respect to height, the error interval can be calculated by substituting the lowest and highest values of each interval, and then selecting the lowest and highest results as boundaries. The BMI must therefore exist in the interval

 

In this case, the man may have normal weight or be overweight; the weight and height measurements were insufficiently precise to make a definitive conclusion.

Interval operators edit

A binary operation   on two intervals, such as addition or multiplication is defined by

 

In other words, it is the set of all possible values of  , where   and   are in their corresponding intervals. If   is monotone for each operand on the intervals, which is the case for the four basic arithmetic operations (except division when the denominator contains  ), the extreme values occur at the endpoints of the operand intervals. Writing out all combinations, one way of stating this is

 

provided that   is defined for all   and  .

For practical applications, this can be simplified further:

  • Addition:
     
  • Subtraction:
     
  • Multiplication:
     
  • Division:
     
    where
     

The last case loses useful information about the exclusion of  . Thus, it is common to work with   and   as separate intervals. More generally, when working with discontinuous functions, it is sometimes useful to do the calculation with so-called multi-intervals of the form   The corresponding multi-interval arithmetic maintains a set of (usually disjoint) intervals and also provides for overlapping intervals to unite.[1]

 
Multiplication of positive intervals

Interval multiplication often only requires two multiplications. If  ,   are nonnegative,

 

The multiplication can be interpreted as the area of a rectangle with varying edges. The result interval covers all possible areas, from the smallest to the largest.

With the help of these definitions, it is already possible to calculate the range of simple functions, such as   For example, if  ,   and  :

 

Notation edit

To shorten the notation of intervals, brackets can be used.

  can be used to represent an interval. Note that in such a compact notation,   should not be confused between a single-point interval   and a general interval. For the set of all intervals, we can use

 

as an abbreviation. For a vector of intervals   we can use a bold font:  .

Elementary functions edit

 
Values of a monotonic function

Interval functions beyond the four basic operators may also be defined.

For monotonic functions in one variable, the range of values is simple to compute. If   is monotonically increasing (resp. decreasing) in the interval   then for all   such that     (resp.  ).

The range corresponding to the interval   can be therefore calculated by applying the function to its endpoints:

 

From this, the following basic features for interval functions can easily be defined:

  • Exponential function:   for  
  • Logarithm:   for positive intervals   and  
  • Odd powers:  , for odd  

For even powers, the range of values being considered is important and needs to be dealt with before doing any multiplication. For example,   for   should produce the interval   when   But if   is taken by repeating interval multiplication of form   then the result is   wider than necessary.

More generally one can say that, for piecewise monotonic functions, it is sufficient to consider the endpoints  ,  of an interval, together with the so-called critical points within the interval, being those points where the monotonicity of the function changes direction. For the sine and cosine functions, the critical points are at   or   for  , respectively. Thus, only up to five points within an interval need to be considered, as the resulting interval is   if the interval includes at least two extrema. For sine and cosine, only the endpoints need full evaluation, as the critical points lead to easily pre-calculated values—namely -1, 0, and 1.

Interval extensions of general functions edit

In general, it may not be easy to find such a simple description of the output interval for many functions. But it may still be possible to extend functions to interval arithmetic. If   is a function from a real vector to a real number, then   is called an interval extension of   if

 

This definition of the interval extension does not give a precise result. For example, both   and   are allowable extensions of the exponential function. Tighter extensions are desirable, though the relative costs of calculation and imprecision should be considered; in this case,   should be chosen as it gives the tightest possible result.

Given a real expression, its natural interval extension is achieved by using the interval extensions of each of its subexpressions, functions, and operators.

The Taylor interval extension (of degree   ) is a   times differentiable function   defined by

 

for some  , where   is the  -th order differential of   at the point   and   is an interval extension of the Taylor remainder.

 
 
Mean value form

The vector   lies between   and   with  ,   is protected by  . Usually one chooses   to be the midpoint of the interval and uses the natural interval extension to assess the remainder.

The special case of the Taylor interval extension of degree   is also referred to as the mean value form.

Complex interval arithmetic edit

An interval can be defined as a set of points within a specified distance of the center, and this definition can be extended from real numbers to complex numbers.[2] Another extension defines intervals as rectangles in the complex plane. As is the case with computing with real numbers, computing with complex numbers involves uncertain data. So, given the fact that an interval number is a real closed interval and a complex number is an ordered pair of real numbers, there is no reason to limit the application of interval arithmetic to the measure of uncertainties in computations with real numbers.[3] Interval arithmetic can thus be extended, via complex interval numbers, to determine regions of uncertainty in computing with complex numbers. One can either define complex interval arithmetic using rectangles or using disks, both with their respective advantages and disadvantages.[3]

The basic algebraic operations for real interval numbers (real closed intervals) can be extended to complex numbers. It is therefore not surprising that complex interval arithmetic is similar to, but not the same as, ordinary complex arithmetic.[3] It can be shown that, as is the case with real interval arithmetic, there is no distributivity between the addition and multiplication of complex interval numbers except for certain special cases, and inverse elements do not always exist for complex interval numbers.[3] Two other useful properties of ordinary complex arithmetic fail to hold in complex interval arithmetic: the additive and multiplicative properties, of ordinary complex conjugates, do not hold for complex interval conjugates.[3]

Interval arithmetic can be extended, in an analogous manner, to other multidimensional number systems such as quaternions and octonions, but with the expense that we have to sacrifice other useful properties of ordinary arithmetic.[3]

Interval methods edit

The methods of classical numerical analysis cannot be transferred one-to-one into interval-valued algorithms, as dependencies between numerical values are usually not taken into account.

Rounded interval arithmetic edit

 
Outer bounds at different level of rounding

To work effectively in a real-life implementation, intervals must be compatible with floating point computing. The earlier operations were based on exact arithmetic, but in general fast numerical solution methods may not be available for it. The range of values of the function   for   and   are for example  . Where the same calculation is done with single-digit precision, the result would normally be  . But  , so this approach would contradict the basic principles of interval arithmetic, as a part of the domain of   would be lost. Instead, the outward rounded solution   is used.

The standard IEEE 754 for binary floating-point arithmetic also sets out procedures for the implementation of rounding. An IEEE 754 compliant system allows programmers to round to the nearest floating-point number; alternatives are rounding towards 0 (truncating), rounding toward positive infinity (i.e., up), or rounding towards negative infinity (i.e., down).

The required external rounding for interval arithmetic can thus be achieved by changing the rounding settings of the processor in the calculation of the upper limit (up) and lower limit (down). Alternatively, an appropriate small interval   can be added.

Dependency problem edit

 
Approximate estimate of the value range

The so-called "dependency" problem is a major obstacle to the application of interval arithmetic. Although interval methods can determine the range of elementary arithmetic operations and functions very accurately, this is not always true with more complicated functions. If an interval occurs several times in a calculation using parameters, and each occurrence is taken independently, then this can lead to an unwanted expansion of the resulting intervals.

 
Treating each occurrence of a variable independently

As an illustration, take the function   defined by   The values of this function over the interval   are   As the natural interval extension, it is calculated as:

 

which is slightly larger; we have instead calculated the infimum and supremum of the function   over   There is a better expression of   in which the variable   only appears once, namely by rewriting   as addition and squaring in the quadratic.

 

So the suitable interval calculation is

 

and gives the correct values.

In general, it can be shown that the exact range of values can be achieved, if each variable appears only once and if   is continuous inside the box. However, not every function can be rewritten this way.

 
Wrapping effect

The dependency of the problem causing over-estimation of the value range can go as far as covering a large range, preventing more meaningful conclusions.

An additional increase in the range stems from the solution of areas that do not take the form of an interval vector. The solution set of the linear system

 

is precisely the line between the points   and   Using interval methods results in the unit square,   This is known as the wrapping effect.

Linear interval systems edit

A linear interval system consists of a matrix interval extension   and an interval vector  . We want the smallest cuboid  , for all vectors   which there is a pair   with   and   satisfying.

 .

For quadratic systems – in other words, for   – there can be such an interval vector  , which covers all possible solutions, found simply with the interval Gauss method. This replaces the numerical operations, in that the linear algebra method known as Gaussian elimination becomes its interval version. However, since this method uses the interval entities  and   repeatedly in the calculation, it can produce poor results for some problems. Hence using the result of the interval-valued Gauss only provides first rough estimates, since although it contains the entire solution set, it also has a large area outside it.

A rough solution   can often be improved by an interval version of the Gauss–Seidel method. The motivation for this is that the  -th row of the interval extension of the linear equation.

 

can be determined by the variable   if the division   is allowed. It is therefore simultaneously.

  and  .

So we can now replace   by

 ,

and so the vector   by each element. Since the procedure is more efficient for a diagonally dominant matrix, instead of the system   one can often try multiplying it by an appropriate rational matrix   with the resulting matrix equation.

 

left to solve. If one chooses, for example,   for the central matrix  , then   is outer extension of the identity matrix.

These methods only work well if the widths of the intervals occurring are sufficiently small. For wider intervals, it can be useful to use an interval-linear system on finite (albeit large) real number equivalent linear systems. If all the matrices   are invertible, it is sufficient to consider all possible combinations (upper and lower) of the endpoints occurring in the intervals. The resulting problems can be resolved using conventional numerical methods. Interval arithmetic is still used to determine rounding errors.

This is only suitable for systems of smaller dimension, since with a fully occupied   matrix,   real matrices need to be inverted, with   vectors for the right-hand side. This approach was developed by Jiri Rohn and is still being developed.[4]

Interval Newton method edit

 
Reduction of the search area in the interval Newton step in "thick" functions.

An interval variant of Newton's method for finding the zeros in an interval vector   can be derived from the average value extension.[5] For an unknown vector   applied to  , gives.

 .

For a zero  , that is  , and thus, must satisfy.

 .

This is equivalent to  . An outer estimate of   can be determined using linear methods.

In each step of the interval Newton method, an approximate starting value   is replaced by   and so the result can be improved. In contrast to traditional methods, the interval method approaches the result by containing the zeros. This guarantees that the result produces all zeros in the initial range. Conversely, it proves that no zeros of   were in the initial range   if a Newton step produces the empty set.

The method converges on all zeros in the starting region. Division by zero can lead to the separation of distinct zeros, though the separation may not be complete; it can be complemented by the bisection method.

As an example, consider the function  , the starting range  , and the point  . We then have   and the first Newton step gives.

 .

More Newton steps are used separately on   and  . These converge to arbitrarily small intervals around   and  .

The Interval Newton method can also be used with thick functions such as  , which would in any case have interval results. The result then produces intervals containing  .

Bisection and covers edit

 
Rough estimate (turquoise) and improved estimates through "mincing" (red)

The various interval methods deliver conservative results as dependencies between the sizes of different interval extensions are not taken into account. However, the dependency problem becomes less significant for narrower intervals.

Covering an interval vector   by smaller boxes   so that

 

is then valid for the range of values.

 

So, for the interval extensions described above the following holds:

 

Since   is often a genuine superset of the right-hand side, this usually leads to an improved estimate.

Such a cover can be generated by the bisection method such as thick elements   of the interval vector   by splitting in the center into the two intervals   and   If the result is still not suitable then further gradual subdivision is possible. A cover of   intervals results from   divisions of vector elements, substantially increasing the computation costs.

With very wide intervals, it can be helpful to split all intervals into several subintervals with a constant (and smaller) width, a method known as mincing. This then avoids the calculations for intermediate bisection steps. Both methods are only suitable for problems of low dimension.

Application edit

Interval arithmetic can be used in various areas (such as set inversion, motion planning, set estimation, or stability analysis) to treat estimates with no exact numerical value.[6]

Rounding error analysis edit

Interval arithmetic is used with error analysis, to control rounding errors arising from each calculation. The advantage of interval arithmetic is that after each operation there is an interval that reliably includes the true result. The distance between the interval boundaries gives the current calculation of rounding errors directly:

Error =   for a given interval  .

Interval analysis adds to rather than substituting for traditional methods for error reduction, such as pivoting.

Tolerance analysis edit

Parameters for which no exact figures can be allocated often arise during the simulation of technical and physical processes. The production process of technical components allows certain tolerances, so some parameters fluctuate within intervals. In addition, many fundamental constants are not known precisely.[1]

If the behavior of such a system affected by tolerances satisfies, for example,  , for   and unknown   then the set of possible solutions.

 ,

can be found by interval methods. This provides an alternative to traditional propagation of error analysis. Unlike point methods, such as Monte Carlo simulation, interval arithmetic methodology ensures that no part of the solution area can be overlooked. However, the result is always a worst-case analysis for the distribution of error, as other probability-based distributions are not considered.

Fuzzy interval arithmetic edit

 
Approximation of the normal distribution by a sequence of intervals

Interval arithmetic can also be used with affiliation functions for fuzzy quantities as they are used in fuzzy logic. Apart from the strict statements   and  , intermediate values are also possible, to which real numbers   are assigned.   corresponds to definite membership while   is non-membership. A distribution function assigns uncertainty, which can be understood as a further interval.

For fuzzy arithmetic[7] only a finite number of discrete affiliation stages   are considered. The form of such a distribution for an indistinct value can then be represented by a sequence of intervals.

 

The interval   corresponds exactly to the fluctuation range for the stage  

The appropriate distribution for a function   concerning indistinct values   and the corresponding sequences.

 

can be approximated by the sequence.

 

where

 

and can be calculated by interval methods. The value   corresponds to the result of an interval calculation.

Computer-assisted proof edit

Warwick Tucker used interval arithmetic in order to solve the 14th of Smale's problems, that is, to show that the Lorenz attractor is a strange attractor.[8] Thomas Hales used interval arithmetic in order to solve the Kepler conjecture.

History edit

Interval arithmetic is not a completely new phenomenon in mathematics; it has appeared several times under different names in the course of history. For example, Archimedes calculated lower and upper bounds 223/71 < π < 22/7 in the 3rd century BC. Actual calculation with intervals has neither been as popular as other numerical techniques nor been completely forgotten.

Rules for calculating with intervals and other subsets of the real numbers were published in a 1931 work by Rosalind Cicely Young.[9] Arithmetic work on range numbers to improve the reliability of digital systems was then published in a 1951 textbook on linear algebra by Paul S. Dwyer [de];[10] intervals were used to measure rounding errors associated with floating-point numbers. A comprehensive paper on interval algebra in numerical analysis was published by Teruo Sunaga (1958).[11]

The birth of modern interval arithmetic was marked by the appearance of the book Interval Analysis by Ramon E. Moore in 1966.[12][13] He had the idea in spring 1958, and a year later he published an article about computer interval arithmetic.[14] Its merit was that starting with a simple principle, it provided a general method for automated error analysis, not just errors resulting from rounding.

Independently in 1956, Mieczyslaw Warmus suggested formulae for calculations with intervals,[15] though Moore found the first non-trivial applications.

In the following twenty years, German groups of researchers carried out pioneering work around Ulrich W. Kulisch[16][17] and Götz Alefeld [de][18] at the University of Karlsruhe and later also at the Bergische University of Wuppertal. For example, Karl Nickel [de] explored more effective implementations, while improved containment procedures for the solution set of systems of equations were due to Arnold Neumaier among others. In the 1960s, Eldon R. Hansen dealt with interval extensions for linear equations and then provided crucial contributions to global optimization, including what is now known as Hansen's method, perhaps the most widely used interval algorithm.[5] Classical methods in this often have the problem of determining the largest (or smallest) global value, but could only find a local optimum and could not find better values; Helmut Ratschek and Jon George Rokne developed branch and bound methods, which until then had only applied to integer values, by using intervals to provide applications for continuous values.

In 1988, Rudolf Lohner developed Fortran-based software for reliable solutions for initial value problems using ordinary differential equations.[19]

The journal Reliable Computing (originally Interval Computations) has been published since the 1990s, dedicated to the reliability of computer-aided computations. As lead editor, R. Baker Kearfott, in addition to his work on global optimization, has contributed significantly to the unification of notation and terminology used in interval arithmetic.[20]

In recent years work has concentrated in particular on the estimation of preimages of parameterized functions and to robust control theory by the COPRIN working group of INRIA in Sophia Antipolis in France.[21]

Implementations edit

There are many software packages that permit the development of numerical applications using interval arithmetic.[22] These are usually provided in the form of program libraries. There are also C++ and Fortran compilers that handle interval data types and suitable operations as a language extension, so interval arithmetic is supported directly.

Since 1967, Extensions for Scientific Computation (XSC) have been developed in the University of Karlsruhe for various programming languages, such as C++, Fortran, and Pascal.[23] The first platform was a Zuse Z23, for which a new interval data type with appropriate elementary operators was made available. There followed in 1976, Pascal-SC, a Pascal variant on a Zilog Z80 that it made possible to create fast, complicated routines for automated result verification. Then came the Fortran 77-based ACRITH-XSC for the System/370 architecture (FORTRAN-SC), which was later delivered by IBM. Starting from 1991 one could produce code for C compilers with Pascal-XSC; a year later the C++ class library supported C-XSC on many different computer systems. In 1997, all XSC variants were made available under the GNU General Public License. At the beginning of 2000, C-XSC 2.0 was released under the leadership of the working group for scientific computation at the Bergische University of Wuppertal to correspond to the improved C++ standard.

Another C++-class library was created in 1993 at the Hamburg University of Technology called Profil/BIAS (Programmer's Runtime Optimized Fast Interval Library, Basic Interval Arithmetic), which made the usual interval operations more user-friendly. It emphasized the efficient use of hardware, portability, and independence of a particular presentation of intervals.

The Boost collection of C++ libraries contains a template class for intervals. Its authors are aiming to have interval arithmetic in the standard C++ language.[24]

The Frink programming language has an implementation of interval arithmetic that handles arbitrary-precision numbers. Programs written in Frink can use intervals without rewriting or recompilation.

GAOL[25] is another C++ interval arithmetic library that is unique in that it offers the relational interval operators used in interval constraint programming.

The Moore library[26] is an efficient implementation of interval arithmetic in C++. It provides intervals with endpoints of arbitrary precision and is based on the concepts feature of C++.

The Julia programming language[27] has an implementation of interval arithmetics along with high-level features, such as root-finding (for both real and complex-valued functions) and interval constraint programming, via the ValidatedNumerics.jl package.[28]

In addition, computer algebra systems, such as FriCAS, Mathematica, Maple, Maxima (software)[29] and MuPAD, can handle intervals. A Matlab extension Intlab[30] builds on BLAS routines, and the Toolbox b4m makes a Profil/BIAS interface.[30][31] Moreover, the Software Euler Math Toolbox includes an interval arithmetic.

A library for the functional language OCaml was written in assembly language and C.[32]

IEEE 1788 standard edit

A standard for interval arithmetic, IEEE Std 1788-2015, has been approved in June 2015.[33] Two reference implementations are freely available.[34] These have been developed by members of the standard's working group: The libieeep1788[35] library for C++, and the interval package[36] for GNU Octave.

A minimal subset of the standard, IEEE Std 1788.1-2017, has been approved in December 2017 and published in February 2018. It should be easier to implement and may speed production of implementations.[37]

Conferences and workshops edit

Several international conferences or workshops take place every year in the world. The main conference is probably SCAN (International Symposium on Scientific Computing, Computer Arithmetic, and Verified Numerical Computation), but there is also SWIM (Small Workshop on Interval Methods), PPAM (International Conference on Parallel Processing and Applied Mathematics), REC (International Workshop on Reliable Engineering Computing).

See also edit

References edit

  1. ^ a b Dreyer, Alexander (2003). Interval Analysis of Analog Circuits with Component Tolerances. Aachen, Germany: Shaker Verlag. p. 15. ISBN 3-8322-4555-3.
  2. ^ Complex interval arithmetic and its applications, Miodrag S. Petković, Ljiljana D. Petković, Wiley-VCH, 1998, ISBN 978-3-527-40134-5
  3. ^ a b c d e f Hend Dawood (2011). Theories of Interval Arithmetic: Mathematical Foundations and Applications. Saarbrücken: LAP LAMBERT Academic Publishing. ISBN 978-3-8465-0154-2.
  4. ^ . Archived from the original on 2008-11-23. Retrieved 2008-05-26.
  5. ^ a b Walster, G. William; Hansen, Eldon Robert (2004). Global Optimization using Interval Analysis (2nd ed.). New York, USA: Marcel Dekker. ISBN 0-8247-4059-9.
  6. ^ Jaulin, Luc; Kieffer, Michel; Didrit, Olivier; Walter, Eric (2001). Applied Interval Analysis. Berlin: Springer. ISBN 1-85233-219-0.
  7. ^ Application of Fuzzy Arithmetic to Quantifying the Effects of Uncertain Model Parameters, Michael Hanss, University of Stuttgart
  8. ^ Tucker, Warwick (1999). The Lorenz attractor exists. Comptes Rendus de l'Académie des Sciences-Series I-Mathematics, 328(12), 1197-1202.
  9. ^ Young, Rosalind Cicely (1931). The algebra of many-valued quantities. Mathematische Annalen, 104(1), 260-290. (NB. A doctoral candidate at the University of Cambridge.)
  10. ^ Dwyer, Paul Sumner (1951). Linear computations. Oxford, England: Wiley. (University of Michigan)
  11. ^ Sunaga, Teruo (1958). "Theory of interval algebra and its application to numerical analysis". RAAG Memoirs (2): 29–46.
  12. ^ Moore, Ramon Edgar (1966). Interval Analysis. Englewood Cliff, New Jersey, USA: Prentice-Hall. ISBN 0-13-476853-1.
  13. ^ Cloud, Michael J.; Moore, Ramon Edgar; Kearfott, R. Baker (2009). Introduction to Interval Analysis. Philadelphia: Society for Industrial and Applied Mathematics (SIAM). ISBN 978-0-89871-669-6.
  14. ^ Hansen, Eldon Robert (2001-08-13). "Publications Related to Early Interval Work of R. E. Moore". University of Louisiana at Lafayette Press. Retrieved 2015-06-29.
  15. ^ Precursory papers on interval analysis by Mieczyslaw Warmus 2008-04-18 at the Wayback Machine
  16. ^ Kulisch, Ulrich W. (1989). Wissenschaftliches Rechnen mit Ergebnisverifikation. Eine Einführung (in German). Wiesbaden: Vieweg-Verlag. ISBN 3-528-08943-1.
  17. ^ Kulisch, Ulrich W. (1969). "Grundzüge der Intervallrechnung". In Laugwitz, Detlef (ed.). Jahrbuch Überblicke Mathematik (in German). Vol. 2. Mannheim, Germany: Bibliographisches Institut. pp. 51–98.
  18. ^ Alefeld, Götz [in German]; Herzberger, Jürgen (1974). Einführung in die Intervallrechnung. Reihe Informatik (in German). Vol. 12. Mannheim, Wien, Zürich: B.I.-Wissenschaftsverlag. ISBN 3-411-01466-0.
  19. ^ Bounds for ordinary differential equations of Rudolf Lohner 11 May 2018 at the Wayback Machine (in German)
  20. ^ Bibliography of R. Baker Kearfott, University of Louisiana at Lafayette
  21. ^ Introductory Film (mpeg) of the COPRIN teams of INRIA, Sophia Antipolis
  22. ^ Software for Interval Computations 2006-03-02 at the Wayback Machine collected by Vladik Kreinovich, University of Texas at El Paso.
  23. ^ History of XSC-Languages 2007-09-29 at the Wayback Machine
  24. ^ A Proposal to add Interval Arithmetic to the C++ Standard Library
  25. ^ Gaol is Not Just Another Interval Arithmetic Library
  26. ^ Moore: Interval Arithmetic in Modern C++
  27. ^ The Julia programming language
  28. ^ ValidatedNumerics.jl
  29. ^ [1] Interval Arithmetic for Maxima: A Brief Summary by Richard J. Fateman.]
  30. ^ a b . Archived from the original on 2020-01-30. Retrieved 2012-11-07.
  31. ^ b4m
  32. ^ Alliot, Jean-Marc; Gotteland, Jean-Baptiste; Vanaret, Charlie; Durand, Nicolas; Gianazza, David (2012). Implementing an interval computation library for OCaml on x86/amd64 architectures. 17th ACM SIGPLAN International Conference on Functional Programming.
  33. ^ IEEE Standard for Interval Arithmetic
  34. ^ Nathalie Revol (2015). The (near-)future IEEE 1788 standard for interval arithmetic, slides // SWIM 2015: 8th Small Workshop in Interval Methods. Prague, 9–11 June 2015
  35. ^ C++ implementation of the preliminary IEEE P1788 standard for interval arithmetic
  36. ^ GNU Octave interval package
  37. ^ . IEEE Standard. IEEE Standards Association. 2017. Archived from the original on 2018-02-07. Retrieved 2018-02-06.

Further reading edit

  • Hayes, Brian (November–December 2003). "A Lucid Interval" (PDF). American Scientist. 91 (6). Sigma Xi: 484–488. doi:10.1511/2003.6.484.
  • Tucker, Warwick (2011). Validated numerics: a short introduction to rigorous computations. Princeton University Press. ISBN 978-1400838974.
  • Wippermann, Hans-Wilm (1968) [1967-06-15, 1966]. "Definition von Schrankenzahlen in Triplex-ALGOL". Computing (in German). 3 (2). Karlsruhe, Germany: Springer: 99–109. doi:10.1007/BF02277452. ISSN 0010-485X. S2CID 36685400. (11 pages) (NB. About Triplex-ALGOL Karlsruhe, an ALGOL 60 (1963) implementation with support for triplex numbers.)

External links edit

  • Interval arithmetic (Wolfram Mathworld)
  • Validated Numerics for Pedestrians
  • Interval Methods from Arnold Neumaier, University of Vienna
  • SWIM (Summer Workshop on Interval Methods)
  • International Conference on Parallel Processing and Applied Mathematics
  • INTLAB, Institute for Reliable Computing 2020-01-30 at the Wayback Machine, Hamburg University of Technology
  • Ball arithmetic by Joris van der Hoeven
  • kv - a C++ Library for Verified Numerical Computation
  • Arb - a C library for arbitrary-precision ball arithmetic
  • JuliaIntervals on GitHub

interval, arithmetic, this, article, multiple, issues, please, help, improve, discuss, these, issues, talk, page, learn, when, remove, these, template, messages, this, article, needs, additional, citations, verification, please, help, improve, this, article, a. This article has multiple issues Please help improve it or discuss these issues on the talk page Learn how and when to remove these template messages This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Interval arithmetic news newspapers books scholar JSTOR January 2020 Learn how and when to remove this template message This article s tone or style may not reflect the encyclopedic tone used on Wikipedia See Wikipedia s guide to writing better articles for suggestions February 2020 Learn how and when to remove this template message Learn how and when to remove this template message Interval arithmetic also known as interval mathematics interval analysis or interval computation is a mathematical technique used to mitigate rounding and measurement errors in mathematical computation by computing function bounds Numerical methods involving interval arithmetic can guarantee relatively reliable and mathematically correct results Instead of representing a value as a single number interval arithmetic or interval mathematics represents each value as a range of possibilities Tolerance function turquoise and interval valued approximation red Mathematically instead of working with an uncertain real valued variable x displaystyle x interval arithmetic works with an interval a b displaystyle a b that defines the range of values that x displaystyle x can have In other words any value of the variable x displaystyle x lies in the closed interval between a displaystyle a and b displaystyle b A function f displaystyle f when applied to x displaystyle x produces an interval c d displaystyle c d which includes all the possible values for f x displaystyle f x for all x a b displaystyle x in a b Interval arithmetic is suitable for a variety of purposes the most common use is in scientific works particularly when the calculations are handled by software where it is used to keep track of rounding errors in calculations and of uncertainties in the knowledge of the exact values of physical and technical parameters The latter often arise from measurement errors and tolerances for components or due to limits on computational accuracy Interval arithmetic also helps find guaranteed solutions to equations such as differential equations and optimization problems Contents 1 Introduction 1 1 Example 1 1 1 Multiple intervals 2 Interval operators 2 1 Notation 2 2 Elementary functions 2 3 Interval extensions of general functions 3 Complex interval arithmetic 4 Interval methods 4 1 Rounded interval arithmetic 4 2 Dependency problem 4 3 Linear interval systems 4 4 Interval Newton method 4 5 Bisection and covers 5 Application 5 1 Rounding error analysis 5 2 Tolerance analysis 5 3 Fuzzy interval arithmetic 5 4 Computer assisted proof 6 History 7 Implementations 8 IEEE 1788 standard 9 Conferences and workshops 10 See also 11 References 12 Further reading 13 External linksIntroduction editThe main objective of interval arithmetic is to provide a simple way of calculating upper and lower bounds of a function s range in one or more variables These endpoints are not necessarily the true supremum or infimum of a range since the precise calculation of those values can be difficult or impossible the bounds only need to contain the function s range as a subset This treatment is typically limited to real intervals so quantities in the form a b x R a x b displaystyle a b x in mathbb R mid a leq x leq b nbsp where a displaystyle a infty nbsp and b displaystyle b infty nbsp are allowed With one of a displaystyle a nbsp b displaystyle b nbsp infinite the interval would be an unbounded interval with both infinite the interval would be the extended real number line Since a real number r displaystyle r nbsp can be interpreted as the interval r r displaystyle r r nbsp intervals and real numbers can be freely combined Example edit nbsp Body mass index for a person 1 80 m tall in relation to body weight m in kilograms Consider the calculation of a person s body mass index BMI BMI is calculated as a person s body weight in kilograms divided by the square of their height in meters Suppose a person uses a scale that has a precision of one kilogram where intermediate values cannot be discerned and the true weight is rounded to the nearest whole number For example 79 6 kg and 80 3 kg are indistinguishable as the scale can only display values to the nearest kilogram It is unlikely that when the scale reads 80 kg the person has a weight of exactly 80 0 kg Thus the scale displaying 80 kg indicates a weight between 79 5 kg and 80 5 kg or the interval 79 5 80 5 displaystyle 79 5 80 5 nbsp The BMI of a man who weighs 80 kg and is 1 80m tall is approximately 24 7 A weight of 79 5 kg and the same height yields a BMI of 24 537 while a weight of 80 5 kg yields 24 846 Since the body mass is continuous and always increasing for all values within the specified weight interval the true BMI must lie within the interval 24 537 24 846 displaystyle 24 537 24 846 nbsp Since the entire interval is less than 25 which is the cutoff between normal and excessive weight it can be concluded with certainty that the man is of normal weight The error in this example does not affect the conclusion normal weight but this is not generally true If the man were slightly heavier the BMI s range may include the cutoff value of 25 In such a case the scale s precision would be insufficient to make a definitive conclusion The range of BMI examples could be reported as 24 5 24 9 displaystyle 24 5 24 9 nbsp since this interval is a superset of the calculated interval The range could not however be reported as 24 6 24 8 displaystyle 24 6 24 8 nbsp as the interval does not contain possible BMI values Multiple intervals edit nbsp Body mass index for different weights in relation to height L in meters Height and body weight both affect the value of the BMI Though the example above only considered variation in weight height is also subject to uncertainty Height measurements in meters are usually rounded to the nearest centimeter a recorded measurement of 1 79 meters represents a height in the interval 1 785 1 795 displaystyle 1 785 1 795 nbsp Since the BMI uniformly increases with respect to weight and decreases with respect to height the error interval can be calculated by substituting the lowest and highest values of each interval and then selecting the lowest and highest results as boundaries The BMI must therefore exist in the interval 79 5 80 5 1 785 1 795 2 24 673 25 266 displaystyle frac 79 5 80 5 1 785 1 795 2 subseteq 24 673 25 266 nbsp In this case the man may have normal weight or be overweight the weight and height measurements were insufficiently precise to make a definitive conclusion Interval operators editA binary operation displaystyle star nbsp on two intervals such as addition or multiplication is defined by x1 x2 y1 y2 x y x x1 x2 y y1 y2 displaystyle x 1 x 2 star y 1 y 2 x star y x in x 1 x 2 land y in y 1 y 2 nbsp In other words it is the set of all possible values of x y displaystyle x star y nbsp where x displaystyle x nbsp and y displaystyle y nbsp are in their corresponding intervals If displaystyle star nbsp is monotone for each operand on the intervals which is the case for the four basic arithmetic operations except division when the denominator contains 0 displaystyle 0 nbsp the extreme values occur at the endpoints of the operand intervals Writing out all combinations one way of stating this is x1 x2 y1 y2 min x1 y1 x1 y2 x2 y1 x2 y2 max x1 y1 x1 y2 x2 y1 x2 y2 displaystyle x 1 x 2 star y 1 y 2 left min x 1 star y 1 x 1 star y 2 x 2 star y 1 x 2 star y 2 max x 1 star y 1 x 1 star y 2 x 2 star y 1 x 2 star y 2 right nbsp provided that x y displaystyle x star y nbsp is defined for all x x1 x2 displaystyle x in x 1 x 2 nbsp and y y1 y2 displaystyle y in y 1 y 2 nbsp For practical applications this can be simplified further Addition x1 x2 y1 y2 x1 y1 x2 y2 displaystyle x 1 x 2 y 1 y 2 x 1 y 1 x 2 y 2 nbsp Subtraction x1 x2 y1 y2 x1 y2 x2 y1 displaystyle x 1 x 2 y 1 y 2 x 1 y 2 x 2 y 1 nbsp Multiplication x1 x2 y1 y2 min x1y1 x1y2 x2y1 x2y2 max x1y1 x1y2 x2y1 x2y2 displaystyle x 1 x 2 cdot y 1 y 2 min x 1 y 1 x 1 y 2 x 2 y 1 x 2 y 2 max x 1 y 1 x 1 y 2 x 2 y 1 x 2 y 2 nbsp Division x1 x2 y1 y2 x1 x2 1 y1 y2 displaystyle frac x 1 x 2 y 1 y 2 x 1 x 2 cdot frac 1 y 1 y 2 nbsp where 1 y1 y2 1y2 1y1 if0 y1 y2 1 y1 0 1y1 1 0 y2 1y2 1 y1 y2 1y1 1y2 if0 y1 y2 displaystyle begin aligned frac 1 y 1 y 2 amp left tfrac 1 y 2 tfrac 1 y 1 right amp amp textrm if 0 notin y 1 y 2 frac 1 y 1 0 amp left infty tfrac 1 y 1 right frac 1 0 y 2 amp left tfrac 1 y 2 infty right frac 1 y 1 y 2 amp left infty tfrac 1 y 1 right cup left tfrac 1 y 2 infty right subseteq infty infty amp amp textrm if 0 in y 1 y 2 end aligned nbsp The last case loses useful information about the exclusion of 1 y1 1 y2 displaystyle 1 y 1 1 y 2 nbsp Thus it is common to work with 1y1 displaystyle left infty tfrac 1 y 1 right nbsp and 1y2 displaystyle left tfrac 1 y 2 infty right nbsp as separate intervals More generally when working with discontinuous functions it is sometimes useful to do the calculation with so called multi intervals of the form i ai bi textstyle bigcup i left a i b i right nbsp The corresponding multi interval arithmetic maintains a set of usually disjoint intervals and also provides for overlapping intervals to unite 1 nbsp Multiplication of positive intervalsInterval multiplication often only requires two multiplications If x1 displaystyle x 1 nbsp y1 displaystyle y 1 nbsp are nonnegative x1 x2 y1 y2 x1 y1 x2 y2 if x1 y1 0 displaystyle x 1 x 2 cdot y 1 y 2 x 1 cdot y 1 x 2 cdot y 2 qquad text if x 1 y 1 geq 0 nbsp The multiplication can be interpreted as the area of a rectangle with varying edges The result interval covers all possible areas from the smallest to the largest With the help of these definitions it is already possible to calculate the range of simple functions such as f a b x a x b displaystyle f a b x a cdot x b nbsp For example if a 1 2 displaystyle a 1 2 nbsp b 5 7 displaystyle b 5 7 nbsp and x 2 3 displaystyle x 2 3 nbsp f a b x 1 2 2 3 5 7 1 2 2 3 5 7 7 13 displaystyle f a b x 1 2 cdot 2 3 5 7 1 cdot 2 2 cdot 3 5 7 7 13 nbsp Notation edit To shorten the notation of intervals brackets can be used x x1 x2 displaystyle x equiv x 1 x 2 nbsp can be used to represent an interval Note that in such a compact notation x displaystyle x nbsp should not be confused between a single point interval x1 x1 displaystyle x 1 x 1 nbsp and a general interval For the set of all intervals we can use R x1 x2 x1 x2 and x1 x2 R displaystyle mathbb R left x 1 x 2 x 1 leq x 2 text and x 1 x 2 in mathbb R cup infty infty right nbsp as an abbreviation For a vector of intervals x 1 x n R n displaystyle left x 1 ldots x n right in mathbb R n nbsp we can use a bold font x displaystyle mathbf x nbsp Elementary functions edit nbsp Values of a monotonic functionInterval functions beyond the four basic operators may also be defined For monotonic functions in one variable the range of values is simple to compute If f R R displaystyle f mathbb R to mathbb R nbsp is monotonically increasing resp decreasing in the interval x1 x2 displaystyle x 1 x 2 nbsp then for all y1 y2 x1 x2 displaystyle y 1 y 2 in x 1 x 2 nbsp such that y1 y2 displaystyle y 1 leq y 2 nbsp f y1 lt f y2 displaystyle f y 1 lt f y 2 nbsp resp f y2 lt f y1 displaystyle f y 2 lt f y 1 nbsp The range corresponding to the interval y1 y2 x1 x2 displaystyle y 1 y 2 subseteq x 1 x 2 nbsp can be therefore calculated by applying the function to its endpoints f y1 y2 min f y1 f y2 max f y1 f y2 displaystyle f y 1 y 2 left min left f y 1 f y 2 right max left f y 1 f y 2 right right nbsp From this the following basic features for interval functions can easily be defined Exponential function a x1 x2 ax1 ax2 displaystyle a x 1 x 2 a x 1 a x 2 nbsp for a gt 1 displaystyle a gt 1 nbsp Logarithm loga x1 x2 loga x1 loga x2 displaystyle log a x 1 x 2 log a x 1 log a x 2 nbsp for positive intervals x1 x2 displaystyle x 1 x 2 nbsp and a gt 1 displaystyle a gt 1 nbsp Odd powers x1 x2 n x1n x2n displaystyle x 1 x 2 n x 1 n x 2 n nbsp for odd n N displaystyle n in mathbb N nbsp For even powers the range of values being considered is important and needs to be dealt with before doing any multiplication For example xn displaystyle x n nbsp for x 1 1 displaystyle x in 1 1 nbsp should produce the interval 0 1 displaystyle 0 1 nbsp when n 2 4 6 displaystyle n 2 4 6 ldots nbsp But if 1 1 n displaystyle 1 1 n nbsp is taken by repeating interval multiplication of form 1 1 1 1 1 1 displaystyle 1 1 cdot 1 1 cdot cdots cdot 1 1 nbsp then the result is 1 1 displaystyle 1 1 nbsp wider than necessary More generally one can say that for piecewise monotonic functions it is sufficient to consider the endpoints x1 displaystyle x 1 nbsp x2 displaystyle x 2 nbsp of an interval together with the so called critical points within the interval being those points where the monotonicity of the function changes direction For the sine and cosine functions the critical points are at 12 n p displaystyle left tfrac 1 2 n right pi nbsp or np displaystyle n pi nbsp for n Z displaystyle n in mathbb Z nbsp respectively Thus only up to five points within an interval need to be considered as the resulting interval is 1 1 displaystyle 1 1 nbsp if the interval includes at least two extrema For sine and cosine only the endpoints need full evaluation as the critical points lead to easily pre calculated values namely 1 0 and 1 Interval extensions of general functions edit In general it may not be easy to find such a simple description of the output interval for many functions But it may still be possible to extend functions to interval arithmetic If f Rn R displaystyle f mathbb R n to mathbb R nbsp is a function from a real vector to a real number then f R n R displaystyle f mathbb R n to mathbb R nbsp is called an interval extension of f displaystyle f nbsp if f x f y y x displaystyle f mathbf x supseteq f mathbf y mid mathbf y in mathbf x nbsp This definition of the interval extension does not give a precise result For example both f x1 x2 ex1 ex2 displaystyle f x 1 x 2 e x 1 e x 2 nbsp and g x1 x2 displaystyle g x 1 x 2 infty infty nbsp are allowable extensions of the exponential function Tighter extensions are desirable though the relative costs of calculation and imprecision should be considered in this case f displaystyle f nbsp should be chosen as it gives the tightest possible result Given a real expression its natural interval extension is achieved by using the interval extensions of each of its subexpressions functions and operators The Taylor interval extension of degree k displaystyle k nbsp is a k 1 displaystyle k 1 nbsp times differentiable function f displaystyle f nbsp defined by f x f y i 1k1i Dif y x y i r x x y displaystyle f mathbf x f mathbf y sum i 1 k frac 1 i mathrm D i f mathbf y cdot mathbf x mathbf y i r mathbf x mathbf x mathbf y nbsp for some y x displaystyle mathbf y in mathbf x nbsp where Dif y displaystyle mathrm D i f mathbf y nbsp is the i displaystyle i nbsp th order differential of f displaystyle f nbsp at the point y displaystyle mathbf y nbsp and r displaystyle r nbsp is an interval extension of the Taylor remainder r x 3 y 1 k 1 Dk 1f 3 x y k 1 displaystyle r mathbf x xi mathbf y frac 1 k 1 mathrm D k 1 f xi cdot mathbf x mathbf y k 1 nbsp nbsp Mean value formThe vector 3 displaystyle xi nbsp lies between x displaystyle mathbf x nbsp and y displaystyle mathbf y nbsp with x y x displaystyle mathbf x mathbf y in mathbf x nbsp 3 displaystyle xi nbsp is protected by x displaystyle mathbf x nbsp Usually one chooses y displaystyle mathbf y nbsp to be the midpoint of the interval and uses the natural interval extension to assess the remainder The special case of the Taylor interval extension of degree k 0 displaystyle k 0 nbsp is also referred to as the mean value form Complex interval arithmetic editAn interval can be defined as a set of points within a specified distance of the center and this definition can be extended from real numbers to complex numbers 2 Another extension defines intervals as rectangles in the complex plane As is the case with computing with real numbers computing with complex numbers involves uncertain data So given the fact that an interval number is a real closed interval and a complex number is an ordered pair of real numbers there is no reason to limit the application of interval arithmetic to the measure of uncertainties in computations with real numbers 3 Interval arithmetic can thus be extended via complex interval numbers to determine regions of uncertainty in computing with complex numbers One can either define complex interval arithmetic using rectangles or using disks both with their respective advantages and disadvantages 3 The basic algebraic operations for real interval numbers real closed intervals can be extended to complex numbers It is therefore not surprising that complex interval arithmetic is similar to but not the same as ordinary complex arithmetic 3 It can be shown that as is the case with real interval arithmetic there is no distributivity between the addition and multiplication of complex interval numbers except for certain special cases and inverse elements do not always exist for complex interval numbers 3 Two other useful properties of ordinary complex arithmetic fail to hold in complex interval arithmetic the additive and multiplicative properties of ordinary complex conjugates do not hold for complex interval conjugates 3 Interval arithmetic can be extended in an analogous manner to other multidimensional number systems such as quaternions and octonions but with the expense that we have to sacrifice other useful properties of ordinary arithmetic 3 Interval methods editThis section needs additional citations for verification Please help improve this article by adding citations to reliable sources in this section Unsourced material may be challenged and removed February 2018 Learn how and when to remove this template message The methods of classical numerical analysis cannot be transferred one to one into interval valued algorithms as dependencies between numerical values are usually not taken into account Rounded interval arithmetic edit nbsp Outer bounds at different level of roundingTo work effectively in a real life implementation intervals must be compatible with floating point computing The earlier operations were based on exact arithmetic but in general fast numerical solution methods may not be available for it The range of values of the function f x y x y displaystyle f x y x y nbsp for x 0 1 0 8 displaystyle x in 0 1 0 8 nbsp and y 0 06 0 08 displaystyle y in 0 06 0 08 nbsp are for example 0 16 0 88 displaystyle 0 16 0 88 nbsp Where the same calculation is done with single digit precision the result would normally be 0 2 0 9 displaystyle 0 2 0 9 nbsp But 0 2 0 9 0 16 0 88 displaystyle 0 2 0 9 not supseteq 0 16 0 88 nbsp so this approach would contradict the basic principles of interval arithmetic as a part of the domain of f 0 1 0 8 0 06 0 08 displaystyle f 0 1 0 8 0 06 0 08 nbsp would be lost Instead the outward rounded solution 0 1 0 9 displaystyle 0 1 0 9 nbsp is used The standard IEEE 754 for binary floating point arithmetic also sets out procedures for the implementation of rounding An IEEE 754 compliant system allows programmers to round to the nearest floating point number alternatives are rounding towards 0 truncating rounding toward positive infinity i e up or rounding towards negative infinity i e down The required external rounding for interval arithmetic can thus be achieved by changing the rounding settings of the processor in the calculation of the upper limit up and lower limit down Alternatively an appropriate small interval e1 e2 displaystyle varepsilon 1 varepsilon 2 nbsp can be added Dependency problem edit nbsp Approximate estimate of the value rangeThe so called dependency problem is a major obstacle to the application of interval arithmetic Although interval methods can determine the range of elementary arithmetic operations and functions very accurately this is not always true with more complicated functions If an interval occurs several times in a calculation using parameters and each occurrence is taken independently then this can lead to an unwanted expansion of the resulting intervals nbsp Treating each occurrence of a variable independentlyAs an illustration take the function f displaystyle f nbsp defined by f x x2 x displaystyle f x x 2 x nbsp The values of this function over the interval 1 1 displaystyle 1 1 nbsp are 14 2 displaystyle left tfrac 1 4 2 right nbsp As the natural interval extension it is calculated as 1 1 2 1 1 0 1 1 1 1 2 displaystyle 1 1 2 1 1 0 1 1 1 1 2 nbsp which is slightly larger we have instead calculated the infimum and supremum of the function h x y x2 y displaystyle h x y x 2 y nbsp over x y 1 1 displaystyle x y in 1 1 nbsp There is a better expression of f displaystyle f nbsp in which the variable x displaystyle x nbsp only appears once namely by rewriting f x x2 x displaystyle f x x 2 x nbsp as addition and squaring in the quadratic f x x 12 2 14 displaystyle f x left x frac 1 2 right 2 frac 1 4 nbsp So the suitable interval calculation is 1 1 12 2 14 12 32 2 14 0 94 14 14 2 displaystyle left 1 1 frac 1 2 right 2 frac 1 4 left frac 1 2 frac 3 2 right 2 frac 1 4 left 0 frac 9 4 right frac 1 4 left frac 1 4 2 right nbsp and gives the correct values In general it can be shown that the exact range of values can be achieved if each variable appears only once and if f displaystyle f nbsp is continuous inside the box However not every function can be rewritten this way nbsp Wrapping effectThe dependency of the problem causing over estimation of the value range can go as far as covering a large range preventing more meaningful conclusions An additional increase in the range stems from the solution of areas that do not take the form of an interval vector The solution set of the linear system x py pp 1 1 displaystyle begin cases x p y p end cases qquad p in 1 1 nbsp is precisely the line between the points 1 1 displaystyle 1 1 nbsp and 1 1 displaystyle 1 1 nbsp Using interval methods results in the unit square 1 1 1 1 displaystyle 1 1 times 1 1 nbsp This is known as the wrapping effect Linear interval systems edit A linear interval system consists of a matrix interval extension A R n m displaystyle mathbf A in mathbb R n times m nbsp and an interval vector b R n displaystyle mathbf b in mathbb R n nbsp We want the smallest cuboid x R m displaystyle mathbf x in mathbb R m nbsp for all vectors x Rm displaystyle mathbf x in mathbb R m nbsp which there is a pair A b displaystyle mathbf A mathbf b nbsp with A A displaystyle mathbf A in mathbf A nbsp and b b displaystyle mathbf b in mathbf b nbsp satisfying A x b displaystyle mathbf A cdot mathbf x mathbf b nbsp For quadratic systems in other words for n m displaystyle n m nbsp there can be such an interval vector x displaystyle mathbf x nbsp which covers all possible solutions found simply with the interval Gauss method This replaces the numerical operations in that the linear algebra method known as Gaussian elimination becomes its interval version However since this method uses the interval entities A displaystyle mathbf A nbsp and b displaystyle mathbf b nbsp repeatedly in the calculation it can produce poor results for some problems Hence using the result of the interval valued Gauss only provides first rough estimates since although it contains the entire solution set it also has a large area outside it A rough solution x displaystyle mathbf x nbsp can often be improved by an interval version of the Gauss Seidel method The motivation for this is that the i displaystyle i nbsp th row of the interval extension of the linear equation a11 a1n an1 ann x1 xn b1 bn displaystyle begin pmatrix a 11 amp cdots amp a 1n vdots amp ddots amp vdots a n1 amp cdots amp a nn end pmatrix cdot begin pmatrix x 1 vdots x n end pmatrix begin pmatrix b 1 vdots b n end pmatrix nbsp can be determined by the variable xi displaystyle x i nbsp if the division 1 aii displaystyle 1 a ii nbsp is allowed It is therefore simultaneously xj xj displaystyle x j in x j nbsp and xj bi k j aik xk aii displaystyle x j in frac b i sum limits k not j a ik cdot x k a ii nbsp So we can now replace xj displaystyle x j nbsp by xj bi k j aik xk aii displaystyle x j cap frac b i sum limits k not j a ik cdot x k a ii nbsp and so the vector x displaystyle mathbf x nbsp by each element Since the procedure is more efficient for a diagonally dominant matrix instead of the system A x b displaystyle mathbf A cdot mathbf x mathbf b mbox nbsp one can often try multiplying it by an appropriate rational matrix M displaystyle mathbf M nbsp with the resulting matrix equation M A x M b displaystyle mathbf M cdot mathbf A cdot mathbf x mathbf M cdot mathbf b nbsp left to solve If one chooses for example M A 1 displaystyle mathbf M mathbf A 1 nbsp for the central matrix A A displaystyle mathbf A in mathbf A nbsp then M A displaystyle mathbf M cdot mathbf A nbsp is outer extension of the identity matrix These methods only work well if the widths of the intervals occurring are sufficiently small For wider intervals it can be useful to use an interval linear system on finite albeit large real number equivalent linear systems If all the matrices A A displaystyle mathbf A in mathbf A nbsp are invertible it is sufficient to consider all possible combinations upper and lower of the endpoints occurring in the intervals The resulting problems can be resolved using conventional numerical methods Interval arithmetic is still used to determine rounding errors This is only suitable for systems of smaller dimension since with a fully occupied n n displaystyle n times n nbsp matrix 2n2 displaystyle 2 n 2 nbsp real matrices need to be inverted with 2n displaystyle 2 n nbsp vectors for the right hand side This approach was developed by Jiri Rohn and is still being developed 4 Interval Newton method edit nbsp Reduction of the search area in the interval Newton step in thick functions An interval variant of Newton s method for finding the zeros in an interval vector x displaystyle mathbf x nbsp can be derived from the average value extension 5 For an unknown vector z x displaystyle mathbf z in mathbf x nbsp applied to y x displaystyle mathbf y in mathbf x nbsp gives f z f y Jf x z y displaystyle f mathbf z in f mathbf y J f mathbf x cdot mathbf z mathbf y nbsp For a zero z displaystyle mathbf z nbsp that is f z 0 displaystyle f z 0 nbsp and thus must satisfy f y Jf x z y 0 displaystyle f mathbf y J f mathbf x cdot mathbf z mathbf y 0 nbsp This is equivalent to z y Jf x 1 f y displaystyle mathbf z in mathbf y J f mathbf x 1 cdot f mathbf y nbsp An outer estimate of Jf x 1 f y displaystyle J f mathbf x 1 cdot f mathbf y nbsp can be determined using linear methods In each step of the interval Newton method an approximate starting value x R n displaystyle mathbf x in mathbb R n nbsp is replaced by x y Jf x 1 f y displaystyle mathbf x cap left mathbf y J f mathbf x 1 cdot f mathbf y right nbsp and so the result can be improved In contrast to traditional methods the interval method approaches the result by containing the zeros This guarantees that the result produces all zeros in the initial range Conversely it proves that no zeros of f displaystyle f nbsp were in the initial range x displaystyle mathbf x nbsp if a Newton step produces the empty set The method converges on all zeros in the starting region Division by zero can lead to the separation of distinct zeros though the separation may not be complete it can be complemented by the bisection method As an example consider the function f x x2 2 displaystyle f x x 2 2 nbsp the starting range x 2 2 displaystyle x 2 2 nbsp and the point y 0 displaystyle y 0 nbsp We then have Jf x 2x displaystyle J f x 2 x nbsp and the first Newton step gives 2 2 0 12 2 2 0 2 2 2 0 5 0 5 2 0 5 0 5 2 displaystyle 2 2 cap left 0 frac 1 2 cdot 2 2 0 2 right 2 2 cap Big infty 0 5 cup 0 5 infty Big 2 0 5 cup 0 5 2 nbsp More Newton steps are used separately on x 2 0 5 displaystyle x in 2 0 5 nbsp and 0 5 2 displaystyle 0 5 2 nbsp These converge to arbitrarily small intervals around 2 displaystyle sqrt 2 nbsp and 2 displaystyle sqrt 2 nbsp The Interval Newton method can also be used with thick functions such as g x x2 2 3 displaystyle g x x 2 2 3 nbsp which would in any case have interval results The result then produces intervals containing 3 2 2 3 displaystyle left sqrt 3 sqrt 2 right cup left sqrt 2 sqrt 3 right nbsp Bisection and covers edit nbsp Rough estimate turquoise and improved estimates through mincing red The various interval methods deliver conservative results as dependencies between the sizes of different interval extensions are not taken into account However the dependency problem becomes less significant for narrower intervals Covering an interval vector x displaystyle mathbf x nbsp by smaller boxes x1 xk displaystyle mathbf x 1 ldots mathbf x k nbsp so that x i 1k xi displaystyle mathbf x bigcup i 1 k mathbf x i nbsp is then valid for the range of values f x i 1kf xi displaystyle f mathbf x bigcup i 1 k f mathbf x i nbsp So for the interval extensions described above the following holds f x i 1k f xi displaystyle f mathbf x supseteq bigcup i 1 k f mathbf x i nbsp Since f x displaystyle f mathbf x nbsp is often a genuine superset of the right hand side this usually leads to an improved estimate Such a cover can be generated by the bisection method such as thick elements xi1 xi2 displaystyle x i1 x i2 nbsp of the interval vector x x11 x12 xn1 xn2 displaystyle mathbf x x 11 x 12 ldots x n1 x n2 nbsp by splitting in the center into the two intervals xi1 12 xi1 xi2 displaystyle left x i1 tfrac 1 2 x i1 x i2 right nbsp and 12 xi1 xi2 xi2 displaystyle left tfrac 1 2 x i1 x i2 x i2 right nbsp If the result is still not suitable then further gradual subdivision is possible A cover of 2r displaystyle 2 r nbsp intervals results from r displaystyle r nbsp divisions of vector elements substantially increasing the computation costs With very wide intervals it can be helpful to split all intervals into several subintervals with a constant and smaller width a method known as mincing This then avoids the calculations for intermediate bisection steps Both methods are only suitable for problems of low dimension Application editInterval arithmetic can be used in various areas such as set inversion motion planning set estimation or stability analysis to treat estimates with no exact numerical value 6 Rounding error analysis edit Interval arithmetic is used with error analysis to control rounding errors arising from each calculation The advantage of interval arithmetic is that after each operation there is an interval that reliably includes the true result The distance between the interval boundaries gives the current calculation of rounding errors directly Error abs a b displaystyle mathrm abs a b nbsp for a given interval a b displaystyle a b nbsp Interval analysis adds to rather than substituting for traditional methods for error reduction such as pivoting Tolerance analysis edit Parameters for which no exact figures can be allocated often arise during the simulation of technical and physical processes The production process of technical components allows certain tolerances so some parameters fluctuate within intervals In addition many fundamental constants are not known precisely 1 If the behavior of such a system affected by tolerances satisfies for example f x p 0 displaystyle f mathbf x mathbf p 0 nbsp for p p displaystyle mathbf p in mathbf p nbsp and unknown x displaystyle mathbf x nbsp then the set of possible solutions x p p f x p 0 displaystyle mathbf x exists mathbf p in mathbf p f mathbf x mathbf p 0 nbsp can be found by interval methods This provides an alternative to traditional propagation of error analysis Unlike point methods such as Monte Carlo simulation interval arithmetic methodology ensures that no part of the solution area can be overlooked However the result is always a worst case analysis for the distribution of error as other probability based distributions are not considered Fuzzy interval arithmetic edit nbsp Approximation of the normal distribution by a sequence of intervalsInterval arithmetic can also be used with affiliation functions for fuzzy quantities as they are used in fuzzy logic Apart from the strict statements x x displaystyle x in x nbsp and x x displaystyle x not in x nbsp intermediate values are also possible to which real numbers m 0 1 displaystyle mu in 0 1 nbsp are assigned m 1 displaystyle mu 1 nbsp corresponds to definite membership while m 0 displaystyle mu 0 nbsp is non membership A distribution function assigns uncertainty which can be understood as a further interval For fuzzy arithmetic 7 only a finite number of discrete affiliation stages mi 0 1 displaystyle mu i in 0 1 nbsp are considered The form of such a distribution for an indistinct value can then be represented by a sequence of intervals x 1 x 2 x k displaystyle left x 1 right supset left x 2 right supset cdots supset left x k right nbsp The interval x i displaystyle left x i right nbsp corresponds exactly to the fluctuation range for the stage mi displaystyle mu i nbsp The appropriate distribution for a function f x1 xn displaystyle f x 1 ldots x n nbsp concerning indistinct values x1 xn displaystyle x 1 ldots x n nbsp and the corresponding sequences x1 1 x1 k xn 1 xn k displaystyle left x 1 1 right supset cdots supset left x 1 k right ldots left x n 1 right supset cdots supset left x n k right nbsp can be approximated by the sequence y 1 y k displaystyle left y 1 right supset cdots supset left y k right nbsp where y i f x1 i xn i displaystyle left y i right f left left x 1 i right ldots left x n i right right nbsp and can be calculated by interval methods The value y 1 displaystyle left y 1 right nbsp corresponds to the result of an interval calculation Computer assisted proof edit Warwick Tucker used interval arithmetic in order to solve the 14th of Smale s problems that is to show that the Lorenz attractor is a strange attractor 8 Thomas Hales used interval arithmetic in order to solve the Kepler conjecture History editInterval arithmetic is not a completely new phenomenon in mathematics it has appeared several times under different names in the course of history For example Archimedes calculated lower and upper bounds 223 71 lt p lt 22 7 in the 3rd century BC Actual calculation with intervals has neither been as popular as other numerical techniques nor been completely forgotten Rules for calculating with intervals and other subsets of the real numbers were published in a 1931 work by Rosalind Cicely Young 9 Arithmetic work on range numbers to improve the reliability of digital systems was then published in a 1951 textbook on linear algebra by Paul S Dwyer de 10 intervals were used to measure rounding errors associated with floating point numbers A comprehensive paper on interval algebra in numerical analysis was published by Teruo Sunaga 1958 11 The birth of modern interval arithmetic was marked by the appearance of the book Interval Analysis by Ramon E Moore in 1966 12 13 He had the idea in spring 1958 and a year later he published an article about computer interval arithmetic 14 Its merit was that starting with a simple principle it provided a general method for automated error analysis not just errors resulting from rounding Independently in 1956 Mieczyslaw Warmus suggested formulae for calculations with intervals 15 though Moore found the first non trivial applications In the following twenty years German groups of researchers carried out pioneering work around Ulrich W Kulisch 16 17 and Gotz Alefeld de 18 at the University of Karlsruhe and later also at the Bergische University of Wuppertal For example Karl Nickel de explored more effective implementations while improved containment procedures for the solution set of systems of equations were due to Arnold Neumaier among others In the 1960s Eldon R Hansen dealt with interval extensions for linear equations and then provided crucial contributions to global optimization including what is now known as Hansen s method perhaps the most widely used interval algorithm 5 Classical methods in this often have the problem of determining the largest or smallest global value but could only find a local optimum and could not find better values Helmut Ratschek and Jon George Rokne developed branch and bound methods which until then had only applied to integer values by using intervals to provide applications for continuous values In 1988 Rudolf Lohner developed Fortran based software for reliable solutions for initial value problems using ordinary differential equations 19 The journal Reliable Computing originally Interval Computations has been published since the 1990s dedicated to the reliability of computer aided computations As lead editor R Baker Kearfott in addition to his work on global optimization has contributed significantly to the unification of notation and terminology used in interval arithmetic 20 In recent years work has concentrated in particular on the estimation of preimages of parameterized functions and to robust control theory by the COPRIN working group of INRIA in Sophia Antipolis in France 21 Implementations editThere are many software packages that permit the development of numerical applications using interval arithmetic 22 These are usually provided in the form of program libraries There are also C and Fortran compilers that handle interval data types and suitable operations as a language extension so interval arithmetic is supported directly Since 1967 Extensions for Scientific Computation XSC have been developed in the University of Karlsruhe for various programming languages such as C Fortran and Pascal 23 The first platform was a Zuse Z23 for which a new interval data type with appropriate elementary operators was made available There followed in 1976 Pascal SC a Pascal variant on a Zilog Z80 that it made possible to create fast complicated routines for automated result verification Then came the Fortran 77 based ACRITH XSC for the System 370 architecture FORTRAN SC which was later delivered by IBM Starting from 1991 one could produce code for C compilers with Pascal XSC a year later the C class library supported C XSC on many different computer systems In 1997 all XSC variants were made available under the GNU General Public License At the beginning of 2000 C XSC 2 0 was released under the leadership of the working group for scientific computation at the Bergische University of Wuppertal to correspond to the improved C standard Another C class library was created in 1993 at the Hamburg University of Technology called Profil BIAS Programmer s Runtime Optimized Fast Interval Library Basic Interval Arithmetic which made the usual interval operations more user friendly It emphasized the efficient use of hardware portability and independence of a particular presentation of intervals The Boost collection of C libraries contains a template class for intervals Its authors are aiming to have interval arithmetic in the standard C language 24 The Frink programming language has an implementation of interval arithmetic that handles arbitrary precision numbers Programs written in Frink can use intervals without rewriting or recompilation GAOL 25 is another C interval arithmetic library that is unique in that it offers the relational interval operators used in interval constraint programming The Moore library 26 is an efficient implementation of interval arithmetic in C It provides intervals with endpoints of arbitrary precision and is based on the concepts feature of C The Julia programming language 27 has an implementation of interval arithmetics along with high level features such as root finding for both real and complex valued functions and interval constraint programming via the ValidatedNumerics jl package 28 In addition computer algebra systems such as FriCAS Mathematica Maple Maxima software 29 and MuPAD can handle intervals A Matlab extension Intlab 30 builds on BLAS routines and the Toolbox b4m makes a Profil BIAS interface 30 31 Moreover the Software Euler Math Toolbox includes an interval arithmetic A library for the functional language OCaml was written in assembly language and C 32 IEEE 1788 standard editA standard for interval arithmetic IEEE Std 1788 2015 has been approved in June 2015 33 Two reference implementations are freely available 34 These have been developed by members of the standard s working group The libieeep1788 35 library for C and the interval package 36 for GNU Octave A minimal subset of the standard IEEE Std 1788 1 2017 has been approved in December 2017 and published in February 2018 It should be easier to implement and may speed production of implementations 37 Conferences and workshops editSeveral international conferences or workshops take place every year in the world The main conference is probably SCAN International Symposium on Scientific Computing Computer Arithmetic and Verified Numerical Computation but there is also SWIM Small Workshop on Interval Methods PPAM International Conference on Parallel Processing and Applied Mathematics REC International Workshop on Reliable Engineering Computing See also editAffine arithmetic INTLAB Interval Laboratory Automatic differentiation Multigrid method Monte Carlo simulation Interval finite element Fuzzy number Significant figures Karlsruhe Accurate Arithmetic KAA UnumReferences edit a b Dreyer Alexander 2003 Interval Analysis of Analog Circuits with Component Tolerances Aachen Germany Shaker Verlag p 15 ISBN 3 8322 4555 3 Complex interval arithmetic and its applications Miodrag S Petkovic Ljiljana D Petkovic Wiley VCH 1998 ISBN 978 3 527 40134 5 a b c d e f Hend Dawood 2011 Theories of Interval Arithmetic Mathematical Foundations and Applications Saarbrucken LAP LAMBERT Academic Publishing ISBN 978 3 8465 0154 2 Jiri Rohn List of publications Archived from the original on 2008 11 23 Retrieved 2008 05 26 a b Walster G William Hansen Eldon Robert 2004 Global Optimization using Interval Analysis 2nd ed New York USA Marcel Dekker ISBN 0 8247 4059 9 Jaulin Luc Kieffer Michel Didrit Olivier Walter Eric 2001 Applied Interval Analysis Berlin Springer ISBN 1 85233 219 0 Application of Fuzzy Arithmetic to Quantifying the Effects of Uncertain Model Parameters Michael Hanss University of Stuttgart Tucker Warwick 1999 The Lorenz attractor exists Comptes Rendus de l Academie des Sciences Series I Mathematics 328 12 1197 1202 Young Rosalind Cicely 1931 The algebra of many valued quantities Mathematische Annalen 104 1 260 290 NB A doctoral candidate at the University of Cambridge Dwyer Paul Sumner 1951 Linear computations Oxford England Wiley University of Michigan Sunaga Teruo 1958 Theory of interval algebra and its application to numerical analysis RAAG Memoirs 2 29 46 Moore Ramon Edgar 1966 Interval Analysis Englewood Cliff New Jersey USA Prentice Hall ISBN 0 13 476853 1 Cloud Michael J Moore Ramon Edgar Kearfott R Baker 2009 Introduction to Interval Analysis Philadelphia Society for Industrial and Applied Mathematics SIAM ISBN 978 0 89871 669 6 Hansen Eldon Robert 2001 08 13 Publications Related to Early Interval Work of R E Moore University of Louisiana at Lafayette Press Retrieved 2015 06 29 Precursory papers on interval analysis by Mieczyslaw Warmus Archived 2008 04 18 at the Wayback Machine Kulisch Ulrich W 1989 Wissenschaftliches Rechnen mit Ergebnisverifikation Eine Einfuhrung in German Wiesbaden Vieweg Verlag ISBN 3 528 08943 1 Kulisch Ulrich W 1969 Grundzuge der Intervallrechnung In Laugwitz Detlef ed Jahrbuch Uberblicke Mathematik in German Vol 2 Mannheim Germany Bibliographisches Institut pp 51 98 Alefeld Gotz in German Herzberger Jurgen 1974 Einfuhrung in die Intervallrechnung Reihe Informatik in German Vol 12 Mannheim Wien Zurich B I Wissenschaftsverlag ISBN 3 411 01466 0 Bounds for ordinary differential equations of Rudolf Lohner Archived 11 May 2018 at the Wayback Machine in German Bibliography of R Baker Kearfott University of Louisiana at Lafayette Introductory Film mpeg of the COPRIN teams of INRIA Sophia Antipolis Software for Interval Computations Archived 2006 03 02 at the Wayback Machine collected by Vladik Kreinovich University of Texas at El Paso History of XSC Languages Archived 2007 09 29 at the Wayback Machine A Proposal to add Interval Arithmetic to the C Standard Library Gaol is Not Just Another Interval Arithmetic Library Moore Interval Arithmetic in Modern C The Julia programming language ValidatedNumerics jl 1 Interval Arithmetic for Maxima A Brief Summary by Richard J Fateman a b Intlab INTerval LABoratory Archived from the original on 2020 01 30 Retrieved 2012 11 07 b4m Alliot Jean Marc Gotteland Jean Baptiste Vanaret Charlie Durand Nicolas Gianazza David 2012 Implementing an interval computation library for OCaml on x86 amd64 architectures 17th ACM SIGPLAN International Conference on Functional Programming IEEE Standard for Interval Arithmetic Nathalie Revol 2015 The near future IEEE 1788 standard for interval arithmetic slides SWIM 2015 8th Small Workshop in Interval Methods Prague 9 11 June 2015 C implementation of the preliminary IEEE P1788 standard for interval arithmetic GNU Octave interval package IEEE Std 1788 1 2017 IEEE Standard for Interval Arithmetic Simplified IEEE Standard IEEE Standards Association 2017 Archived from the original on 2018 02 07 Retrieved 2018 02 06 Further reading editHayes Brian November December 2003 A Lucid Interval PDF American Scientist 91 6 Sigma Xi 484 488 doi 10 1511 2003 6 484 Tucker Warwick 2011 Validated numerics a short introduction to rigorous computations Princeton University Press ISBN 978 1400838974 Wippermann Hans Wilm 1968 1967 06 15 1966 Definition von Schrankenzahlen in Triplex ALGOL Computing in German 3 2 Karlsruhe Germany Springer 99 109 doi 10 1007 BF02277452 ISSN 0010 485X S2CID 36685400 11 pages NB About Triplex ALGOL Karlsruhe an ALGOL 60 1963 implementation with support for triplex numbers External links editInterval arithmetic Wolfram Mathworld Validated Numerics for Pedestrians Interval Methods from Arnold Neumaier University of Vienna SWIM Summer Workshop on Interval Methods International Conference on Parallel Processing and Applied Mathematics INTLAB Institute for Reliable Computing Archived 2020 01 30 at the Wayback Machine Hamburg University of Technology Ball arithmetic by Joris van der Hoeven kv a C Library for Verified Numerical Computation kv on GitHub Arb a C library for arbitrary precision ball arithmetic arb on GitHub JuliaIntervals on GitHub Retrieved from https en wikipedia org w index php title Interval arithmetic amp oldid 1211282100, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.