Ordinary differential equations

Similar documents
Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Review of basic calculus

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

New Expansion and Infinite Series

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

1.1. Linear Constant Coefficient Equations. Remark: A differential equation is an equation

Review of Calculus, cont d

Section 6.1 INTRO to LAPLACE TRANSFORMS

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

Math Lecture 23

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

CHM Physical Chemistry I Chapter 1 - Supplementary Material

Continuous Random Variables

Math 113 Fall Final Exam Review. 2. Applications of Integration Chapter 6 including sections and section 6.8

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

7.2 The Definite Integral

ODE: Existence and Uniqueness of a Solution

Overview of Calculus I

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.

ME 501A Seminar in Engineering Analysis Page 1

Chapter 0. What is the Lebesgue integral about?

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

Main topics for the First Midterm

Taylor Polynomial Inequalities

Lecture 19: Continuous Least Squares Approximation

STEP FUNCTIONS, DELTA FUNCTIONS, AND THE VARIATION OF PARAMETERS FORMULA. 0 if t < 0, 1 if t > 0.

Linear and Non-linear Feedback Control Strategies for a 4D Hyperchaotic System

Conservation Law. Chapter Goal. 5.2 Theory

Math 8 Winter 2015 Applications of Integration

Math 270A: Numerical Linear Algebra

1.9 C 2 inner variations

Math 360: A primitive integral and elementary functions

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

The Regulated and Riemann Integrals

Math 1B, lecture 4: Error bounds for numerical methods

Math 100 Review Sheet

Improper Integrals, and Differential Equations

First midterm topics Second midterm topics End of quarter topics. Math 3B Review. Steve. 18 March 2009

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).

Definition of Continuity: The function f(x) is continuous at x = a if f(a) exists and lim

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Lecture 14: Quadrature

Recitation 3: More Applications of the Derivative

Module 6: LINEAR TRANSFORMATIONS

Linear Systems with Constant Coefficients

Chapter 1. Basic Concepts

The Wave Equation I. MA 436 Kurt Bryan

and that at t = 0 the object is at position 5. Find the position of the object at t = 2.

How can we approximate the area of a region in the plane? What is an interpretation of the area under the graph of a velocity function?

Chapter 5 : Continuous Random Variables

Section 6.1 INTRO to LAPLACE TRANSFORMS

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

Calculus of Variations

Appendix 3, Rises and runs, slopes and sums: tools from calculus

Introduction to the Calculus of Variations

Chapters 4 & 5 Integrals & Applications

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

1 The Lagrange interpolation formula

Lecture 3: Curves in Calculus. Table of contents

1 1D heat and wave equations on a finite interval

Numerical Analysis: Trapezoidal and Simpson s Rule

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

f(a+h) f(a) x a h 0. This is the rate at which

Section 14.3 Arc Length and Curvature

Indefinite Integral. Chapter Integration - reverse of differentiation

Orthogonal Polynomials

Chapter 3 Polynomials

MAC-solutions of the nonexistent solutions of mathematical physics

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

4. Calculus of Variations

Integrals - Motivation

Green s function. Green s function. Green s function. Green s function. Green s function. Green s functions. Classical case (recall)

x = b a N. (13-1) The set of points used to subdivide the range [a, b] (see Fig. 13.1) is

Math& 152 Section Integration by Parts

Math 113 Exam 1-Review

MATH 3795 Lecture 18. Numerical Solution of Ordinary Differential Equations.

Numerical integration

Chapter 14. Matrix Representations of Linear Transformations

Chapter 6 Notes, Larson/Hostetler 3e

Linearity, linear operators, and self adjoint eigenvalue problems

MA Handout 2: Notation and Background Concepts from Analysis

Abstract inner product spaces

13: Diffusion in 2 Energy Groups

221B Lecture Notes WKB Method

Partial Derivatives. Limits. For a single variable function f (x), the limit lim

Week 10: Line Integrals

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 1 - Thurs 28th Sept 17 Review of trigonometry and basic calculus

HW3, Math 307. CSUF. Spring 2007.

