Continuous and Discrete Dynamical Systems
Differential Equations, Dynamical Systems, and Linear Algebra
Continuous and Discrete Dynamical Systems
A dynamical system is a system that changes over time. The system is described by variables whose values evolve according to a rule.
Differential equations: continuous dynamical systems
A differential equation describes continuous change. Its independent variable is usually time, denoted by t, where t can be any real number.
For example,
describes how the quantity y changes continuously as time passes.
t is the independent variable.
y is the dependent variable, often representing the state of the system.
dtdy is the instantaneous rate of change of y.
f(t,y) determines the rate of change at each point.
Differential equations are used to model processes such as motion, population growth, cooling, and physical systems.
Difference equations: discrete dynamical systems
A difference equation describes change at discrete time steps. Its independent variable is a whole number, usually
Such values are called nonnegative integers.
A typical difference equation is
or equivalently,
Here, the state changes from one step to the next rather than continuously over all real values of time.
Relationship between differential and difference equations
Differential and difference equations are closely related:
Differential equations model continuous dynamical systems.
Difference equations model discrete dynamical systems.
Both describe how a system evolves over time.
Linear algebra provides natural methods for studying difference equations and systems of differential equations.
The same mathematical ideas, such as exponential growth, stability, eigenvalues, and eigenvectors, appear in both settings.
The Basic Linear Differential Equation
One of the most important differential equations is
where a is a fixed constant.
This equation says that the rate of change of y is always proportional to the current value of y.
The equation dtdy=ay seeks a function whose derivative is always equal to a constant multiple of the function itself.
The constant a determines the behavior:
If a>0, solutions grow exponentially.
If a<0, solutions decay exponentially.
If a=0, solutions remain constant.
General solution
The general solution is
where:
a is the fixed constant from the differential equation.
c is an arbitrary constant.
eat determines the time-dependent behavior.
Different values of c produce different solutions.
To verify the solution, differentiate:
Thus, every function of the form ceat satisfies the differential equation.
The general solution represents infinitely many functions because c may be any constant.
Initial value problem
An initial condition specifies the value of the solution at a particular time. A common initial condition is
where y0 is a fixed initial value.
Substituting t=0 into the general solution gives
Therefore,
The unique solution of the initial value problem is
This solution contains no arbitrary constant because the initial condition determines its value.
The general solution y=ceat represents infinitely many possible solutions.
The initial value problem selects one particular solution.
The notation ϕ(t) may also be used to name the unique solution.
The Related Difference Equation
The discrete analogue of
is
or
Suppose the initial condition is
The unique solution is
Verification
When n=0,
so the initial condition is satisfied.
To verify the recurrence,
Thus, the formula satisfies the difference equation for every allowed value of n.
Solving by iteration
Unlike a differential equation, a difference equation should not be solved by integration. Instead, the recursive rule is applied repeatedly:
Substituting repeatedly gives
Continuing until the initial value appears produces
The pattern is that each recursive step contributes another factor of a.
Comparison with the continuous solution
The continuous solution is
whereas the discrete solution is
Both express repeated proportional change, but they use different independent variables and different forms of exponential behavior.
Separation of Variables
Separation of variables is a method for solving differential equations when the right-hand side can be written as a product of a function of t and a function of y.
Suppose the differential equation has the form
The variables can be separated by dividing by h(y) and multiplying by dt:
The two variables now appear on separate sides. Integrating both sides gives
The resulting equation may be solved for y as a function of t.
Explicit and implicit solutions
An explicit solution gives y directly in terms of t:
An implicit solution gives a relationship involving both y and t without isolating $y. For example,
It is not always possible, or practical, to solve an implicit equation explicitly for y.
An initial condition can often be substituted into the integrated equation to determine the constant of integration.
Limitations of separation of variables
Separation of variables may successfully transform a differential equation into integrals, but the required integrals may be difficult or impossible to express using familiar elementary functions.
For example,
does not have an elementary antiderivative. It can be represented using a special function called the Fresnel sine integral.
Similarly, integrals involving cos(t2) lead to a related Fresnel cosine function.
Therefore, separation of variables may provide the correct solution method even when the final result requires:
An implicit form.
A special function.
Numerical approximation.
Computer algebra or computational software.
Other methods for solving differential equations include integrating factors and more advanced forms of educated guessing.
Slope Fields
A slope field is a visual representation of a first-order differential equation. It allows solutions to be sketched even when an explicit formula cannot be found.
Consider
The function f(t,y) gives the slope that a solution must have at the point (t,y).
Constructing a slope field
For points in the t-y plane:
Choose a point (t,y).
Evaluate f(t,y).
Draw a short line segment centered at (t,y) with slope f(t,y).
Repeat this at many points throughout the plane.
The resulting collection of line segments is the slope field.
The function f(t,y) is not itself a solution. It only specifies the slope at each point. A solution is a curve y=ϕ(t) that follows the field.
How solutions follow the field
If a solution curve passes through (t,y), then the short segment at that point must be tangent to the solution curve.
Therefore, a solution must satisfy the slope field at every point along its path.
A solution curve is one whose tangent slope agrees with the slope-field segment at every point it passes through.
A slope field can reveal qualitative behavior, including:
Whether solutions increase or decrease.
Whether solutions curve upward or downward.
Whether solutions approach equilibrium values.
Long-term behavior without finding an explicit formula.
Whether nearby solutions appear to move together or apart.
Slope fields are especially useful when differential equations are too difficult to solve explicitly.
Special Types of Slope Fields
Differential equations depending only on time
If
then the slope depends only on the horizontal coordinate t, not on y.
A solution is an antiderivative:
All solutions differ only by the constant C. Geometrically, they are vertical translations of one another.
The slope field has the same slope along every vertical line because all points with the same t-coordinate have the same value of f(t).
Autonomous differential equations
An equation is autonomous if its right-hand side depends only on y:
The term autonomous indicates that the equation is independent of time. The rule governing the system does not change as time passes.
For an autonomous equation:
The slope field has constant slopes along horizontal lines.
The slope at a point depends only on its y-coordinate.
Solutions are often horizontal translations of one another.
Equilibrium solutions are frequently present.
Equilibrium solutions
An equilibrium solution is a constant solution. If y(t)=ye is constant, then
For the autonomous equation
an equilibrium occurs at any value ye satisfying
Thus, equilibrium solutions are
In a slope field, equilibrium solutions appear as horizontal lines made entirely of zero-slope segments.
Graphing the Right-Hand Side of an Autonomous Equation
For an autonomous equation
one useful graph is the graph of f(y) itself.
In this auxiliary graph:
y is placed on the horizontal axis.
dtdy is placed on the vertical axis.
The vertical value shows the slope of solution curves at that value of y.
Using the graph to understand the slope field
The graph helps determine the slope-field behavior:
If f(y)>0, then dtdy>0, so solutions increase.
If f(y)<0, then dtdy<0, so solutions decrease.
If f(y)=0, then the corresponding y-value is an equilibrium.
Because the equation is autonomous, the same slope occurs along the entire horizontal line with that y-value.
For example, if f(y)=0 at y=0 and y=5, then
are equilibrium solutions.
If f(y)<0 when y<0 or y>5, then solutions in those regions have negative slope and decrease over time.
Logistic models
A logistic model is a population model that is more complicated than simple exponential growth. Logistic behavior commonly includes:
Growth when the population is in an appropriate range.
A maximum sustainable population level.
Equilibrium solutions.
Regions in which the population increases or decreases depending on its current value.
The graph of f(y) for a logistic equation is not itself a solution curve. It is a graph of the right-hand side used to construct and interpret the slope field.
First- and Second-Order Differential Equations
The order of a differential equation is determined by the highest derivative that appears.
First-order equation
A first-order equation contains only the first derivative, such as
Second-order equation
A second-order equation contains a second derivative, such as
Free fall can be represented in different ways:
If velocity is the dependent variable, the equation may be first-order.
If height is the dependent variable, acceleration involves the second derivative of height, making the equation second-order.
Euler’s Method
Euler’s method is a numerical approximation method for estimating solutions of differential equations.
It is useful when:
An explicit solution cannot be found.
The equation is difficult to solve analytically.
Numerical values are needed at selected times.
For
Euler’s method uses a small time step Δt and updates the approximation according to
The method replaces the unknown solution curve with a sequence of short line segments.
Interpretation
At the current point (tn,yn):
Evaluate the slope f(tn,yn).
Move horizontally by Δt.
Move vertically by approximately Δtf(tn,yn).
Use the resulting point as the starting point for the next step.
Euler’s method is itself a difference equation because it computes a sequence of approximations one step at a time.
More accurate numerical methods exist, but Euler’s method is important because it clearly demonstrates the connection between differential and difference equations.
Existence and Uniqueness of Solutions
Consider the initial value problem
The point (t0,y0) is the initial point.
Existence
If f(t,y) is continuous near (t0,y0), then a solution is guaranteed to exist near that point.
Continuity means that f has no jumps, breaks, or undefined values in the relevant neighborhood.
This also justifies numerical methods such as Euler’s method: the method is approximating a solution that actually exists.
Uniqueness
To guarantee that the solution is unique, an additional condition is typically required. A common theorem states that if:
f(t,y) is continuous near (t0,y0), and
The partial derivative ∂y∂f is also continuous near (t0,y0),
then the initial value problem has a unique solution near the initial point.
Uniqueness means that no two different solution curves can pass through the same initial point.
Consequence: distinct solutions cannot cross
When uniqueness applies, distinct solution curves cannot touch or cross one another.
Suppose two known solutions form upper and lower boundaries, and an initial condition lies between them. The unique solution through that initial point must remain between the two boundary solutions, because crossing either boundary would force two solutions to meet.
This provides useful qualitative information even when the exact formula for a solution is unknown.
When uniqueness can fail
Existence may still occur even when uniqueness fails. Uniqueness can fail when the required regularity conditions, such as continuity of ∂y∂f, are not satisfied near the initial point.
In such cases, more than one solution may pass through the same initial condition.
Implicit Solutions and Contour Plots
Separation of variables may produce an implicit relationship involving t and y:
Such a relationship can be viewed geometrically as a family of level curves or contours in the t-y plane.
Contour plots
A contour plot displays curves along which a function has a constant value. If the right-hand side of a differential equation depends on both t and y, contour plots can help organize the slope field.
For
a contour where f(t,y)=c contains points at which the slope is c.
Examples include:
The contour f(t,y)=0, where slope segments are horizontal.
The contour f(t,y)=1, where slope segments have slope 1.
The contour f(t,y)=2, where slope segments have slope 2.
Thus, contour curves do not directly represent solution curves. Instead, they identify regions having equal slope and help construct or interpret the slope field.
Linear Algebra
Coordinate Systems and Skewed Coordinates
The standard x-y coordinate system uses perpendicular horizontal and vertical axes. However, coordinate axes do not have to be perpendicular or aligned horizontally and vertically.
A skewed coordinate system can use two slanted axes, often called the u-axis and v-axis. These axes provide a different coordinate grid for describing points and vectors.
Although skewed coordinates may initially seem unusual, they can be useful because:
Some geometric objects become simpler.
Certain transformations are easier to describe.
A problem may have a natural direction that is not aligned with standard axes.
Higher-dimensional problems may be simplified by choosing a more convenient basis.
The flexibility to choose coordinate systems becomes particularly important when studying linear transformations and systems of differential equations.
Vectors
A vector has both magnitude and direction. In coordinate form, a two-dimensional vector may be written as
Vectors can be interpreted geometrically as directed line segments or algebraically through their components.
Vector operations
Vectors can be:
Added component by component.
Subtracted component by component.
Multiplied by scalars.
For example,
Multiplication by a scalar c gives
Scalar multiplication changes the magnitude and may reverse the direction if the scalar is negative.
Dot Products
The dot product of vectors v and w can be computed from their components:
in two dimensions, with analogous formulas in higher dimensions.
Geometrically,
where:
∥v∥ is the length of v.
∥w∥ is the length of w.
θ is the angle between the vectors.
The dot product can be used to determine the angle:
It also identifies perpendicular vectors. If
then the vectors are orthogonal, provided neither vector is the zero vector.
Projection Vectors
The projection of v along w is the component of v pointing in the direction of w.
The vector projection is
The quantity
is a scalar, and multiplying it by w produces a vector.
Physical application
Suppose a force acts on an object moving along an inclined plane. The force may not point parallel to the plane. To determine the component of the force that contributes to motion along the plane, the force can be projected onto the direction of the plane.
The dot product also computes work directly:
where F is the force and d is the displacement.
Other applications
Projection vectors are also important in:
Statistics.
Least-squares approximation.
Orthogonal decomposition.
Coordinate changes.
Constructing reflections and other linear transformations.
The component of a vector perpendicular to w is sometimes called its rejection from w.
Systems of Linear Equations
A system of linear equations consists of several linear equations involving the same unknowns.
Two equations in two unknowns
Geometrically, each equation in two variables represents a line.
There are three main possibilities:
One solution: The lines are distinct and intersect at exactly one point.
Infinitely many solutions: The equations represent the same line.
No solution: The lines are distinct and parallel.
If one equation is a constant multiple of the other, the two equations describe the same line and therefore have infinitely many solutions.
If the equations are not multiples and are not parallel, they intersect at one point, giving a unique solution.
Higher-dimensional systems
A system with three equations and three unknowns can be viewed as the intersection of planes in three-dimensional space. Such systems may also have:
A unique solution.
Infinitely many solutions.
No solution.
The main computational method is row reduction.
Row reduction
Row reduction transforms a system into an equivalent simpler system using elementary row operations:
Interchange two rows.
Multiply a row by a nonzero scalar.
Add a multiple of one row to another row.
The goal may be row-echelon form or reduced row-echelon form.
In reduced row-echelon form:
Each nonzero row begins with a leading 1.
Each leading 1 is the only nonzero entry in its column.
Leading entries move to the right as one moves downward.
Any zero rows appear at the bottom.
Row reduction can be performed by hand or with a calculator, but understanding the operations is essential for interpreting the solution set.
Linear Transformations
A linear transformation is a function between vector spaces that preserves vector addition and scalar multiplication.
For a transformation T,
and
A common setting is a transformation from R2 to itself:
Linear transformations can be represented using matrices.
Basic examples
Important two-dimensional linear transformations include:
Reflections: Flip vectors across a line.
Rotations: Turn vectors through a fixed angle around the origin.
Shears: Shift one coordinate by an amount proportional to another coordinate.
Higher-dimensional linear transformations, such as transformations from R3 to itself, are also important.
Kernel of a Linear Transformation
Let
be a linear transformation.
The kernel of T is the set of all vectors in the domain that map to the zero vector:
The zero vector on the right belongs to the codomain.
The kernel is equivalent to the solution set of the homogeneous system associated with the transformation. If T is represented by a matrix A, then
The kernel identifies the inputs that are completely collapsed to zero by the transformation.
Trivial kernel
A kernel is trivial if it contains only the zero vector:
A trivial kernel means that no nonzero input is mapped to zero.
Image of a Linear Transformation
The image of T is the set of all possible outputs:
The image is also called the range of the transformation.
For a transformation from R3 to R3, the image consists of every vector in R3 that can be produced as an output.
The image helps answer the question:
Which vectors in the codomain can actually be reached by the transformation?
If the image equals the entire codomain, then every possible output is attainable.
One-to-One and Onto Functions
One-to-one functions
A function is one-to-one if distinct inputs always produce distinct outputs.
Equivalently,
A function can assign one output to every input without being one-to-one. For example, the function
is not one-to-one because
For a linear transformation,
Thus, a linear transformation is one-to-one exactly when the only vector mapped to zero is the zero vector.
Onto functions
A function is onto if every element of the codomain is the output of at least one input.
For a linear transformation,
Therefore:
One-to-one concerns whether different inputs remain distinguishable.
Onto concerns whether every possible output can be reached.
The kernel determines whether a linear transformation is one-to-one.
The image determines whether a linear transformation is onto.
Key Connections
Several major themes connect differential equations and linear algebra:
Differential equations and difference equations both describe dynamical systems.
Exponential behavior appears in both continuous and discrete models.
Difference equations arise naturally in numerical methods such as Euler’s method.
Linear systems of differential equations are represented using matrices and vectors.
Eigenvalues and eigenvectors become central when solving higher-dimensional linear systems.
Coordinate changes, projections, kernels, and images help simplify and interpret linear transformations.
Slope fields and qualitative analysis provide information about solutions even when formulas cannot be found.
Existence and uniqueness results explain when an initial condition determines a valid and distinct solution.

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