Computational Methods for Nonlinear Systems

Similar documents
Computational Methods for Nonlinear Systems

An Introduction to Computer Simulation Methods

Biomolecular reaction networks: gene regulation & the Repressilator Phys 682/ CIS 629: Computational Methods for Nonlinear Systems

Lectures about Python, useful both for beginners and experts, can be found at (

Department of Chemical Engineering University of California, Santa Barbara Spring Exercise 2. Due: Thursday, 4/19/09

Discrete Time Coupled Logistic Equations with Symmetric Dispersal

Statistical Mechanics

QuTiP: Quantum Toolbox in Python. Circuit-QED

2017, James Sethna, all rights reserved. This exercise was developed in collaboration with Christopher Myers.

ECE 8803 Nonlinear Dynamics and Applications Spring Georgia Tech Lorraine

Computational Physics, 3rd Ed

Chaotic motion. Phys 750 Lecture 9

Networks in systems biology

1. Introductory Examples

Deterministic Chaos Lab

Engineering of Repressilator

4/18/2011. Titus Beu University Babes-Bolyai Department of Theoretical and Computational Physics Cluj-Napoca, Romania

A Glimpse at Scipy FOSSEE. June Abstract This document shows a glimpse of the features of Scipy that will be explored during this course.

Differential Equations Dynamical Systems And An Introduction To Chaos Solutions Manual Pdf

A Synthetic Oscillatory Network of Transcriptional Regulators

Computational Biology Course Descriptions 12-14

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

The Phase-Modulated Logistic Map: an Exploration

Analyzing the Earth Using Remote Sensing

A Monte Carlo Implementation of the Ising Model in Python

ECE521 W17 Tutorial 1. Renjie Liao & Min Bai

vii Contents 7.5 Mathematica Commands in Text Format 7.6 Exercises

Lecture 1: A Preliminary to Nonlinear Dynamics and Chaos

STRUCTURAL BIOINFORMATICS I. Fall 2015

Chaos Theory. Namit Anand Y Integrated M.Sc.( ) Under the guidance of. Prof. S.C. Phatak. Center for Excellence in Basic Sciences

ECE 5615/4615 Computer Project

SPATIOTEMPORAL CHAOS IN COUPLED MAP LATTICE. Itishree Priyadarshini. Prof. Biplab Ganguli

Vertex Routing Models and Polyhomeostatic Optimization. Claudius Gros. Institute for Theoretical Physics Goethe University Frankfurt, Germany

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations

Chaotic motion. Phys 420/580 Lecture 10

Outline for Fundamentals of Statistical Physics Leo P. Kadanoff

Predici 11 Quick Overview

2 Discrete growth models, logistic map (Murray, Chapter 2)

Homework 2 Modeling complex systems, Stability analysis, Discrete-time dynamical systems, Deterministic chaos

Introduction to Dynamical Systems Basic Concepts of Dynamics

The logistic difference equation and the route to chaotic behaviour

Fig. 1 Cluster flip: before. The region inside the dotted line is flipped in one Wolff move. Let this configuration be A.

Introduction. Dagmar Iber Jörg Stelling. CSB Deterministic, SS 2015, 1.

ME DYNAMICAL SYSTEMS SPRING SEMESTER 2009

Dynamical Systems with Applications using Mathematica

Renormalization Group: non perturbative aspects and applications in statistical and solid state physics.

Stat 516, Homework 1

FUNDAMENTALS of SYSTEMS BIOLOGY From Synthetic Circuits to Whole-cell Models

1 Random walks and data

A synthetic oscillatory network of transcriptional regulators

NONLINEAR DYNAMICS PHYS 471 & PHYS 571

Department of Chemical Engineering University of California, Santa Barbara Spring Exercise 3. Due: Thursday, 5/3/12

Chaos. Dr. Dylan McNamara people.uncw.edu/mcnamarad

Lecture 20: ODE V - Examples in Physics

INTRODUCTION TO CHAOS THEORY T.R.RAMAMOHAN C-MMACS BANGALORE

University of Texas-Austin - Integration of Computing

Wave Pinning, Actin Waves, and LPA

Chemical reaction networks and diffusion

Why This Class? James K. Peterson. August 22, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Network motifs in the transcriptional regulation network (of Escherichia coli):

Outline Python, Numpy, and Matplotlib Making Models with Polynomials Making Models with Monte Carlo Error, Accuracy and Convergence Floating Point Mod

Nonlinear Dynamics and Chaos Summer 2011

Numpy. Luis Pedro Coelho. October 22, Programming for Scientists. Luis Pedro Coelho (Programming for Scientists) Numpy October 22, 2012 (1 / 26)

CONTROLLING CHAOS. Sudeshna Sinha. The Institute of Mathematical Sciences Chennai

Introduction to the Renormalization Group

Lecture 4: Importance of Noise and Fluctuations

Nonlinear Systems, Chaos and Control in Engineering

Maple in Differential Equations

An Introductory Course in Computational Neuroscience

Their Statistical Analvsis. With Web-Based Fortran Code. Berg

Mathematical Foundations of Neuroscience - Lecture 7. Bifurcations II.

More Details Fixed point of mapping is point that maps into itself, i.e., x n+1 = x n.

Co-existence of Regular and Chaotic Motions in the Gaussian Map

Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. small angle approximation. Oscillatory solution

Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. Oscillatory solution

7.32/7.81J/8.591J: Systems Biology. Fall Exam #1

Chaotic Vibrations. An Introduction for Applied Scientists and Engineers

Abstracts. Furstenberg The Dynamics of Some Arithmetically Generated Sequences

Preface. Contributors

Influence of Criticality on 1/f α Spectral Characteristics of Cortical Neuron Populations

Example Chaotic Maps (that you can analyze)

Solutions to homework assignment #7 Math 119B UC Davis, Spring for 1 r 4. Furthermore, the derivative of the logistic map is. L r(x) = r(1 2x).

PHY411 Lecture notes Part 5

Random Averaging. Eli Ben-Naim Los Alamos National Laboratory. Paul Krapivsky (Boston University) John Machta (University of Massachusetts)

THREE DIMENSIONAL SYSTEMS. Lecture 6: The Lorenz Equations

Fundamentals of Dynamical Systems / Discrete-Time Models. Dr. Dylan McNamara people.uncw.edu/ mcnamarad

dynamical zeta functions: what, why and what are the good for?

Potentially useful reading Sakurai and Napolitano, sections 1.5 (Rotation), Schumacher & Westmoreland chapter 2

Stochastic Model for Adaptation Using Basin Hopping Dynamics

In-class exercises. Day 1

Dynamical Systems with Applications

Nonlinear Dynamics And Chaos PDF

Physics 106b: Lecture 7 25 January, 2018

Introduction to Mathematical Modeling

Mathematics of Chemistry: Techniques & Applications (CHEM-UA 140)

MAT 17A - UHP - DISCUSSION #10 December 1, 2015

WILEY. Differential Equations with MATLAB (Third Edition) Brian R. Hunt Ronald L. Lipsman John E. Osborn Jonathan M. Rosenberg

Further Analysis of the Period-Three Route to Chaos in Passive Dynamic Walking of a Compass-Gait Biped Robot

Introduction to SVD and Applications

Laboratory Instruction-Record Pages

Transcription:

Computational Methods for Nonlinear Systems Cornell Physics 682 / CIS 629 Chris Myers

Computational Methods for Nonlinear Systems Graduate computational science laboratory course developed by Myers & Sethna - lectures are minimal - class work focused on self-paced implementation of computer programs from hints and skeletal code Developed originally to support Cornell IGERT program in nonlinear systems - graduate fellowship program supporting interdisciplinary group of students - a Core Course in graduate Computational Science & Engineering (CSE) minor Hands-on introduction to scientific computing, algorithms, programming, and simulation techniques - in the context of IGERT focal themes: complex networks, biolocomotion & manipulation, pattern formation, and gene regulation - also includes: statistical mechanics, chaos in nonlinear systems, molecular dynamics, random matrix theory, constraint satisfaction, etc. Most exercises incorporated into Sethna s textbook, Statistical Mechanics: Entropy, Order Parameters, and Complexity

Programming all programming done in Python (www.python.org) - 3rd party Python libraries for numerics, graphics, visualization, etc. - e.g., NumPy, SciPy, pylab, Python Imaging Library course hints files provide documented code fragments to be fleshed out by students graphical tools provided to give immediate feedback, help debug, etc. why Python? - interpreted: rapid program development and interactive access - built-in data structures & high-level syntax - rich standard library and 3rd party libraries (for science, visualization, databases, internet programming, etc.) - supports procedural programming, object-oriented programming, functional programming, scripting, large systems - free software (monetarily and intellectually)

Course modules Small-world networks Invariant measure Cardiac dynamics NP-completeness Percolation Chaos & Lyapunov Random matrix theory Ising model Pendulum Fractal dimensions Stochastic cells Molecular dynamics plus a few others Walker Period doubling Repressilator

Small-world networks - small world networks (Watts & Strogatz) - six degrees of separation - shortest path lengths in randomly wired graphs - data structure for undirected graphs good introduction to built-in Python containers (lists and dictionaries) - object-oriented encapsulation of complex data structures - graph traversal algorithms (breadth-first search) for shortest path and betweenness - simple graph visualization software supports debugging and provides quick feedback

Percolation - statistical mechanics of percolation connected clusters in randomly wired graphs (e.g., bond percolation on a lattice) universality of phase transitions - reuse of objects with generic interface (reuse of UndirectedGraph class from small-world network module) - graph traversal algorithms (breadth-first search) for cluster finding - scaling collapses

Walker - Simple model of bipedal walker (Ruina and coworkers) double pendulum with impulse for heelstrike single pendulum as warmup - period-doubling bifurcations in physical system - integration of ODEs finite differences, time-step dependence, integration schemes (stability, fidelity, accuracy) calling 3rd party numerical libraries - change of integration variables for event detection (heelstrike) - tracking unstable periodic orbit - visualization tools for animation

Maps & dynamical systems - bifurcations and chaos in iterated maps - period doubling in logistic map - density (invariant measure) in chaotic regime - Lyapunov exponents: divergence of nearby trajectories - fractal dimensions of attractors - renormalization group of logistic map & universality of period doubling route to chaos - iterating maps - root-finding - fitting

Cardiac dynamics - pattern formation in excitable medium - FitzHugh-Nagumo model (type of reaction-diffusion equation) - spiral defects forming in electrical pulsing can lead to cardiac arrythmias - model extensions to simulate dead tissue, cardiac chambers, etc. - numerical solution of PDEs finite-differences, operator stencils - nullcline analysis for single cell (rootfinding) - simple animation tool allows interactive steering of simulation (needed to provide targeted electrical pulses and defribrillator shock)

Cell dynamics: stochastic cells and Repressilator - Repressilator (Elowitz & Leibler): genetic oscillator from realm of synthetic biology oscillatory mrna/protein dynamics from mutually repressing proteins - telegraph noise and shotgun noise in stochastic systems - chemical kinetics and reaction networks Petri nets synthesis of aggregate kinetic equations from network - Monte Carlo algorithms (Gillespie) - stochastic vs. deterministic descriptions Additional projects exploring other gene regulatory networks (switches, feed-forward loops, etc.)

NP-completeness & constraint satisfaction - NP-complete problems - phase transitions in 3SAT and parametric complexity - integer partitioning problem - algorithms for NP-complete problems - backtracking, recursion

Random matrix theory - eigenvalue spacings in random matrices - developed originally to describe energy level spacings in quantum systems - random matrix generation - eigenvalue computation (numpy)

Molecular dynamics - thermodynamics: emergence of effective properties from molecular chaos - design of large software systems - geometric data structures - integration of ODEs - thermodynamics pressure pair distribution functions

Ising model - phase transitions in simple model of magnetic system nucleation self-similarity fluctuation-dissipation - Monte Carlo algorithms heat bath Metropolis cluster flipping

Randomness: random walks & Gumbel distributions - ensembles and distributions averages extremal behavior emergent symmetries - random number generation - statistical analysis of ensembles

Motion capture and data-driven dynamical systems A new group project to be fleshed out in collaboration with John Guckenheimer and Madhu Venkadesan - data-driven dynamical systems attractor reconstruction model inference control connections to biolocomotion - interfacing to hardware - analyzing noisy experimental data - integrating ODEs from Wikipedia

Working with course modules Course web page - www.physics.cornell.edu/~myers/teaching/computationalmethods Module web pages - www.physics.cornell.edu/~myers/teaching/computationalmethods/computerexercises - linked from Computer Exercises and Hints on course web page For a given module: - download (and print out, if desired) Exercise pdf file (e.g., Small World Exercise) - download Hints file and save to disk (e.g., SmallWorldNetworksHints.py) - copy Hints file to working file e.g., cp SmallWorldNetworksHints.py SmallWorldNetworks.py - edit working file e.g., emacs SmallWorldNetworks.py - read exercise file and comments in working/hints file - remove Python instruction pass and fill in body of code to implement exercise - start up ipython interpreter - run the module (e.g., %run SmallWorldNetworks.py)

Important third-party Python modules NumPy (Numerical Python) [www.scipy.org/numpy] - grew from a merger of Numeric and numarray; converging toward version 1.0 - provides (in a compiled library) high-level array syntax, linear algebra, random number generation, Fourier transforms SciPy [www.scipy.org] - Python interfaces to well-tested compiled numerical routines, interfaced to work with NumPy arrays - provides routines for integration of functions and differential equations, rootfinding, minimization, etc. pylab (a.k.a. matplotlib) [matplotlib.sourceforge.net] - provides 2D (x-y) plotting, histograms, etc. Python Imaging Library (PIL) [www.pythonware.com] - image creation and manipulation - forms the basis of several course visualization modules ipython [ipython.scipy.org] - enhanced alternative to the standard python interpreter - command completion & history, magic functions, etc.