ACRITH-XSC
   HOME

TheInfoList



OR:

Interval arithmetic (also known as interval mathematics; interval analysis or interval computation) is a mathematical technique used to mitigate
rounding Rounding or rounding off is the process of adjusting a number to an approximate, more convenient value, often with a shorter or simpler representation. For example, replacing $ with $, the fraction 312/937 with 1/3, or the expression √2 with ...
and
measurement error Observational error (or measurement error) is the difference between a measured value of a quantity and its unknown true value.Dodge, Y. (2003) ''The Oxford Dictionary of Statistical Terms'', OUP. Such errors are inherent in the measurement pr ...
s in mathematical computation by computing function bounds.
Numerical methods Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods t ...
involving interval
arithmetic Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. ...
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. Mathematically, instead of working with an uncertain
real-valued In mathematics, value may refer to several, strongly related notions. In general, a mathematical value may be any definite mathematical object. In elementary mathematics, this is most often a number – for example, a real number such as or an ...
variable x, interval arithmetic works with an interval ,b/math> that defines the range of values that x can have. In other words, any value of the variable x lies in the closed interval between a and b. A function f, when applied to x, produces an interval ,d/math> which includes all the possible values for f(x) for all x \in ,b/math>. 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 error In computing, a roundoff error, also called rounding error, is the difference between the result produced by a given algorithm using exact arithmetic and the result produced by the same algorithm using finite-precision, rounded arithmetic. Roun ...
s 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 problem In mathematics, engineering, computer science and economics Economics () is a behavioral science that studies the Production (economics), production, distribution (economics), distribution, and Consumption (economics), consumption of goo ...
s.


Introduction

The main objective of interval
arithmetic Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. ...
is to provide a simple way of calculating
upper and lower bounds In mathematics, particularly in order theory, an upper bound or majorant of a subset of some preordered set is an element of that is every element of . Dually, a lower bound or minorant of is defined to be an element of that is less th ...
of a function's range in one or more variables. These endpoints are not necessarily the true
supremum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
or
infimum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique ...
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 : ,b= \, where a = and b = are allowed. With one of a, b 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 can be interpreted as the interval ,r intervals and real numbers can be freely combined.


Example

Consider the calculation of a person's
body mass index Body mass index (BMI) is a value derived from the mass (Mass versus weight, weight) and height of a person. The BMI is defined as the human body weight, body mass divided by the square (algebra), square of the human height, body height, and is ...
(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). 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]. 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 4.5, 24.9/math> since this interval is a superset of the calculated interval. The range could not, however, be reported as 4.6, 24.8/math>, as the interval does not contain possible BMI values.


Multiple intervals

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). 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 :\frac \subseteq [24.673, 25.266]. 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

