Historical Context & Motivation
Differential equations have been at the heart of science and engineering for centuries. Whenever we want to describe how something changes — the speed of a falling object, the growth of a population, or the cooling of a cup of coffee — we need an equation that relates a function to its derivative. A differential equation is exactly that: an equation involving an unknown function and one or more of its derivatives. Among all differential equations, the simplest and most useful class is the linear first-order ordinary differential equation (ODE). Before you can solve one, you first need to recognize one when you see it.
The central question this lesson addresses is straightforward but critical: given a differential equation, how do you tell whether it is a linear first-order ODE? Once you can classify an equation correctly, you unlock a powerful toolkit of solution methods — but applying the wrong method to a nonlinear equation leads nowhere. Identification is the essential first step.
Core Principles & Definitions
To identify a linear first-order ODE, you need to understand three separate ideas and then combine them. Each word in the name — first-order, ordinary, and linear — describes a specific requirement the equation must satisfy. Let's break them down.
Ordinary (vs. Partial)
First-Order
Linear
Standard Form
Visual Explanation — Decision Flowchart
The following flowchart walks you through the three-question checklist for classifying a differential equation. Start at the top and follow the arrows. If you answer "Yes" to all three questions, the equation is a linear first-order ODE.
Notice that Q3 is the trickiest checkpoint. Many students correctly identify the order but stumble on linearity. The key test is simple: look at every place y or y′ appears and ask, "Is it raised to the first power and standing alone (not multiplied by another y or y′)?" If yes, the equation passes. If any term violates this, it's nonlinear.
Mathematical Framework
Now let's formalize what we mean. The general form and the standard form of a linear first-order ODE each give you a template to compare against any equation you encounter.
Notice two things about these forms. First, y and dy/dx each appear to the first power — no y², no (dy/dx)³. Second, they are never multiplied together — there is no y · (dy/dx) term. These are the defining features of linearity.
What Makes an Equation Nonlinear?
Classification Table & Visual Guide
The best way to build confidence is to see many examples side by side. The table below classifies several equations, and the diagram that follows shows the key structural differences visually.
| Equation | Order | Linear? | Reason |
|---|---|---|---|
| dy/dx + 3y = eˣ | 1 | ✓ Yes | y and y′ to the 1st power; P(x) = 3, Q(x) = eˣ |
| x²·dy/dx − y = sin(x) | 1 | ✓ Yes | Divide by x² to get standard form; coefficients are functions of x only |
| dy/dx + y² = 0 | 1 | ✗ No | y² — y is raised to the 2nd power |
| y·dy/dx + x = 1 | 1 | ✗ No | y is multiplied by dy/dx (product of y and its derivative) |
| d²y/dx² + dy/dx = x | 2 | N/A | Second-order (contains d²y/dx²), so not first-order at all |
| dy/dx = sin(y) | 1 | ✗ No | sin(y) is a nonlinear function of y |
| dy/dx + (tan x)·y = cos(x) | 1 | ✓ Yes | tan(x) and cos(x) are functions of x only; y appears linearly |
Worked Example
Let's work through a complete example to practice the identification process. Suppose you are given the equation:
Linear vs. Nonlinear — Strengths & Limitations
Why do mathematicians and scientists care so much about distinguishing linear from nonlinear equations? The answer comes down to what tools are available. Linear equations behave predictably and have well-established solution methods, while nonlinear equations can be far more difficult — or even impossible — to solve in closed form.
| Feature | Linear First-Order ODE | Nonlinear First-Order ODE |
|---|---|---|
| Guaranteed solution method | Yes — the integrating factor always works | No — may require special tricks or numerical methods |
| Superposition principle | Holds — solutions can be added together | Does not hold |
| Existence & uniqueness | Guaranteed (where P and Q are continuous) | Must be checked case by case |
| Modeling power | Great for many physical systems (circuits, mixing, decay) | Needed for chaotic systems, population models with competition |
| Difficulty | Approachable — standard high school / college topic | Can be extremely challenging |
Connection to Advanced Topics
Once you can identify a linear first-order ODE, you're ready to solve it. But the classification skills you're building now also extend to more advanced equations you'll encounter later. The table below previews how the same ideas scale up.
| Concept You Know Now | Advanced Extension |
|---|---|
| First-order: highest derivative is dy/dx | Higher-order: equations with d²y/dx², d³y/dx³, etc. — same linearity test applies |
| Standard form: dy/dx + P(x)·y = Q(x) | Systems of ODEs: multiple equations with multiple unknowns, written in matrix form |
| Integrating factor method | Variation of parameters and Laplace transforms for higher-order linear ODEs |
| Linearity: y to the 1st power only | Bernoulli equations: dy/dx + P(x)·y = Q(x)·yⁿ — a clever substitution reduces them to linear form |
An especially useful extension is the Bernoulli equation, which looks nonlinear because of the yⁿ term on the right side. However, a substitution v = y1−n transforms it into a linear first-order ODE. Recognizing that an equation is "almost linear" in this way relies on the same pattern-matching skills you're developing right now. The ability to classify equations accurately is a skill that will serve you throughout calculus, physics, and engineering.
Practice Problems
Lesson Summary
A linear first-order ODE is a differential equation that involves only one independent variable (ordinary), has a highest derivative of dy/dx (first-order), and features y and dy/dx only to the first power — never squared, inside trig or exponential functions, or multiplied together (linear). Every linear first-order ODE can be written in standard form: dy/dx + P(x)·y = Q(x), where P(x) and Q(x) are functions of x alone.
To classify an equation, apply the three-question checklist: (1) Is it ordinary? (2) Is the highest derivative first-order? (3) Does y appear linearly? A "No" at any stage means the equation does not qualify. Remember that complicated functions of x in the coefficients — such as sin(x), eˣ, or x³ — do not break linearity. Only the behavior of y and its derivatives matters. Mastering this identification step is the gateway to the integrating factor method and a wide range of real-world applications in science and engineering.