Interval Arithmetic An Elementary Introduction and Successful Applications

Similar documents
INTERVAL MATHEMATICS TECHNIQUES FOR CONTROL THEORY COMPUTATIONS

EXISTENCE VERIFICATION FOR SINGULAR ZEROS OF REAL NONLINEAR SYSTEMS

Verified Global Optimization with Taylor Model based Range Bounders

Computation of Interval Extensions Using Berz-Taylor Polynomial Models

Reliable Prediction of Phase Stability Using an Interval Newton Method

Comparison between Interval and Fuzzy Load Flow Methods Considering Uncertainty

1. Introduction. We consider the general global optimization problem

Find, with certainty, approximations to all solutions of the nonlinear system

Numerical Analysis: Solving Nonlinear Equations

Optimal Preconditioners for Interval Gauss Seidel Methods

Constraint propagation for univariate quadratic constraints

Numerical Methods. King Saud University

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

Optimizing the Representation of Intervals

Numerical Methods I Solving Nonlinear Equations

Exact and Approximate Numbers:

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

Optimizing Scientific Libraries for the Itanium

How to Explain Usefulness of Different Results when Teaching Calculus: Example of the Mean Value Theorem

Interval Methods and Taylor Model Methods for ODEs

Key words. numerical linear algebra, global optimization, validated computing, interval analysis

AIMS Exercise Set # 1

ON TAYLOR MODEL BASED INTEGRATION OF ODES

Solution of Nonlinear Equations

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

An Introduction to Differential Algebra

Validated Solutions of Initial Value Problems for Parametric ODEs

Verified Solution of Parametric Interval Linear Systems

A Few Concepts from Numerical Analysis

SYSTEMS OF NONLINEAR EQUATIONS

Global Optimization by Interval Analysis

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

GENG2140, S2, 2012 Week 7: Curve fitting

15 Nonlinear Equations and Zero-Finders

Taylor Model Range Bounding Schemes

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

SOLVING MULTIDIMENSIONAL NONLINEAR PERTURBED PROBLEMS USING INTERVAL ARITHMETIC. Islam Refaat Kamel Taha

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

Assume that you have made n different measurements of a quantity x. Usually the results of these measurements will vary; call them x 1

Outline. Math Numerical Analysis. Intermediate Value Theorem. Lecture Notes Zeros and Roots. Joseph M. Mahaffy,

Math Numerical Analysis

On Rigorous Upper Bounds to a Global Optimum

INFINITE SEQUENCES AND SERIES

NONLINEAR EQUATIONS AND TAYLOR S THEOREM

Compute the behavior of reality even if it is impossible to observe the processes (for example a black hole in astrophysics).

Nonlinear equations can take one of two forms. In the nonlinear root nding n n

Automatic determination of numerical properties of software and systems

Solution of Algebric & Transcendental Equations

High-Order Representation of Poincaré Maps

AN INTERVAL METHOD FOR INITIAL VALUE PROBLEMS IN LINEAR ORDINARY DIFFERENTIAL EQUATIONS

Numerical solutions of nonlinear systems of equations

Functions and Equations

min f(x). (2.1) Objectives consisting of a smooth convex term plus a nonconvex regularization term;

Introduction to Gröbner Bases for Geometric Modeling. Geometric & Solid Modeling 1989 Christoph M. Hoffmann

1 Backward and Forward Error

Accurate numerical orbit propagation using Polynomial Algebra Computational Engine PACE. ISSFD 2015 congress, Germany. Dated: September 14, 2015

An Introduction to Numerical Analysis

Logarithmic, Exponential, and Other Transcendental Functions

CS 323: Numerical Analysis and Computing

A New Monotonicity-Based Interval Extension Using Occurrence Grouping

17 Solution of Nonlinear Systems

Solving Global Optimization Problems by Interval Computation

AP Calculus Chapter 9: Infinite Series

Lecture 5: Random numbers and Monte Carlo (Numerical Recipes, Chapter 7) Motivations for generating random numbers

Quasiconvex relaxations based on interval arithmetic

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations

Outline. Scientific Computing: An Introductory Survey. Nonlinear Equations. Nonlinear Equations. Examples: Nonlinear Equations

Errors. Intensive Computation. Annalisa Massini 2017/2018

Deterministic Global Optimization of Nonlinear Dynamic Systems

Is the Hénon map chaotic

