What a differential equation is, and how to solve one
- A differential equation tells you the speed of something at every moment. (or ) is that rate.
- Solving it goes backwards: from the speed to the actual journey. You do one integral on each side.
- The solution is the link between the two quantities.
You can only integrate a side if it has just one variable. So first put every with on one side and every with on the other. Then integrate each side once. You get just one . Find its value from the given condition before you rearrange.
The thing you are solving for is a function
- A first-order differential equation has a first derivative, or , as one of its terms.
- Solving a normal equation gives you a number. Solving a differential equation gives you a whole function: the link between the two variables.
- just asks “what has gradient ?” Integrate once and you get .
- You cannot skip that . A whole stack of curves have the same gradient. So this is the general solution: the whole family at once.
General solution = the whole family (with ). Particular solution = the one curve that a given condition picks out.
The one picture behind the whole chapter
A first-order DE does not really give you a curve. It gives you a direction at every point of the plane. says “at the point , set off at gradient .” Draw that gradient at many points and you get a slope field: a field of little arrows. A solution is any curve that follows the arrows all the way along. Each value of is a curve that starts from a different point. The boundary condition tells you which one. Integrating is how you write that one curve as a formula.
Notation tip: is short for . The “with respect to time” is usually left unsaid.
Separate, integrate, pin the constant
- Most exam equations look like with and mixed together.
- As it stands you cannot integrate the right side over , because of the sitting in it. So split them up first.
Rearrange to . Put an integral sign on each side and integrate once. Write one on the right.
- Here is the rule that makes this allowed. Integrating over gives the same answer as integrating over .
- That is exactly what “ on one side, on the other” gives you.
Worked example
The model solve: , with when
This one example shows the two moves half of all paper questions need: get from integrating , then un-log back to a clean .
- Separate. Divide by , multiply by : .
- Integrate each side once (the standard integrals from the integration chapter): . One constant, on the right.
- Here , so is just : .
- Un-log (raise to both sides): . Rename the lump as a single constant .
General solution: . Now pin with at : .
That is the single curve below, picked out of the whole family by the one condition.
- Below is the slope field of this equation, : each faint dash is the gradient the equation gives at that point.
- Drag the gold starting point and watch the blue particular solution re-draw itself, always tangent to the dashes.
- Move it onto and you get back the curve we just solved for.
field dy/dx = x y·curve y = 2.00 e^((x² − 0.00)/2)
Separating and integrating just writes that one curve as a formula: the curve the field and the starting point pick out.
When the modulus drops, and renaming the constant
- Integrating properly gives .
- But when the question says (or , or ), is already positive, so and the bars come off.
Keep unless the question tells you the sign. The moment it says , write . And is just a new name for the constant after un-logging, not a second one.
- Do not make up two constants either. Roll the constants from both integrals into one term on a single side.
- One integral each way, one . (Coursebook P2&3 §10.1, Key Point 10.1)
The trap that costs the most marks
Common mistake
From here on, every later topic uses these same steps with a different thing to integrate: a trig side, an exponential side, or a fraction that first needs partial fractions.
The recipe card (textbook checklist)
- Separate the variables (each side one variable).
- Integrate both sides; write one arbitrary constant.
- That is the general solution.
- Substitute the condition to find the constant.
- Check by differentiating your answer back if time allows.
(Coursebook P2&3 Ch10 checklist)
90+ aside: the extra y = 0 solution
Dividing by assumes . For something like , the flat line is also a real solution. The separation step skips it. In 9709 papers it is almost never the marked answer, so we leave it here. (Coursebook P2&3 Worked Example 10.2)