Differential equations are powerful equations that are often used to describe real-world phenomena, like population growth. Often, differential equations cannot be solved explicitly, but approximations give us enough information to make conclusions.
Differential equations are characterized by two key parts that separate them from other equations: they include a function (ex. \(y\)) and the derivatives of that function (ex. \(y', y'', \) etc.).
Example
The following are all differential equations:
The solution of a differential equation is the function \(y\) that satisfies the equation. There will often be more than one solution to a differential equation.
Example
Verify that \(y=x-x^{-1}\) is a solution to the differential equation \(xy' +y = 2x\).
Solution
Our differential equation includes \(y\) and \(y'\). We have \(y\), so lets compute \(y'\):
\(\frac{d}{dx}\left( x-x^{-1}\right) = 1-(-x^{-2}) = 1+x^{-2}\)
Now, we can plug these equations for \(y\) and \(y'\) in the left hand side of the differential equation:
\(xy'+y = x(1+x^{-2})+(x-x^{-1}) = x+x^{-1} + x-x^{-1} = 2x\)
which is equivalent to the right-hand side. Thus, \(y=x-x^{-1}\) is a solution to \(xy' +y = 2x\).
In a future lesson, we'll look at different solving techniques.
There are different ways to classify and describe differential equations. Classification of differential equations can help narrow down solving techniques.
1. Order
The order of a differential equation is the order of the highest derivative that occurs in the equation. For example, in the differential equation \(y' = xy^3\), the order is 1. In \(y' = 2y'' + 4x\), the order is 2. In the second example, we consider the \(y''\) and ignore the lower-order derivative. The first example is called a first-order differential equation. The second example is a second-order differential equation.
Examples
Classify these differential equations based on order:
Solution
2. Degree
The degree of a differential equation is the exponent on the highest-order derivative. For example, looking at \(y' = 6x+2\), we see that the highest order derivative is \(y'\). The exponent on \(y'\) is 1. Thus, this is a degree one differential equation. The differential equation \((y')^2 + y = x^2\) would be called a degree two differential equation since the exponent on the highest derivative, \(y'\), is 2.
Examples
Classify these differential equations based on their degree:
Solution
3. Other Classifications
Differential equations can be either ordinary or partial.
a) Ordinary Differential Equations (ODEs) have only one independent variable in the function. All the above examples are ordinary differential equations.
b) Partial Differential Equations (PDEs) have functions with more than one variable. The derivatives are then partial derivatives.
Additionally, differential equations can be linear. A linear differential equation is of the form \(\frac{dy}{dx} + P(x)y = Q(x)\) where \(P(x), Q(x)\) are functions of x. Note that there are no functions of \(y\) (like \(y^2, y^3, \sqrt{y}\), etc).
Furthermore, differential equations can be separable. This means the differential equation is of the form \(\frac{dy}{dx} = g(x)f(y)\). Essentially, the right side of the function can be factored into two separate parts, one a function of x and the other a function of y. Note that this is a first-order differential equation (only first derivatives).
This work is licensed under a Creative Commons Attribution 4.0 International License.