What Is A Differential Equation?
In any introduction to differential equations, the first definition is this: a differential equation is an equation that relates an unknown function to one or more of its derivatives. Where an algebra equation asks "which number works?", a differential equation asks "which function works?". The answer you are hunting for is a whole function.
The general form of a differential equation in one unknown function is
where:
is the independent variable (often time in applied problems)
is the unknown function, also called the dependent variable
, , up to are its first, second and th derivatives
is any expression that combines them, and the equation must hold for every in some interval, not just at one point
Take the simplest case, . It says "the slope of at every point equals twice the -coordinate". Integrating gives , where is any constant.
Compare that with the algebra equation , whose answers are the two numbers and . If the word "derivative" still feels shaky, a quick refresher on the derivative of a function makes the rest of this page much easier.
Why is it called a differential equation? The name comes from Gottfried Leibniz's notation. He wrote small changes as and and called them differentials, so an equation built from and its relatives became a "differential" equation. The derivative is the differential quotient, and the name stuck.
How Do You Read A Differential Equation?
Read a differential equation as a sentence: the left side is a rate of change, and the right side says what drives that rate. Once you can say an equation out loud in plain words, you know what kind of behaviour its solutions will have before you solve anything.
Differential equation | Read it as | What the solutions do |
|---|---|---|
The population grows at 2 percent of its current size per unit time | Grow faster and faster (exponential growth) | |
The temperature changes in proportion to its gap from a 20 degree room, and the minus sign pulls it toward 20 | Settle toward 20 from above or below | |
The acceleration is a constant 9.8 metres per second squared, downward | Trace a parabola in time (free fall without air resistance) | |
The acceleration always points back toward and grows with distance | Oscillate back and forth (a spring) |
Two habits make reading easier. First, find the unknown function and the variable it depends on; in , the unknown is temperature and the variable is time . Second, look at the sign of the right side, because a positive right side means the quantity is increasing at that moment and a negative one means it is falling.
Here is the cooling equation checked against a real solution. With a starting temperature of 90 degrees, the solution is , and after 10 minutes
so the tea has fallen to about 45.75 degrees, still above the room and still sliding toward it, exactly as the sentence predicted.
What Is The Order Of A Differential Equation?
The order of a differential equation is the order of the highest derivative that appears in it. The order tells you how many arbitrary constants the general solution carries, which is why it is the first thing to check.
Equation | Highest derivative | Order |
|---|---|---|
1 | ||
2 | ||
3 |
The degree is the power of that highest derivative, but only when the equation is a polynomial in its derivatives. For , the order is 2 and the degree is 3. For , the degree is not defined at all, because the derivative sits inside a sine. Order and degree have their own detailed page on order and degree of a differential equation, with a longer set of drills.
What Are The Types Of Differential Equations?
Differential equations are sorted along a few independent lines: ordinary or partial, linear or nonlinear, and (for linear equations) homogeneous or non-homogeneous. Each label tells you which solution methods are available, so classifying comes before solving. The table gives two examples of each type, the request that turns up again and again on homework forums.
Type | Meaning | Example 1 | Example 2 |
|---|---|---|---|
Ordinary (ODE) | One independent variable, ordinary derivatives | ||
Partial (PDE) | Two or more independent variables, partial derivatives | (heat) | (Laplace) |
Linear | and its derivatives appear only to the first power, never multiplied together or inside another function | ||
Nonlinear | Breaks the linear rule somewhere | (pendulum) | |
Homogeneous linear | Every term contains or a derivative of | ||
Non-homogeneous linear | A term with no in it (a forcing term) |
A linear equation can still have messy coefficients in : the test is only about how appears. That is why is linear while the innocent-looking is not.
One warning about vocabulary. The word "homogeneous" means two different things in this subject: the "no forcing term" sense in the table, and a separate first-order sense where depends only on . Even textbooks switch between the two without saying so, and it is a genuinely confusing pair of meanings. The deeper classification of ODEs (autonomous equations, systems, existence of solutions) lives on the ordinary differential equations page.
What Does It Mean To Solve A Differential Equation?
To solve a differential equation is to find a function that makes the equation true for every value of the variable in some interval. You check a candidate by substituting it, together with its derivatives, into both sides; if the two sides agree identically, it is a solution.
Solutions come in two kinds:
General solution: the whole family, written with arbitrary constants. A first-order equation usually carries one constant, a second-order equation two, and so on. For the general solution is , and the is the constant of integration you met in integral calculus.
Particular solution: one member of that family, picked out by extra information. Given , the family forces , so the particular solution is .
A differential equation together with a starting value is called an initial value problem. Geometrically, the general solution is a stack of curves and the initial value is a point; the particular solution is the one curve passing through that point. The full treatment, including when exactly one curve passes through each point, is on the page on initial value problems. (The guarantee behind "exactly one" is the Picard-Lindelöf theorem, a name you will meet again in a later course.)
Back to the 1961 weather model for a moment. The equations there were the general rule; the measured weather on the first day was the initial value; and changing that initial value in the fourth decimal place picked out a different curve. Same family, different member.
Which Methods Solve Differential Equations?
No single method solves every differential equation; you pick a method from the equation's type. The table is the roadmap for a first course, with each method's own lesson linked rather than repeated here.
If the equation looks like | Try this method | Where it is taught |
|---|---|---|
Integrate both sides directly | Example 4 below | |
Separate the variables, then integrate | ||
Multiply by | ||
Higher-order, constant coefficients | Characteristic equation | |
with matching partials | Find the potential function | |
No formula in sight | Sketch the slope field or step forward numerically |
The last row matters more than it looks. Most differential equations that model the real world, the 1961 weather equations included, have no solution formula at all, and scientists solve them numerically on computers. A slope field gives you the shape of every solution before you know a single formula.
Examples Of Differential Equations
Example 1
Find the order of each equation and decide whether it is linear: (a) , (b) , (c) .
(a) The highest derivative is , so the order is 1. The function appears only to the first power, so the equation is linear.
(b) The highest derivative is , so the order is 2. The term multiplies by its own derivative, so the equation is nonlinear.
(c) This is a partial differential equation (two variables, and ). The highest derivative is the second partial in , so the order is 2, and it is linear.
Final answer: (a) order 1, linear; (b) order 2, nonlinear; (c) PDE, order 2, linear.
Example 2
Is a solution of ?
A tempting shortcut is to test a single point. At :
Both sides equal 1, so it looks like a solution. Now test :
The two sides disagree, so the one-point check was misleading. A solution must work for every in an interval, so substitute symbolically instead:
This is zero only at and , not on any interval. So is not a solution. The function that does work through the point is for , since
Final answer: No. satisfies the equation only at isolated points; is the solution through .
Example 3
Show that solves , then find the solution with and .
Differentiate twice:
Add :
so the family works for every and . Apply the two conditions:
A second-order equation needed two conditions to fix two constants, exactly as its order predicted.
Final answer: .
Example 4
Solve the initial value problem with .
Integrate both sides directly:
Use the initial condition:
Final answer: .
Example 5
Find the differential equation whose general solution is , where and are arbitrary constants.
Two constants mean the equation will be second order. Differentiate twice:
Now look for a combination that cancels both constants. Subtract the first derivative and twice :
Final answer: .
Example 6
A drip delivers a medicine into the bloodstream at 3 mg per hour, and the body clears it at a rate of 0.5 times the amount present. Write the differential equation, check that solves it with , and find the amount after 2 hours.
Rate of change equals rate in minus rate out:
Check the candidate:
The two sides match, and . After 2 hours:
As grows, shrinks to 0 and levels off at 6 mg, the amount where the drip and the clearance balance.
Final answer: ; about 3.7927 mg after 2 hours, levelling off at 6 mg.
Why Do Differential Equations Exist?
Differential equations exist because nature hands us rules about change, not formulas for amounts. "Nature tells us how things change, not where they end." Newton's second law says how velocity changes; Newton's law of cooling says how temperature changes; a growth law says how a population changes. Turning those rules into predictions is exactly the job of a differential equation, and Isaac Newton was already sorting such equations into kinds in 1671, as the history of the differential equation records.
That one idea gives differential equations three jobs:
Predict: start from today's state and the rule of change, and compute tomorrow's state (weather, orbits, drug levels).
Explain: a law such as "rate proportional to amount" explains why bacteria, savings and radioactive samples all follow the same exponential curve.
Design: engineers choose a spring stiffness or a circuit resistance so that the solution of the equation behaves the way they want.
Algebra could not do this. An algebra equation pins down a value; a differential equation pins down a whole history from a rule and a starting point.
Where Are Differential Equations Used In Real Life?
Differential equations are used wherever a quantity changes at a rate you can describe. A few of the places they run quietly in the background:
Physics: Newton's second law, , is a second-order differential equation for position.
Heat: Joseph Fourier's 1822 heat equation describes how temperature spreads through a solid; it is a PDE.
Medicine: drug-dosing schedules come from rate-in, rate-out equations like Example 6.
Epidemiology: models of infection spread track how the numbers of susceptible, infected and recovered people change.
Electronics: the current in a circuit with a resistor and an inductor follows a first-order linear equation.
Weather: forecasts solve huge systems of differential equations numerically, the descendants of the 1961 model.
Where Do Students Trip Up On Differential Equations?
Most of the trouble in a first course comes from carrying algebra habits into a subject where the answer is a function. These are the four errors that cost the most.
Mistake 1: Expecting A Number As The Answer
Where it slips in: The first time a student sees , especially when it looks like an algebra exercise.
Don't do this: Do not "solve for " and report or any other number.
The correct way: Look for a function: is the answer, and every value of gives a valid solution.
The memorizer is the student most likely to fall here, because years of "solve for " drills have trained the reflex to isolate a variable. The fix is to say out loud, before starting, "I am looking for a function."
Mistake 2: Calling An Equation Linear Because It Looks Simple
Where it slips in: Classifying equations such as or .
Don't do this: Do not judge linearity by how short the equation is or by whether appears with powers.
The correct way: Check only how appears: first power, never multiplied by itself or its derivatives, never inside , or a root. Powers of in the coefficients are allowed.
Mistake 3: Assigning A Degree That Does Not Exist
Where it slips in: Order-and-degree questions where a derivative sits inside a function, such as .
Don't do this: Do not write "degree 1" just because the highest derivative is not raised to a visible power.
The correct way: Say the degree is not defined, because the equation is not a polynomial in its derivatives. The order (here 1) is still defined.
Mistake 4: Dropping The Constant, Then Ignoring The Initial Condition
Where it slips in: Integrating to get a general solution, then answering an initial value problem.
Don't do this: Do not write for and stop; without there is no way to meet a condition such as .
The correct way: Keep the constant, then use the condition to fix it: .
Students who arrive straight from a long run of integration drills tend to drop the out of habit, and the problem only surfaces later when the initial condition cannot be satisfied. The rusher meets a related version: plugging in the condition before integrating, which fixes the wrong constant. Write the general solution first, every time.
The real-world version of Mistake 4 is the story this page opened with. In 1961, meteorologist Edward Lorenz restarted a weather simulation from printed values that differed from the stored ones in the fourth decimal place, and the forecast diverged completely; his 1963 paper "Deterministic Nonperiodic Flow" launched the study of chaos. The equations were right. Treating the initial condition as a detail was the mistake.
Practice Problems On Introduction To Differential Equations
State the order of and whether it is linear.
Is a solution of ?
Is a solution of ?
Solve with .
Find the differential equation of the family .
A quantity satisfies with . Check that is the solution and find to 4 decimal places.
Answer to Problem 1: order 3, linear.
Answer to Problem 2: yes, since .
Answer to Problem 3: no, since , which is not .
Answer to Problem 4: .
Answer to Problem 5: .
Answer to Problem 6: and ; .
The Short Version
A differential equation relates an unknown function to its derivatives, and its answer is a function, not a number.
Read every differential equation as a sentence: the left side is a rate of change and the right side is what drives it.
Order (highest derivative), ODE or PDE, and linear or nonlinear are the labels that decide which method applies.
An introduction to differential equations always comes back to one check: substitute the candidate and its derivatives, and both sides must agree on a whole interval.
The general solution is a family of curves, and an initial condition picks the single curve you need.
Your Next Move
Work through Practice Problems 1 to 6 in order; if Problem 3 or Problem 6 trips you up, return to "What Does It Mean To Solve A Differential Equation?" and redo the substitution check from Example 2 line by line.
Book a free demo class with Bhanzu:
Read More
Was this article helpful?
Your feedback helps us write better content
