MA354 1.1 Dynamical Systems MODELING CHANGE. Modeling Change: Dynamical Systems A dynamical system is a changing system. Definition Dynamic: marked by.

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

Boyce/DiPrima 9th ed, Ch 2.4: Differences Between Linear and Nonlinear Equations Elementary Differential Equations and Boundary Value Problems, 9th edition,
State Variables.
Numerical Solutions of Differential Equations Euler’s Method.
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Chapter 8 Elliptic Equation.
Developing Computer Simulations Using Object Oriented Programming. The Three Body Problem: A Case Study Mike O’Leary & Shiva Azadegan Towson University.
Linear Systems of Equations
Computational Biology, Part 17 Biochemical Kinetics I Robert F. Murphy Copyright  1996, All rights reserved.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
Encapsulation by Subprograms and Type Definitions
Kinematics of Particles Lecture II. Subjects Covered in Kinematics of Particles Rectilinear motion Curvilinear motion Rectangular coords n-t coords Polar.
Introduction to ROBOTICS
1Chapter 2. 2 Example 3Chapter 2 4 EXAMPLE 5Chapter 2.
A) Find the velocity of the particle at t=8 seconds. a) Find the position of the particle at t=4 seconds. WARMUP.
Sheng-Fang Huang. Definition of Derivative The Basic Concept.
Chaos Identification For the driven, damped pendulum, we found chaos for some values of the parameters (the driving torque F) & not for others. Similarly,
MA Dynamical Systems MODELING CHANGE. Introduction to Dynamical Systems.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
MA Dynamical Systems MODELING CHANGE. Introduction and Historical Context.
Implicit Differentiation
MA Dynamical Systems MODELING CHANGE. Modeling Change: Dynamical Systems ‘Powerful paradigm’ future value = present value + change equivalently:
Computational Biology, Part 15 Biochemical Kinetics I Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
CSC401: Analysis of Algorithms CSC401 – Analysis of Algorithms Chapter Dynamic Programming Objectives: Present the Dynamic Programming paradigm.
Day 3 Markov Chains For some interesting demonstrations of this topic visit: 2005/Tools/index.htm.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1, 2.2, 2.3 September 06, 2013 Radu Serban University of Wisconsin-Madison.
Chaos in a Pendulum Section 4.6 To introduce chaos concepts, use the damped, driven pendulum. This is a prototype of a nonlinear oscillator which can.
MAT 1228 Series and Differential Equations Section 3.7 Nonlinear Equations
MA354 Dynamical Systems T H 2:30 pm– 3:45 pm Dr. Audi Byrne.
ECE-7000: Nonlinear Dynamical Systems Overfitting and model costs Overfitting  The more free parameters a model has, the better it can be adapted.
Implicit Differentiation. Objective To find derivatives implicitly. To find derivatives implicitly.
Implicit Differentiation Objective: To find derivatives of functions that we cannot solve for y.
Antiderivatives Indefinite Integrals. Definition  A function F is an antiderivative of f on an interval I if F’(x) = f(x) for all x in I.  Example:
4.1 ANTIDERIVATIVES & INDEFINITE INTEGRATION. Definition of Antiderivative  A function is an antiderivative of f on an interval I if F’(x) = f(x) for.
Ch11: Normal Modes 1. Review diagonalization and eigenvalue problem 2. Normal modes of Coupled oscillators (3 springs, 2 masses) 3. Case of Weakly coupled.
The generalization of Bayes for continuous densities is that we have some density f(y|  ) where y and  are vectors of data and parameters with  being.
ES 240: Scientific and Engineering Computation. Chapter 1 Chapter 1: Mathematical Modeling, Numerical Methods and Problem Solving Uchechukwu Ofoegbu Temple.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Phy 303: Classical Mechanics (2) Chapter 3 Lagrangian and Hamiltonian Mechanics.
MA354 Long Term Behavior T H 2:30pm– 3:45 pm Dr. Audi Byrne.
Gravity, Technology, Quadratic Like Equations. An object near the surface of earth is under the influence of gravity We can model this by using a quadratic.
Chapter 1 First-Order Differential Equations Shurong Sun University of Jinan Semester 1,
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
 y’ = 3x and y’ = x are examples of differential equations  Differential Form dy = f(x) dx.