Formal Verification of Mathematical Algorithms

8.8 Applications of Taylor Polynomials

Numerical Analysis Exam with Solutions

Partitions in the quintillions or Billions of congruences

Affine Arithmetic: Concepts and Applications

Unit 2: Solving Scalar Equations. Notes prepared by: Amos Ron, Yunpeng Li, Mark Cowlishaw, Steve Wright Instructor: Steve Wright

function independent dependent domain range graph of the function The Vertical Line Test

ROOT FINDING REVIEW MICHELLE FENG

Computational tools for reliable global optimization. Charlie Vanaret, Institut de Recherche en Informatique de Toulouse

The Big 50 Revision Guidelines for C3

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Using Meta-inference with Prolog to Preserve Accuracy in Numerical Equation Solving

Verified Branch and Bound for Singular Linear and Nonlinear Programs An Epsilon-Inflation Process

Elements of Floating-point Arithmetic

Motivation: We have already seen an example of a system of nonlinear equations when we studied Gaussian integration (p.8 of integration notes)

Numerical Algorithms. IE 496 Lecture 20

Deterministic Global Optimization for Dynamic Systems Using Interval Analysis

Fast matrix algebra for dense matrices with rank-deficient off-diagonal blocks

Solving Linear Systems of Equations

x y = x + y. For example, the tropical sum 4 9 = 4, and the tropical product 4 9 = 13.

Numerical Methods - Preliminaries

Introduction to Numerical Analysis

Exclusion regions for systems of equations

Chapter 1 Error Analysis

Floating Point Number Systems. Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le

Sharp Interval Estimates for Finite Element Solutions with Fuzzy Material Properties

Real Root Isolation of Polynomial Equations Ba. Equations Based on Hybrid Computation

Numerical Methods in Informatics

Transcription:

Interval Arithmetic An Elementary Introduction and Successful Applications by R. Baker Kearfott Department of Mathematics University of Southwestern Louisiana U.S.L. Box 4-1010 Lafayette, LA 70504-1010 U.S.A. 1994 UTEP 1

Abstract We will first introduce the elements of interval arithmetic. We will then outline areas of applicability in computer science and engineering, giving simple, illustrative examples. We will conclude with references and brief presentations of successful realistic applications. 1994 UTEP 2

Outline of Talk 1. Review of Interval Arithmetic 2. Interval Newton Methods 3. A simple example Computational Existence Verification 4. Global Optimization 5. Successes in Practical Areas 1994 UTEP 3

What is Interval Arithmetic? Interval arithmetic is based on defining the four elementary arithmetic operations on intervals. Let a = [a l, a u ] and b = [b l, b u ] be intervals. Then, if op {+,,, /}, we define a op b = {x op y x a and y b}. For example, a+b = [a l +b l, a u +b u ]. In fact, all four operations can be defined in terms of addition, subtraction, multiplication, and division of the endpoints of the intervals, although multiplication and division may require comparison of several results. The result of these operations is an interval except when we compute a/b and 0 b. 1994 UTEP 4

Why Interval Arithmetic? With directed roundings, we can bound roundoff error in the computations. We can combine interval arithmetic with tools such as fixed-point iteration theorems to automatically verify rigorous bounds, from approximate solutions. automatic theorem proving. Interval arithmetic provides rigorous bounds on the ranges of functions. Posession of such bounds can be powerful, especially in rigorous global optimization. 1994 UTEP 5

An Example of Interval Arithmetic [ 1, 2] ([3, 4] + [ 5, 6])) = [ 1, 2] ([ 2, 10]) = [ 10, 20], whereas [ 1, 2][3, 4] + [ 1, 2][ 5, 6] = [ 4, 8] + [ 10, 12] = [ 14, 20] Here, [ 14, 20] = {x x = x 1 + x 2, x 1 [ 4, 8], x 2 [ 10, 12]}, and [ 14, 20] contains the range of xy + xz for x [ 1, 2], y [3, 4], and z [ 5, 6]. 1994 UTEP 6

Inclusion Monotonic Interval Extensions of Functions Definition. If f is a continuous function of a real variable, then an inclusion monotonic interval extension f is a function from the set of intervals to the set of intervals, such that, if x is an interval in the domain of f, and such that {f(x) x x} f(x) x y f(x) f(y). We may obtain such interval extensions of a polynomial by replacing real operations by corresponding interval operations. For example, if p(x) = x 2 4, then p([1, 2]) may be defined by p([1, 2]) = ([1, 2]) 2 4 = ([1, 4]) [4, 4] = [ 3, 0]. 1994 UTEP 7

