12 April 2013Lecture 2: Intervals, Interval Arithmetic and Interval Functions1 Intervals, Interval Arithmetic and Interval Functions Jorge Cruz DI/FCT/UNL.

Slides:



Advertisements
Similar presentations
The Function Concept DEFINITION: A function consists of two nonempty sets X and Y and a rule f that associates each element x in X with one.
Advertisements

6. 4 Integration with tables and computer algebra systems 6
Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Introduction Functions are relations in which each element in the domain is mapped to exactly one element in the range; that is, for every value of x,
The Engineering Design of Systems: Models and Methods
Algebraic Structures DEFINITIONS: PROPERTIES OF BINARY OPERATIONS Let S be a set and let  denote a binary operation on S. (Here  does not necessarily.
Foundations of Data-Flow Analysis. Basic Questions Under what circumstances is the iterative algorithm used in the data-flow analysis correct? How precise.
1 Basic abstract interpretation theory. 2 The general idea §a semantics l any definition style, from a denotational definition to a detailed interpreter.
19 April 2013Lecture 4: Associating Narrowing Functions to Constraints1 Associating Narrowing Functions to Constraints Jorge Cruz DI/FCT/UNL April 2013.
19 April 2013Lecture 3: Interval Newton Method1 Interval Newton Method Jorge Cruz DI/FCT/UNL April 2013.
Math 112 Elementary Functions
CS180 Recitation 3. Lecture: Overflow byte b; b = 127; b += 1; System.out.println("b is" + b); b is -128 byte b; b = 128; //will not compile! b went out.
Theory and Applications
Boolean Algebra cont’ The digital abstraction מבנה המחשב + מבוא למחשבים ספרתיים תרגול 2#
1 Foundations of Interval Computation Trong Wu Phone: Department of Computer Science Southern Illinois University Edwardsville.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
Function: Definition A function is a correspondence from a first set, called the domain, to a second set, called the range, such that each element in the.
Logarithmic Functions  In this section, another type of function will be studied called the logarithmic function. There is a close connection between.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Introduction to Functions
Slide 5-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Copyright © Cengage Learning. All rights reserved.
Real Numbers and Their Properties รายวิชา ค ความรู้พื้นฐานสำหรับแคลคูลัส 1 ภาคเรียนที่ 1 ปีการศึกษา 2552.
Sequences Informally, a sequence is a set of elements written in a row. – This concept is represented in CS using one- dimensional arrays The goal of mathematics.
1 Preliminaries Precalculus Review I Precalculus Review II
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
Numerical Computations in Linear Algebra. Mathematically posed problems that are to be solved, or whose solution is to be confirmed on a digital computer.
Multiple Integrals 12. Double Integrals over General Regions 12.3.
Introduction to Functions
Solving fixpoint equations
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
The Relational Model: Relational Calculus
Chapter 3 Functions Functions provide a means of expressing relationships between variables, which can be numbers or non-numerical objects.
Functions and Their Properties Def: Function, Domain and Range A function from a set D to a set R is a rule that assigns to every element in D a unique.
Section 2.1 Functions. 1. Relations A relation is any set of ordered pairs Definition DOMAINRANGE independent variable dependent variable.
MTH 104 Calculus and Analytical Geometry Lecture No. 2.
Basics of Functions.
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
Round-off Errors and Computer Arithmetic. The arithmetic performed by a calculator or computer is different from the arithmetic in algebra and calculus.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
Multiple Integrals 12.
Chapter 5-The Integral Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
Thinking Mathematically
Copyright © 2009 Pearson Education, Inc. Chapter 5 Section 1 - Slide 1 Chapter 1 Number Theory and the Real Number System.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
THE REAL NUMBERS College Algebra. Sets Set notation Union of sets Intersection of sets Subsets Combinations of three or more sets Applications.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Estimates and Sample Sizes Chapter 6 M A R I O F. T R I O L A Copyright © 1998,
Factoring using GCF Algebra I. Definitions Prime number – is a whole number whose only factors are itself and one (a number can’t be factored any more)
Interval Notation Interval Notation to/from Inequalities Number Line Plots open & closed endpoint conventions Unions and Intersections Bounded vs. unbounded.
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
INM175 Topic 8 1 Module INM175 Discrete Mathematics Topic 8 Algebraic Theories.
Section 4.1 Inverse Functions. What are Inverse Operations? Inverse operations are operations that “undo” each other. Examples Addition and Subtraction.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
November 12, 2009Theory of Computation Lecture 17: Calculations on Strings II 1 Numerical Representation of Strings First, we define two primitive recursive.
Date: 1.2 Functions And Their Properties A relation is any set of ordered pairs. The set of all first components of the ordered pairs is called the domain.
Review of Complex Numbers A complex number z = (x,y) is an ordered pair of real numbers; x is called the real part and y is called the imaginary part,
Slide Copyright © 2009 Pearson Education, Inc. Slide Copyright © 2009 Pearson Education, Inc. Chapter 1 Number Theory and the Real Number System.
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
Properties of Real Numbers
TOPIC 20.2 Composite and Inverse Functions
5 Systems of Linear Equations and Matrices
Basic Rules Of ALGEBRA.
1.1 Real Numbers.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Functions.
The Distributive Property
Arab Open University Faculty of Computer Studies Dr
Presentation transcript:

12 April 2013Lecture 2: Intervals, Interval Arithmetic and Interval Functions1 Intervals, Interval Arithmetic and Interval Functions Jorge Cruz DI/FCT/UNL April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions2 Basic Concepts Intervals, Interval Arithmetic and Interval Functions Interval Operations and Basic Functions F-Numbers, Intervals and Boxes Representation of Continuous Domains Interval Approximations Interval Functions Interval Extensions Interval Expressions and their Evaluation Interval Arithmetic Safe Evaluation Algebraic Properties Basic Interval Arithmetic Operators Extended Interval Arithmetic 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions3 Basic Concepts 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions4 Basic Concepts 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions5 Basic Concepts 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions6 Representation of Continuous Domains F-Numbers, Intervals and Boxes any two real elements of F are ordered as in ℝ F is totally ordered: ‑  < r < +  for all real element r -  - =-  and +  + =+  If f is an F-number, f - and f + are the two F ‑ numbers immediately below and above f in the total order: -  + is the smallest real in F and +  - is the largest real in F 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions7 Representation of Continuous Domains In the following we only consider closed F-intervals: [a,b] If a=b the interval is degenerated and is represented as a F-Numbers, Intervals and Boxes 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions8 Representation of Continuous Domains Extending the interval concepts to multiple dimensions: F-Numbers, Intervals and Boxes 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions9 Representation of Continuous Domains Interval Operations and Basic Functions All the usual set operations may also be applied on intervals:  (intersection)  (union)  (inclusion) A particularly useful operation is the union hull ( ⊎ ): In the case of closed intervals [a,b] and [c,d]: [a,b] ⊎ [c,d] = [min(a,c),max(b,d)] 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions10 Representation of Continuous Domains Interval Operations and Basic Functions 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions11 Representation of Continuous Domains Interval Approximations For any real number r we will denote by:  r  the largest F-number not greater than r (  =  )  r  the smallest F-number not smaller than r (  =  ) 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions12 Representation of Continuous Domains Interval Approximations For any real number r we will denote by:  r  the largest F-number not greater than r (  =  )  r  the smallest F-number not smaller than r (  =  ) 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions13 Interval Arithmetic Interval arithmetic is an extension of real arithmetic for intervals Basic Interval Arithmetic Operators The basic operators are redefined for intervals: the result is the set obtained by applying the operator to any pair of reals from the interval operands Algebraic rules may be defined to evaluate any basic operation on intervals in terms of formulas for its bounds 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions14 Interval Arithmetic Algebraic Properties Most algebraic properties of real arithmetic also hold for interval arithmetic: the distributive law is an exception Inclusion monotonicity is an important new concept 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions15 Interval Arithmetic Algebraic Properties Example of Subdistributivity: Example of Inclusion monotonicity: (the same operations with smaller domains) 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions16 Interval Arithmetic Safe Evaluation In interval arithmetic computations of the correct real values must be always within the bounds of the resulting interval Outward rounding forces the result of any basic interval arithmetic operation to be the interval approximation of the correct real interval (obtained with infinite precision) If  is a basic interval arithmetic operator then  apx denotes the corresponding outward evaluation rule:  apx (I 1,…,I m )=I apx (  (I 1,…,I m )) 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions17 Interval Arithmetic Safe Evaluation In interval arithmetic computations the correct real values must be always within the bounds of the resulting interval The correctness of the interval arithmetic computations is guaranteed by the inclusion monotonicity property: if the correct real values are within the operand intervals then the correct real values resulting from any interval arithmetic operation must also be within the resulting interval. The computation of a successive composition of basic arithmetic operations over real intervals preserve the correct real values within the final resulting interval 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions18 Interval Arithmetic Extended Interval Arithmetic Extensions on the definition of the division operator: allow division by an interval containing 0 if c<0<d then [a,b]/[c,d]=[a,b]/[c,0  ]  [a,b]/[0 ,d] [1,2]/[  1,1] =[1,2]/[  1,0  ]  [1,2]/[0 ,1] [ ,  1]  [1,  ] Extensions on the real intervals allowed as arguments: allow open intervals and infinite bounds ( ,  1]+[  1,3] =( ,2] ( ,  1]+[  1,  ] = ( ,  ] Extensions on the set of basic interval operators: allow other elementary functions (exp, ln, power, sin, cos…) exp([a,b]) = [exp(a),exp(b)] 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions19 Interval Functions Interval Expressions and their Evaluation If x 1, x 2 and x 3 are real valued variables then (x 1 +x 2 )  (x 3 -  ) is a real expression with three binary real operators (+,  and -) and a real constant (  ). If X 1 and X 2 are interval valued variables then (X 1 +cos([0..  ]  X 2 )) is an interval expression with two binary interval operators (+ and  ), a unary interval operator (cos) and an interval constant ([0..  ]). 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions20 Interval Functions Interval Expressions and their Evaluation Interval arithmetic provides a safe method for evaluating an interval expression: replace each variable by its interval domain; apply recursively the basic operator evaluation rules The interval arithmetic evaluation of an interval expression provides a sound computation of the interval function represented by the expression 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions21 Interval Functions Interval Expressions and their Evaluation 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions22 Interval Functions Interval Extensions Consequently, F provides a sound evaluation of f in the sense that the correct real value is not lost If F is an interval extension of f then each real value mapped by f must lie within the interval mapped by F when the argument is the corresponding box of degenerate intervals The interval arithmetic evaluation of any expression representing an interval extension of a real function provides a sound evaluation for its range and is itself an interval extension of the real function 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions23 Interval Functions Interval Extensions 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions24 Interval Functions Interval Extensions Several equivalent real expressions may represent the same real function f. Consequently, the natural interval extensions with respect to these equivalent real expressions are all interval extensions of f. 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions25 Interval Functions Interval Extensions 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions26 Interval Functions Interval Extensions 12 April 2013

Lecture 2: Intervals, Interval Arithmetic and Interval Functions27 Interval Functions Interval Extensions occurs only once no overestimation 12 April 2013