Finding Definite Integrals by Substitution and Solving Separable Differential Equations.
1 LES of Turbulent Flows: Lecture 2 (ME EN ) Prof. Rob Stoll Department of Mechanical Engineering University of Utah Spring 2011.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Warm Up Write down objective and homework in agenda Lay out homework (None) Homework (Recursive worksheet) Get a Calculator!!!
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
ECE-7000: Nonlinear Dynamical Systems 3. Phase Space Methods 3.1 Determinism: Uniqueness in phase space We Assume that the system is linear stochastic.
Syllabus Note : Attendance is important because the theory and questions will be explained in the class. II ntroduction. LL agrange’s Equation. SS.
First-order Differential Equations Chapter 2. Overview II. Linear equations Chapter 1 : Introduction to Differential Equations I. Separable variables.
Lecture 5 Difference Quotients and Derivatives. f ‘ (a) = slope of tangent at (a, f(a)) Should be “best approximating line to the graph at the point (a,f(a))”
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
1.1 Basic Concepts. Modeling
Applied Discrete Mathematics Week 2: Functions and Sequences
Basic Definitions and Terminology
Review of Matrix Operations
水分子不時受撞,跳格子(c.p. 車行) 投骰子 (最穩定) 股票 (價格是不穏定,但報酬過程略穩定) 地震的次數 (不穩定)
Chapter 1 - General Principles
Mathematical Modeling, Numerical Methods, and Problem Solving
Objective Numerical methods Finite volume.
73 – Differential Equations and Natural Logarithms No Calculator
Introduction to Ordinary Differential Equations
Intuition for latent factors and dynamical systems.
1.1 Dynamical Systems MODELING CHANGE
Presentation transcript:

MA Dynamical Systems MODELING CHANGE

Modeling Change: Dynamical Systems A dynamical system is a changing system. Definition Dynamic: marked by continuous and productive activity or change (Merriam Webster)

Modeling Change: Dynamical Systems A dynamical system is a changing system. Definition Dynamic: marked by continuous and productive activity or change (Merriam Webster)

Historical Context the term ‘dynamical system’ originated from the field of Newtonian mechanics the evolution rule was given implicitly by a relation that gives the state of the system only a short time into the future. system: x 1, x 2, x 3, … (states as time increases) Implicit relation: x n+1 = f(x n ) Source: Wikipedia 17 th century

Dynamical Systems Cont. To determine the state for all future times requires iterating the relation many times— each advancing time a small step. The iteration procedure is referred to as solving the system or integrating the system. Source: Wikipedia

Once the system can be solved, given an initial point it is possible to determine all its future points Before the advent of fast computing machines, solving a dynamical system was difficult in practice and could only be accomplished for a small class of dynamical systems. Source: Wikipedia Dynamical Systems Cont.

A Classic Dynamical System The double pendulum The model tracks the velocities and positions of the two masses. Source: Wikipedia Evidences rich dynamical behavior, including chaotic behavior for some parameters. Motion described by coupled ODEs. Source: math.uwaterloo

The Double Pendulum Chaotic: sensitive dependence upon initial conditions Source: math.uwaterloo These two pendulums start out with slightly different initial velocities.

State and State Space A dynamical system is a system that is changing over time. At each moment in time, the system has a state. The state is a list of the variables that describe the system. –Example: Bouncing ball State is the position and the velocity of the ball

State and State Space Over time, the system’s state changes. We say that the system moves through state space The state space is an n-dimensional space that includes all possible states. As the system moves through state space, it traces a path called its trajectory, orbit, or numerical solution.

Dimension of the State Space n-dimensional As n increases, the system becomes more complicated. Usually, the dimension of state space is greater than the number of spatial variables, as the evolution of a system depends upon more than just position – for example, it may also depend upon velocity.

The double pendulum State space: 4 dimensional (What are the static parameters of the system?) What are the 4 changing variables (state variables) that the system depends upon? Must completely describe the system at time t.

Modeling Change: Dynamical Systems From your book: ‘Powerful paradigm’

Modeling Change: Dynamical Systems Powerful paradigm: future value = present value + change equivalently: change = future value – current value

Modeling Change: Dynamical Systems Powerful paradigm: future value = present value + change equivalently: change = future value – current value

Modeling Change: Dynamical Systems Powerful paradigm: future value = present value + change equivalently: change = future value – current value change = current value – previous value

Modeling Change: Dynamical Systems Difference equation: describes change (denoted by ∆) equivalently: change = future value – current value change=future value-present value  = x n+1 – x n

Describing Change (Discrete verses Continuous) Discrete description: Difference Equation Continuous description: Differential Equation