CBE 291b - Computation And Optimization For Engineers

1B40 Practical Skills

1 Line Integrals in Plane.

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1

221A Lecture Notes WKB Method

PHYS 4390: GENERAL RELATIVITY LECTURE 6: TENSOR CALCULUS

Topics Covered AP Calculus AB

Transcription:

Ordinry differentil equtions Introduction to Synthetic Biology E Nvrro A Montgud P Fernndez de Cordob JF Urchueguí Overview Introduction-Modelling Bsic concepts to understnd n ODE. Description nd properties of ODE. Solving ODE. Vector spces. Dynmic systems.

Modelling

Modelling Describing the behvior of system. Understnd it. Predict its future behviour. Be ble to mnipulte the system How to do this? Wht to tke into ccount nd wht not. Hving knowledge of the system Knowing physicl lws Using mth s working lnguge to describe the system Simultion A simultion is set of equtions tht describes system They do not need to hve solid conceptul bckground. The grde of trust of simultion is not known when you try to pply it to different conditions

Modelling By using some knowledge of physicl processes involved in the system, modeling strtegy tries to describe the system. Could be less exct thn simultion. It is dptble to different situtions gt F = my & y( t) = x0 + v0t + Why is model useful? It llows better understnding of system. It mkes system more predictble It llows engineering the system It could drive the experiments It llows the control of system.

Engineering cycle http://openwetwre.org/imges/5/5b/vincent_rouilly_synbio_course_topic_.pdf Ordinry differentil equtions

Introduction Why should we use differentil equtions? Whenever deterministic reltionship involving some continuously chnging quntities (modeled by functions) nd their rtes of chnge (expressed s derivtives) is known or postulted. Previous concepts Wht is function? A function is reltion between two sets of elements How is it represented in mth? f : x f ( x)

f ( t) = 3 f ( x) = x +

f ( x) = ( x ) f ( x) = x e

f ( x) = log x x < f ( x) = 0 x

x f ( x) = Asen( ) T x f ( x) = Asen( + ϕ) T K=0;τ=;n= K=;τ=vr;n= K=;τ=;n= K=;τ=;n=vrible

K=0;τ=;n= K=;τ=vr;n= K=;τ=;n= K=;τ=;n=vrible Functions of severl vribles It is function which depends on severl vribles: Sclr: z=f(x,y) Vectoril:y i =F i (x j ) R n m f ( xi ) R m

Liner function A liner function is function which fulfills: f ( x by) f ( x) bf ( y) Wht is derivtive? Hving two vribles, relted by function, the derivtive gives the vrition of one of them when the remining is chnged f ( t t) f ( t) df ( t) lim t 0 t

Tylor series development A serie is summtion of terms. The Tylor serie development of function f(x) is the pproximtion of this function by power serie: f ( x) f ( ) f ' ( t) ( t! ) f ''( t) ( t! )... n f '( t) ( t n! ) n ( t n ) The error of function is of n+ order if we develop the power serie up to the n power. f ( t) t e de t e t

0 f ( t) k t n 3

Remrk α e i = cosα + i sinα The Tylor development mkes to conclude tht the complex exponentil is equivlent to the sum of sinus nd cosinus. Wht is differentil eqution? Wht is n eqution? Wht is differentil eqution? t: vrible x: vrible dependent λ i : prmeters of the function Hving vrible x, n eqution express mthemticl reltion between tht vrible nd some other which re known. Eqution which reltes function with its derivtes. dx = f ( t x, { λ λ...}), If the function f depends on more thn one vrible then the differentil eqution is clled prtil differentil eqution(pde)

In order to solve differentil eqution, we should trnsform the problem in problem in which we cn integrte function. Integrtion is the opossite to derivtion.if we substrct infinitesiml terms in derivtive we perform sum of infinitesiml terms in n integrl. When we solve n indefined integrl, there is costnt of integrtion tht we should fix using the conditions of the defined problem: f ( x) dx g( x) K The solution of n ODE is function x(t) which is defined but constnt nd is unique. Solution of differentil eqution The solution of differentil eqution is n eqution which llows to know the vlue of the dependent vrible s function of the independent ones given the vlue of the dependent vrible for defined vlue of the independent one. Initil conditions of the problem: the independent vrible is the time. Contour conditions of the problem: the independent vrible is nother one. X(t=0) Y(t=0) X(t) Y(t)

