You are probably already acquainted with equations whose solutions are numbers. For example, the solutions of the quadratic equation are and .
You are probably also familiar with equations whose solutions are pairs of numbers. For example, the solution of the equation is the set of all pairs of numbers that are the coordinates of points on the circle with centre and radius 1. So there is an infinite number of solutions. Given a number between and there are only two solutions, namely and . The positive solution can be viewed as a functional relationship between and . In other words, the equation has a function as a solution. It basically addresses the question which function has the property that for all .
A differential equation is an equation whose solution is a function (or sometimes a set of functions). But in this case, in addition to one or more unknown functions, also one or more derivatives of these functions are present in the equation. The unknown in a differential equation is not a number but a function (of place, time, or both).
- A differential equation for a function of a single variable is called an ordinary differential equation, abbreviated ODE.
- A differential equation for a function of two or more variables is called a partial differential equation, abbreviated PDE, because the derivatives present in the equation are so-called partial derivatives.
Examples of ODEs are:
- Exponential growth or decay
with a constant .
- Limited exponential growth:
with nonnegative constants and .
- Logistic growth:
with constants .
Examples of PDEs are:
- Diffusion equation for the propagation of an action potential along an axon:
where and are nonnegative constants.
- Fisher equation for a space-time description of population growth:
with constants .
A partial derivative is a concept for functions of several variables. We briefly describe what it means. For a function that depends on location and time you can keep one of the variables, say , constant. Then you get a function in one variable, namely with as an independent variable. When this function in one variable is a neat function, you can determine its derivative: this derivative is called the partial derivative of with respect to of order 1, which is denoted as . You can view the partial derivative as a function of two variables and again compute partial derivatives. Then you get second-order partial derivatives such as:
The function
has the following partial derivatives of order 1 and 2:
In this chapter, we only study functions of one variable, mostly time so that these ODEs are so-called dynamical systems. Partial differential equations are not covered.
A simple example of a differential equation is
The unknown function is
, with the property that its derivative is equal to zero. A solution of this differential equation is
, because the derivative is indeed 0. But there are other solutions:
and
are also solutions. In fact, any constant function is a solution of the given differential equation and we write it as:
where
is any constant. This initially unknown function can therefore also be defined as the
general solution of the given differential equation. However, there are infinitely many solutions as
can take any real value. To select a single solution one needs an extra condition: for example, the value of the function at a certain point in time.
A more complicated example of a differential equation is
The unknown function is
, with the property that the product of the function with its derivative is equal to the identity function. The general solution of this differential equation is
or
. To understand the correctness of this solution and how it can be found, it helps to rewrite the left-hand side of the given ODE as
. So the derivative of the square of the unknown function equals
, which is in itself the derivative of the quadratic function
. This is why
, for some constant
.