Abbas Edalat Imperial College London www.doc.ic.ac.uk/~ae joint work with Marko Krznaric and Andre Lieutier Domain-theoretic Solution of Differential Equations.

Slides:



Advertisements
Similar presentations
Abbas Edalat Imperial College London Interval Derivative of Functions.
Advertisements

Joint work with Andre Lieutier Dassault Systemes Domain Theory and Differential Calculus Abbas Edalat Imperial College Oxford.
Abbas Edalat Imperial College London Contains joint work with Andre Lieutier (AL) and joint work with Marko Krznaric (MK) Data Types.
Joint work with Andre Lieutier Dassault Systemes Domain Theoretic Models of Geometry and Differential Calculus Abbas Edalat Imperial College
Technique of nondimensionalization Aim: –To remove physical dimensions –To reduce the number of parameters –To balance or distinguish different terms in.
Primitive Recursive Functions (Chapter 3)
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
ESSENTIAL CALCULUS CH11 Partial derivatives
MA Day 24- February 8, 2013 Section 11.3: Clairaut’s Theorem Section 11.4: Differentiability of f(x,y,z) Section 11.5: The Chain Rule.
1.5 Elementary Matrices and a Method for Finding
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Stokes’ Theorem Divergence Theorem
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide 5- 1.
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Ordinary Differential Equations Final Review Shurong Sun University of Jinan Semester 1,
Ordinary Differential Equations S.-Y. Leu Sept. 21,28, 2005.
Programming Language Semantics Denotational Semantics Chapter 5 Part III Based on a lecture by Martin Abadi.
2.1 Functions and their Graphs p. 67. Assignment Pp #5-48 all.
Mathematics for Business (Finance)
Polynomial Factorization Olga Sergeeva Ferien-Akademie 2004, September 19 – October 1.
3 Polynomial and Rational Functions © 2008 Pearson Addison-Wesley. All rights reserved Sections 3.1–3.4.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide 5- 1.
ORDINARY DIFFERENTIAL EQUATION (ODE) LAPLACE TRANSFORM.
Functions of Several Variables Local Linear Approximation.
Domain Theory, Computational Geometry and Differential Calculus Abbas Edalat Imperial College London With contributions from Andre.
Solving fixpoint equations
Continuity ( Section 1.8) Alex Karassev. Definition A function f is continuous at a number a if Thus, we can use direct substitution to compute the limit.
CHAPTER 1: PREREQUISITES FOR CALCULUS SECTION 1.2: FUNCTIONS AND GRAPHS AP CALCULUS AB.
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
Constructing the Antiderivative Solving (Simple) Differential Equations The Fundamental Theorem of Calculus (Part 2) Chapter 6: Calculus~ Hughes-Hallett.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
7.4: The Fundamental Theorem of Calculus Objectives: To use the FTC to evaluate definite integrals To calculate total area under a curve using FTC and.
MA Day 25- February 11, 2013 Review of last week’s material Section 11.5: The Chain Rule Section 11.6: The Directional Derivative.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
Integration of 3-body encounter. Figure taken from
Chapter 1-The Basics Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
MA4266 Topology Wayne Lawton Department of Mathematics S ,
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Warm Up – NO CALCULATOR Let f(x) = x2 – 2x.
Chapter 5-The Integral Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
 Constructing the Antiderivative  Solving (Simple) Differential Equations  The Fundamental Theorem of Calculus (Part 2) Chapter 6: Calculus~ Hughes-
