Historical Context & Motivation
Mathematics has always been the language we use to describe how things change. When Isaac Newton wanted to explain why planets orbit the sun, or when engineers today design the suspension on a car, they all face the same core challenge: the quantity they care about—position, temperature, population—depends on how fast it is changing. A differential equation is an equation that relates a function to its own derivatives, and it turns out to be one of the most powerful tools ever invented for modeling the real world.
Before differential equations existed, scientists could describe static situations—a bridge standing still, a balance scale in equilibrium—but they struggled to describe motion, growth, and decay with precision. The invention of calculus in the late 1600s opened the door: once we had derivatives, we could write equations that captured the rules of change itself.
The central question that differential equations address is deceptively simple: If I know the rules governing how something changes, can I figure out the thing itself? For example, if you know that a population grows at a rate proportional to its current size, can you predict the population at any future time? That question—and thousands like it—is exactly what this field was built to answer.
Core Principles & Definitions
At its heart, a differential equation is simply an equation that contains one or more derivatives of an unknown function. You already know algebraic equations like 2x + 3 = 7, where you solve for a number. In a differential equation, you solve for an entire function—a rule that tells you the output for every input. Let's nail down the key vocabulary you'll need.
Differential Equation (DE)
Order
Linearity
Solution
ODE vs. PDE
Visual Explanation — Anatomy of a Differential Equation
The diagram below breaks apart a second-order linear ODE to show you exactly where the concepts of order, linearity, and dependent/independent variables live inside the equation. Study it before reading on—visual anchoring helps the definitions stick.
Notice how every piece of the equation has a name and a role. The dependent variable y is the unknown function you are trying to find. The independent variable x is the input (often time or position). The coefficients (3, 5, −2) scale each term, and the forcing function sin(x) is the external input that drives the system. Being able to read an equation this way is the first skill you need in the course.
Mathematical Framework
Let's formalize the ideas from Section 2 with precise notation. Don't worry—we'll keep things connected to meaning at every step. In all equations below, y is a function of x, and the prime notation y′ means dy/dx.
General Form of an ODE
Linear vs. Nonlinear
What Counts as a Solution?
Classifying Differential Equations
When you encounter a differential equation, the first thing to do is classify it. Classification tells you which solving technique to use—just like identifying a type of triangle tells you which formula applies. The flowchart below walks you through the classification process step by step.
Quick-Reference Classification Table
| Equation | Type | Order | Linear? |
|---|---|---|---|
dy/dx = 3x + 1 | ODE | 1st | Yes |
y″ + 4y = 0 | ODE | 2nd | Yes |
y′ = y² | ODE | 1st | No (y²) |
d³y/dx³ + y′ = eˣ | ODE | 3rd | Yes |
(y′)² + y = x | ODE | 1st | No ((y′)²) |
∂u/∂t = k ∂²u/∂x² | PDE | 2nd | Yes |
Notice that the linearity check focuses on how y and its derivatives appear—not on x. An equation like y″ + (sin x) y = x³ is still linear because every term involving y or y″ is to the first power. The coefficients and the right-hand side can be as complicated as they want in x; linearity only cares about the unknown function.
Worked Example — Verifying a Solution
One of the most common tasks you'll face is checking whether a proposed function actually solves a given differential equation. Let's walk through a complete example with every algebraic step shown.
y′ + 2y = 4x. This is a first-order linear ODE. The proposed solution is y = 3e⁻²ˣ + 2x − 1. Our goal: substitute this y into the DE and check whether both sides are equal.Algebraic Equations vs. Differential Equations
Since you've spent years solving algebraic equations, it's helpful to see exactly how differential equations differ—and where they overlap. The table below highlights the key distinctions side by side.
| Feature | Algebraic Equation | Differential Equation |
|---|---|---|
| What you solve for | A number (e.g., x = 5) | A function (e.g., y = Ce²ˣ) |
| Contains | Variables and constants | An unknown function and its derivatives |
| Solution set | Usually finitely many answers | Often infinitely many (a family of curves) |
| Verification | Substitute the number, check equality | Differentiate, substitute, check equality |
| Typical application | Static situations (balance, proportion) | Dynamic situations (motion, growth, change) |
One important similarity is the idea of initial conditions. In algebra, you sometimes need extra information to pin down a unique answer (like solving a system of equations). In differential equations, you often get a family of solutions (the general solution) and then use an initial condition—such as y(0) = 4—to pick the one specific curve that fits your situation. This is called an initial value problem (IVP).
Connection to Advanced Topics
Everything you've learned in this lesson—order, linearity, and solution verification—forms the foundation for every technique you'll encounter next. The table below previews how these foundational ideas connect to more advanced methods.
| This Lesson | What Comes Next |
|---|---|
| Identifying first-order linear ODEs | Solving them with integrating factors and separation of variables |
| Identifying second-order linear ODEs | The characteristic equation method and undetermined coefficients |
| Recognizing nonlinear ODEs | Qualitative analysis, phase portraits, and numerical methods (Euler's method) |
| General vs. particular solutions | Initial value problems (IVPs) and boundary value problems (BVPs) |
| ODE vs. PDE distinction | The heat equation, wave equation, and Laplace's equation in multivariable calculus |
Don't worry if those future topics sound intimidating right now. The classification skills you practiced today will serve as your compass throughout the course. Every time you see a new differential equation, your first move will always be the same: determine the type, order, and linearity—and from there, the right solving strategy will follow naturally.
Practice Problems
d²y/dx² − 3 dy/dx + 2y = 7Lesson Summary
A differential equation is an equation that relates an unknown function to its derivatives. Unlike algebraic equations that yield numbers, DEs yield functions as solutions. The order of a DE equals the highest derivative present: if d²y/dx² appears, it's second-order. A DE is linear when the unknown function and all its derivatives appear to the first power only, with no products of y terms. Otherwise it is nonlinear.
The general solution of a DE contains arbitrary constants and represents an entire family of curves. A particular solution arises when an initial condition pins down those constants. To verify a solution, differentiate it, substitute into the DE, and confirm both sides are equal. These classification and verification skills form the bedrock for every solving method you will learn next.