A binary operation \star on two intervals, such as addition or multiplication is defined by :
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= \. In other words, it is the set of all possible values of x \star y, where x and y are in their corresponding intervals. If \star 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), the extreme values occur at the endpoints of the operand intervals. Writing out all combinations, one way of stating this is :
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\star
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= \left \min\, \max \ \right provided that x \star y is defined for all x\in
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math> and y \in
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math>. For practical applications, this can be simplified further: *
Addition Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
:
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
+
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
=
_1+y_1, x_2+y_2 1 (one, unit, unity) is a number, numeral, and glyph. It is the first and smallest positive integer of the infinite sequence of natural numbers. This fundamental property has led to its unique uses in other fields, ranging from science to sp ...
/math> *
Subtraction Subtraction (which is signified by the minus sign, –) is one of the four Arithmetic#Arithmetic operations, arithmetic operations along with addition, multiplication and Division (mathematics), division. Subtraction is an operation that repre ...
:
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
-
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
=
_1-y_2, x_2-y_1 1Y or 1-Y may refer to: *UH-1Y; see H-1 upgrade program ** Bell UH-1Y Venom *SSH 1Y (WA); see Washington State Route 532 *1Y-J, a model of Toyota Y engine *1Y, IATA code for Sun Air (Sudan) *1Y, IATA code for Electronic Data Systems * 1-Y class ...
/math> *
Multiplication Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
:
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\cdot
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= min \, \max\/math> * Division: \frac =
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\cdot \frac, where \begin \frac &= \left tfrac, \tfrac \right && \textrm\;0 \notin
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\\ \frac &= \left \infty, \tfrac \right \\ \frac &= \left tfrac, \infty \right \\ \frac &= \left \infty, \tfrac \right \cup \left tfrac, \infty \right \subseteq \infty, \infty&& \textrm\;0 \in (y_1, y_2) \end The last case loses useful information about the exclusion of (1/y_1, 1/y_2). Thus, it is common to work with \left \infty, \tfrac \right /math> and \left tfrac, \infty \right /math> 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 \bigcup_ \left a_i, b_i \right The corresponding ''multi-interval arithmetic'' maintains a set of (usually disjoint) intervals and also provides for overlapping intervals to unite. Interval multiplication often only requires two multiplications. If x_1, y_1 are nonnegative, :
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\cdot
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= _1 \cdot y_1, x_2 \cdot y_2 \qquad \text x_1, y_1 \geq 0. 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 \cdot x + b. For example, if a = ,2/math>, b = ,7/math> and x = ,3/math>: :f(a,b,x) = ( ,2\cdot ,3 + ,7= \cdot 2, 2\cdot 3+ ,7= ,13


Notation

To shorten the notation of intervals, brackets can be used. \equiv
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math> can be used to represent an interval. Note that in such a compact notation, /math> should not be confused between a single-point interval _1, x_1/math> and a general interval. For the set of all intervals, we can use : R:= \left \ as an abbreviation. For a vector of intervals \left( 1, \ldots , n \right) \in Rn we can use a bold font: mathbf/math>.


Elementary functions

Interval functions beyond the four basic operators may also be defined. For
monotonic function In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of or ...
s in one variable, the range of values is simple to compute. If f: \R \to \R is monotonically increasing (resp. decreasing) in the interval
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
then for all y_1, y_2 \in
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math> such that y_1 < y_2, f(y_1) \leq f(y_2) (resp. f(y_2) \leq f(y_1)). The range corresponding to the interval
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
\subseteq
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math> can be therefore calculated by applying the function to its endpoints: :f(
_1, y_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= \left min \left \, \max \left\\right From this, the following basic features for interval functions can easily be defined: * Exponential function: a^ = ^,a^/math> for a > 1, *
Logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
: \log_a
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
= log_a , \log_a /math> for positive intervals
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
/math> and a>1, * Odd powers:
_1, x_2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deriv ...
n = _1^n,x_2^n/math>, for odd n\in \N. For even powers, the range of values being considered is important and needs to be dealt with before doing any multiplication. For example, x^n for x \in 1,1/math> should produce the interval ,1/math> when n = 2, 4, 6, \ldots. But if 1,1n is taken by repeating interval multiplication of form 1,1\cdot 1,1\cdot \cdots \cdot 1,1/math> then the result is 1,1 wider than necessary. More generally one can say that, for piecewise monotonic functions, it is sufficient to consider the endpoints x_1, x_2of 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 In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite th ...
and
cosine In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
functions, the critical points are at \left(\tfrac + n\right)\pi or n\pi for n \in \Z, respectively. Thus, only up to five points within an interval need to be considered, as the resulting interval is 1,1/math> 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

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:\mathbb^n \to \mathbb is a function from a real vector to a real number, then
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
n \to
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
/math> is called an ''interval extension'' of f if : mathbf \supseteq \. This definition of the interval extension does not give a precise result. For example, both _1,x_2 = ^, e^/math> and _1,x_2 = /math> 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, /math> 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 ) is a k+1 times differentiable function f defined by : mathbf := f(\mathbf) + \sum_^k\frac\mathrm^i f(\mathbf) \cdot ( mathbf- \mathbf)^i + mathbf mathbf \mathbf), for some \mathbf \in mathbf/math>, where \mathrm^i f(\mathbf) is the i-th order differential of f at the point \mathbf and /math> is an interval extension of the ''Taylor remainder.'' :r(\mathbf, \xi, \mathbf) = \frac\mathrm^ f(\xi) \cdot (\mathbf-\mathbf)^. The vector \xi lies between \mathbf and \mathbf with \mathbf, \mathbf \in mathbf/math>, \xi is protected by mathbf/math>. Usually one chooses \mathbf 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 is also referred to as the ''mean value form''.


