No history yet

Introduction to ODEs

Equations of Change

Many things in the world are constantly changing. Think about the temperature of a hot coffee cooling down, the speed of a falling apple, or the number of fish in a lake. We can describe these changes using mathematics. A differential equation is a special kind of equation that does just that. Instead of solving for a number, it describes a relationship between a function and its rate of change, its derivative.

A differential equation links a function to its derivatives.

The "ordinary" in Ordinary Differential Equation (ODE) simply means the function depends on only one independent variable. For example, the coffee's temperature changes over time. Time is the single variable. This is different from a partial differential equation (PDE), where a function might depend on multiple variables, like how the temperature changes across both the length of a metal rod and over time.

First-Order ODEs

The "order" of a differential equation refers to the highest derivative that appears in it. A first-order ODE, then, is one that only involves the first derivative. These are the simplest type of differential equations, but they are incredibly powerful for modeling the world.

A classic example is population growth. In many simple models, the rate of population growth is directly proportional to the current population size. More rabbits lead to more baby rabbits, so the population grows faster. If we let PP be the population at time tt, we can write this relationship as:

dPdt=kP\frac{dP}{dt} = kP

Here, dPdt\frac{dP}{dt} is the rate of change of the population, and kk is a constant that represents the growth rate. This is a first-order ODE because the highest derivative is the first derivative, dPdt\frac{dP}{dt}.

Lesson image

Finding a Solution

What does it mean to "solve" a differential equation? We're not looking for a single number. We're looking for a function that satisfies the equation. For our population model, the solution is a function P(t)P(t) that describes the population at any time tt. The family of functions that solves dPdt=kP\frac{dP}{dt} = kP is P(t)=CektP(t) = C e^{kt}, where CC is some constant.

But this gives us an infinite number of possible solutions, one for each value of CC. How do we find the specific one we're looking for? We need more information. We need a starting point.

Initial Value Problem

noun

A differential equation combined with an initial condition, which specifies the value of the function at a particular point.

Let's say we know the starting population of rabbits was 100. This is our initial condition, which we can write as P(0)=100P(0) = 100. Now we have an initial value problem (IVP). We can use this piece of information to find the specific value of CC and get a unique solution.

Given P(t)=CektP(t) = C e^{kt}, we plug in our initial condition: P(0)=100=Cek0P(0) = 100 = C e^{k \cdot 0}. Since e0=1e^0 = 1, we find that C=100C=100. The specific solution is P(t)=100ektP(t) = 100e^{kt}.

This specific function now allows us to predict the rabbit population at any point in the future, assuming our simple model holds. This is the power of differential equations: they provide a framework for turning a rule about change into a prediction about the future.

Quiz Questions 1/6

What does a differential equation fundamentally describe?

Quiz Questions 2/6

The "order" of a differential equation is determined by the...

Understanding these basic concepts is the first step toward using differential equations to model and solve complex problems in science and engineering.