Stability of ODE Solutions
Introduction to ODEs
Equations of Change
Many things in the world change over time: the temperature of a cooling cup of coffee, the speed of a falling object, the size of a population. Differential equations are the mathematical language we use to describe this change.
A differential equation is simply an equation that relates a function to its derivatives. If you know how fast something is changing (its derivative), you can use a differential equation to figure out what the original quantity is.
For example, the rate of population growth is often proportional to the current population size. If is the population at time , we can write this relationship as a differential equation.
This equation says the rate of change of the population with respect to time, , is equal to the population multiplied by a constant .
We're focusing on ordinary differential equations (ODEs). This just means the function we're interested in depends on only one independent variable, like time in the population example. This is different from partial differential equations (PDEs), where functions can depend on multiple variables, like space and time.
Order and Linearity
To solve an ODE, we first need to classify it. Two of the most important classifications are its order and whether it's linear. These properties help dictate which solution method to use.
Order
noun
The order of an ODE is the highest-order derivative that appears in the equation.
Next, we look at linearity. An ODE is linear if the dependent variable (let's call it ) and all its derivatives () appear by themselves, raised only to the first power. They can be multiplied by constants or functions of the independent variable (like ), but not by themselves or each other. Functions like or make an equation non-linear.
| Equation | Type | Reason |
|---|---|---|
| Linear | Both and are raised to the first power. | |
| Linear | Both and are raised to the first power. | |
| Non-linear | The term makes the equation non-linear. | |
| Non-linear | The function makes the equation non-linear. |
Solving an ODE
A solution to an ODE is a function that, when substituted into the equation, makes it true. For example, a solution to the simple ODE is the function , where is any constant. Why? Because the derivative of is just .
That constant is important. It means there isn't just one solution, but a whole family of them. To pin down a specific solution, we need more information. This usually comes in the form of an initial value or a boundary value.
An Initial Value Problem (IVP) gives us the value of the function at a specific point, like . This starting condition allows us to solve for the constant and find a unique solution.
For the equation with the initial condition , we can plug these values into our general solution . We get , which simplifies to . The unique solution is .
A Boundary Value Problem (BVP) is similar, but it specifies conditions at different points, often the endpoints (or boundaries) of an interval. These are common in higher-order equations. For example, we might be given and for a second-order ODE.
For first-order ODEs, one of the most common solution methods is Separation of Variables. This technique works when you can algebraically rearrange the equation to get all the terms involving the dependent variable on one side and all the terms involving the independent variable on the other.
Let's solve . First, we separate the variables.
Now, we integrate both sides of the equation.
Performing the integration gives us our solution.
We can then solve for to get an explicit function of . This is just one of several methods for first-order ODEs. Other types, like linear first-order equations, require different approaches, such as using an integrating factor.
Higher-order ODEs, like those with second derivatives (), often describe physical systems like springs and circuits. Solving them can be more complex and may involve finding multiple independent solutions that are combined to form a general solution.
What is the primary purpose of a differential equation?
An equation that involves a function dependent on multiple independent variables (like time and position) and its derivatives is called a Partial Differential Equation (PDE).