Complex interval arithmetic

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 number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s. 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 number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, there is no reason to limit the application of interval arithmetic to the measure of uncertainties in computations with real numbers. 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. 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. 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. 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. Interval arithmetic can be extended, in an analogous manner, to other multidimensional
number systems A number is a mathematical object used to count, measure, and label. The most basic examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
such as
quaternion In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. The algebra of quater ...
s and
octonion In mathematics, the octonions are a normed division algebra over the real numbers, a kind of Hypercomplex number, hypercomplex Number#Classification, number system. The octonions are usually represented by the capital letter O, using boldface or ...
s, but with the expense that we have to sacrifice other useful properties of ordinary arithmetic.


Interval methods

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

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 f(x, y) = x + y for x \in .1, 0.8/math> and y \in .06, 0.08/math> are for example .16, 0.88/math>. Where the same calculation is done with single-digit precision, the result would normally be .2, 0.9/math>. But .2, 0.9\not\supseteq .16, 0.88/math>, so this approach would contradict the basic principles of interval arithmetic, as a part of the domain of f( .1, 0.8 .06, 0.08 would be lost. Instead, the outward rounded solution .1, 0.9/math> is used. The standard
IEEE 754 The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic originally established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard #Design rationale, add ...
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 varepsilon_1, \varepsilon_2/math> can be added.


Dependency problem

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. As an illustration, take the function f defined by f(x) = x^2 + x. The values of this function over the interval
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deri ...
/math> are \left \tfrac, 2 \right As the natural interval extension, it is calculated as: :
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deri ...
2 +
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is deri ...
= ,1+ 1,1=
1,2 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 399 at the 2020 census. The village is located on the northeast shore of Portage Lake and is surrounded by Onekama Township. The town's name is derive ...
which is slightly larger; we have instead calculated the
infimum and supremum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
of the function h(x, y)= x^2+y over x, y \in 1,1 There is a better expression of f in which the variable x only appears once, namely by rewriting f(x) = x^2 + x as addition and squaring in the
quadratic In mathematics, the term quadratic describes something that pertains to squares, to the operation of squaring, to terms of the second degree, or equations or formulas that involve such terms. ''Quadratus'' is Latin for ''square''. Mathematics ...
. :f(x) = \left(x + \frac\right)^2 -\frac. So the suitable interval calculation is :\left( 1,1+ \frac\right)^2 -\frac = \left \frac, \frac\right2 -\frac = \left , \frac\right-\frac = \left \frac,2\right/math> 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 is continuous inside the box. However, not every function can be rewritten this way. 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 :\begin x = p \\ y = p \end \qquad p\in 1,1/math> is precisely the line between the points (-1,-1) and (1,1). Using interval methods results in the unit square, 1,1\times 1,1 This is known as the ''wrapping effect''.


Linear interval systems

A linear interval system consists of a matrix interval extension mathbf\in
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
and an interval vector mathbf\in
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
. We want the smallest cuboid mathbf\in
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
, for all vectors \mathbf \in \mathbb^ which there is a pair (\mathbf, \mathbf) with \mathbf \in mathbf/math> and \mathbf \in mathbf/math> satisfying. :\mathbf \cdot \mathbf = \mathbf. For quadratic systems – in other words, for n = m – there can be such an interval vector mathbf/math>, 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 In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
becomes its interval version. However, since this method uses the interval entities mathbf/math> and mathbf/math> 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 mathbf/math> can often be improved by an interval version of the
Gauss–Seidel method In numerical linear algebra, the Gauss–Seidel method, also known as the Liebmann method or the method of successive displacement, is an iterative method used to solve a system of linear equations. It is named after the German mathematicians Ca ...
. The motivation for this is that the i-th row of the interval extension of the linear equation. : \begin & \cdots & \\ \vdots & \ddots & \vdots \\ & \cdots & \end \cdot \begin \\ \vdots \\ \end = \begin \\ \vdots \\ \end can be determined by the variable x_i if the division 1/ _/math> is allowed. It is therefore simultaneously. :x_j \in _j/math> and x_j \in \frac. So we can now replace _j/math> by : _j\cap \frac, and so the vector mathbf/math> by each element. Since the procedure is more efficient for a
diagonally dominant matrix In mathematics, a square matrix is said to be diagonally dominant if, for every row of the matrix, the magnitude of the diagonal entry in a row is greater than or equal to the sum of the magnitudes of all the other (off-diagonal) entries in that ro ...
, instead of the system mathbfcdot \mathbf = mathbfmbox one can often try multiplying it by an appropriate rational matrix \mathbf with the resulting matrix equation. :(\mathbf\cdot mathbf\cdot \mathbf = \mathbf\cdot mathbf/math> left to solve. If one chooses, for example, \mathbf = \mathbf^ for the central matrix \mathbf \in mathbf/math>, then \mathbf \cdot mathbf/math> 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 \mathbf \in mathbf/math> 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 \times n matrix, 2^ real matrices need to be inverted, with 2^n vectors for the right-hand side. This approach was developed by Jiri Rohn and is still being developed.


Interval Newton method

An interval variant of
Newton's method In numerical analysis, the Newton–Raphson method, also known simply as Newton's method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a ...
for finding the zeros in an interval vector mathbf/math> can be derived from the average value extension. For an unknown vector \mathbf\in mathbf/math> applied to \mathbf\in mathbf/math>, gives. :f(\mathbf) \in f(\mathbf) + _f\mathbf) \cdot (\mathbf - \mathbf). For a zero \mathbf, that is f(z)=0, and thus, must satisfy. : f(\mathbf) + _f\mathbf) \cdot (\mathbf - \mathbf)=0 . This is equivalent to \mathbf \in \mathbf - _f\mathbf)^\cdot f(\mathbf). An outer estimate of _f\mathbf)^\cdot f(\mathbf)) can be determined using linear methods. In each step of the interval Newton method, an approximate starting value mathbfin
mathbb Blackboard bold is a style of writing Emphasis (typography), bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most ...
n is replaced by mathbfcap \left(\mathbf - _f\mathbf)^\cdot f(\mathbf)\right) 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 were in the initial range mathbf/math> 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 In mathematics, the bisection method is a root-finding method that applies to any continuous function for which one knows two values with opposite signs. The method consists of repeatedly bisecting the interval defined by these values and t ...
. As an example, consider the function f(x)= x^2-2, the starting range =
2,2 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math>, and the point y= 0. We then have J_f(x) = 2\, x and the first Newton step gives. :
2,2 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
cap \left(0 - \frac (0-2)\right) =
2,2 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
cap \Big( cup \Big) = \cup /math>. More Newton steps are used separately on x\in /math> and /math>. These converge to arbitrarily small intervals around -\sqrt and +\sqrt. The Interval Newton method can also be used with ''thick functions'' such as g(x)= x^2- ,3/math>, which would in any case have interval results. The result then produces intervals containing \left \sqrt,-\sqrt \right\cup \left sqrt,\sqrt \right/math>.


