Differential equations of the form y′ = f(x)
What a differential equation is
- A differential equation is an equation containing a derivative.
- is one; so is and .
- Solving one means finding the function that satisfies it — not a number.
The two kinds of solution
-
The general solution contains the arbitrary constant(s) and describes an entire family of curves.
-
The particular solution has the constant(s) pinned down by extra information — an initial condition or a point the curve passes through.
-
The standard restricts you to two forms:
- — solve by integrating once
- — solve by integrating twice
- plus separable equations, covered on the next page
Solving
- Integrate both sides with respect to :
-
Apply the initial condition by substituting the given values and solving for .
-
State the particular solution in full.
-
Worked through — solve given when :
- , so
Solving
-
Integrate twice, introducing a separate constant each time.
-
The first integration gives ; the second gives .
-
Two constants need two pieces of information. These are usually a value of and a value of , or the values of at two points.
-
Note the order of use. A condition about the gradient applies to after the first integration; a condition about the curve applies to after the second. Using them in the wrong place is the standard error.
-
Worked through — solve , given and when :
- First integration: . At : , so
- Second integration: . At : , so
Notation you will meet
- These all mean the same thing:
- , , — the first derivative
- , , — the second derivative
- When the independent variable is time, and are used, and the initial condition is usually stated "when ".
Interpreting the solution
- A differential equation is a statement about how something changes; its solution says what that thing is.
- says a volume is falling at a constant 3 units per unit time. Integrating gives , and is the starting volume.
- Always interpret the constant in context where the question is applied — it usually has a physical meaning, most often the initial value.
Reading the initial condition correctly
- "When , " means substitute and .
- "Initially" means at .
- "After 3 hours the amount is 200" means substitute and the quantity — a second condition, often used to find a rate constant rather than the integration constant.
Worked ExampleA second-order equation in context
The acceleration of a particle is given by m s−2, where is displacement in metres and is time in seconds. When the particle has velocity 5 m s−1 and displacement 2 m. Find in terms of .
Step 1 — Identify what each derivative means
- is acceleration
- is velocity
- is displacement
So we integrate twice, and the two conditions apply at different stages: the velocity condition after the first integration, the displacement condition after the second.
Step 2 — Integrate once to get velocity
Step 3 — Apply the velocity condition
"When the velocity is 5":
So the velocity function is:
Step 4 — Integrate again to get displacement
Note this is a new and different constant.
Step 5 — Apply the displacement condition
"When the displacement is 2":
Step 6 — State the particular solution
Step 7 — Check all three given facts
Differentiate once:
Differentiate again:
Substitute into :