SECTION 1
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.
1676 • Leibniz Introduces dy/dx
1694 • First Linear ODE Solved
1739 • Euler's Systematic Framework
1800s • Applications Explode
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.
SECTION 2
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
KEY TAKEAWAY
SECTION 3
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.
SECTION 4
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.
GENERAL FORM
Here a(x), b(x), and c(x) are functions of x only — they must not depend on y. The coefficient a(x) must not be zero (otherwise there is no derivative term and it is not a differential equation).
STANDARD FORM
Divide the general form by a(x) to get this. Here P(x) = b(x)/a(x) and Q(x) = c(x)/a(x). This is the form used to apply the integrating factor method.
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?
NONLINEAR EXAMPLES
The first has y². The second has y multiplied by dy/dx. The third has sin(y), a nonlinear function of y. None of these is linear.
Common Mistake
SECTION 5
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 |
Classification examples: check order first, then linearity
SECTION 6
Worked Example
Let's work through a complete example to practice the identification process. Suppose you are given the equation:
GIVEN EQUATION
Determine whether this is a linear first-order ODE, and if so, write it in standard form.
Is x · dy/dx − 4y = x³ · eˣ a Linear First-Order ODE?
- 1
Step 1 — Check: Is it ordinary?
The equation involves y as a function of a single independent variable x. There are no partial derivatives (∂). So the equation is an ordinary differential equation.✓ Ordinary — passes Q1 - 2
Step 2 — Check: Is it first-order?
The highest derivative present is dy/dx, which is the first derivative of y. There is no d²y/dx² or any higher derivative.✓ First-order — passes Q2 - 3
Step 3 — Check: Is it linear in y?
Look at every term involving y or dy/dx. The term x · dy/dx has dy/dx to the first power, multiplied by x (a function of x only). The term −4y has y to the first power with coefficient −4 (a constant). Neither y nor dy/dx is raised to any power other than 1, and they are not multiplied together. The right side, x³ · eˣ, depends only on x.✓ Linear — passes Q3 - 4
Step 4 — Write in Standard Form
Divide every term by x (assuming x ≠ 0) to isolate dy/dx with a coefficient of 1. We get dy/dx − (4/x) · y = x² · eˣ. Now it matches the standard form dy/dx + P(x) · y = Q(x) with P(x) = −4/x and Q(x) = x² · eˣ.Standard form: dy/dx − (4/x) · y = x² · eˣ
Pro Tip
SECTION 7
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 |
Comparison of linear and nonlinear first-order ODEs
KEY TAKEAWAY
SECTION 8
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 |
How today's skills connect to future topics
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.
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
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.