Differential Equations for EngineersXYZ Homework Edition

⇩ Download ▾

0.3 Classification of Differential Equations

There are many types of differential equations, and we classify them into different categories based on their properties. Let us quickly go over the most basic classification. We already saw the distinction between ordinary and partial differential equations:

Let us see some examples of ordinary differential equations:

dydt=ky,(Exponential growth)dydt=k(Ay),(Newton's law of cooling)md2xdt2+cdxdt+kx=f(t).(Mechanical vibrations)\begin{align}\begin{aligned} & \frac{d y}{dt} = ky, & & \text{(Exponential growth)} \\ & \frac{d y}{dt} = k(A-y), & & \text{(Newton's law of cooling)} \\ & m \frac{d^2 x}{dt^2} + c \frac{dx}{dt} + kx = f(t). & & \text{(Mechanical vibrations)}\end{aligned}\end{align} \nonumber

And of partial differential equations:

yt+cyx=0,(Transport equation)ut=2ux2,(Heat equation)2ut2=2ux2+2uy2.(Wave equation in 2 dimensions)\begin{align}\begin{aligned} & \frac{\partial y}{\partial t} + c \frac{\partial y}{\partial x} = 0, & & \text{(Transport equation)} \\ & \frac{\partial u}{\partial t} = \frac{\partial^2 u}{\partial x^2}, & & \text{(Heat equation)} \\ & \frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}. & & \text{(Wave equation in 2 dimensions)}\end{aligned}\end{align} \nonumber

If there are several equations working together, we have a so-called system of differential equations. For example,

y=x,x=yy' = x, \qquad x' = y \nonumber

is a simple system of ordinary differential equations. Maxwell's equations for electromagnetics,

·D=ρ,·B=0,×E=Bt,×H=J+Dt,\begin{align}\begin{aligned} & \nabla \cdot \vec{D} = \rho, & & \nabla \cdot \vec{B} = 0, \\ & \nabla \times \vec{E} = - \frac{\partial \vec{B}}{\partial t}, & & \nabla \times \vec{H} = \vec{J} + \frac{\partial \vec{D}}{\partial t},\end{aligned}\end{align} \nonumber

are a system of partial differential equations. The divergence operator ·\nabla \cdot and the curl operator ×\nabla \times can be written out in partial derivatives of the functions involved in the xx, yy, and zz variables.

The next bit of information is the order of the equation (or system). The order is simply the order of the largest derivative that appears. If the highest derivative that appears is the first derivative, the equation is of first order. If the highest derivative that appears is the second derivative, then the equation is of second order. For example, Newton’s law of cooling above is a first order equation, while the mechanical vibrations equation is a second order equation. The equation governing transversal vibrations in a beam,

a44yx4+2yt2=0,a^4 \frac{\partial^4 y}{\partial x^4} + \frac{\partial^2 y}{\partial t^2} = 0, \nonumber

is a fourth order partial differential equation. It is fourth order as at least one derivative is the fourth derivative. It does not matter that the derivative in tt is only of second order.

In the first chapter, we will start attacking first order ordinary differential equations, that is, equations of the form dydx=f(x,y)\frac{dy}{dx} = f(x,y). In general, lower order equations are easier to work with and have simpler behavior, which is why we start with them.

We also distinguish how the dependent variables appear in the equation (or system). In particular, we say an equation is linear if the dependent variable (or variables) and their derivatives appear linearly, that is only as first powers, they are not multiplied together, and no other functions of the dependent variables appear. In other words, the equation is a sum of terms, where each term is some function of the independent variables or some function of the independent variables multiplied by a dependent variable or its derivative. Otherwise, the equation is called nonlinear. For example, an ordinary differential equation is linear if it can be put into the form

an(x)dnydxn+an1(x)dn1ydxn1++a1(x)dydx+a0(x)y=b(x).\label{eq:2} a_n(x) \frac{d^n y}{dx^n} + a_{n-1}(x) \frac{d^{n-1} y}{dx^{n-1}} + \cdots + a_{1}(x) \frac{dy}{dx} + a_{0}(x) y = b(x).

(0.3.1)
The functions a0a_0, a1a_1, …, ana_n are called the coefficients. The equation is allowed to depend arbitrarily on the independent variable. So

exd2ydx2+sin(x)dydx+x2y=1x\label{eq:3} e^x \frac{d^2 y}{dx^2} + \sin(x) \frac{d y}{dx} + x^2 y = \frac{1}{x}

(0.3.2)
is still a linear equation as yy and its derivatives only appear linearly.

All the equations and systems above as examples are linear. It may not be immediately obvious for Maxwell’s equations unless you write out the divergence and curl in terms of partial derivatives. Let us see some nonlinear equations. For example,

yt+yyx=ν2yx2,\frac{\partial y}{\partial t} + y \frac{\partial y}{\partial x} = \nu \frac{\partial^2 y}{\partial x^2}, \nonumber

is a nonlinear second order partial differential equation. It is nonlinear because yy and yx\frac{\partial y}{\partial x} are multiplied together. The equation

dxdt=x2\label{eq:4} \frac{dx}{dt} = x^2

(0.3.3)
is a nonlinear first order differential equation as there is a second power of the dependent variable xx.

A linear equation may further be called homogenous if all terms depend on the dependent variable. That is, if no term is a function of the independent variables alone. Otherwise, the equation is called homogeneous or inhomogeneous. For example, the exponential growth equation, the wave equation, or the transport equation above are homogeneous. The mechanical vibrations equation above is nonhomogeneous as long as f(t)f(t) is not the zero function. Similarly, if the ambient temperature AA is nonzero, Newton’s law of cooling is nonhomogeneous. A homogeneous linear ODE can be put into the form

an(x)dnydxn+an1(x)dn1ydxn1++a1(x)dydx+a0(x)y=0.a_n(x) \frac{d^n y}{dx^n} + a_{n-1}(x) \frac{d^{n-1} y}{dx^{n-1}} + \cdots + a_{1}(x) \frac{dy}{dx} + a_{0}(x) y = 0. \nonumber

Compare to (0.3.1) and notice there is no function b(x)b(x).

If the coefficients of a linear equation are actually constant functions, then the equation is said to have constant coefficients. The coefficients are the functions multiplying the dependent variable(s) or one of its derivatives, not the function b(x)b(x) standing alone. A constant coefficient nonhomogeneous ODE is an equation of the form

andnydxn+an1dn1ydxn1++a1dydx+a0y=b(x),a_n \frac{d^n y}{dx^n} + a_{n-1} \frac{d^{n-1} y}{dx^{n-1}} + \cdots + a_{1} \frac{dy}{dx} + a_{0} y = b(x), \nonumber

where a0,a1,,ana_0, a_1, \ldots, a_n are all constants, but bb may depend on the independent variable xx. The mechanical vibrations equation above is a constant coefficient nonhomogeneous second order ODE. The same nomenclature applies to PDEs, so the transport equation, heat equation and wave equation are all examples of constant coefficient linear PDEs.

Finally, an equation (or system) is called autonomous if the equation does not depend on the independent variable. For autonomous ordinary differential equations, the independent variable is then thought of as time. Autonomous equation means an equation that does not change with time. For example, Newton’s law of cooling is autonomous, so is equation (0.3.3). On the other hand, mechanical vibrations or (0.3.2) are not autonomous.

Adapted from Differential Equations for Engineers by Jiří Lebl (https://www.jirka.org/diffyqs/), © Jiří Lebl, licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.