Inplicit Equations Since dynamical systems are defined by defining the change that occurs between events, they are often defined implicitly rather than explicitly. (Example: differential equations describe how the function is changing, rather than the function explicitly)

Explicit Verses Implicit Equations Implicit Expression: Explicit Expression:

Explicit Verses Implicit Equations Implicit Expression: Explicit Expression: To find the nth term, you must calculate the first (n-1) terms. To find the nth term, you simply plug in n and make a single computation.

Explicit Verses Implicit Equations Implicit Expression: Explicit Expression: To find the nth term, you must calculate the first (n-1) terms. To find the nth term, you simply plug in n and make a single computation. First 10 terms: {1,1,2,3,5,8,13,21,34,55}

Explicit Verses Implicit Equations Implicit Expression: Explicit Expression: To find the nth term, you must calculate the first (n-1) terms. To find the nth term, you simply plug in n and make a single computation. First 10 terms: {1,1,2,3,5,8,13,21,34,55} First 10 terms: {1,1,2,3,5,8,13,21.0,34.0,55.0}

Example Given the following sequence, find the explicit and implicit descriptions:

Some Examples of Implicit Relations I.A(k+1) = A (k)*A (k) II.A(k) = 5 III.A(k+2) = A (k) + A (k+1) Constant Sequence Fibonacci Sequence

Exercise I Generate the first 5 terms of the sequence for rule I given that A (1)=1. I. A(k+1)=A (k)*A (k)

Exercise I Generate the first 5 terms of the sequence for rule I given that A (1)=1. I. A(k+1)=A (k)*A (k)

Exercise I Generate the first 3 terms of the sequence for rule I given that A (1)=3. I. A(k+1)=A (k)*A (k)

Exercise II Generate the first 5 terms of the sequence for rule II. II. A(k)=5

Exercise II Generate the first 5 terms of the sequence for rule II. II. A(k)=5

Exercise III Generate the first 5 terms of the sequence for rule III given that A (1)=1 and A (2)=1. III. A(k+2)=A (k)+A (k+1)

Exercise III Generate the first 5 terms of the sequence for rule III given that A (1)=1 and A (2)=1. III. A(k+2)=A (k)+A (k+1)

Class Project: Dynamical System in Excel In groups of 3, we’ll create a dynamical system using the “fill down” function in Excel. I.In groups, decide on an interesting dynamical system that is described by a simple rule for the state at time t+1 that only depends upon the current state. (Markov Chain) Describe your system to the class. II.Model your dynamical system in Excel by producing the states of the system in a table where columns describe different states and rows correspond to different times. (You may need to modify your system in order to implement it in Excel.)

MA354 Difference Equations (Homework Problem Example)

… consider a sequence A={a 0, a 1, a 2,…} The set of first differences is  a 0 = a 1 – a 0,  a 1 = a 2 – a 1,  a 2 = a 3 – a 1, … where in particular the nth first difference is  a n+1 = a n+1 – a n.

Homework Assignment 1.1 Problems 1-4, 7-8.

Homework Assignment 1.1 Problems 1-4, 7-8. Example (3a) By examining the following sequences, write a difference equation to represent the change during the n th interval as a function of the previous term in the sequence.

Example 3(a) (3a) By examining the following sequences, write a difference equation to represent the change during the n th interval as a function of the previous term in the sequence.

Example 3(a) (3a) By examining the following sequences, write a difference equation to represent the change during the n th interval as a function of the previous term in the sequence. We’re looking for a description of this sequence in terms of the differences between terms:  a n = change = new – old = x n+1 – x n

Example 3(a) (3a) By examining the following sequences, write a difference equation to represent the change during the n th interval as a function of the previous term in the sequence. We’re looking for a description of this sequence in terms of the differences between terms:  a n = change = new – old = x n+1 – x n (1)Find implicit relation for a n+1 in terms of a n (2)Solve  an = a n+1 – a n

Example 3(a) (3a) By examining the following sequences, write a difference equation to represent the change during the n th interval as a function of the previous term in the sequence. We’re looking for a description of this sequence in terms of the differences between terms:  a n = change = new – old = x n+1 – x n a n+1 = a n +2 (1)Find implicit relation for a n+1 in terms of a n (2)Solve  an = a n+1 – a n  a n = 2

Markov Chain A markov chain is a dynamical system in which the state at time t+1 only depends upon the state of the system at time t. Such a dynamical system is said to be “memory-less”. (This is the ‘Markov property’.) Counter-example: Fibonacci sequence