Simple exmples df df ( t) f ( t) f ( t) f ( t) e t t K K d f df f ( t) t ( f ( t) ) f ( t) K sin( wt K) Types of differentil equtions dx = kx st order dx = kx Liner d x dx + = kx nd order dx = kx Non liner dx = kx Autonomous d x dx + = kx ODE dx = kx + sen (t ) Non Autonomous y( x, t) y x t c ) (, = ky t x PDE

How to solve differentil eqution? In some cses there is possibility of solving nlyticlly the differentil eqution. In most of the cses this is not possible nd severl techniques hve been developed to solve the problem in n pproximted wy. Some of these techniques re included in the brnch of mthemtics known s numericl methods Liner diferentil equtions A liner differentil eqution is: n Y (t) Solutions n d f ( t) Liner n n d f ( t)... 0 f ( t) g( t) n Superposition principle α Y (t) + β Solution!! Y (t) Y (t)

Liner diferentil equtions The problem is reduced to solve the chrcteristic eqution n z n n z n... 0z The generl solution of the system will hve the form: 0 f ( t) i e z t i Non liner Rel system Lineriztion Liner Non liner equtions Simultion Liner equtions

Lineriztion method A function f(x) could be pproximted by: f ( x) f ( ) f' ( t) ( t! ) f''( t) ( t! )... n f '( t) ( t n! ) n ( t n ) First order pproximtion or lineriztion: f '( t) f ( x) = f ( ) + ( t ) + θ ( t! Bsed on this there is procedure to obtin liner eqution which hs similr behvior to the equtions we wnt to solve, round some specil points. ) Prcticl issues of the LP The working point should be close to n equilibrium point in such wy tht the first order derivtives will be 0. The liner model will be more ccurte ner the equilibrium point. The equilibrium point should be selected s close s possible to the working point.

Numericl solution of ODE We hve come to know tht there re solutions just for few ODE. Themeningof derivtiveisthesubstrctionof very close terms. If we do not hve n exct solution of differentil eqution, we cn try to obtin n pproximted solution of it, substrcting by hnd these terms time nd gin. Very stupid devices cn perform very stupid opertion but with n incredible speed Numericl solution of ODE Lter on n exmple of very simple lgorithm to solve numericlly n ODE is given y '( t) = f ( t; y( t)) y ( t0) = y0 We substitute the derivtive term by its pproximted vlue: y( t + h) y( t) y '( t) y( t + h) y( t) + hf ( t, y( t)) h Selecting proper vlue for h, we hve time step with the vlue t 0 =t 0,t =t 0 +h,,t n =t n- +h y = y + hf ( t ; y n+ n n n )

Numericl solution of ODE This method is clled explicit Euler method nd it is one of the simplest methods to obtin the solution of ODE. The obtined solution is only n pproximtion to the rel solution, nd the goodness of the solution depends on the kind of the problem nd on the selection of the different model prmeters like h. Although the power of computing hs incresed lot in the lst yers, there re too mny problems which require mny computing time to be solved. Alwys you should tke cre when you solve problem numericlly!! Usefulness of differentil equtions When describing systems, it is usully very useful to know not only the vlue of the vrible but lso the evolution of it. d x dx AAM b x 0 F d x m

An introduction to vectors nd mtrix Wht is vector?. Any mthemtic set of things whose sum gives us nother thing of the set.. It is defined multipliction property between these things nd numbers. In more rigurous wy v 3 v v Bse of vector spce Minimum number of vectors which generte ll the spce Dimension of the spce The number of vectors of the bse

Mtrix Roughly, it is set of numbers 3 3 3 3 3 Determinnt of squre mtrix k j i ijk A 3 ε = Some mtrix properties d c b d c b + + + + = + d h c g b f e d c b h g f e fd eb hc g fd eb fc e d c b h g f e

Linerity c b d x y x cx by dy Eigenvlues nd eigenvectors c b d x y x y 0 0 Clcultion of eigenvlues r Av r r = λv v ( A λi ) = 0 [ A λi ] 0 det =

Systems of liner diferentil equtions As in stndrd lgebric equtions, there cn be problems in which insted of ODE we hve system of differentil equtions. If the system is liner we cn pply ll the developed lgebric methods for vectoril spces. A system of n ODE of n order is equivlent to system of n+ ODE of n- order Exmple df df f f 3 4 f f df df 3 4 f f df ' df ' f ' f ' df ' df ' 0 0 f ' f '

Dynmicl system A system tht evolves with time is dynmicl system. Stte vrible: mgnitudes whose evolution in time we wnt to know. Evolution vrible: the stte vribles evolution s function of them. Prmeters: constnt mgnitudes of the system under certin conditions Evolution lws: the reltion between the stte vribles nd the evolution vribles. Exmple [ Y ] d = α Y + n [ U ] + K β[ ] γ

Dynmicl systems We re going to describe utonomous systems, which fulfill the following form: dfi Fi ( fi; i ) Autonomous mens not explicit dependence in time Any ODE of order higher thn cn be chnged in n equivlent system of equtions of first order Chnge of vribles d y dy k + k + k0 y = C x ( t ) = x ( t ) = y dy dx = x ( t) dx C k0x ( t) kx = k ( t)

Phse spce: It is representtion of the solution of ODE in which f is represented ginst f. It represents ll the possible sttes of the system. Stbility At this point fundmentl concept is the fix point or equilibrium point dfi 0 F ( f ; α ) = 0 = i i i Stbility If ll the solutions of dynmicl system which strt out ner n equilibrium point x e remin ner x e, then xe is Lypunov stble. Even more, if ll the solutions which strt out ner xe converge to xe, then xe is symptoticlly stble.

Stbility Liner systems dfi = Af i Obtin eigenvlues of A Re(λ) i >0: The system will be not stble Re(λ) i <0: The system will be stble Stbility Linerizble systems dfi Fi ( fi; i ) dfi = F( f ; α) + JΔf Δf = ie i i f f i ie F f J =... Fn f n F... fn...... Fn... f n Jcobin mtrix As we re in stble point F=0, the eqution could be written s dfi The criteri re the sme ones s for = JΔfi liner systems

Stbility All these procedures re quite simple but here they re explined for very prticulr cses. An study of the stbility of system is usully not so simple. Severl mthemticlly more ccurte definitions hve been done by mthemticins: Stbility in the sense of Lipunov Stbility in the sense of Lgrnge If we re working with nonliner systems, the nlysis turns into more complicted one. Sensibility Sensibility nlysis is relted not only to the dependence of the results of the model in the initil conditions but lso in the vlue of the prmeters. A sensitive nlysis of problem could give us informtion bout: - The influence in the system of the different prmeters. - The cre we should tke when determining the initil conditions of problem. - If model of system is useful to predict it or not. - The influence of externl perturbtions.

Non linerity nd Chos Why could Non liner systems be so complicted? The liner property f ( x by) f ( x) bf ( y) This property sttes tht if we introduce smll vrition in the system the system, in principle, do not chnge too much But if we introduce other kind of dependences like product or power lws, this property is not vlid. Consequently, smll chnges could produce very different behviours of the system. Non linerity nd Chos Chos does not men rndomness in system, chos mens determined system but very difficult to be predicted. dx/ = s ( y - x ) dy/ = r x - y - xz dz/ = xy - b z http://to-cmpos.plnetclix.pt/frctl/lorenz_eng.html

Bibliogrphy Elementry Differentil equtions. CH Edwrds, DE Penney. Prentice hll. Introduction to dynmicl systems: Theory, models nd pplictions. DG Luenberger. Wiley. Clculus, Vol. : One-Vrible Clculus with n Introduction to Liner Algebr. T Apostol. Wiley