Lably
Skip to content

Affine arithmetic

Concept in mathematics

  • 6 min read
  • 5 chapters

Related on Lably

Through Numerical analysis, Dynamical system and Integral

Affine arithmetic is meant to be an improvement on interval arithmetic (IA), and is similar to generalized interval arithmetic, first-order Taylor arithmetic, the center-slope model, and ellipsoid calculus — in the sense that it is an automatic method to derive first-order guaranteed approximations to general formulas.

Affine arithmetic is potentially useful in every numeric problem where one needs guaranteed enclosures to smooth functions, such as solving systems of non-linear equations, analyzing dynamical systems, integrating functions, differential equations, etc. Applications include ray tracing, plotting curves, intersecting implicit and parametric surfaces, error analysis (mathematics), process control, worst-case analysis of electric circuits, and more.

Definition

In affine arithmetic, each input or computed quantity x is represented by a formula x=x0+x1ϵ1+x2ϵ2+⋯+xnϵn where x0,x1,x2,…,xn are known floating-point numbers, and ϵ1,ϵ2,…,ϵn are symbolic variables whose values are only known to lie in the range [-1,+1].

Thus, for example, a quantity X which is known to lie in the range [3,7] can be represented by the affine form x=5+2ϵk, for some k. Conversely, the form x=10+2ϵ3−5ϵ8 implies that the corresponding quantity X lies in the range [3,17].

The sharing of a symbol ϵj among two affine forms x, y implies that the corresponding quantities X, Y are partially dependent, in the sense that their joint range is smaller than the Cartesian product of their separate ranges. For example, if x=10+2ϵ3−6ϵ8 and y=20+3ϵ4+4ϵ8, then the individual ranges of X and Y are [2,18] and [13,27], but the joint range of the pair (X,Y) is the hexagon with corners (2,27), (6,27), (18,19), (18,13), (14,13), (2,21) — which is a proper subset of the rectangle [2,18]×[13,27].

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Topics in mathematics