01 / 21

Classifying
Ordinary Differential Equations

Learn to identify the order, degree, and linearity of ODEs: the essential first step before choosing any solution method.

Differential Equations

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

Order
The highest derivative that appears in the equation.
Degree
The power of the highest-order derivative, after clearing radicals and fractions.
Linearity
Whether the dependent variable and all its derivatives appear to the first power, with no products between them.

Why Classification Matters

Classify the ODE 1st-Order Linear 2nd-Order Linear Nonlinear Integrating Factor Separable Char. Equation Numerical / Series Classification → Method → Solution

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.

1st Order
\(\dfrac{dy}{dx} = x^2 + y\)
2nd Order
\(\dfrac{d^2y}{dx^2} + 4y = 0\)
3rd Order
\(y''' + y'' - 6y' = e^x\)

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.

1
Degree 1: \(\dfrac{d^2y}{dx^2} + 3\dfrac{dy}{dx} = 0\) : the highest derivative \(y''\) appears to the first power.
2
Degree 2: \(\left(\dfrac{d^2y}{dx^2}\right)^2 + y = x\) : the highest derivative \(y''\) is squared.
3
Undefined degree: \(\sin(y'') + y = 0\) : the highest derivative is inside a transcendental function, so degree is not defined.

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.

Linear
\(y'' + 3xy' - 2y = e^x\)
Coefficients may depend on \(x\).
Nonlinear
\(y'' + y\,y' = 0\)
Product \(y \cdot y'\) breaks linearity.

The Linearity Test: Three Red Flags

An ODE is nonlinear if any of the following appear:

1
Powers of \(y\) or its derivatives: terms like \(y^2\), \((y')^3\), \(\sqrt{y''}\).
2
Products of \(y\) terms: terms like \(y \cdot y'\), \(y' \cdot y''\).
3
Transcendental functions of \(y\): terms like \(\sin(y)\), \(e^y\), \(\ln(y')\).

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.

Constant Coefficients
\(y'' - 5y' + 6y = 0\)
All \(a_i\) are constants. Solve via the characteristic equation.
Variable Coefficients
\(x^2 y'' + xy' - y = 0\)
Coefficients depend on \(x\). Requires power series, Frobenius, or Cauchy-Euler methods.

How to Classify Any ODE

1
Find the highest derivative. Its subscript/prime count is the order.
2
Clear radicals/fractions involving derivatives. Then read off the degree (exponent on the highest derivative). If a transcendental function traps a derivative, degree is undefined.
3
Check linearity. Do \(y, y', y'', \ldots\) appear only to the first power with no mutual products? If yes: linear. If no: nonlinear.
4
If linear: Is \(g(x) = 0\)? Then homogeneous. Are all coefficients constants? Then constant-coefficient.
5
Write the full label: e.g., "2nd-order, degree 1, linear, non-homogeneous, constant-coefficient."

Example 1: Classify This ODE

1
Order: The highest derivative is \(y''\), so the order is 2.
2
Degree: \(y''\) appears to the first power, so the degree is 1.
3
Linearity: \(y\), \(y'\), \(y''\) all appear to the first power with no products. Linear.
4
Homogeneity: \(g(x) = \sin x \neq 0\), so it is non-homogeneous.
5
Coefficients: 1, 5, and \(-6\) are all constants: constant-coefficient.

Example 2: A Nonlinear ODE

1
Order: The highest derivative is \(y'\), so the order is 1.
2
Degree: \(y'\) appears to the first power, so the degree is 1.
3
Linearity: The term \(y^2\) means \(y\) appears to the second power. Nonlinear.

Example 3: Higher Degree

1
Order: The highest derivative is \(y''\), so the order is 2.
2
Degree: \(y''\) is raised to the 3rd power, so the degree is 3.
3
Linearity: \((y'')^3\) means the highest derivative is not first power. Nonlinear.

Common Mistakes to Avoid

✕ Confusing Order and Degree
Order counts which derivative is highest. Degree counts the power on that derivative. \(y''' + y = 0\) is 3rd order, degree 1.
✕ Ignoring Products of \(y\) Terms
\(y \cdot y'\) breaks linearity even though each factor is "first power." The product makes the equation nonlinear.
✕ Calling \(x\)-functions Nonlinear
\(\sin(x)\,y'' + e^x\,y = 0\) is still linear. Linearity concerns only \(y\) and its derivatives, never \(x\).

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.