CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic.

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Differential Equations
Numerical Solution of Nonlinear Equations
E E 2315 Lecture 11 Natural Responses of Series RLC Circuits.
Automatic Control Theory School of Automation NWPU Teaching Group of Automatic Control Theory.
Differential Equations
Lotka-Volterra, Predator-Prey Model J. Brecker April 01, 2013.
Chapter 6 Models for Population Population models for single species –Malthusian growth model –The logistic model –The logistic model with harvest –Insect.
Living organisms exist within webs of interactions with other living creatures, the most important of which involve eating or being eaten (trophic interactions).
7.4 Predator–Prey Equations We will denote by x and y the populations of the prey and predator, respectively, at time t. In constructing a model of the.
Ch 9.4: Competing Species In this section we explore the application of phase plane analysis to some problems in population dynamics. These problems involve.
Ch 9.1: The Phase Plane: Linear Systems
1 Predator-Prey Oscillations in Space (again) Sandi Merchant D-dudes meeting November 21, 2005.
1 Oscillations SHM review –Analogy with simple pendulum SHM using differential equations –Auxiliary Equation Complex solutions Forcing a real solution.
Linear dynamic systems
Course Outline 1.MATLAB tutorial 2.Motion of systems that can be idealized as particles Description of motion; Newton’s laws; Calculating forces required.
Homework 4, Problem 3 The Allee Effect. Homework 4, Problem 4a The Ricker Model.
Oscillators fall CM lecture, week 3, 17.Oct.2002, Zita, TESC Review forces and energies Oscillators are everywhere Restoring force Simple harmonic motion.
Ch 7.8: Repeated Eigenvalues
Harmonic Oscillator. Hooke’s Law  The Newtonian form of the spring force is Hooke’s Law. Restoring forceRestoring force Linear with displacement.Linear.
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Ch 7.5: Homogeneous Linear Systems with Constant Coefficients
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 7: Linearization and the State.
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Lecture 2 Differential equations
Solving the Harmonic Oscillator
Continous system: differential equations Deterministic models derivatives instead of n(t+1)-n(t)
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Lecture 12 - Natural Response of Parallel RLC Circuits
Population Modeling Mathematical Biology Lecture 2 James A. Glazier (Partially Based on Brittain Chapter 1)
Dynamical Systems 2 Topological classification
TEST 1 REVIEW. Single Species Discrete Equations Chapter 1 in Text, Lecture 1 and 2 Notes –Homogeneous (Bacteria growth), Inhomogeneous (Breathing model)
Systems of Nonlinear Differential Equations
Ch 9.5: Predator-Prey Systems In Section 9.4 we discussed a model of two species that interact by competing for a common food supply or other natural resource.
Lecture 2 Differential equations
Dynamical Systems 1 Introduction Ing. Jaroslav Jíra, CSc.
Oscillators fall CM lecture, week 4, 24.Oct.2002, Zita, TESC Review simple harmonic oscillators Examples and energy Damped harmonic motion Phase space.
Dynamical Systems 2 Topological classification
FE Math Exam Tutorial If you were not attending today’s evening FE session, your plan was to 1.Binge on Netflix 2.Spend with your.
Continous system: Differential equations Deterministic models derivatives instead of n(t+1)-n(t)
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.
SECOND ORDER LINEAR Des WITH CONSTANT COEFFICIENTS.
CEE262C Lecture 3: Predator-prey models1 CEE262C Lecture 3: The predator- prey problem Overview Lotka-Volterra predator-prey model –Phase-plane analysis.
Ch 1.3: Classification of Differential Equations
Lecture 21 Review: Second order electrical circuits Series RLC circuit Parallel RLC circuit Second order circuit natural response Sinusoidal signals and.
Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers.
Advanced Engineering Mathematics by Erwin Kreyszig Copyright  2007 John Wiley & Sons, Inc. All rights reserved. Engineering Mathematics Lecture 05: 2.
USSC3002 Oscillations and Waves Lecture 1 One Dimensional Systems Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science.
Boyce/DiPrima 9 th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
MATH3104: Anthony J. Richardson.
Abj 4.2.2: Pressure, Pressure Force, and Fluid Motion Without Flow [Q2 and Q3] Area as A Vector Component of Area Vector – Projected Area Net Area.
Lecture 3 Ordinary Differential equations Purpose of lecture: Solve 1 st order ODE by substitution and separation Solve 2 nd order homogeneous ODE Derive.
Analysis of the Rossler system Chiara Mocenni. Considering only the first two equations and assuming small z, we have: The Rossler equations.
Modeling Transient Response So far our analysis has been purely kinematic: The transient response has been ignored The inertia, damping, and elasticity.
Key Concepts for Sect. 7.1 *A system of equations is two or more equations in two or more variables. *Numerically, a solution to a system of equations.
State Space Models The state space model represents a physical system as n first order differential equations. This form is better suited for computer.
Dynamical Systems 3 Nonlinear systems
Math 4B Systems of Differential Equations Population models Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
Boyce/DiPrima 9th ed, Ch 9.4: Competing Species Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and.
Transfer Functions Chapter 4
Solving the Harmonic Oscillator
Instructor: Jongeun Choi
One- and Two-Dimensional Flows
MATH 175: NUMERICAL ANALYSIS II
Linear Algebra Lecture 32.
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Chapter 4. Time Response I may not have gone where I intended to go, but I think I have ended up where I needed to be. Pusan National University Intelligent.
Physics 319 Classical Mechanics
Presentation transcript:

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic ODEs: the damped nonlinear forced pendulum 2 nd Order damped harmonic oscillator Systems of ODEs Phase diagrams –Fixed points –Isoclines/Nullclines Predator-prey model References: Dym, Ch 7; Mooney & Swift, Ch ; Kreyszig, Ch 4

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams2 Forced pendulum g m m Frictional effect

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams3 Free-body diagram

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams4 Derivation of the governing ODE

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams5 m

