Introduction to Differential Equations
Differential Equations: An Introduction
This course provides a comprehensive introduction to differential equations (DEs), built from the ground up after a refresher in calculus. Differential equations are the mathematical language for modeling how systems change in time, making them the natural next step after calculus and a gateway to engineering, physics, and applied mathematics.
Overview and Motivation
Differential equations describe the rules by which quantities evolve over time. If calculus provided the tools to understand rates of change, differential equations use those tools to model dynamic systems such as population growth, radioactive decay, planetary motion, fluid flow, and chaotic systems like the Lorenz system.
The Lorenz system—a set of three nonlinear differential equations introduced over half a century ago—models chaotic convection in the atmosphere and serves as a recurring example in the course. More broadly, DEs enable the modeling of any system that changes, from a bunny population to a rocket landing or the motion of a double pendulum.
A key insight is that linear algebra and differential equations are inseparable. Solving systems of DEs naturally leads to eigenvalues, eigenvectors, and matrix transformations. Conversely, differential equations provide the best motivation for understanding linear algebra. The course weaves these two subjects together.
Course Structure and Prerequisites
The course is designed as approximately seven weeks of material, roughly 20 hours of lecture content. It assumes the student has taken a calculus class but does not require strong retention; everything is built from scratch. The only prerequisite is familiarity with basic calculus concepts (derivatives, power rule, chain rule). The course systematically builds up from simple to complex DEs.
All resources are freely available: Python and Matlab code for every lecture, PDF lecture notes accompanying each video, and a course website. A planned short book may also be available.
Topics Covered
The course progresses through five major topic areas.
Calculus Review
A brief but essential review of calculus fundamentals, focusing on:
The derivative as a rate of change
Basic differentiation rules: power rule, chain rule
The Taylor series expansion, which is used extensively to understand solutions of DEs
The Taylor series approach is particularly important because it allows deriving the exponential function and sine/cosine functions as solutions to simple differential equations. This review is short but critical for building intuition.
Simple Ordinary Differential Equations
Starting with the simplest ordinary differential equation (ODE) for a single variable x(t):
Here, a is a constant, and x represents a quantity like a bunny population. The rate of change is proportional to the current value. This equation models exponential growth (if a>0) or decay (if a<0). The solution is x(t)=x0eat.
From this foundation, the course generalizes to more complex single-variable ODEs, covering methods to analyze and solve them. The dot notation x˙ is shorthand for dtdx.
Systems of Ordinary Differential Equations
When multiple interacting variables are tracked—such as bunnies and wolves (predator-prey) or a mass-on-a-spring system—the model becomes a system of ODEs:
where x is a vector (e.g., x=[x1,x2,…]T) and A is a matrix that encodes the linear relationships between variables. This is where linear algebra enters the picture.
The primary tool for solving such systems is the eigenvalue/eigenvector decomposition of A. The eigenvectors of A provide a coordinate transformation that decouples the system, making it easy to solve. Specifically, if A is diagonalizable, then in the eigenvector basis the system becomes a set of independent scalar ODEs, each solvable as an exponential. This approach motivates eigenvalues and eigenvectors in a natural, applied way—they are not abstract concepts but the exact method for solving linear systems of ODEs.
The course derives eigenvalues and eigenvectors from scratch, showing their role in simplifying the system.
Non-linear Differential Equations and Chaos
Most real-world systems are nonlinear. The simple linear form x˙=ax is an approximation; actual interactions (like predation) involve products or other nonlinear functions. The course covers nonlinear ODEs:
where f is a nonlinear function. These systems can exhibit chaos—extreme sensitivity to initial conditions—as seen in the Lorenz system. The double pendulum is another classic example of a chaotic dynamical system.
Topics include how to analyze nonlinear systems, diagnose chaos, simulate them numerically, and understand phenomena like the chaotic orbits of planets in the solar system.
Numerics and Computations
Throughout the course, theory is paired with computational practice. Students use Python (via Jupyter notebooks) and Matlab to simulate differential equations, plot solutions, and verify intuition from eigenvalues and eigenvectors. All code is open source and freely available. The goal is to bridge the gap between analytic pencil-and-paper solutions and modern computational methods for problems that cannot be solved analytically—such as fluid flow past a cylinder.
Applications
The transcript highlights numerous real-world domains where differential equations are essential.
Fluid Mechanics
Fluid dynamics is governed by the Navier-Stokes equations, which generalize Newton's laws to fluids. Understanding DEs allows modeling of wind turbines, automobiles, blood flow, and propulsion. An example application is tracking particles in a fluid flow to understand how jellyfish feed: researchers measure the fluid velocity field around a jellyfish, treat it as a differential equation, and integrate test particles forward to find regions where food is entrained into the feeding area versus ejected into the wake.
Mixing and Chaotic Systems
Industrial mixing (e.g., in chemical vats) relies on understanding how a dynamical system mixes materials efficiently. Chaotic systems like the Lorenz attractor mix efficiently in time. The same basic techniques (integrating test particles in a vector field) apply to geophysical flows, oil spills, and global ocean models.
Biological and Physical Systems
Bio-locomotion—human walking, for instance—can be modeled as an inverted double pendulum. The course explores how to analyze and control such systems, with applications in rehabilitation medicine and prosthetic design. The mechanical jellyfish example shows how DEs enable design and prediction of robotic systems.
Chaos and Dynamical Systems
Chaos appears in many natural systems: the double pendulum, the solar system's long-term motion, and even the global climate. The course discusses how to diagnose chaos, simulate it, and use it for practical purposes (e.g., energy-efficient space travel via chaotic trajectories).
Control Systems
Once a system is described by differential equations, it can be controlled—for example, stabilizing a rocket landing (an inverted pendulum problem) or regulating the combustion in a rocket engine. Control theory builds directly on differential equations and linear algebra.
Next Steps and Broader Context
This course is the first part of a larger engineering mathematics sequence. After mastering ordinary differential equations, students can move to:
Complex analysis (two weeks): Solutions of DEs naturally involve complex numbers and functions.
Vector calculus and partial differential equations (PDEs): Generalizing from one independent variable to multiple (space and time). PDEs are closely tied to vector calculus, just as ODEs are tied to linear algebra.
Fourier and Laplace transforms: Essential for solving PDEs and for signal processing, audio compression, image compression, and data science. The course covers both analytic transforms and their discrete (computational) versions.
Data-driven methods: The singular value decomposition (SVD) approximates the Fourier transform for complex systems and leads into modern machine learning and data science.
Control boot camp: A deeper dive into designing control systems for dynamical systems.
Thus, the differential equations course opens the door to a wide range of applied mathematics, science, and engineering specializations.
Resources
All course materials are freely accessible:
Code: Complete Python and Matlab code for the entire course, linked in video descriptions.
Lecture notes: PDF notes accompanying every lecture.
Course website: Central repository for materials.
Playlists: Organized video playlists to follow the sequence.
The instructor emphasizes building intuition from classic analytic solutions (some hundreds of years old) and carrying that intuition into advanced computational, data-driven, and machine learning contexts.
Key Takeaway
Differential equations are the language of change. The combination of linear algebra (eigenvalues/eigenvectors) and computational simulation provides a powerful framework for understanding and shaping the dynamic world.

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