Dynamical Systems With Applications Using Python (Information)
Dynamical Systems With Applications Using Python (Information)
net/publication/328281723
CITATION READS
1 4,222
1 author:
Stephen Lynch
Manchester Metropolitan University
67 PUBLICATIONS 1,256 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Dynamical Systems with Applications using Mathematica, 2nd Edition View project
All content following this page was uploaded by Stephen Lynch on 15 October 2018.
Stephen Lynch
Order online at springer.com / or for the Americas call (toll free) 1-800-SPRINGER /
Lifelong 40% discount for authors or email us at: [email protected]. / For outside the Americas call +49 (0) 6221-345-4301 /
or email us at: [email protected].
The first € price and the £ and $ price are net prices, subject to local VAT. Prices indicated with [1] include VAT for
books; the €(D) includes 7% for Germany, the €(A) includes 10% for Austria. Prices indicated with [2] include VAT for
electronic products; 19% for Germany, 20% for Austria. All prices exclusive of carriage charges. Prices and other
details are subject to change without notice. All errors and omissions excepted. [3] No discount for MyCopy.
Part of
Stephen Lynch
Mathematics Subject Classification (2010): 00A05, 00A69, 37-01, 34-01, 34Cxx, 34Dxx, 34H10, 34K18,
37-04, 37Nxx, 68U10, 78A60, 92B20
This book is published under the imprint Birkhäuser, www.birkhauser-science.com by the registered
company Springer Nature Switzerland AG
The registered company address is: Gewerbestrasse 11, 6330 Cham, Switzerland
Preface
v
vi Preface
https://github.com/springer-math/dynamical-systems-with-applications-
using-python
Readers will find that they can reproduce the figures given in the text, and
then it is not too difficult to change parameters or equations to investigate
other systems.
Chapters 2–12 deal with continuous dynamical systems. Chapters 2 and 3
cover some theory of ordinary differential equations and applications to mod-
els in the real world are given. The theory of differential equations applied
to chemical kinetics and electric circuits is introduced in some detail. The
memristor is introduced and one of the most remarkable stories in the history
of mathematics is relayed. Chapter 2 ends with the existence and uniqueness
theorem for the solutions of certain types of differential equations. The theory
behind the construction of phase plane portraits for two-dimensional systems
is dealt with in Chapter 3. Applications are taken from chemical kinetics, eco-
nomics, electronics, epidemiology, mechanics, and population dynamics. The
modeling of the populations of interacting species is discussed in some detail
in Chapter 4 and domains of stability are discussed for the first time. Limit
cycles, or isolated periodic solutions, are introduced in Chapter 5. Since we
live in a periodic world, these are the most common type of solution found
when modeling nonlinear dynamical systems. They appear extensively when
modeling both the technological and natural sciences. Hamiltonian, or con-
servative, systems and stability are discussed in Chapter 6, and Chapter 7
is concerned with how planar systems vary depending upon a parameter.
Bifurcation, bistability, multistability, and normal forms are discussed.
Preface vii
using pencil and paper in Chapter 17, and the concept of fractal dimension
is introduced. Fractals may be thought of as identical motifs repeated on
ever-reduced scales. Unfortunately, most of the fractals appearing in nature
are not homogeneous but are more heterogeneous, hence the need for the
multifractal theory given later in the chapter. It has been found that the
distribution of stars and galaxies in our universe is multifractal, and there
is even evidence of multifractals in rainfall, stock markets, and heartbeat
rhythms. Applications in geoscience, materials science, microbiology, and
image processing are briefly discussed. Chapter 18 provides a brief introduc-
tion to image processing which is being used more and more by a diverse
range of scientific disciplines, especially medical imaging. The fast Fourier
transform is introduced and has a wide range of applications throughout the
realms of science.
Chapter 19 is devoted to the new and exciting theory behind chaos con-
trol and synchronization. For most systems, the maxim used by engineers
in the past has been “stability good, chaos bad,” but more and more nowa-
days this is being replaced with “stability good, chaos better.” There are
exciting and novel applications in cardiology, communications, engineering,
laser technology, and space research, for example. A brief introduction to
the enticing field of neural networks is presented in Chapter 20. Imagine
trying to make a computer mimic the human brain. One could ask the ques-
tion: In the future will it be possible for computers to think and even be
conscious? The human brain will always be more powerful than traditional,
sequential, logic-based digital computers and scientists are trying to incor-
porate some features of the brain into modern computing. Neural networks
perform through learning and no underlying equations are required. Mathe-
maticians and computer scientists are attempting to mimic the way neurons
work together via synapses; indeed, a neural network can be thought of as a
crude multidimensional model of the human brain. The expectations are high
for future applications in a broad range of disciplines. Neural networks are
already being used in machine learning and pattern recognition (computer vi-
sion, credit card fraud, prediction and forecasting, disease recognition, facial
and speech recognition), the consumer home entertainment market, psycho-
logical profiling, predicting wave over-topping events, and control problems,
for example. They also provide a parallel architecture allowing for very fast
computational and response times. In recent years, the disciplines of neu-
ral networks and nonlinear dynamics have increasingly coalesced and a new
branch of science called neurodynamics is emerging. Lyapunov functions can
be used to determine the stability of certain types of neural network. There
is also evidence of chaos, feedback, nonlinearity, periodicity, and chaos syn-
chronization in the brain.
Chapter 21 focuses on binary oscillator computing, the subject of UK,
International, and Taiwanese patents. The author and his co-inventor, Jon
Preface ix
Borresen, came up with the idea when modeling connected biological neu-
rons. Binary oscillator technology can be applied to the design of arithmetic
logic units (ALUs), memory, and other basic computing components. It
has the potential to provide revolutionary computational speed-up, energy
saving, and novel applications and may be applicable to a variety of techno-
logical paradigms including biological neurons, complementary metal-oxide-
semiconductor (CMOS), memristors, optical oscillators, and superconducting
materials. The research has the potential for MMU and industrial partners
to develop super fast, low-power computers and may provide an assay for
neuronal degradation for brain malfunctions such as Alzheimer’s, epilepsy,
and Parkinson’s disease!
Examples of coursework and three examination-type papers are listed in
Chapter 22, and a complete set of solutions for the book is listed in Chap-
ter 23.
Both textbooks and research papers are presented in the list of references.
The textbooks can be used to gain more background material, and the re-
search papers have been given to encourage further reading and independent
study.
This book is informed by the research interests of the author, which are
currently nonlinear ordinary differential equations, nonlinear optics, multi-
fractals, neural networks, and binary oscillator computing. Some references
include recently published research articles by the author along with two
patents.
The prerequisites for studying dynamical systems using this book are
undergraduate courses in linear algebra, real and complex analysis, calculus,
and ordinary differential equations; a knowledge of a computer language such
as Basic, C, or Fortran would be beneficial but not essential.
Recommended Textbooks
[1] H.P Langtangen and A. Logg, Solving PDEs in Python: The FEniCS
Tutorial I (Simula SpringerBriefs on Computing), Springer, New York, 2017.
[3] L.C. de Barros, R.C. Bassanezi and W.A. Lodwick, A First Course in
Fuzzy Logic, Fuzzy Dynamical Systems, and Biomathematics: Theory and
Applications, Springer, New York, 2016.
2 Differential Equations 33
2.1 Simple Differential Equations and Applications . . . . . . . 34
2.1.1 Linear Differential Equations . . . . . . . . . . . . . . 34
2.1.2 Separable Differential Equations . . . . . . . . . . . . 35
2.1.3 Exact Differential Equations . . . . . . . . . . . . . . 39
2.1.4 Homogeneous Differential Equations . . . . . . . . . . 40
2.2 Applications to Chemical Kinetics . . . . . . . . . . . . . . . 44
2.3 Applications to Electric Circuits . . . . . . . . . . . . . . . . 48
2.4 Existence and Uniqueness Theorem . . . . . . . . . . . . . . 53
2.5 Python Programs . . . . . . . . . . . . . . . . . . . . . . . . 57
2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3 Planar Systems 65
3.1 Canonical Forms . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.1.1 Real Distinct Eigenvalues . . . . . . . . . . . . . . . . 68
3.1.2 Complex Eigenvalues (λ = α ± iβ) . . . . . . . . . . . 69
3.1.3 Repeated Real Eigenvalues . . . . . . . . . . . . . . . 70
xi
xii Contents
4 Interacting Species 95
4.1 Competing Species . . . . . . . . . . . . . . . . . . . . . . . 96
4.2 Predator-Prey Models . . . . . . . . . . . . . . . . . . . . . . 99
4.3 Other Characteristics Affecting Interacting Species . . . . . 104
4.4 Python Programs . . . . . . . . . . . . . . . . . . . . . . . . 107
4.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Index 651
Appendix A
https://github.com/springer-math/dynamical-systems-with-applications-
using-python
These files will be kept up-to-date and extra files will be added in the
forthcoming years.
before the animation. If you don’t want to use this command every time,
you can go to: Tools, Preferences, IPython Console, Graphics, Backend, and
change it from “Inline” to “Automatic.”
Program_02a.py ---
Solve a separable ODE.
Program_02b.py ---
Solve the logistic ODE.
Program_02c.py ---
Power series solution.
Program_02d.py ---
Power series solution for van der Pol.
Program_02e.py ---
Plot series solution against numerical
solution.
Program_02f.py --- Solve a linear first order ODE.
Program_02g.py --- Solve a linear second order ODE.