6

7 Reduce and nondimensionalize!

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams8

9 Governing nondimensional ODE

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams10 Linearize

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams11 The damped harmonic oscillator

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams12

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams13

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams14

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams15 The particular solution

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams16

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams17 Simulating the nonlinear system pendulum.zip

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams18 Phase plane analysis

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams19 Direction field for  1 = phasedirection.m

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams20 Computing phase lines analytically Elliptic Integral! Solution in phase space

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams21 Analytical Phase Lines for

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams22 Nullclines and fixed points

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams23 Plotting nullclines and fixed points p=0 (no velocity) q=0 (no acceleration) increasing friction Fixed points

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams24 Behavior in the vicinity of fixed points Suppose we have a nonlinear coupled set of ODEs in the form We can determine the behavior of this ODE in the vicinity of the fixed points by analyzing the behavior of disturbances applied to the fixed points such that where the point is a fixed point corresponding to

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams25 Using the Taylor series expansion about the fixed point, we have Substitution into the ODEs gives Since the fixed points satisfy

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams26 and, then the perturbations satisfy In vector form, this is given by The Jacobian matrix is given by

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams27 The behavior of the solution in the phase plane in the vicinity of the fixed points is determined by the behavior of the eigenvalues of the Jacobian. If then the eigenvalues of J are given by

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams28 two real negative roots. complex pair, negative real part.

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams29 two real positive roots. complex pair, positive real part. pure imaginary.

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams30 Phase plane analysis for the pendulum

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams31

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams32 Underdamped Critical or overdamped

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams33 Spiral direction CW or CCW? Clockwise Counter- clockwise c>0 c<0

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams34 Behavior around saddle point

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams35

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams36

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams37 The predator-prey problem Overview Lotka-Volterra predator-prey model –Phase-plane analysis –Analytical solutions –Numerical solutions References: Mooney & Swift, Ch ;

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams38 Compartmental Analysis Tool to graphically set up an ODE-based model –Example: Population Immigration: ix Births: bx Deaths: dx Emigration: ex Population: x

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams39 Logistic equation Population: x Can flow both directions but the direction shown is defined as positive

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams40 Income class model Lower x Middle y Upper z

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams41 For a system the fixed points are given by the Null space of the matrix A. For the income class model:

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams42 Classical Predator-Prey Model Predator yPrey x Die-off in absence of prey dy Growth in absence of predators ax bxy cxy Lotka-Volterra predator-prey equations

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams43 Assumptions about the interaction term xy xy = interaction; bxy: b = likelihood that it results in a prey death; cxy: c = likelihood that it leads to predator success. An "interaction" results when prey moves into predator territory. Animals reside in a fixed region (an infinite region would not affect number of interactions). Predators never become satiated.

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams44 Phase-plane analysis

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams45

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams46 Analytical solution

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams47 Solution with Matlab % Initial condition is a low predator population with % a fixed-point prey population. X0 = [x0,.25*y0]'; % Decrease the relative tolerance opts = odeset('reltol',1e-4); tmax],X0,opts); lvdemo.m function Xdot = pprey(t,X) % Constants are set in lvdemo.m (the calling function) global a b c d % Must return a column vector Xdot = zeros(2,1); % dx/dt=Xdot(1), dy/dt=Xdot(2) Xdot(1) = a*X(1)-b*X(1)*X(2); Xdot(2) = c*X(1)*X(2)-d*X(2); pprey.m

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams48 at t=0, x=20 y=19.25

CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams49 Nonlinear Linear