NARROW DISPLAY WARNING
You are most likely using a tablet or mobile device in portrait orientation. This website is best viewed using a typical computer screen with the browser window maximized.
Viewing this website in portrait orientation can cause problems with equations being longer than the screen width (you can scroll to the right), images being poorly sized, and the font size of maths text being much smaller than regular text. If your only option is a tablet or mobile device, your viewing experience will be better if you view this website in landscape orientation. You might need to refresh the page to fix any problems after rotating.
Welcome to the Differential Equations course. The Table of Contents on the left has all the topics for the course, with expanded descriptions below. When you hover over the link to a page, the text will become underlined.
Introduction
Notation and Definitions🡽 — Covers terminology and notation used in differential equations. Defines a differential equations, Ordinary Differential Equation (ODE) vs. Partial Differential Equation (PDE), different notations to write derivatives, order of a differential equation, Linear vs. Nonlinear, and Implicit vs. Explicit Solutions.
Verifying Solutions🡽 — Shows how to verify a function is a solution to an ODE by substituting the function into the ODE, calculate the derivatives, and see if the LHS and RHS are equal to each other.
Initial Values Problems🡽 — An initial value problem (IVP) is a differential equation with an initial condition. Real world examples are the velocity of an object falling through the atmosphere where the velocity at time zero is given and a mass spring damper system with the initial position and velocity of the mass at time zero.
First Order Differential Equations
Direction Fields🡽 — Direction fields, also called slope fields, are a plot of the slopes of an ODE at different points by drawing a line with the slope equal to the value of the derivative of the unknown function at the point. The direction field lines give an idea of the behaviour of solutions at different initial conditions.
Equilibria, Stability, and Phase Lines🡽 — First order ordinary differential equations that are autonomous can have equilibria points where a constant value is a solution to the differential equation. The long term behaviour of solutions to the ODE can be determined by drawing a phase line and analysing the stability of the equilibrium points. Equilibrium points can be stable, unstable, or semistable.
Separable Equations🡽 — Separable equations are first order ODEs that can be rearranged so all the dependent variables are on one side of the equation and all the independent variables are on the other side of the equation. The name of the method comes from separating the dependent and independent variables on different sides of the equation. A separable equation can be integrated to solve the ODE.
Integrating Factor🡽 — An integrating factor is a function that multiplies a differential equation to make the differential equation easier to solve. For first order linear ODEs, there is a clever trick to calculate an integrating factor to make the ODEs solvable by direct integration.
Bernoulli Equations and Substitutions🡽 — Some ODEs can be solved by substituting a new function of the independent and dependent variables into the ODE, which can miraculously make the ODE easier to solve. One class of ODEs that can be solved this way are Bernoulli equations, but other substitutions can work as well.
Exact Equations🡽 — An exact ODE is a type of ODE that often occurs in physics. The ODE conserves some quantity, such as energy or mass or rotational inertia, which is why these equations often occur in physics. These ODEs can be solved by finding a potential function.
Exact Equations with Integrating Factor🡽 — Some first order ODEs are not exact, but can be made exact after multiplying by an integrating factor. The equation to calculate the integrating factor is a virtually impossible to solve partial differential equation in its general form, but is a much easier to solve ordinary differential equation when the integrating factor is a function of just one variable.
Euler's Method🡽 — Euler's method is a way to approximate the solution to an initial value problem with a piecewise linear function going through the initial condition. The idea is each segment of the piecewise linear function follows the direction field of the ODE. The approximation becomes more accurate the shorter the piecewise intervals are. This page is for initial value problems with first order ODEs.
Existence and Uniqueness🡽 — The Existence and Uniqueness Theorems give conditions for when an initial value problem is guaranteed to have at least one solution and exactly one solution, respectively. The theorems do not say how far away from the initial condition those solutions will still exist and be unique, only that there is some region around the initial condition where the solution will exist and be unique.
Interval of Validity🡽 — The interval of validity for an initial value problem is the interval over which the solution is valid. For first order linear ODEs, the interval of validity can be determined without solving the ODE. For nonlinear first order ODEs, the interval of validity can be found by solving the initial value problem.
Applications
Radioactive Decay and Population Growth🡽 — One of the simplest models for a differential equation is when the rate of growth or decay of a thing is proportional to the current quantity of the thing. The mass of a radioactive substance over time and the population of an organism over time are typical examples.
Mixing Tank Problem🡽 — The most common differential equation mixing problem is a tank of water with salt water being poured in at the same rate water is flowing out of the tank. There are a few variations which are all typical homework exercises in an introductory differential equations course. A real world application is polluted water flowing into a large lake which also has an outlet, solving the ODE to determine how polluted the water will be over time.
Terminal Velocity🡽 — The force of drag on a falling object can be approximated as proportional to the current velocity of the object. This can be written as a first order ordinary differential equation. The terminal velocity is when the force of drag is equal and opposite to the force of gravity and the velocity of the falling object does not change.
Continuous Compound Interest🡽 — Bernoulli investigated what happens to a savings account with interest when the compounding occurs infinitely often. The problem results in a formula for Euler's number $e$ and can be written as a differential equation as the the number of compoundings goes to infinity.
Wrońskian🡽 — The Wrońskian is useful for determining the linear independence of a set of n homogenous solutions to an nth order linear ODE. The Wrońskian is a determinant of the n homogenous solutions and their first (n-1) derivatives. The Wrońskian is used in the Variation of Parameters formula and in Abel's Identity.
Second Order Differential Equations
$ay''+by'+cy = 0$ — The simplest second order ODE is constant coefficient, linear, and homogenous. The general solution can be found by substituting an exponential into the ODE, forming the characteristic polynomial, and solving for the roots. There are three cases that can occur for the roots. The following pages focus on second order ODEs, but the method applies to higher order ODEs as well.
Distinct Real Roots🡽 — This page is for distinct roots, which will be real if the coefficients are also real.
Repeated Real Root🡽 — This page is for a repeated root, which forms a slightly different form of general solution.
Imaginary Roots🡽 — This page is for imaginary roots, which will be a complex conjugate pair if the coefficients are real.
Spring-Mass-Damper
Equivalent RLC Circuit🡽 — The ideal models of a resistor, capacitor, and inductor (RLC) connected in series with a battery result in an ODE with the same form as a spring-mass-damper system. All the behaviours and analysis can be applied directly to analysing an RLC circuit in series.
Underdamped, Overdamped, Critically Damped🡽 — A mass-spring-damper with no forcing term has three solution behaviours called underdamped, overdamped, and critically damped. An underdamped system oscillate about the equilibrium and is slow to decay to equilibrium. An overdamped system decays to the equilibrium without oscillating. A critically damped system separates the underdamped and overdamped cases, and solutions move as quickly as possible toward equilibrium without oscillating about the equilibrium.
Undamped Oscillations and Resonance🡽 — Resonance in a mechanical system, such as a mass-spring-damper system, is when an oscillating force being applied to the system causes a greater amplitude oscillation in the system over time. The frequency causing the maximal amplitude is often called the resonant frequency. Resonance can be catastrophic, such as the Tacoma Narrows bridge that oscillated so strongly due to just 64 km/h winds that the bridge deck tore apart. Wikipedia: 1940 Tacoma Narrows Bridge Film of Collapse
Method of Undetermined Coefficients🡽 — The Method of Undetermined Coefficients can be used to solve linear, constant coefficient, non-homogeneous ODEs when the non-homogenous term is sums and products of polynomials, exponentials, sines, and cosines. This page focuses on second order ODEs, but the method applies to higher order ODEs as well.
Reduction of Order🡽 — Reduction of Order is a method to find another linearly independent solution of a linear homogenous ODE if one homogeneous solution is already known. This method can be used to derive the second solution to the constant coefficient, linear, second order, homogenous ODE in the case with repeated real roots.
Variation of Parameters🡽 — Variation of Parameters is a method to find the particular solution of a non-homogeneous linear ODE when the homogeneous solutions are known, which is more powerful than the Method of Undetermined Coefficients since this can solve for any non-homogeneous term if the integrals can be evaluated. The formula requires the homogenous solutions and evaluating some integrals. This page is focused on second order ODEs, but the method applies to higher order ODEs as well.
Cauchy-Euler Equations🡽 — A Cauchy-Euler equation is a linear homogeneous ordinary differential equation with every nth derivative of the unknown function multiplied by a constant and the independent variable to the power n. Similarly to Bernoulli equations, Cauchy-Euler equations are a rare case of a solvable complicated ODE that the equation has been named. One of their uses is solving Laplace's equation in polar coordinates.
Laplace Transform
Lookup Table and WolframAlpha🡽 — This page contains a list of Laplace Transforms for common functions. Rather than computing the Laplace transform every time, looking up the transform in the table is much easier. The table can also be used to perform the inverse Laplace Transform. If you need the Laplace Transform for a function not included in the table, you can use WolframAlpha LaplaceTransform[ f(t), t, s] to compute it. Keep in mind that even a simple function can have a complicated Laplace Transform.
Systems of ODEs
Simplest Case $\begin{bmatrix}x' \\ y'\end{bmatrix} = \begin{bmatrix}a & b \\ c & d \end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}$
Poincaré Diagram🡽 — The solution of a two dimensional system of linear, constant coefficient, homogeneous differential equations can be classified using the trace and the determinant of the coefficient matrix. A plot of the trace and determinant has regions where certain solutions types occur, such as saddles and spirals. The diagram is called a PoincarĂ© Diagram, mapping the four-dimensional space of all 2x2 matrices to a two-dimensional space.