Dynamical Systems Introduction
Differential Equations and Dynamical Systems: The Big Picture
Differential equations study systems that change over time. A population may grow, a ball may move, a bank account may increase, or a spring may oscillate. The central goal is not merely to calculate a formula, but to build a mathematical model that describes, explains, and predicts the behavior of a changing system.
A dynamical system is any system whose state changes as time passes. The state might be represented by one quantity, such as a population, or by several quantities, such as the populations of both rabbits and foxes.
There are two closely related ways to model time:
- Continuous dynamical systems use differential equations. Time is treated as a continuous variable that can take any real value, such as 0, 0.5, π, or 18.9 months.
- Discrete dynamical systems use difference equations. Time advances in separate steps, often represented by whole numbers such as 0,1,2,3,….
For example, a monthly population survey is naturally discrete because the population is recorded month by month. A model of the population at every instant is continuous.
A differential equation describes how a quantity changes continuously, while a difference equation describes how a quantity changes from one discrete step to the next.
The two subjects interact because both are concerned with change over time. They often describe similar phenomena, but they use different mathematical tools.
The Main Purpose of Modeling
The central purpose of the course is to quantitatively and qualitatively model, describe, understand, and predict systems that change over time.
Quantitative descriptions
A quantitative description uses numbers, formulas, and equations. For example, a rabbit population might be modeled by
Pn=2n+1.This formula gives a numerical population for a particular month n.
Qualitative descriptions
A qualitative description focuses on the overall behavior rather than an exact formula. It may describe a population as:
- increasing,
- decreasing,
- oscillating,
- approaching a constant value,
- moving around a cycle, or
- behaving chaotically.
Graphs are especially useful for qualitative descriptions. A graph may reveal whether a solution is increasing, decreasing, concave up, concave down, or oscillatory even when an exact formula is difficult or impossible to find.
Understanding and prediction
A model is useful only if it helps explain what is happening and make reasonable predictions. However, predictions are not automatically accurate. A model depends on assumptions, and unrealistic assumptions eventually lead to unrealistic conclusions.
For instance, a model that assumes rabbits have unlimited food and space may predict enormous population growth. That prediction may be mathematically correct within the model but biologically unrealistic.
Modeling is therefore an iterative process:
- Begin with a simple set of assumptions.
- Translate those assumptions into mathematics.
- Analyze the mathematical model.
- Compare its predictions with reality.
- Modify or replace the model if necessary.
Think About It
Why might a mathematically correct prediction still be a poor prediction of what happens in the real world?
Common Behaviors of Dynamical Systems
Different systems can display very different patterns over time.
Static behavior
A system has static behavior when it does not change. On an ordinary graph, this can appear as a horizontal line:
y(t)=C,where C is a constant.
In a phase line, phase plane, or phase space, a static state is represented by a single point. The point does not move because the system remains in the same state.
Exponential growth and decay
Exponential growth occurs when the rate of increase is proportional to the current amount. The more of something there is, the faster it grows.
A continuous exponential-growth model has the form
P(t)=P0ekt,where P0 is the initial amount and k>0 is the growth constant.
Exponential decay has the same form with k<0.
Oscillatory behavior
An oscillating system moves repeatedly back and forth. The simplest examples are sine and cosine waves:
y(t)=Acos(ωt)or
y(t)=Asin(ωt).The amplitude A measures the maximum distance from the equilibrium position. The amplitude may remain constant, or it may decrease over time if damping is present.
Chaotic behavior
A system can be deterministic—meaning that its rules are completely specified—yet still be extremely difficult to predict. This is called chaotic behavior.
Chaotic systems are highly sensitive to initial conditions. A tiny difference in the starting state can produce a very different long-term outcome. This sensitivity is often called the butterfly effect.
The Lorenz attractor is a well-known example. Its motion follows deterministic equations, but its long-term path can appear irregular and unpredictable.
From Local Information to Global Behavior
A major theme in differential equations is moving from local information to global understanding.
Local information describes what is happening at one point or during one small interval. Global information describes the behavior of the entire system over a large time interval.
For example, the derivative gives local information:
dtdydescribes the instantaneous rate at which y is changing. If the rate of change is known at every time, integration can help reconstruct the total change in y.
This principle is closely related to the Fundamental Theorem of Calculus. In a simplified form, it says that accumulating infinitesimal changes produces a total change.
A useful way to express the broader idea is:
A complicated continuous process can often be understood by imagining it as many small, simpler pieces, analyzing those pieces, and combining their effects.
This idea is essentially the motivation behind integration, although not every local-to-global argument requires explicitly computing an integral.
Think About It
A derivative describes what is happening “right now.” What additional process is needed to use that local information to determine what happens over a long period?
Important Applications
Differential equations and dynamical systems appear in many areas.
Population growth and decay
Population models describe the increase or decrease of a single species. More advanced models describe interacting species, such as predators and prey.
Projectile motion
Projectile models describe the motion of an object under gravity. The simplest case is vertical motion, in which an object moves upward and then downward. A two-dimensional projectile follows a parabolic path when air resistance is ignored.
Financial growth
Financial models describe compound interest, deposits, withdrawals, and other changes in money over time.
Heating and cooling
Newton’s law of heating and cooling models how an object’s temperature changes relative to the surrounding environment. An object generally heats or cools more quickly when its temperature is far from the surrounding temperature.
Mixing problems
A mixing problem tracks the amount of a substance in a mixture. For example, salt water may flow into a tank while mixture flows out. The goal is to determine the amount of salt at each time.
These models are also called compartmental models because the system is treated as a compartment containing some quantity of material.
Harmonic oscillators
A harmonic oscillator is a system that exhibits oscillatory behavior. Examples include:
- a mass attached to a spring,
- a pendulum,
- an electrical circuit involving varying voltage or current.
Harmonic oscillators may be classified in several ways:
- Undamped: no friction or energy loss is included.
- Damped: friction or another form of energy loss is included.
- Linear: the governing equation is linear.
- Nonlinear: the governing equation contains nonlinear terms.
- Forced: an external input affects the system.
- Unforced: no external input is applied.
A mass on a spring is often modeled linearly when the spring is not stretched too far. A pendulum is naturally nonlinear, although small-angle motion can often be approximated by a linear model.
A Simple Harmonic Oscillator
Consider the initial value problem
y′′=−4y,with initial conditions
y(0)=1and
y′(0)=0.This is a second-order differential equation because it contains the second derivative y′′.
A proposed solution is
y(t)=cos(2t).The initial conditions describe the system at time t=0.
Checking the first initial condition
Substitute t=0 into the proposed solution:
y(0)=cos(0)=1.Therefore, the condition y(0)=1 is satisfied.
Checking the second initial condition
Differentiate the proposed solution:
y′(t)=−2sin(2t).Then evaluate at t=0:
y′(0)=−2sin(0)=0.Thus, the second initial condition is also satisfied.
The equation y′(0)=0 means the graph has a horizontal tangent at t=0. In the physical interpretation, the mass begins with zero velocity.
Checking the differential equation
To verify that y(t)=cos(2t) satisfies the differential equation, both sides must be evaluated using the proposed function.
The second derivative is
y′′(t)=−4cos(2t).The right-hand side of the differential equation is
−4y(t)=−4cos(2t).Both sides are exactly the same:
y′′(t)=−4cos(2t)=−4y(t).Therefore, the proposed function is a solution.
To verify a proposed solution of a differential equation, substitute it into the left-hand side and right-hand side separately. Simplify both expressions and check that they agree for every allowed value of the independent variable.
Physical interpretation
If y(t) represents the vertical position of a mass, then y′′(t) represents its acceleration. If the mass is taken to have mass 1, then Newton’s second law gives
F=ma=y′′(t).The equation
y′′=−4ysays that the acceleration is always directed opposite to the displacement from equilibrium.
When y is positive, the acceleration is negative. When y is negative, the acceleration is positive. This restoring behavior causes the mass to move back and forth.
A negative acceleration does not necessarily mean that the object is moving downward. Acceleration describes how velocity is changing. An object can move upward while experiencing negative acceleration, in which case it is slowing down.
The solution y(t)=cos(2t) has period
T=22π=π.Thus, the motion repeats every π units of time.
Main Methods for Solving and Studying Equations
Several methods are important in the study of differential equations.
Separable equations
A differential equation is separable when the variables can be rearranged so that all terms involving one variable appear on one side and all terms involving the other variable appear on the other side. The resulting equation can then be integrated.
Linear equations
Linear differential equations are usually easier to analyze than nonlinear equations. A first-order linear equation can be treated using an integrating factor, a method that transforms the left side into the derivative of a product.
Systems of equations
Some models require multiple dependent variables. These are represented by systems of differential equations, often using vectors and matrices.
Eigenvalues and eigenvectors
For linear systems, eigenvalues and eigenvectors provide information about the fundamental directions and growth or decay rates of solutions.
They are especially useful for understanding whether a system:
- grows,
- decays,
- oscillates,
- moves toward an equilibrium, or
- moves away from an equilibrium.
Undetermined coefficients
Undetermined coefficients is a method based on an educated guess. A likely form for a particular solution is chosen, and unknown constants are determined by substituting the guess into the equation.
This method is especially effective for linear differential equations with suitable forcing terms.
Qualitative techniques
Sometimes an exact formula is unavailable or too difficult to find. In those cases, the system can still be studied qualitatively.
Important qualitative tools include:
- phase-line analysis for one-dimensional systems,
- phase-plane analysis for two-dimensional systems,
- nullclines, which identify where one component of motion is zero,
- linearization, which approximates a nonlinear system near an equilibrium.
These methods can reveal the shape and stability of solutions without producing an exact formula.
Numerical approximation
Numerical methods approximate solutions using calculations at many nearby points. Euler’s method is one of the simplest such methods. It uses the current slope to estimate the next point.
More advanced numerical methods are generally more accurate, but Euler’s method is useful for understanding the basic idea.
Laplace transforms
Laplace transforms provide another method for solving differential equations, especially initial value problems. They convert derivatives into algebraic expressions involving a transform variable, allowing some differential equations to be solved through algebra before transforming back.
How Linear Algebra Supports Differential Equations
Linear algebra contributes both notation and methods.
Vectors and matrices
Vectors and matrices represent systems of equations compactly. For example, a system can be written as
x′=Ax,where x is a vector of dependent variables and A is a matrix of coefficients.
Changes of coordinates
A change of coordinates, also called a change of variables, can make a complicated system easier to analyze. A suitable coordinate system may separate different types of motion or simplify the algebra.
Eigenvectors are especially useful because they often define coordinate directions in which a linear system behaves simply.
Linearization
A nonlinear system can sometimes be approximated near an equilibrium by a linear system. This process is called linearization.
The approximation is local: it may be accurate near the equilibrium but inaccurate farther away. Even so, it can reveal whether nearby solutions move toward or away from that equilibrium.
Solution spaces
The collection of all solutions to a linear differential equation often has the structure of a vector space. This means that combinations of solutions can produce other solutions.
For example, if y1 and y2 solve a homogeneous linear equation, then a linear combination
c1y1+c2y2also solves the equation, where c1 and c2 are constants.
Partial differential equations
An ordinary differential equation uses ordinary derivatives with respect to one independent variable. A partial differential equation uses partial derivatives with respect to multiple independent variables.
Important examples include:
- the heat equation,
- the wave equation,
- Laplace’s equation.
These equations are generally more difficult than ordinary differential equations. Linear algebra remains relevant through ideas such as inner-product spaces and least-squares approximations.
Discrete Rabbit Population: Doubling Each Month
Suppose an unconstrained rabbit population begins with two rabbits and doubles every month.
Let Pn denote the population after n months. The subscript n indicates that the input is a discrete time value:
n=0,1,2,3,…The first few values are
[ \begin{array}{c|c} n & P_n\ \hline 0 & 2\ 1 & 4\ 2 & 8\ 3 & 16\ 4 & 32 \end{array} ]
Pattern recognition gives
Pn=2⋅2n=2n+1.The first form is more useful for generalization because it shows the initial value explicitly:
Pn=P02n,where P0 is the initial population.
The difference equation
The local rule is
Pn+1=2Pn.This says that the population in the next month is twice the population in the current month. It is called a difference equation or a recurrence relation.
The rule is local because it relates neighboring terms. It tells how to move from Pn to Pn+1.
The explicit formula
Pn=P02nis global because it gives the population at any month directly, without calculating every previous month.
Finding when the population reaches one million
With P0=2, set the explicit formula equal to one million:
2⋅2n=1,000,000.Divide by 2:
2n=500,000.Take natural logarithms:
nln2=ln(500,000).Solve for n:
n=ln2ln(500,000)≈18.93.Because the discrete model only evaluates whole months, the population first reaches or exceeds one million at
n=19.The result is a model-based prediction, not a guarantee about real rabbits. Unlimited growth is an unrealistic assumption over long periods because food, space, disease, predators, and other constraints matter.
Verifying the explicit solution
To verify that
Pn=P02nsatisfies
Pn+1=2Pn,evaluate both sides.
The left-hand side is
Pn+1=P02n+1.The right-hand side is
2Pn=2(P02n)=P02n+1.The two sides agree, so the formula is a solution.
A proposed formula such as Pn=n2 would not work because
Pn+1=(n+1)2while
2Pn=2n2.These are not the same function of n, so Pn=n2 is not a solution.
Graphing a discrete model
A discrete model is technically defined only at the allowed input values n=0,1,2,…. Therefore, its graph consists of separate points such as
(0,2), (1,4), (2,8), (3,16).The points should not automatically be connected. Connecting them suggests that the model describes what happens between whole months, but the discrete model makes no such claim.
Changing the graph’s scale also changes its appearance. An exponential graph may look sharply curved on an ordinary scale but nearly linear on a logarithmic vertical scale. Since
log10(10k)=k,powers of ten become evenly spaced on a logarithmic scale. Exponential growth can therefore appear as a straight line on such a graph.
A Discrete Model with Tripling
Now suppose the population begins with two rabbits and triples every month.
The local rule becomes
Pn+1=3Pn.The global formula is
Pn=2⋅3n.To determine when the population reaches one million, solve
2⋅3n=1,000,000.Dividing by 2 gives
3n=500,000.Taking logarithms gives
n=ln3ln(500,000)≈11.95.Because n must be a whole number, the population first reaches or exceeds one million at
n=12.The same verification method works:
Pn+1=2⋅3n+1and
3Pn=3(2⋅3n)=2⋅3n+1.Thus, the explicit formula satisfies the recurrence relation.
Think About It
Why does the tripling model reach one million sooner than the doubling model, even though both begin with the same initial population?
Continuous Rabbit Population: Doubling Over Time
A continuous model uses a real-valued time variable t. The same doubling behavior can be represented by
P(t)=2⋅2t.Here, t may be fractional. For example, P(2.5) represents the model’s predicted population two and a half months after the start.
Using the identity
2t=e(ln2)t,the model can also be written as
P(t)=2e(ln2)t.Finding when the continuous population reaches one million
The calculation is similar to the discrete case:
2⋅2t=1,000,000.Therefore,
t=ln2ln(500,000)≈18.93.Unlike the discrete model, the continuous model does not require rounding to a whole month. Its prediction is approximately 18.93 months.
The differential equation
Differentiate
P(t)=P02t.Because
2t=e(ln2)t,the chain rule gives
P′(t)=P0(ln2)e(ln2)t.Since P(t)=P0e(ln2)t, this becomes
P′(t)=(ln2)P(t).Thus, the continuous model satisfies the differential equation
dtdP=(ln2)P.Numerically,
ln2≈0.693147,so the equation can be approximated by
dtdP≈0.693147P.This equation says that the instantaneous rate of population growth is proportional to the current population.
Continuous growth rate
The number ln2 is the continuous relative growth rate. Written as a percentage, it is approximately
69.3%per month.
This does not mean that the population increases by exactly 69.3%overeveryentiremonth.Itmeansthatateachinstant,therateofchangeisapproximately69.3%$ of the current population per month.
The actual change over a full month is larger because exponential growth continues throughout the month. In fact, the model doubles over one month:
P(t+1)=2P(t).Comparing Discrete and Continuous Models
Both models describe rapid population growth, but they make different assumptions.
Discrete models
A discrete model:
- uses whole-number time steps,
- often requires no calculus,
- gives values at specific time steps,
- naturally represents events occurring month by month,
- does not automatically describe what happens between time steps.
Continuous models
A continuous model:
- uses real-valued time,
- requires calculus or differential equations,
- gives values at fractional and irrational times as well as whole times,
- provides an instantaneous growth rate,
- often gives a smoother description of physical processes.
Neither model is automatically “the correct one.” The choice depends on the system and the purpose of the model.
Both models are approximations. Their assumptions must be checked against reality. A model that works well over a short time may fail over a long time, especially when it ignores resource limitations.
Predator–Prey Systems
A more complicated model involves two interacting populations:
- R(t) represents rabbits, the prey.
- F(t) represents foxes, the predators.
A predator–prey model tracks both populations simultaneously. This creates a two-dimensional system because the state is determined by the pair
(R(t),F(t)).Interpreting the phase plane
A phase plane uses one axis for the rabbit population and the other for the fox population. At any time, the system is represented by a point in that plane.
As time passes, the point moves, tracing a trajectory.
- Movement to the right means the fox population is increasing.
- Movement to the left means the fox population is decreasing.
- Movement upward means the rabbit population is increasing.
- Movement downward means the rabbit population is decreasing.
A closed or nearly closed oval-shaped trajectory can represent repeated cycles in which the populations rise and fall in relation to each other.
Reasonable biological assumptions
When both rabbit and fox populations are high, many interactions are possible:
- Foxes have many opportunities to find rabbits, so the fox population may increase.
- Rabbits are being eaten more frequently, so the rabbit population may decrease.
When both populations are low:
- Foxes have little food, so the fox population may decrease.
- Rabbits experience less predation, so the rabbit population may increase.
These assumptions produce a natural cycle. An increase in rabbits provides more food for foxes. As foxes increase, rabbits decline. With fewer rabbits available, foxes eventually decline. Once foxes are scarce, rabbits can recover.
A representative nonlinear system
One possible model has the form
dtdF=−F+RFand
dtdR=R−RF.The exact coefficients and variables depend on the modeling choices, but the important feature is the product term RF.
The product RF represents interaction between the two populations. If either population is near zero, then RF is small. If both populations are large, then RF is large.
For the fox equation,
dtdF=F(R−1).When R>1, the fox growth rate is positive. When R<1, the fox growth rate is negative.
For the rabbit equation,
dtdR=R(1−F).When F<1, the rabbit growth rate is positive. When F>1, the rabbit growth rate is negative.
The product terms make the system nonlinear. Even though R and F each appear to the first power, their product RF prevents the system from being linear.
Why nonlinear systems are difficult
Linear systems often have solution formulas involving exponentials, eigenvalues, and eigenvectors. Nonlinear systems generally do not have simple formulas for all solutions.
However, a lack of an exact formula does not mean that the system cannot be understood. Phase-plane analysis, nullclines, linearization, and numerical approximation can still reveal:
- where populations increase or decrease,
- where equilibrium states occur,
- whether equilibria are stable,
- whether trajectories cycle,
- and how the system responds to different initial conditions.
A computer-generated trajectory is often produced numerically. The displayed smooth curve may be created by calculating many approximate data points and connecting them visually.
Comprehensive Review
Differential equations and difference equations both model systems that change over time, but they treat time differently. Difference equations describe step-by-step change, while differential equations describe instantaneous change.
The most important ideas are:
- A dynamical system changes over time.
- Discrete models use variables such as n=0,1,2,….
- Continuous models use real-valued variables such as t.
- Difference equations provide local update rules such as Pn+1=2Pn.
- Explicit formulas provide global descriptions such as Pn=P02n.
- Differential equations describe rates of change, such as P′(t)=(ln2)P(t).
- To verify a proposed solution, substitute it into both sides of the equation and check that the resulting expressions agree.
- Exponential growth occurs when the growth rate is proportional to the current amount.
- Harmonic oscillators are governed by restoring behavior that causes repeated motion.
- Linear systems are generally easier to solve and analyze than nonlinear systems.
- Linear algebra supplies vectors, matrices, eigenvalues, eigenvectors, changes of coordinates, and linearization.
- Phase lines and phase planes provide qualitative information even when exact formulas are unavailable.
- Numerical methods approximate solutions when symbolic methods are impractical.
- Mathematical models depend on assumptions and must be compared with reality.
The broad strategy is to use local rules—rates, slopes, and interactions—to understand global behavior over time.

Ask anything
We've read this whole study set, so questions about it get the best answers.