Course or collection
Learn Differential Equations: Up Close with Gilbert Strang and Cleve Moler
MIT OpenCourseWare · 68 catalogue entries
MIT OpenCourseWare · Fall 2015
Original course and syllabus ↗MIT Learn Differential Equations
Overview of Differential Equations
Description: Differential equations connect the slope of a graph to its height. Slope = height, slope = -height, slope = 2t times height: all linear. Slope = (height)2 is nonlinear. Related section in textbook: 1.1 Instructor: Prof. Gilbert Strang
The Calculus You Need
Description: The sum rule, product rule, and chain rule produce new derivatives from known derivatives. The Fundamental Theorem of Calculus says that the integral inverts the derivative. Related section in textbook: 1.2 Instructor: Prof. Gilbert Strang
Response to Exponential Input
Description: For a linear equation with exponential input from outside and exponential growth from inside, the solution is a combination of two exponentials. Related section in textbook: 1.4b Instructor: Prof. Gilbert Strang
Response to Oscillating Input
Description: A linear equation with oscillating input has an oscillating output with the same frequency (and a phase shift). Related section in textbook: 1.4c Instructor: Prof. Gilbert Strang
Solution for Any Input
Description: To solve a linear first order equation, multiply each input by its growth factor and integrate those outputs. Related section in textbook: 1.4d Instructor: Prof. Gilbert Strang
Step Function and Delta Function
Description: A unit step function jumps from 0 to 1. Its slope is a delta function: Zero everywhere except infinite at the jump. Related section in textbook: 1.4e Instructor: Prof. Gilbert Strang
Response to Complex Exponential
Description: For linear equations, the solution for a cosine input is the real part of the solution for a complex exponential input. That complex solution has magnitude G (the gain). Related section in textbook: 1.5 Instructor: Prof. Gilbert Strang
Integrating Factor for Constant Rate
Description: The integrating factor multiplies the differential equation to allow integration. Related section in textbook: 1.6 Instructor: Prof. Gilbert Strang
Integrating Factor for a Varying Rate
Description: The integral of a varying interest rate provides the exponent in the growing solution (the bank balance). Related section in textbook: 1.6b Instructor: Prof. Gilbert Strang
The Logistic Equation
Description: When competition slows down growth and makes the equation nonlinear, the solution approaches a steady state. Related section in textbook: 1.7 Instructor: Prof. Gilbert Strang
The Stability and Instability of Steady States
Description: Steady state solutions can be stable or unstable—a simple test decides. Related section in textbook: 1.7c Instructor: Prof. Gilbert Strang
Separable Equations
Description: Separable equations can be solved by two separate integrations, one in t and the other in y . Related section in textbook: 1.8 Instructor: Prof. Gilbert Strang
Second Order Equations
Description: For the oscillation equation with no damping and no forcing, all solutions share the same natural frequency. Related section in textbook: 2.1 Instructor: Prof. Gilbert Strang
Forced Harmonic Motion
Description: When the forcing is a sinusoidal input, like a cosine, one particular solution has the same form. But if the forcing frequency equals the natural frequency there is resonance. Related section in textbook: 2.1b Instructor: Prof. Gilbert Strang
Unforced Damped Motion
Description: With constant coefficients in a differential equation, the basic solutions are exponentials. The exponent solves a simple equation. Related section in textbook: 2.3 Instructor: Prof. Gilbert Strang
Impulse Response and Step Response
Description: The impulse response is the solution when the force is an impulse (a delta function). This also solves a null equation (no force) with a nonzero initial condition. Related section in textbook: 2.3c Instructor: Prof. Gilbert Strang
Exponential Response – Possible Resonance
Description: Resonance occurs when the natural frequency matches the forcing frequency—equal exponents from inside and outside. Related section in textbook: 2.4 Instructor: Prof. Gilbert Strang
Second Order Equations with Damping
Description: A damped forced equation has a sinusoidal solution with exponential decay. The damping ratio provides insight into the null solutions. Related section in textbook: 2.4b Instructor: Prof. Gilbert Strang
Electrical Networks: Voltages and Currents
Description: Current flowing around an RLC loop solves a linear equation with coefficients L (inductance), R (resistance), and 1/C ( C = capacitance). Related section in textbook: 2.5 Instructor: Prof. Gilbert Strang
Method of Undetermined Coefficients
Description: With constant coefficients and special forcing terms (powers of t , cosines / sines, exponentials), a particular solution has this same form. Related section in textbook: 2.6 Instructor: Prof. Gilbert Strang
An Example of Undetermined Coefficients
Description: This method is also successful for forces and solutions equal to polynomials times exponentials. Substitute into the equation! Related section in textbook: 2.6b Instructor: Prof. Gilbert Strang
Variation of Parameters
Description: Combine null solutions to find a particular solution for any right hand side. But it may involve a difficult integral. Related section in textbook: 2.6c Instructor: Prof. Gilbert Strang
Laplace Transform: First Order Equation
Description: Transform each term in the linear differential equation to create an algebra problem. You can transform the algebra solution back to the ODE solution. Related section in textbook: 2.7 Instructor: Prof. Gilbert Strang
Laplace Transform: Second Order Equation
Description: The algebra problem involves the transfer function. The poles of that function are all-important. Related section in textbook: 2.7b Instructor: Prof. Gilbert Strang
Laplace Transforms and Convolution
Description: When the input force is an impulse, the output is the impulse response. For all inputs the response is a “convolution” with the impulse response. Related section in textbook: 2.7c Instructor: Prof. Gilbert Strang
Pictures of Solutions
Description: The direction field has an arrow with slope at each point coming from the differential equation. Arrows with the same slope lie along an “isocline”. Related section in textbook: 3.1 Instructor: Prof. Gilbert Strang
Phase Plane Pictures: Source, Sink, Saddle
Description: Solutions to second order equations can approach infinity or zero. Saddle points have a positive and also a negative exponent or eigenvalue. Related section in textbook: 3.2 Instructor: Prof. Gilbert Strang
Phase Plane Pictures: Spirals and Centers
Description: Imaginary exponents with pure oscillation provide a “center” in the phase plane. The point (position, velocity) travels forever around an ellipse. Related section in textbook: 3.2b Instructor: Prof. Gilbert Strang
Two First Order Equations: Stability
Description: A second order equation gives two first order equations. The matrix becomes a companion matrix (triangular). Related section in textbook: 3.2c Instructor: Prof. Gilbert Strang
Linearization at Critical Points
Description: A critical point is a constant solution to the differential equation. The slope of the right hand side decides stability or instability. Related section in textbook: 3.3 Instructor: Prof. Gilbert Strang
Linearization of two nonlinear equations
Description: With two equations, the two linearized equations use the 2 by 2 matrix of partial derivatives of the right hand sides. Related section in textbook: 3.3b Instructor: Prof. Gilbert Strang
Eigenvalues and Stability: 2 by 2 Matrix, A
Description: Two equations with a constant matrix are stable (solutions approach zero) when the trace is negative and the determinant is positive. Related section in textbook: 3.3c Instructor: Prof. Gilbert Strang
The Tumbling Box in 3-D
Description: A box in the air can rotate stably around its shortest and longest axes. Around the middle axis it tumbles wildly. Related section in textbook: 3.3d Instructor: Prof. Gilbert Strang
The Column Space of a Matrix
Description: Capturing all combinations of the columns gives the column space of the matrix. It is a subspace (such as a plane). Related section in textbook: 5.1 Instructor: Prof. Gilbert Strang
Independence, Basis, and Dimension
Description: Vectors are a basis for a subspace if their combinations span the whole subspace and are independent: no basis vector is a combination of the others. Dimension = number of basis vectors. Related section in textbook: 5.4 Instructor: Prof. Gilbert S
The Big Picture of Linear Algebra
Description: A matrix produces four subspaces: column space, row space (same dimension), the space of vectors perpendicular to all rows (the nullspace), and the space of vectors perpendicular to all columns. Related section in textbook: 5.5 Instructor: Prof. G
Graphs
Description: A graph has nodes connected by edges (other edges can be missing). This is a useful model for the Internet, the brain, pipeline systems, and much more. Related section in textbook: 5.6 Instructor: Prof. Gilbert Strang
Incidence Matrices of Graphs
Description: The incidence matrix has a row for every edge, containing -1 and +1 to show which two nodes are connected by that edge. Related section in textbook: 5.6b Instructor: Prof. Gilbert Strang
Eigenvalues and Eigenvectors
Description: The eigenvectors remain in the same direction when multiplied by the matrix. Subtracting an eigenvalue from the diagonal leaves a singular matrix: determinant zero. An n by n matrix has n eigenvalues. Related section in textbook: 6.1 Instructor: P
Diagonalizing a Matrix
Description: A matrix can be diagonalized if it has n independent eigenvectors. The diagonal matrix Λ is the eigenvalue matrix. Related section in textbook: 6.2 Instructor: Prof. Gilbert Strang
Powers of Matrices and Markov Matrices
Description: Diagonalizing a matrix also diagonalizes all its powers. Related section in textbook: 6.2b Instructor: Prof. Gilbert Strang
Solving Linear Systems
Description: An eigenvalue / eigenvector pair leads to a solution to a constant coefficient system of differential equations. Combinations of those solutions lead to all solutions. Related section in textbook: 6.3 Instructor: Prof. Gilbert Strang
The Matrix Exponential
Description: The shortest form of the solution uses the matrix exponential multiplying the starting vector (the initial condition). Related section in textbook: 6.4 Instructor: Prof. Gilbert Strang
Similar Matrices
Description: If A and B are “similar” then B has the same eigenvalues as A . Related section in textbook: 6.4b Instructor: Prof. Gilbert Strang
Symmetric Matrices, Real Eigenvalues, Orthogonal Eigenvectors
Description: Symmetric matrices have n perpendicular eigenvectors and n real eigenvalues. Related section in textbook: 6.5 Instructor: Prof. Gilbert Strang
Second Order Systems
Description: An oscillation equation has 2n solutions, n cosines and n sines. Those solutions use the eigenvectors and eigenvalues. Related section in textbook: 6.5b Instructor: Prof. Gilbert Strang
Positive Definite Matrices
Description: A positive definite matrix has positive eigenvalues, positive pivots, positive determinants, and positive energy. Related section in textbook: 7.2 Instructor: Prof. Gilbert Strang
Singular Value Decomposition (the SVD)
Description: The SVD factors each matrix into an orthogonal matrix times a diagonal matrix (the singular value) times another orthogonal matrix: Rotation times stretch times rotation. Related section in textbook: 7.2b Instructor: Prof. Gilbert Strang
Boundary Conditions Replace Initial Conditions
Description: A second order equation can change from two initial conditions to boundary conditions at two points. Related section in textbook: 7.3 Instructor: Prof. Gilbert Strang
Laplace Equation
Description: Laplace’s partial differential equation describes temperature distribution inside a circle or a square or any plane region. Related section in textbook: 7.4 Instructor: Prof. Gilbert Strang
Fourier Series
Description: A Fourier series separates a periodic function into a combination (infinite) of all cosine and since basis functions. Related section in textbook: 8.1 Instructor: Prof. Gilbert Strang
Examples of Fourier Series
Description: Even functions use only cosines and odd functions use only sines. The coefficients in the Fourier series come from integrals. Related section in textbook: 8.1b Instructor: Prof. Gilbert Strang
Fourier Series Solution of Laplace's Equation
Description: Around every circle, the solution to Laplace’s equation is a Fourier series with coefficients proportional to r n . On the boundary circle, the given boundary values determine those coefficients. Related section in textbook: 8.1c Instructor: Prof.
Heat Equation
Description: The heat equation starts from a temperature distribution at t = 0 and follows it as it quickly becomes smooth. Related section in textbook: 8.3 Instructor: Prof. Gilbert Strang
Wave Equation
Description: The wave equation shows how waves move along the x axis, starting from a given wave shape and its velocity. There can be fixed endpoints as with a violin string. Related section in textbook: 8.4 Instructor: Prof. Gilbert Strang
Euler, ODE1
Descriptions: ODE1 implements Euler’s method. It provides an introduction to numerical methods for ODEs and to the MATLAB ® suite of ODE solvers. Exponential growth and compound interest are used as examples. Related MATLAB code files can be downloaded from MA
Midpoint Method, ODE2
Description: ODE2 implements a midpoint method with two function evaluations per step. This method is twice as accurate as Euler’s method. A nonlinear equation defining the sine function provides an example. An exercise involves implementing a related trapezoi
Classical Runge-Kutta, ODE4
Description: ODE4 implements the classic Runge-Kutta method, which is the most widely used numerical method for ODEs over the past 100 years. Its major shortcoming is the lack of an error estimate. A simple model of the growth of a flame is an example that is
Order, Naming Conventions
Description: The digits in the name of a MATLAB ® ODE solver reflect its order and resulting accuracy. A method is said to have order p if cutting the step size in half reduces the error in one step by a factor of two to the power p+1. Related MATLAB code file
Estimating Error, ODE23
Description: ODE23 compares methods of order two and three to automatically choose the step size and maintain a specified accuracy. It is the simplest MATLAB ® solver that has modern features such as automatic error estimate and continuous interpolant. ODE23 i
ODE45
Description: ODE45 is usually the function of choice among the ODE solvers. It compares methods of orders four and five to estimate error and determine step size. ODE45 is so accurate that its default behavior is to use its interpolant to provide results at in
Stiffness, ODE23s, ODE15s
Descriptions: A problem is said to be stiff if the solution being sought varies slowly, but there are nearby solutions that vary rapidly, so the numerical method must take small steps to obtain satisfactory results. The flame model demonstrates stiffness. ODE
Systems of Equations
Descriptions: An ordinary differential equation involving higher order derivatives is rewritten as a vector system involving only first order derivatives. The classic Van der Pol nonlinear oscillator is provided as an example. The VdP equation becomes stiff as
The MATLAB ODE Suite
Descriptions: The MATLAB ® documentation provides two charts summarizing the features of each of the seven functions in the MATLAB ODE suite. Related MATLAB code files can be downloaded from MATLAB Central Instructor: Cleve Moler
Tumbling Box
Descriptions: Throw a rectangular object with sides of three different lengths (such as a cereal box), into the air. You can get the box to tumble stably about its longest axis, or about its shortest axis. But if you try to make it tumble about it middle axis,
Predator-Prey Equations
Descriptions: The classic Lotka-Volterra model of predator-prey competition, which describes interactions between foxes and rabbits, or big fish and little fish, is the foundation of mathematical ecology. It has also been applied to many other fields, includin
Lorenz Attractor and Chaos
Descriptions: The Lorenz chaotic attractor was discovered by Edward Lorenz in 1963 when he was investigating a simplified model of atmospheric convection. It is a nonlinear system of three differential equations. With the most commonly used values of three par