Interval Extensions of Transcendental Functions We may use the mean value theorem or Taylor s theorem with remainder formula. For example, suppose x is an interval and a x. Then, for any y x, we have sin(y) = sin(a) + (y a) cos(a) (y a) 2 /2 sin(c) for some c between a and y. If a and y are both within a range where the sine function is non-negative, then we obtain sin(y) sin(a) + (x a) cos(a) (x a)2. 2 Specifically, if x = [.1,.3] and we use a =.2, we would obtain the value sin([.1,.3]) sin(.2) + [.1,.1] cos(.1) ([.1,.1]2 ) 2 [.0998,.0999] + [.1,.1][.995,.996] + [.005, 0] = [.0048,.1995] Sharper interval extensions may be obtained in specific cases by using e.g. monotonicity of the original function. 1994 UTEP 8

Pitfalls to Naive Interval Arithmetic For rigorous bounds on roundoff error, one may be tempted to translate floating-point computer codes by merely replacing real with interval. Due to interval dependencies, such naive development often is unsuccessful. Interval arithmetic is successful if it is applied to appropriate tasks and with appropriate algorithms. It provides rigorous results from the computer arithmetic. It can actually result in faster algorithms, even if the interval arithmetic is in software and much slower than floating point. Researchers continue to enlarge the domain in which interval analysis can make computations rigorous and reliable. 1994 UTEP 9

Introduction to Applications Nonlinear Equations Interval Newton Methods Interval analysis can be used either to Construct rigorous bounds around an approximate solution, in which an actual solution must lie. Exhaustively search a region to find all roots of a nonlinear system. Verification is easier than exhaustive search. However, both tasks are based on computational existence / uniqueness theorems. 1994 UTEP 10

Introduction to Applications A Computational Existence / Uniqueness Metatheorem Let F : R n R n correspond to the system F (X) = (1) (f 1 (x 1, x 2,..., x n ),..., f n (x 1, x 2,..., x n )) = 0. We write x = (x 1, x 2,..., x n ), and we denote a box (set of interval bounds on the variables x i ) by x. 1994 UTEP 11

A Computational Existence / Uniqueness Metatheorem We first transform F (X) = 0 to the linear interval system F (x (k) )( x (k) x (k) ) = F (x (k) ) (2) where F (x (k) ) is a suitable interval extension of the Jacobian matrix of F. We then formally solve (2) using interval arithmetic to obtain a box x (k) which satisfies F (x (k) )( x (k) x (k) ) F (x (k) ), (3) such that x (k) contains all solutions to the original nonlinear system within x (k). We then define the next iterate x (k+1) by x (k+1) = x (k) x (k). (4) Depending on how we obtain x (k), this interval Newton method leads to a root inclusion test, since If x (k) x (k), then the nonlinear system of equations has a unique solution in x (k). Conversely, if x (k) x (k) = then there are no solutions of the system in x (k). 1994 UTEP 12

Computational Existence / Uniqueness Ife n = 1 and A Simple Example f(x) = x 2 4, then the linear interval system becomes 2x i ( x i x i ) = f(x i ). The interval Newton iteration equation becomes x i = x = x i f(x i) 2x i = x f(x) 2x. If we choose initial interval and point x (k) = x i = x = [1, 2.5], x i = x = 1.75, then x = 1.75.9375 [2, 5] = 1.75 [.1875,.46875] (5) = [1.9375, 2.21875] x, (6) so we may conclude that there is a unique root of f in x. 1994 UTEP 13

Finding All Roots In univariate problems, interval Newton methods can be iterated with extended interval arithmetic to always find all roots. In multivariate problems, interval Newton methods can be combined with generalized bisection and binary search to always find all roots. In both instances, failure modes are benign: Failure can only occur by exceeding the computer s resources or because of the limited resolution of the floating-point numbers. When failure occurs, the algorithms still print a list of boxes within which all roots must lie. 1994 UTEP 14