1 ECG Saarbrücken Robustness issues & CAD André Lieutier Robustness issues in Geometric computations for Computer Aided Design André Lieutier practices.
Domain-theoretic Models of Differential Calculus and Geometry Abbas Edalat Imperial College London BRICS, February 2003 Contributions.
Domain Theory and Multi-Variable Calculus Abbas Edalat Imperial College London Joint work with Andre Lieutier, Dirk Pattinson.
Chapter 5: Calculus~Hughes-Hallett §The Definite Integral.
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Unit II Discrete Structures Relations and Functions SE (Comp.Engg.)
A data Type for Computational Geometry & Solid Modelling Abbas Edalat Andr é Lieutier Imperial College Dassault Systemes.
1 Chapter 1 Introduction to Differential Equations 1.1 Introduction The mathematical formulation problems in engineering and science usually leads to equations.
Ordinary Differential Equations
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
MA Day 30 - February 18, 2013 Section 11.7: Finish optimization examples Section 12.1: Double Integrals over Rectangles.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 11/11/2008.
Finite Element Method. History Application Consider the two point boundary value problem.
The Jordan Arc theorem. A Lemma: For a connected, finite union of open discs, no two of which are mutually tangent, the outer boundary (which separates.
2.1 Functions and their Graphs Standard: Students will understand that when a element in the domain is mapped to a unique element in the range, the relation.
Runge Kutta schemes Taylor series method Numeric solutions of ordinary differential equations.
Multiple- Choice, Section I Part A Multiple- Choice, Section I Part B Free- Response, Section II Part A Free- Response, Section II Part B # of Questions.
1 Lecture 5 Functions. 2 Functions in real applications Curve of a bridge can be described by a function Converting Celsius to Fahrenheit.
Infinite sets We say that a set A is infinite if a proper subset B exists of A such that there is a bijection It is easy to see that no set with a finite.
CHAPTER III LAPLACE TRANSFORM
2.1 Functions and their Graphs
Complex Variables. Complex Variables Open Disks or Neighborhoods Definition. The set of all points z which satisfy the inequality |z – z0|
7.2 Area Between Two Curves
5.1 Power Series Method Section 5.1 p1.
Continuity Alex Karassev.
9.5 Parametric Equations.
Drill #17* List the relation (set of ordered pairs) and the domain and range of the following mapping: 1. Find the value of the following if f(x) = 2.
(Finding area using integration)
Presentation transcript:

Abbas Edalat Imperial College London joint work with Marko Krznaric and Andre Lieutier Domain-theoretic Solution of Differential Equations

2Aim Develop data types for ordinary differential equations. Solve initial value problems up to any given precision: = v(t,x) with v: R 2  R continuous and Lipschitz in x x(t 0 ) = x 0 with (t 0,x 0 )  R 2

3 Let IR={ [a,b] | a, b  R}  {R} (IR,  ) is a cpo with R as bottom  and: ⊔ i  0 a i =  i  0 a i (IR, ⊑ ) is a continuous Scott domain: countable basis {[p,q] | p < q & p, q  Q}  x {x} R I R x  {x} : R  IR gives an embedding onto the maximal elements The Domain of Intervals of R

4 Data-type for Functions Lubs of finite and bounded collections of single- step functions ⊔ 1  i  n (a i ↘ b i ) are called step functions. Single-step function: a ↘ b : [0,1]  IR, with a  I[0,1], b  IR: b x  interior of a x   otherwise is Scott continuous. b ax

5 Step Functions-An Example 01 R b1b1 a3a3 a2a2 a1a1 b3b3 b2b2

6 Refining the Step Functions 01 R b1b1 a3a3 a2a2 a1a1 b3b3 b2b2

7 Domain for Continuous Functions Partial order on functions [0,1]  IR : f ⊑ g   x  R. f(x) ⊑ g(x) ([0,1]  IR, ⊑ ) is a continuous Scott domain. Step functions, with a i, b i rational intervals, give a basis for [0,1]  IR f  If: C 0 [0,1] ↪ ( [0,1]  IR) is an embedding into a subset of maximal elements of [0,1]  IR. Scott continuous function g: [0,1]  IR is given by g(x) = [g (x), g + (x)], for x  dom(g), where g, g + : dom(g)  R f : [0,1]  R, f  C 0 [0,1] ( continuous functions ) has continuous extension If : [0,1]  IR x  {f (x)}

8 Domain for Differentiable Functions If h  C 1 [0,1] (continuously differentiale functions), then ( Ih, Ih )  ([0,1]  IR)  ([0,1]  IR) What pairs ( f, g)  ([0,1]  IR) 2 approximate a differentiable function? We can approximate ( Ih, Ih ) in ([0,1]  IR) 2 i.e. ( f, g) ⊑ ( Ih,Ih ) with f ⊑ Ih and g ⊑ Ih

9 Function and Derivative Consistency Consistency relation: For basis elements (f,g)  ([0,1]  IR)  ([0,1]  IR) define (f,g)  Cons if there is a piecewise linear map h: dom(g)  R with f ⊑ Ih and g ⊑ (wherever h is linear). Theorem. (f,g)  Cons iff there is a least function L(f,g) and a greatest function G(f,g) with the above properties in each connected component of dom(g) which intersects dom(f).

10 Approximating function: f = ⊔ i a i ↘ b i ( ⊔ 1  i  n a i ↘ b i, ⊔ 1  j  m c j ↘ d j )  Cons is decidable: Consistency for basis elements L(f,g) = least function G(f,g) = greatest function Updating. Up(f,g) := (f g, g) where f g : t  [ L(f,g)(t), G(f,g)(t) ] f g (t) t Approximating derivative: g = ⊔ j c j ↘ d j

11 f 1 1 Function and Derivative Information g 1 2

12 f 1 1Updating g 1 2

13 f 1 1 Updating Algorithm g 1 2

14 f 1 1 Updating Algorithm (left to right) g 1 2

15 f 1 1 Updating Algorithm (left to right) g 1 2

16 f 1 1 Updating Algorithm (right to left) g 1 2

17 f 1 1 Updating Algorithm (right to left) g 1 2

18 f 1 1 Dually for the upper boundary g 1 2

19 f 1 1 Output of the Updating Algorithm g 1 2

20 Theorem. D 1 [0,1]:= { (f,g)  ([0,1]  IR) 2 | (f,g)  Cons} is a continuous Scott domain. The Domain of Differentiable Functions Theorem. C 1 [0,1] embeds into the set of maximal elements of D 1 [0,1]

21 Solving Initial Value Problems = v(t,x) with v: R 2  R continuous and Lipschitz in x x(0) = 0 The function v is bounded by M say in a rectangle K around the origin. Take positive a<1, say, such that [-a,a]  [-Ma,Ma]  K. The initial condition x(0) = 0 is captured by the Scott continuous map: f = ⊔ n  0 f n where f n = [-a/2 n,a /2 n ] ↘ [-Ma/2 n, Ma/ 2 n ] This is the initial function approximation. It also gives the initial derivative approximation: t. v (t, f(t) )) [-Ma,Ma] [-a,a]

