Definition of ODEs
Ordinary Differential Equations (ODEs) are equations in which the unknown, dependent variable \( y = y(x) \) depends on only one independent variable \( x \), and all derivatives appearing in these equations are “ordinary“: \( y \) can be differentiated any time but against \( x \) only, including \( dy/dx, d^2y/dx^2, d^3y/dx^3, \ldots \), and so on. Examples of ODEs are:
- \( dy/dx + (\sin x)y = e^{-x} \)
- \( d^2y/dx^2 + 4y = 0 \)
- \( dy/dx + y^2 = 1 \)
There are three classifications of ODEs: Order, Linearity, and Homogeneity.
Order
Order refers to the highest order of ordinary derivatives appearing in the ODE. For examples:
- \( \color{red}{dy/dx} + 2y = 3\sin^3 x \) is first-order
- \( 2\color{red}{d^2y/dx^2} + x^5 dy/dx -y^3 = 1 \) is second-order
- \( x^4\color{red}{d^3y/dx^3} + (d^2y/dx^2)^5 + 7y^5 = e^{-x} \) is third-order
We usually arrange the terms in decreasing order.
Linearity
An ODE is called linear if over each additive term, only one out of the dependent variable \( y \) and its ordinary derivatives \( dy/dx, d^2y/dx^2, d^3y/dx^3, \ldots \) is present with a power of \( 1 \). Otherwise, when \( y \) and the derivatives appear as a product together, have powers other than \( 1 \), or are embedded in other functions, it is called non-linear. For instances,
- \(x^2d^3y/dx^3 + 5y = -2x \)
- \( 3dy/dx + (\cos^2 x) y = e^{-x}\tan x \)
are both linear, while
- \( \color{red}{ydy/dx} = 3x \)
- \( dy/dx -\color{red}{\cos y} = 2 \)
- \( \color{red}{(dy/dx)^2} + 4\color{red}{y^5} = 0 \)
are all non-linear.
Homogeneity
A homogeneous ODE (particularly, for the linear one) means that there is no term involving the independent variable \( x \) only (including any non-zero constant as well). Else, it is known as non-homogeneous. For examples,
\( dy/dx -xy = 0 \) is homogeneous, but
\( dy/dx = \alpha x^2 + 1 \) with \( \alpha \) being a constant, is always non-homogenous even when \( \alpha = 0 \).
Exercises
You can check that the three ODEs shown in the beginning are
- First-order, linear, non-homogeneous
- Second-order, linear, homogeneous
- First-order, non-linear
Now try to classify the following ODEs according to the three categories: (Beware of how they are arranged!)
- \( d^2y/dx^2 -2dy/dx -3y =0 \)
- \( dy/dx + x^4y = 2 \)
- \( yd^3y/dx^3 + 4x^2y = e^{-x} \)
- \( dy/dx = x(1-xe^{-y}) \)
- \( dy/dx + (\cos x) y + e^{-x^2} = 0 \)
- \( \cot(d^2y/dx^2) = e^{-x} \)
Answers
- Second-order, linear, homogeneous
- First-order, linear, non-homogeneous
- Third-order, non-linear
- First-order, non-linear
- First-order, linear, non-homogeneous
- Second-order, linear, non-homogeneous (just take \( \cot^{-1} \) on both sides)








Leave a Reply