Finding All Roots An Example As before, let f(x) = x 2 4, but now let x (k) = x i = x = [ 2, 2] and x i = x = 0. The first iteration of the interval Newton method thus becomes x = 0 4 = 0 ([, 1] [1, ]) (7) [ 4, 4] = ([, 1] [1, ]) (8) Thus, x x (k) = [ 2, 1] [1, 2]. (9) One of the intervals in Equation 9 is put on a list for further processing, and the interval Newton method is iterated on the other. The interval Newton method will converge to zerowidth intervals for each startin interval from Equation 9. Hansen has proven that this behavior is true in general. 1994 UTEP 15

Global Optimization With interval methods, we can: Find, with certainty, the global minimum of the nonlinear objective function ϕ(x) = ϕ(x 1, x 2,..., x n ) (10) where bounds x i and x i are known with x i x i x i for 1 i n. To do this, a branch-and-bound algorithm with the following general features is used. A technique for partitioning a region into subregions is combined with a technique for computing a lower bound ϕ and an upper bound ϕ of the objective function ϕ over a region x. The subboxes are placed in a list in order of increasing ϕ. The list is purged of those boxes for which ϕ is greater than ϕ for some other box in the list. An interval Newton method accelerates the procedure by quickly and rigorously locating critical points. 1994 UTEP 16

Global Optimization An Example Suppose we are to minimize f(x) = x 2 2x+ 1 (written in that way), and the search region is x = [.5, 2]. f((.5 + 2)/2)) = f(1.25) = 0.0625, so the best estimate of the minimum is 0.0625. Split [.5, 2] to [.5, 1.25] and [1.25, 2]; compute f([.5, 1.25]) = [ 1.25, 1.5625]; f(0.875) = 0.015625 < 0.0625, so 0.015625 is the new best estimate. Store [.5, 1.25] on a list L. f([1.25, 2]) = [ 1.4375, 2.5]; f(1.625) =.390625, so there is no new best estimate. Store [1.25, 2] on L before [.5, 1.25], since 1.4375 < 1.25. 1994 UTEP 17

Optimization (Continued) Continue such processing by popping the first item from the list. if a lower bound on a box is bigger than the best estimate, discard the box. Put a box on a final list if its diameter is small. Interval Newton methods can be used to accelerate the process. Traditional optimization codes are useful to get good best estimates. 1994 UTEP 18

An Optimization Example (See blackboard.) List of boxes considered 1994 UTEP 19

Successes in Practical Areas Summary Nonlinear Algebraic Systems Global Optimization Linear Algebraic Systems: Error analysis Sensitivity Analysis: Economic models, etc. Geometric Computations Rigorous bounds on solutions of ordinary and partial differential equations are more difficult, but notable successes have occurred recently. 1994 UTEP 20

Practical Successes Nonlinear Algebraic Systems Chemical Engineering Problems Carol Schnepper s Ph.D. dissertation (University of Illinois) Continuation Methods a foolproof step control for path following Zhaoyun Xing s dissertation (USL) Theory is exhaustively written in a 1990 book by Neumaier. We are presently working on a comprehensive software environment. 1994 UTEP 21

Practical Successes Global Optimization Interval methods are generally very competitive relative to alternatives, both deterministic and stochastic. Hansen has a monograph on the subject. Moore, Hansen, Leclerc, Jansson, and Knüppel have developed algorithms for parallel architecture. Arnold Neumaier and David Gay at AT&T are presently writing software for distribution. Our software system will also include such code. 1994 UTEP 22

Practical Successes Sensitivity of Linear Systems Fixed-point contraction-mapping like theorems, as above, can be used to obtain guaranteed bounds on solutions. Falcó Korn and Christian Ullrich have combined these with the Linpack band matrix routines. In theory and practice The interval bound widths are comparable to the LINPACK condition estimator size, but are rigorous. The interval bounds require much less computation for very large, sparse systems. 1994 UTEP 23

Practical Successes Economic Models Matthews, Broadwater, and Brown have applied interval techniques to estimation of electric utility expenses and revenue. Uncertainty in items such as interest rates is expressed as intervals. Computations are arranged so that interval outputs are sharp and useful. 1994 UTEP 24

Practical Successes Geometric Computation Mudur and Koparkar (1984) Outline techniques for obtaining sharp bounds for geometric computations such as evaluating lengths and areas, curve-curve and surface-surface intersections, testing linearity and planarity. Patrikalakis and co-workers (recent) Solution of nonlinear systems related to robot vision and object recognition Computation of singularities and offsets of planar curves. Other work is in progress, including applying our work on continuation methods. 1994 UTEP 25