22 Solve the ODE by iterating Up ⃘ Ap v on D 1 [-1,1] starting with ( f, t. v (t, f(t) )) Theorem. The domain-theoretic solution ⊔ n  0 (Up ⃘ Ap v ) n (f, t. v (t, f(t) )) is the unique classical solution through (0,0). Function and Derivative Upgrading Derivative upgrading: Ap v : ([-1,1]  IR) 2  ([-1,1]  IR) 2 (f,g)  ( f, t. v (t, f(t) )) Function upgrading: Up : ([-1,1]  IR) 2  ([-1,1]  IR) 2 Up(f,g) = (f g, g) where f g (t) = [ L (f,g) (t), G (f,g) (t) ]

23 Computation of the solution for a given precision  Computation of the solution for a given precision  >0 Let ( u n, w n ) := (P v ) n (f n, t. v n (t, f n (t) ) ) with u n = [u n -,u n + ] We express f and v as lubs of step functions: f = ⊔ n  0 f n v = ⊔ n  0 v n Putting P v := Up ⃘ Ap v the solution is obtained as: For all n  0 we have: u n -  u n+1 -  u n+1 +  u n + with u n + - u n -  t. 0 Compute the piecewise linear maps u n -, u n + until the first n  0 with u n + - u n -   ⊔ n  0 (P v ) n (f, t. v (t, f(t) ) ) = ⊔ n  0 (P v ) n (f n, t. v n (t, f n (t) ) )

24Example 1 f g v v is approximated by a sequence of step functions, v 0, v 1, … v = ⊔ i v i We solve: = v(t,x), x(t 0 ) =x 0 for t  [0,1] with v(t,x) = t and t 0 =1/2, x 0 =9/8. a3a3 b3b3 a2a2 b2b2 a1a1 b1b1 v3v3 v2v2 v1v1 The initial condition is approximated by rectangles a i  b i : {(1/2,9/8)} = ⊔ i a i  b i, t t.

25Solution 1 f g At stage n we find u n - and u n +.

26Solution 1 f g At stage n we find u n - and u n +

27Solution 1 f g u n - and u n + tend to the exact solution: f: t  t 2 / At stage n we find u n - and u n +

28 Computing with polynomial step functions

29 Current and Further Work Implementation in Haskell Differential Calculus with Several Variables: PDE’s Construction of Smooth Curves and Surfaces Hybrid Systems, robotics,…

30 THE END