SECTION 1
Historical Context & Motivation
If you've ever studied how a ball falls through the air, how a population grows, or how a spring bounces, you've encountered situations described by ordinary differential equations (ODEs). An ODE is an equation that relates an unknown function to its derivatives — essentially, it tells you how something changes. For centuries, mathematicians have realized that not all ODEs are created equal: some are easy to solve, some are incredibly hard, and the first step in tackling any ODE is figuring out what kind of equation you're dealing with. That process is called classification.
1687 • Newton's Principia
1736 • Euler's Systematic Methods
1739 • Integrating Factors & First-Order Equations
1800s • Formal Classification Emerges
1900s–Today • Modern Applications
The central question this lesson addresses is straightforward but essential: Given a differential equation, how do you identify its type, order, degree, and linearity? Mastering this skill is like learning to sort your tools before starting a project — once you know what you're working with, you can pick the right method to solve it.
SECTION 2
Core Principles & Definitions
Before you can classify an ODE, you need to understand a few key terms. Think of these as the labels on a filing system — each property narrows down the type of equation and points you toward the right solving technique.
ODE vs. PDE
Order
Degree
Linearity
Homogeneous vs. Non-Homogeneous
KEY TAKEAWAY
SECTION 3
Visual Classification Flowchart
The flowchart below walks you through the classification process step by step. Start at the top with your differential equation and follow the decision diamonds to arrive at a complete classification. Each path corresponds to a different combination of properties.
Notice how the flowchart splits at each decision point. The first fork separates ODEs from PDEs based on the number of independent variables. The second fork determines the order by locating the highest derivative. The third fork checks linearity by asking whether y and all its derivatives appear only to the first power and are never multiplied by each other. The quick-reference examples on the right side of the diagram show how real equations land in different categories.
SECTION 4
Mathematical Framework
Now let's formalize the classification criteria with precise mathematical definitions. Understanding the general form of a linear ODE helps you quickly recognize — and classify — any equation you encounter.
GENERAL NTH-ORDER LINEAR ODE
Here, y⁽ⁿ⁾ denotes the nth derivative of y with respect to x. The functions a₀(x), a₁(x), …, aₙ(x) are called the coefficients and may depend on x. The function g(x) on the right side is the forcing function. If g(x) = 0, the ODE is homogeneous; otherwise it is non-homogeneous.
FIRST-ORDER LINEAR ODE
This is the standard form for a first-order linear ODE. P(x) is the coefficient of y, and Q(x) is the forcing function. When Q(x) = 0, the equation is homogeneous.
SECOND-ORDER LINEAR ODE WITH CONSTANT COEFFICIENTS
When the coefficients a, b, and c are constants (not functions of x), the equation is called a constant-coefficient ODE. These are among the most common and most solvable types.
Linearity Check
A key insight is that linearity is about the unknown function y and its derivatives, not about the independent variable x. The equation y′ + x² · y = eˣ is linear because y and y′ both appear to the first power. The coefficient x² and the forcing function eˣ can be whatever they want — linearity only cares about how y shows up.
SECTION 5
Detailed Classification Breakdown
Let's bring all the classification properties together in one place. The table below shows several example ODEs and their full classification. Study the patterns — after a bit of practice, you'll be able to classify most equations at a glance.
| Equation | Order | Degree | Linear? | Homogeneous? |
|---|---|---|---|---|
y′ + 2y = 0 | 1 | 1 | Yes | Yes |
y″ + 3y′ − y = sin(x) | 2 | 1 | Yes | No |
y′ = y² | 1 | 1 | No (y²) | N/A |
(y″)² + y = 0 | 2 | 2 | No ((y″)²) | N/A |
y‴ − 2y′ + y = eˣ | 3 | 1 | Yes | No |
x²y″ + xy′ + y = 0 | 2 | 1 | Yes | Yes |
y · y′ + x = 0 | 1 | 1 | No (y · y′) | N/A |
Classification of sample ODEs by order, degree, linearity, and homogeneity
The classification map above reveals a critical pattern: linear ODEs are generally easier to solve because there are well-established, systematic methods for them (integrating factors, characteristic equations, variation of parameters). Nonlinear ODEs require more creativity — sometimes they can be transformed into linear ones, but often they require numerical methods or specialized techniques. Understanding which camp your equation falls into saves you time and frustration.
SECTION 6
Worked Example: Classifying an ODE
Let's walk through the complete classification of a differential equation step by step. Consider the equation:
EQUATION TO CLASSIFY
We need to determine: (1) ODE or PDE, (2) order, (3) degree, (4) linearity, and (5) homogeneity.
Full Classification
- 1
Step 1 — ODE or PDE?
Look at the derivatives in the equation. We see y″ and y′, both of which are derivatives of y with respect to a single variable x. There are no partial derivatives (like ∂y/∂t). Since all derivatives are with respect to one independent variable, this is an ODE.Classification: ODE ✓ - 2
Step 2 — Determine the Order
Scan the equation for all derivatives of y: we see y″ (second derivative) and y′ (first derivative). The highest derivative present is y″, which is the second derivative.Order: 2 (second-order) - 3
Step 3 — Determine the Degree
The degree is the power (exponent) on the highest-order derivative. Here, y″ appears to the first power — it is not squared, cubed, or under a radical. The equation is already in polynomial form with respect to its derivatives.Degree: 1 - 4
Step 4 — Check Linearity
For linearity, check whether y, y′, and y″ all appear to the first power and are never multiplied by each other. In x² · y″ + 3x · y′ − 5y = cos(x), each term involving y has y (or one of its derivatives) to the first power only. The coefficients x² and 3x are functions of x, not y, so they don't affect linearity. There are no products like y · y′ or terms like y². This equation is linear.Linear ✓ - 5
Step 5 — Check Homogeneity
Since the equation is linear, we can check homogeneity. Look at the right-hand side: g(x) = cos(x). Because g(x) ≠ 0, there is a nonzero forcing function.Non-homogeneous (because g(x) = cos(x) ≠ 0) - 6
Step 6 — Coefficient Type
As a bonus classification, note that the coefficients x² and 3x are functions of x, not constants. This makes it a variable-coefficient ODE, specifically a Cauchy–Euler equation.Final: 2nd-order, degree 1, linear, non-homogeneous, variable-coefficient ODE
SECTION 7
Linear vs. Nonlinear: Strengths & Limitations
The most consequential classification decision is whether an ODE is linear or nonlinear. This single property determines the arsenal of techniques available to you, the behavior of solutions, and even whether a closed-form (exact) solution is possible. The table below highlights the key differences.
| Property | Linear ODEs | Nonlinear ODEs |
|---|---|---|
| Superposition principle | Yes — sums of solutions are also solutions (for homogeneous equations) | No — cannot simply add solutions together |
| Solving methods | Well-established: integrating factors, undetermined coefficients, variation of parameters | Case-by-case: separation of variables, substitution, or numerical methods |
| Existence & uniqueness | Solutions are generally guaranteed to exist and be unique under mild conditions | Solutions may not exist, may blow up in finite time, or may not be unique |
| Solution behavior | Predictable: exponential growth/decay, oscillations | Can exhibit chaos, solitons, and other complex behavior |
| Real-world accuracy | Often an approximation of a more complex (nonlinear) reality | Often a more faithful model of real-world phenomena |
Comparison of linear and nonlinear ODEs
KEY TAKEAWAY
SECTION 8
Connection to Advanced Topics
Once you can classify ODEs, you're ready to connect classification to the broader world of differential equations. In advanced courses, classification extends to systems of ODEs, partial differential equations (PDEs), and even stochastic differential equations (SDEs). The skills you're building now — identifying order, linearity, and structure — carry directly into these more advanced settings.
| Concept Now | Advanced Extension | Where You'll See It |
|---|---|---|
| Order of a single ODE | Systems of first-order ODEs (any higher-order ODE can be rewritten as a system) | Linear algebra, phase-plane analysis |
| Linear vs. nonlinear | Linearization around equilibrium points to analyze stability | Physics, engineering, ecology models |
| Constant vs. variable coefficients | Power series solutions, Bessel functions, Legendre polynomials | Quantum mechanics, heat conduction |
| ODE (one variable) | PDE (multiple variables): wave, heat, and Laplace equations | Fluid dynamics, electromagnetism, finance |
How ODE classification connects to advanced topics
The most important takeaway is that classification is not just an academic exercise. Engineers designing bridges, scientists modeling disease spread, and programmers writing physics engines all begin by classifying the differential equations that govern their systems. The classification tells them which algorithms to use, how accurate the results will be, and what kind of behavior to expect.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Classifying an ODE is the essential first step in solving it. You identify whether the equation is an ODE or PDE based on the number of independent variables. Next, you determine the order (the highest derivative present) and the degree (the power on that highest derivative). You then check linearity by verifying that y and all its derivatives appear only to the first power and are never multiplied together — remembering that the coefficients can be any function of x. For linear ODEs, you further check whether the equation is homogeneous (g(x) = 0) or non-homogeneous (g(x) ≠ 0), and whether it has constant or variable coefficients.
Each classification property points you toward a specific solving strategy. Linear ODEs benefit from the superposition principle and systematic techniques, while nonlinear ODEs often require specialized methods or numerical approaches. Mastering classification ensures you never waste time applying the wrong technique — you'll always know exactly which toolbox to open.