Ordinary differential equations: Introduction
What is a differential equation?
Equations as you know them You are probably already acquainted with equations whose solutions are numbers. For example, the solutions of the quadratic equation \(x^2=2\) are \(x=\sqrt{2}\) and \(x=-\sqrt{2}\).
You are probably also familiar with equations whose solutions are pairs of numbers. For example, the solution of the equation \(x^2+y^2=1\) is the set of all pairs of numbers \((x,y)\) that are the coordinates of points on the circle with centre \((0,0)\) and radius 1. So there is an infinite number of solutions. Given a number \(x\) between \(-1\) and \(1\) there are only two solutions, namely \(y=\sqrt{1-x^2}\) and \(y=-\sqrt{1-x^2}\). The positive solution \(y=\sqrt{1-x^2}\) can be viewed as a functional relationship between \(y\) and \(x\). In other words, the equation \(x^2+y^2=1\) has a function as a solution. It basically addresses the question which function \(f(x)\) has the property that \(f(x)^2+x^2=1\) for all \(x\).
A differential equation 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.
In this chapter, we only study functions of one variable, mostly time \(t\) so that these ODEs are so-called dynamical systems. Partial differential equations are not covered.
Example 1 A simple example of a differential equation is \[y'(t)=0\tiny.\] The unknown function is \(y(t)\), with the property that its derivative is equal to zero. A solution of this differential equation is \(y(t)=1\), because the derivative is indeed 0. But there are other solutions: \(y(t)=0\) and \(y(t)=1\!\tfrac{1}{2}\) are also solutions. In fact, any constant function is a solution of the given differential equation and we write it as: \[y(t)=c\] where \(c\) 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 \(c\) 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.
Example 2 A more complicated example of a differential equation is \[y'(t)\cdot y(t)=t\tiny.\] The unknown function is \(y(t)\), 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 \(y(t)=\sqrt{t^2+c}\) or \(y(t)=-\sqrt{t^2+c}\,\). 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 \(\tfrac{1}{2}\cdot\left(y(t)^2\right)' \). So the derivative of the square of the unknown function equals \(t\mapsto 2t\), which is in itself the derivative of the quadratic function \(t\mapsto t^2\). This is why \(y(t)^2 = t^2+c\), for some constant \(c\).