Classifying
Ordinary Differential Equations
Learn to identify the order, degree, and linearity of ODEs: the essential first step before choosing any solution method.
What Is an ODE?
An Ordinary Differential Equation is an equation that relates a function of one independent variable to its derivatives. The word "ordinary" distinguishes it from a partial differential equation, which involves multiple independent variables.
Classifying an ODE before attempting to solve it tells you which techniques apply and how difficult the solution process will be.
Three Classification Axes
Why Classification Matters
The classification of an ODE directly determines which solution techniques are available. Misclassifying wastes time or leads to impossible algebra.
The Order of an ODE
The order of an ODE is the highest derivative present. It is the single most important piece of classification information.
The Degree of an ODE
The degree is the exponent (power) on the highest-order derivative, after the equation has been cleared of radicals and fractions involving derivatives.
Linear vs Nonlinear
An ODE is linear if it can be written in the form where the dependent variable \(y\) and all of its derivatives appear to the first power, with no products of \(y\) terms.
Coefficients may depend on \(x\).
Product \(y \cdot y'\) breaks linearity.
The Linearity Test: Three Red Flags
An ODE is nonlinear if any of the following appear:
Homogeneous vs Non-Homogeneous
For a linear ODE, there is one more critical distinction. If the right-hand side \(g(x) = 0\), the equation is homogeneous. Otherwise it is non-homogeneous.
| Homogeneous | Non-Homogeneous | |
|---|---|---|
| Form | \(L[y] = 0\) | \(L[y] = g(x)\) |
| Example | \(y'' + 4y = 0\) | \(y'' + 4y = \cos x\) |
| Superposition | ✓ Applies | ✕ Modified form |
| Solution | Complementary only | Complementary + Particular |
Constant vs Variable Coefficients
Within linear ODEs, the nature of the coefficient functions \(a_i(x)\) determines the available solution techniques.
All \(a_i\) are constants. Solve via the characteristic equation.
Coefficients depend on \(x\). Requires power series, Frobenius, or Cauchy-Euler methods.
How to Classify Any ODE
Example 1: Classify This ODE
Example 2: A Nonlinear ODE
Example 3: Higher Degree
Common Mistakes to Avoid
Classification Summary Table
| ODE | Order | Degree | Linear? | Method Hint |
|---|---|---|---|---|
| \(y' + 2y = e^x\) | 1 | 1 | Yes | Integrating factor |
| \(y' = y(1-y)\) | 1 | 1 | No | Separable (Bernoulli) |
| \(y'' + 9y = 0\) | 2 | 1 | Yes | Characteristic eq. |
| \(y'' + yy' = 0\) | 2 | 1 | No | Substitution / numerical |
| \((y'')^2 = y\) | 2 | 2 | No | Special techniques |
Question 1 of 5
What is the order of the ODE \(\displaystyle \frac{d^3y}{dx^3} + 2\frac{dy}{dx} = x^2\)?
Question 2 of 5
Is the ODE \(\displaystyle y'' + \sin(x)\,y' - 3y = 0\) linear or nonlinear?
Question 3 of 5
What is the degree of \(\displaystyle \left(\frac{d^2y}{dx^2}\right)^4 + y' = 1\)?
Question 4 of 5
Which of the following makes the ODE \(\displaystyle y'' + \_\_\_ = 0\) nonlinear?
Question 5 of 5
Classify \(\displaystyle x^2 y'' + xy' - 4y = \ln x\) completely.