SECTION 1
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.
1687 • Newton's Principia
1690s • Leibniz & the Bernoullis
1739 • Euler's Systematic Methods
1800s • Heat, Waves & Electromagnetism
Modern Era • Computation & Modeling
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.
SECTION 2
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
KEY TAKEAWAY
SECTION 3
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.
SECTION 4
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
GENERAL FIRST-ORDER ODE
F is some expression involving the independent variable x, the unknown function y, and its first derivative y′. A first-order ODE contains only the first derivative.
GENERAL SECOND-ORDER ODE
Here y″ = d²y/dx². The presence of the second derivative makes this second-order. The order is always determined by the highest derivative that appears.
Linear vs. Nonlinear
STANDARD LINEAR FORM (2ND ORDER)
A linear ODE has the unknown y and its derivatives appearing to the first power only, each multiplied by functions of x alone (the coefficients a₂, a₁, a₀). The right side g(x) depends only on x.
Nonlinear Red Flags
What Counts as a Solution?
VERIFYING A SOLUTION
If you differentiate y = Ce²ˣ, you get y′ = 2Ce²ˣ = 2y. Since the equation y′ = 2y is satisfied for every value of C, we call y = Ce²ˣ the general solution. Choosing a specific C (e.g., C = 5) gives a particular solution.
SECTION 5
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 |
Classification examples for common differential equations
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.
SECTION 6
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.
Verify that y = 3e⁻²ˣ + 2x − 1 is a solution to y′ + 2y = 4x
- 1
Step 1 — Identify the DE and the proposed solution
The differential equation isy′ + 2y = 4x. This is a first-order linear ODE. The proposed solution isy = 3e⁻²ˣ + 2x − 1. Our goal: substitute this y into the DE and check whether both sides are equal. - 2
Step 2 — Compute y′
Differentiate y with respect to x using standard rules. The derivative of 3e⁻²ˣ is 3 × (−2)e⁻²ˣ = −6e⁻²ˣ. The derivative of 2x is 2. The derivative of −1 is 0.y′ = −6e⁻²ˣ + 2 - 3
Step 3 — Substitute y and y′ into the left side of the DE
The left side of the equation is y′ + 2y. Substituting: (−6e⁻²ˣ + 2) + 2(3e⁻²ˣ + 2x − 1). Expand the second term: 6e⁻²ˣ + 4x − 2. Now combine with the first term: −6e⁻²ˣ + 2 + 6e⁻²ˣ + 4x − 2.y′ + 2y = 4x - 4
Step 4 — Compare to the right side
The right side of the original DE is 4x. Our left side simplified to 4x as well. Since the left side equals the right side for all values of x, the proposed function is indeed a valid solution.✓ y = 3e⁻²ˣ + 2x − 1 is a solution - 5
Step 5 — Reflect on the result
Notice that the exponential terms canceled perfectly: −6e⁻²ˣ + 6e⁻²ˣ = 0. This is typical for linear DEs. Also, the constant 3 in front of e⁻²ˣ is an arbitrary constant—changing it would give a different particular solution. The "+ 2x − 1" part is forced by the right side 4x.
SECTION 7
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) |
Key differences between algebraic and differential equations
KEY TAKEAWAY
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).
SECTION 8
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 |
How today's concepts lead to future topics
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.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
d²y/dx² − 3 dy/dx + 2y = 7Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
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.