
If you know how fast an object’s height is changing, how do you find its height? We’ll integrate the rate, use the starting height to determine the constant, and check both the derivative and the initial value in MATHEMATICA.
A cup of coffee cooling in a room gives us our first model. We’ll use the difference between the coffee’s temperature and the room temperature to predict how quickly it cools. Then you’ll practice identifying an equation’s order, recognizing linearity, and distinguishing ordinary from partial differential equations.
One differential equation can describe a whole family of curves. You’ll verify a proposed family by differentiation and use an initial value to select one member. A circle gives us a second example where the starting point determines which branch of an implicit curve to follow.
What changes when you know where a curve ends instead of knowing its starting slope? For the same equation, we’ll find conditions that give exactly one solution, infinitely many solutions, or none. We’ll also examine what the first-order existence and uniqueness theorem guarantees near a starting point.
You’ll learn to recognize when the left side of an equation is the differential of a single function. We’ll recover that function from its partial derivatives and use an initial point to select a particular solution. A second example shows how an integrating factor can make an equation exact.
We’ll separate the variables and integrate to solve a first-order equation. Before dividing by an expression involving y, you’ll check which constant solutions that step could lose. Then you’ll use the substitution y=xv to solve an equation that initially resists separation.
An integrating factor turns the left side of a first-order linear equation into the derivative of a product. You’ll then use v=(1/y) to turn a nonlinear Bernoulli equation into a linear one, solve it, and check the zero solution separately.
How do you find an integrating factor when one hasn’t been supplied? You’ll use partial derivatives to decide whether to look for a factor depending on x alone or y alone. In a separate example, spotting the repeated expression x+y leads to a substitution that makes the equation separable.
Trying an exponential solution turns a second-order differential equation into a quadratic equation. You’ll see how distinct real roots, repeated roots, and complex roots lead to different solution forms. Then you’ll use two initial conditions to determine the constants in a worked example.
The right-hand side of a nonhomogeneous equation helps you choose a trial solution. We’ll work through an exponential example where the first trial already solves the homogeneous equation. You’ll see why multiplying that trial by \(x\) works and how substitution determines its coefficient.
Starting with two known homogeneous solutions, you’ll replace their constant coefficients with functions. For y''+y=sec x, we’ll use the Wronskian to find those functions, assemble a particular solution, and check it in Mathematica.
We’ll turn two coupled first-order equations into one second-order equation by eliminating an unknown. You’ll solve the resulting equation by undetermined coefficients, recover the missing function, and check that the pair satisfies both original equations.
We’ll reduce a system for displacement and velocity to one equation and use variation of parameters to find the displacement. Differentiating gives us the velocity. You’ll also see how a fundamental matrix expresses the same calculation for both quantities at once.
We’ll start with the defining integral to see where a Laplace transform comes from and when it converges. You’ll use linearity to transform a sum term by term, then see how multiplying a function by an exponential shifts its transform.
You’ll recover the same time-domain function twice, first by partial fractions and then by convolution. Working through one example both ways shows how a product of two Laplace transforms becomes a convolution integral in time.
We’ll solve a forced oscillator by transforming its differential equation into an algebraic equation and then inverting the result. You’ll see exactly where the initial position and velocity enter the calculation. A boundary-value example shows how an endpoint measurement can determine a missing initial slope.
You’ll build a solution around x=0 one coefficient at a time. Substituting a power series into the equation and matching like powers gives a recurrence for the coefficients. We’ll use Mathematica to identify the first term left over when we stop after a few terms.
Starting from a known point, you’ll use the slope there to estimate where the solution goes next. You’ll take the second step yourself, compare your estimate with the exact value at t=0.2, and see how halving the step size changes the error.
Can we improve an Euler step by checking the slope a second time? You’ll predict an endpoint, evaluate the slope there, and average the two slopes to correct your estimate. Using the same problem as Lesson 18 lets you compare the errors directly.
You’ll work through one Runge–Kutta step by hand, using four slope estimates to advance the solution. Then you’ll compare Euler, Heun, and RK4 at the same endpoint to see how much accuracy each method achieves for the number of slope evaluations it uses.
A cup of coffee starts at 80°C in a 20°C room. How hot will it be ten minutes later? Use Newton’s law of cooling to find the exact temperature, then work through Euler’s method by hand. Compare estimates using five-minute and two-and-a-half-minute steps, and use the graph to explain why the shorter steps give a more accurate prediction.
This course contains the use of artificial intelligence.
A cup of coffee cools quickly at first and then more slowly as its temperature approaches room temperature. How do you turn that observation into an equation? And once you have a formula for the temperature, how do you know it makes sense? These are the kinds of questions we will work through in this first course in ordinary differential equations.
What comes with each lesson
Each of the 20 core lessons includes a narrated presentation and two fully worked problems. Open the Resources section of each lesson for:
PowerPoint slides you can download and annotate as you follow the lecture.
Practice worksheets that give you a chance to try a problem on paper before reading the solution.
Videos of fully solved examples through links to selected Mathispower4u lessons on YouTube. You can watch each calculation unfold and pause to try the next step yourself.
Runnable Wolfram Mathematica scripts (.wl files) you can use to check your calculations. Change a coefficient, an initial value, or a step size, then run the script again to see how the solution changes.
What you will learn
We begin with rates of change and the difference between a family of solutions and the particular solution that fits an initial condition. You will learn how to recognize separable, linear, Bernoulli, and exact equations and decide what to try when you see one. We then work through second-order equations, systems, Laplace transforms, and power series.
In the final lessons, you will apply Euler’s method, Heun’s method, and fourth-order Runge–Kutta to the same initial-value problem. Comparing all three approximations with the exact value lets you see how much accuracy you gain for the extra calculations each method requires.