Bisection and covers

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 mathbf/math> by smaller boxes mathbf_1 \ldots , mathbf_k so that : mathbf= \bigcup_^k mathbf_i is then valid for the range of values. :f( mathbf = \bigcup_^k f( mathbf_i. So, for the interval extensions described above the following holds: : mathbf \supseteq \bigcup_^k mathbf_i. Since mathbf is often a genuine
superset In mathematics, a set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset ...
of the right-hand side, this usually leads to an improved estimate. Such a cover can be generated by the
bisection method In mathematics, the bisection method is a root-finding method that applies to any continuous function for which one knows two values with opposite signs. The method consists of repeatedly bisecting the interval defined by these values and t ...
such as thick elements
_, x_ The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math> of the interval vector mathbf= (
_, x_ The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
\ldots,
_, x_ The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
by splitting in the center into the two intervals \left _, \tfrac(x_+x_)\right /math> and \left \tfrac(x_+x_), x_ \right If the result is still not suitable then further gradual subdivision is possible. A cover of 2^r intervals results from r 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

Interval arithmetic can be used in various areas (such as
set inversion In mathematics, set inversion is the problem of characterizing the preimage ''X'' of a set ''Y'' by a function ''f'', i.e., ''X'' = ''f''−1(''Y'' ) = . It can also be viewed as the problem of describing the solution set of the quantified c ...
,
motion planning Motion planning, also path planning (also known as the navigation problem or the piano mover's problem) is a computational problem to find a sequence of valid configurations that moves the object from the source to destination. The term is used ...
,
set estimation In statistics, a random vector is classically represented by a probability density function. In a set-membership approach or set estimation, is represented by a set to which is assumed to belong. This means that the Support (mathematics), sup ...
, or stability analysis) to treat estimates with no exact numerical value.


Rounding error analysis

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 = \mathrm(a-b) for a given interval ,b/math>. Interval analysis adds to rather than substituting for traditional methods for error reduction, such as pivoting.


Tolerance analysis

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. If the behavior of such a system affected by tolerances satisfies, for example, f(\mathbf, \mathbf) = 0, for \mathbf \in mathbf/math> and unknown \mathbf then the set of possible solutions. :\, can be found by interval methods. This provides an alternative to traditional
propagation of error In statistics, propagation of uncertainty (or propagation of error) is the effect of variables' uncertainties (or errors, more specifically random errors) on the uncertainty of a function based on them. When the variables are the values of expe ...
analysis. Unlike point methods, such as
Monte Carlo simulation Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be det ...
, 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

Interval arithmetic can also be used with affiliation functions for fuzzy quantities as they are used in
fuzzy logic Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely ...
. Apart from the strict statements x\in /math> and x \not\in /math>, intermediate values are also possible, to which real numbers \mu \in ,1/math> are assigned. \mu = 1 corresponds to definite membership while \mu = 0 is non-membership. A distribution function assigns uncertainty, which can be understood as a further interval. For ''fuzzy arithmetic'' only a finite number of discrete affiliation stages \mu_i \in ,1/math> are considered. The form of such a distribution for an indistinct value can then be represented by a sequence of intervals. :\left ^\right\supset \left ^\right\supset \cdots \supset \left ^ \right The interval \left ^ \right /math> corresponds exactly to the fluctuation range for the stage \mu_i. The appropriate distribution for a function f(x_1, \ldots, x_n) concerning indistinct values x_1, \ldots, x_n and the corresponding sequences. :\left _1^ \right\supset \cdots \supset \left _1^ \right \ldots, \left _n^ \right\supset \cdots \supset \left _n^ \right/math> can be approximated by the sequence. :\left ^\right\supset \cdots \supset \left ^\right where :\left ^\right= f \left( \left _^\right \ldots \left _^\rightright) and can be calculated by interval methods. The value \left ^\right/math> corresponds to the result of an interval calculation.


Computer-assisted proof

Warwick Tucker Warwick Tucker is an Australian mathematician at Monash University (previously deputy Chair and Chair at the Department of Mathematics at Uppsala University 2009–2020) who works on dynamical systems, chaos theory and computational mathematics. H ...
used interval arithmetic in order to solve the 14th of
Smale's problems Smale's problems is a list of eighteen unsolved problems in mathematics proposed by Steve Smale in 1998 and republished in 1999. Smale composed this list in reply to a request from Vladimir Arnold, then vice-president of the International Mathemat ...
, that is, to show that the
Lorenz attractor The Lorenz system is a system of ordinary differential equations first studied by mathematician and meteorologist Edward Lorenz. It is notable for having chaotic solutions for certain parameter values and initial conditions. In particular, the ...
is a
strange attractor In the mathematics, mathematical field of dynamical systems, an attractor is a set of states toward which a system tends to evolve, for a wide variety of starting conditions of the system. System values that get close enough to the attractor va ...
. Thomas Hales used interval arithmetic in order to solve the
Kepler conjecture The Kepler conjecture, named after the 17th-century mathematician and astronomer Johannes Kepler, is a mathematical theorem about sphere packing in three-dimensional Euclidean space. It states that no arrangement of equally sized spheres filling s ...
.


History

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 Archimedes of Syracuse ( ; ) was an Ancient Greece, Ancient Greek Greek mathematics, mathematician, physicist, engineer, astronomer, and Invention, inventor from the ancient city of Syracuse, Sicily, Syracuse in History of Greek and Hellenis ...
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. Arithmetic work on range numbers to improve the reliability of digital systems was then published in a 1951 textbook on linear algebra by ; 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). The birth of modern interval arithmetic was marked by the appearance of the book ''Interval Analysis'' by Ramon E. Moore in 1966. He had the idea in spring 1958, and a year later he published an article about computer interval arithmetic. 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, 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 and at the
University of Karlsruhe The Karlsruhe Institute of Technology (KIT; ) is both a German public university, public research university in Karlsruhe, Baden-Württemberg, and a research center of the Helmholtz Association. KIT was created in 2009 when the University of Ka ...
and later also at the
Bergische University of Wuppertal The University of Wuppertal (''Universität Wuppertal'') is a German scientific institution located in Wuppertal in the state of North Rhine-Westphalia, Germany. The university's official name in German is ''Bergische Universität Wuppertal'' ...
. For example, 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 Eldon Robert Hansen (born 1927) is an American mathematician and author who has published in global optimization theory and interval arithmetic. Hansen was born on July 16, 1927 in Rochester, Washington. After receiving bachelor's and master's deg ...
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. 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 Branch and bound (BB, B&B, or BnB) is a method for solving optimization problems by breaking them down into smaller sub-problems and using a bounding function to eliminate sub-problems that cannot contain the optimal solution. It is an algorithm ...
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 In mathematics, an ordinary differential equation (ODE) is a differential equation (DE) dependent on only a single independent variable. As with any other DE, its unknown(s) consists of one (or more) function(s) and involves the derivatives ...
. 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. In recent years work has concentrated in particular on the estimation of
preimage In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y. More generally, evaluating f at each ...
s of parameterized functions and to robust control theory by the COPRIN working group of
INRIA The National Institute for Research in Digital Science and Technology (Inria) () is a French national research institution focusing on computer science and applied mathematics. It was created under the name French Institute for Research in Comp ...
in
Sophia Antipolis Sophia Antipolis is a 2,400 hectare technology park in southeast France, and as of 2021 home to 2,500 companies, valued today at more than 5.6 billion euros and employing more than 38,000 people counting more than 80 nationalities. The park is ...
in France.


Implementations

There are many software packages that permit the development of numerical applications using interval arithmetic. These are usually provided in the form of program libraries. There are also
C++ C++ (, pronounced "C plus plus" and sometimes abbreviated as CPP or CXX) is a high-level, general-purpose programming language created by Danish computer scientist Bjarne Stroustrup. First released in 1985 as an extension of the C programmin ...
and Fortran
compiler In computing, a compiler is a computer program that Translator (computing), translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primaril ...
s 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 The Karlsruhe Institute of Technology (KIT; ) is both a German public university, public research university in Karlsruhe, Baden-Württemberg, and a research center of the Helmholtz Association. KIT was created in 2009 when the University of Ka ...
for various
programming language A programming language is a system of notation for writing computer programs. Programming languages are described in terms of their Syntax (programming languages), syntax (form) and semantics (computer science), semantics (meaning), usually def ...
s, such as C++, Fortran, and Pascal. The first platform was a
Zuse Konrad Ernst Otto Zuse (; ; 22 June 1910 – 18 December 1995) was a German civil engineer, pioneering computer scientist, inventor and businessman. His greatest achievement was the world's first programmable computer; the functional program ...
Z23, for which a new interval data type with appropriate elementary operators was made available. There followed in 1976,
Pascal-SC Pascal is an imperative and procedural programming language, designed by Niklaus Wirth as a small, efficient language intended to encourage good programming practices using structured programming and data structuring. It is named after French m ...
, a Pascal variant on a
Zilog Z80 The Zilog Z80 is an 8-bit computing, 8-bit microprocessor designed by Zilog that played an important role in the evolution of early personal computing. Launched in 1976, it was designed to be Backward compatibility, software-compatible with the ...
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 The IBM System/370 (S/370) is a range of IBM mainframe computers announced as the successors to the IBM System/360, System/360 family on June 30, 1970. The series mostly maintains backward compatibility with the S/360, allowing an easy migrati ...
architecture (FORTRAN-SC), which was later delivered by IBM. Starting from 1991 one could produce code for C compilers with
Pascal-XSC Pascal is an imperative and procedural programming language, designed by Niklaus Wirth as a small, efficient language intended to encourage good programming practices using structured programming and data structuring. It is named after French m ...
; 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 The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
. 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 The University of Wuppertal (''Universität Wuppertal'') is a German scientific institution located in Wuppertal in the state of North Rhine-Westphalia, Germany. The university's official name in German is ''Bergische Universität Wuppertal'' ...
to correspond to the improved C++ standard. Another C++-class library was created in 1993 at the
Hamburg University of Technology The Hamburg University of Technology (in German language, German ''Technische Universität Hamburg'', abbreviated TUHH (HH as acronym of Hamburg state) or TU Hamburg) is a research university in Germany. The university was founded in 1978 and in ...
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. The
Frink Frink may refer to: __NOTOC__ Places * Frink, Florida, an unincorporated community * Frink Park, a park in Seattle, Washington * Mount Frink, Vancouver Island, British Columbia, Canada People * Frink (surname) Music * "Frink", a 2024 song from ...
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 is another C++ interval arithmetic library that is unique in that it offers the relational interval operators used in interval
constraint programming Constraint programming (CP) is a paradigm for solving combinatorial problems that draws on a wide range of techniques from artificial intelligence, computer science, and operations research. In constraint programming, users declaratively state t ...
. The Moore library 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 Julia may refer to: People *Julia (given name), including a list of people with the name *Julia (surname), including a list of people with the name *Julia gens, a patrician family of Ancient Rome *Julia (clairvoyant) (fl. 1689), lady's maid of Qu ...
programming language has an implementation of interval arithmetics along with high-level features, such as
root-finding In numerical analysis, a root-finding algorithm is an algorithm for finding zeros, also called "roots", of continuous functions. A zero of a function is a number such that . As, generally, the zeros of a function cannot be computed exactly nor e ...
(for both real and complex-valued functions) and interval
constraint programming Constraint programming (CP) is a paradigm for solving combinatorial problems that draws on a wide range of techniques from artificial intelligence, computer science, and operations research. In constraint programming, users declaratively state t ...
, via the ValidatedNumerics.jl package. In addition, computer algebra systems, such as
Euler Mathematical Toolbox Euler Mathematical Toolbox (or EuMathT; formerly Euler) is a free and open-source numerical software package. It contains a matrix language, a graphical notebook style interface, and a plot window. Euler is designed for higher level math such as ...
,
FriCAS FriCAS is a general purpose computer algebra system with a strong focus on mathematical research and development of new algorithms. It comprises an interpreter, a compiler and a still-growing library of more than 1,000 domains and categories. Fr ...
,
Maple ''Acer'' is a genus of trees and shrubs commonly known as maples. The genus is placed in the soapberry family Sapindaceae.Stevens, P. F. (2001 onwards). Angiosperm Phylogeny Website. Version 9, June 2008 nd more or less continuously updated si ...
,
Mathematica Wolfram (previously known as Mathematica and Wolfram Mathematica) is a software system with built-in libraries for several areas of technical computing that allows machine learning, statistics, symbolic computation, data manipulation, network ...
, Maxima and
MuPAD MuPAD is a computer algebra system (CAS). Originally developed by the MuPAD research group at the University of Paderborn, Germany, development was taken over by the company SciFace Software GmbH & Co. KG in cooperation with the MuPAD research g ...
, can handle intervals. A
Matlab MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
extension ''Intlab'' builds on
BLAS Blas is mainly a Spanish given name and surname, related to Blaise. It may refer to Places *Piz Blas, mountain in Switzerland * San Blas (disambiguation) People * Ricardo Blas Jr. (born 1986) Judo athlete from Guam * Blas Antonio Sáenz (fl. 18 ...
routines, and the toolbox b4m makes a Profil/BIAS interface. A library for the functional language
OCaml OCaml ( , formerly Objective Caml) is a General-purpose programming language, general-purpose, High-level programming language, high-level, Comparison of multi-paradigm programming languages, multi-paradigm programming language which extends the ...
was written in assembly language and C. MPFI is a library for arbitrary precision interval arithmetic; it is written in C and is based on
MPFR The GNU Multiple Precision Floating-Point Reliable Library (GNU MPFR) is a GNU portable C (programming language), C Library (computing), library for Arbitrary-precision arithmetic, arbitrary-precision binary Floating-point arithmetic, floating-po ...
.


IEEE 1788 standard

A standard for interval arithmetic, IEEE Std 1788-2015, has been approved in June 2015. Two reference implementations are freely available. These have been developed by members of the standard's working group: The libieeep1788 library for C++, and the interval package for
GNU Octave GNU Octave is a scientific programming language for scientific computing and numerical computation. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly ...
. 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.


Conferences and workshops

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

*
Affine arithmetic Affine arithmetic (AA) is a model for self-validated numerical analysis. In AA, the quantities of interest are represented as affine combinations (affine forms) of certain primitive variables, which stand for sources of uncertainty in the data or ...
*
INTLAB INTLAB (INTerval LABoratory) is an interval arithmetic libraryS.M. Rump: INTLAB – INTerval LABoratory. In Tibor Csendes, editor, Developments in Reliable Computing, pages 77–104. Kluwer Academic Publishers, Dordrecht, 1999.Moore, R. E., Kearfott ...
(Interval Laboratory) *
Automatic differentiation In mathematics and computer algebra, automatic differentiation (auto-differentiation, autodiff, or AD), also called algorithmic differentiation, computational differentiation, and differentiation arithmetic Hend Dawood and Nefertiti Megahed (2023) ...
*
Multigrid method In numerical analysis, a multigrid method (MG method) is an algorithm for solving differential equations using a hierarchy of discretizations. They are an example of a class of techniques called multiresolution methods, very useful in problems e ...
*
Monte-Carlo simulation Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be det ...
*
Interval finite element In numerical analysis, the interval finite element method (interval FEM) is a finite element method that uses interval parameters. Interval FEM can be applied in situations where it is not possible to get reliable probabilistic characteristics of ...
*
Fuzzy number A fuzzy number is a generalization of a regular real number in the sense that it does not refer to one single value but rather to a connected set of possible values, where each possible value has its own weight between 0 and 1. This weight is call ...
*
Significant figures Significant figures, also referred to as significant digits, are specific digits within a number that is written in positional notation that carry both reliability and necessity in conveying a particular quantity. When presenting the outcom ...
*
Karlsruhe Accurate Arithmetic Karlsruhe Accurate Arithmetic (KAA), or Karlsruhe Accurate Arithmetic Approach (KAAA), augments conventional floating-point arithmetic with good error behaviour with new operations to calculate scalar products with a single rounding error. The ...
(KAA) *
Unum Unum Group is an American insurance company headquartered in Chattanooga, Tennessee. Founded as Union Mutual in 1848 and known as UnumProvident from 1999-2007, the company is part of the Fortune 500. Unum Group was created by the 1999 merger of ...


References


Further reading

* * * (11 pages) (NB. About
Triplex-ALGOL Karlsruhe ALGOL (; short for "Algorithmic Language") is a family of imperative computer programming languages originally developed in 1958. ALGOL heavily influenced many other languages and was the standard method for algorithm description used by the ...
, an ALGOL 60 (1963) implementation with support for triplex numbers.)


External links


Interval arithmetic (Wolfram Mathworld)

Validated Numerics for Pedestrians


University of Vienna The University of Vienna (, ) is a public university, public research university in Vienna, Austria. Founded by Rudolf IV, Duke of Austria, Duke Rudolph IV in 1365, it is the oldest university in the German-speaking world and among the largest ...

SWIM (Summer Workshop on Interval Methods)

International Conference on Parallel Processing and Applied Mathematics

INTLAB, Institute for Reliable Computing
,
Hamburg University of Technology The Hamburg University of Technology (in German language, German ''Technische Universität Hamburg'', abbreviated TUHH (HH as acronym of Hamburg state) or TU Hamburg) is a research university in Germany. The university was founded in 1978 and in ...

Ball arithmetic by Joris van der Hoeven


**
Arb - a C library for arbitrary-precision ball arithmetic
** * {{DEFAULTSORT:Interval Arithmetic Arithmetic Computer arithmetic Numerical analysis Data types