JC · H2 Mathematics · Notes
Choose the method from the equation: separable variables, particular solutions, given substitutions, families of solution curves, second-order equations, forming an equation from a context and verifying a given solution.
Differential Equations summary and formula sheet: every method on 4 pages
Mr Ian Ang’s summary of the whole differential equations chapter on four pages.
Page 1 of 4 Separable variables Part 1: solving
H2 Math summary notes
Differential Equations formulas and methods, section by section
Page 1 of 4Separable variablesPart 1: solving
Integrals this chapter uses: f' over f, f' times e to the f, MF27 forms, partial fractions and by parts
- integrates to , a modulus unless . For example since .
- times integrates to . For example .
- MF27, and with in place of : and . For example .
- Partial fractions, cover-up rule: , so the integral is .
- By parts: differentiate the one higher in LIATE. , for example .
Separable variables: the steps
- For , put on the left with and on the right with : .
- Step 1: integrate both sides, on one side only. Step 2: remove the modulus, takes the . Step 3: make the subject.
- For : , so .
- Then , so and , where . So .
- Warning: the constant is , not : multiply by the same number.
When do we find C? Only after the modulus is removed
- Not too early: only after the modulus is removed, so the joins the new constant.
- For with when : , so . With , : . So and .
- Warning: cannot be done: separate first.
- For , , when : find in terms of . gives , so . Do not solve here.
- Then , where ; solve . , : , so .
Which integral on the right side? Six worked forms
- For , create : .
- For , invert: , giving .
- For , use partial fractions: , giving .
- For , split: , giving .
- For , use MF27: .
- For , separate and use MF27: .
Page 2 of 4Substitution and second order
Partial fractions, solve for P: dP by dt equal to kP(60 minus P)
- For with when : .
- Cover-up rule: and give .
- Then , so and , where .
- , : .
- Collect the terms: , so .
Given a substitution: differentiate it, replace, solve, put the original variable back
- Step 1: differentiate the substitution with respect to . Step 2: replace and ; no left, keep . Step 3: solve the new equation. Step 4: put the original variable back.
- For with : , so . Then , so , and , where . So .
- For with : , so and . Then , so and .
- Other forms: differentiate with the right rule. gives ; gives ; and gives .
Second order: d squared y by dx squared
- Only on the right: integrate twice, then . For : and . With , : . The asymptote is , since .
- When the left side is the derivative of a product: is , so , and .
- For let : , so .
- Then , so , and when gives .
- So .
Families, verifying and constants
- For : , so and .
- give , , . is a straight line, ; has the asymptote .
- To verify, differentiate; do not integrate. For with : , so .
- For , use one equation per constant. At : , , , so , and .
- Solving gives , , .
Page 3 of 4Forming the equationPart 2: forming and sketching
Forming the equation: words to symbols
| The words | The equation |
|---|---|
| rate of increase of is proportional to | , |
| rate of decrease of is proportional to | , |
| proportional to the difference of and | |
| proportional to the product of and | |
| inversely proportional to the square of | |
| increases by a day |
- means increases and means decreases. Rate of change increase decrease. Each "proportional" brings its own constant.
- The table of words and equations is shown below. Words such as remains, constant, unchanged, balances and approaches a constant mean the rate of change is : .
- Warning: the conditions at are used after integrating.
Tank and mixing: dx by dt equals in minus out
- The tank holds litres of water and g of salt. Brine, g per litre, flows in at litres per minute; the mixture flows out at litres per minute. g of salt after minutes.
- in out. In: ; out: . So .
- gives , so . when gives , so .
- : , so minutes.
- Ratio: the concentration is over the volume, then times the flow.
A fixed removal: dx by dt equal 0 gives k
- Fish farm: thousand fish grow at a rate proportional to ; thousand are taken each year. The number stays constant when . So , .
- when : , so and .
- when is used after integrating: , so with and . If at , and decreases.
- Infected out of : use the product rule for the words, , . at is used after integrating.
Newton's law of cooling: the rate depends on theta minus 20, not on theta
- A body at degrees in a room at degrees is degrees ten minutes later. Find , then the time to reach degrees. The temperature decreases: .
- , , so and . Then , , with .
- , : , so .
- , : , so .
- : , so and minutes, which is minutes more. Warning: the rate depends on , not on .
Page 4 of 4Sketching the solution
Sketch the solution and read it: the intercept, the asymptote and the shape
- Step 1: gives the intercept. Step 2: , gives the asymptote. Step 3: the sign of gives the shape. Only : no negative time.
- starts at and rises towards the asymptote .
- starts at and falls towards the asymptote .
- starts at and rises towards the asymptote .
Reading the solution: long term, a time, context, assumption and limitation
- Long term: , , so tends to and stays below .
- A time: on the GC, and ; press 2nd, trace, 5: intersect. , so minutes.
- The intercept in context: g at the start. A graph meeting the axis gives the finite time when the amount reaches .
- Assumption: the mixture is well mixed and nothing evaporates.
- Limitation: the model ignores outside effects, such as disease or weather.
Sketching from a given formula: the intercept and the asymptote
- For , : step 1, gives . Step 2, , , so : asymptote .
- For , : step 1, gives .
- Step 2: gives over , so divide by : , asymptote .
- For : step 1, gives .
- Step 2: , , so : asymptote .
Family of solution curves, drawn
- For , the family is .
- The sketch shows one curve for each , all tending to .
- The curve for lies above and the curve for lies below it.
- is the straight solution curve .
Oblique asymptote, drawn
- The curve is .
- The sketch shows the curve and the line .
- As increases, , so the curve approaches .
Worked examples
Differential Equations worked examples
Mr Ian’s worked examples for the chapter, with the full working.
Choosing a method for a differential equation
Read the equation before you integrate anything. Ask what the derivative depends on: only, a product of a function of and a function of , or a mixture that the question tells you to substitute away. In a word problem, the first job is to form the equation from the rates described.
The map groups the sections by what you are doing. The numbers give the order they are taught, and each leaf links to its section.
Differential equations, grouped by what you are doing
Differential equations
Solve it
- Separable equations
A function of times a function of
→
- Given substitutions
The question names a new variable
:→
- Second order: integrate twice
given in terms of
→once: twice:
- Separable equations
Use the solution
- General and particular solutions
A condition such as when
at :→
- Families of solution curves
Sketch solutions for several constants
→ above, the line, below
- Verifying a given solution
“Show that … is a solution”
differentiate →substitute→both sides agree
- General and particular solutions
Build it
- Forming the equation from a context
Rates, “proportional to”, inflow and outflow
rate of changerate inrate out
- Forming the equation from a context
Whichever method you use, you can check a solution by differentiating it and substituting into the original equation.
Separable differential equations
When to use it: the derivative is a function of multiplied by a function of , so the variables can be moved to opposite sides.
The rule. Divide by the part, then integrate each side with respect to its own variable.
- Integrate: one arbitrary constant on one side is enough.
- Remove the logarithm: from , write with .
- Check what division removed: where , is a constant solution. Allowing usually restores it.
The common integrals in this chapter are forms, the MF27 results for and , and partial fractions.
Separate, then absorb the sign into one constant
Find the general solution of , giving in terms of .
Dividing by assumed . The constant solution is the case , so the general solution is for any real .
Common slip. Exponentiating term by term. From , the constant becomes a factor, , not an added .
General and particular solutions
When to use it: the question gives a condition, such as the value of at one value of , and asks for the particular solution.
The rule. The general solution contains an arbitrary constant; a condition fixes it. Simplify the constants first and substitute the condition only after the modulus has gone, so the sign is already inside . A second-order equation has two constants and needs two conditions.
A particular solution from an MF27 logarithm
Given that and when , find in terms of , and state the value approaches.
Now use the condition: , gives .
Divide the top and bottom by : , so as . The value 5 is approached but never reached.
Common slip. Substituting the condition while the modulus is still there, then dropping a negative sign later. Remove the modulus first; one signed constant carries every case.
Given substitutions: differentiate the substitution first
When to use it: the question names a new variable, such as or , because the equation is not separable as it stands.
The rule: four steps.
- Differentiate the substitution with respect to , using the product rule when is a product.
- Replace and everywhere in the equation.
- Solve the new equation, which is usually separable or can be integrated directly.
- Return to the original variables.
A substitution for a repeated difference
Using , solve .
The new equation is separable:
The answer may be left in this implicit form unless the question asks for explicitly.
A product substitution: keep both terms of the product rule
Show that reduces to . Hence find in terms of .
Common slip. Writing for . Both and change, so the product rule gives two terms.
Families of solution curves
When to use it: the question asks you to sketch members of the family of solutions, or to pick out the solution through a given point.
The rule. Each real value of the arbitrary constant gives one solution curve; together they form a family. When sketching, show a member with a negative constant, the member with a zero constant and one with a positive constant. The zero member is often a straight line that the others approach, and a condition such as a point on the curve picks out exactly one member.
y = 0.5 at x = 0 gives A = −1.5: y = 2 − 1.5e⁻ˣ, which rises towards 2.
The family of y′ + y = 2, and one member through a point
By considering , find the general solution of . Describe the family, and find the solution curve through .
For the solution is the line . For the curves decrease towards from above, and for they increase towards it from below, so is an asymptote of every other member.
Through : , so and the particular solution is .
Common slip. Sketching only positive values of the constant. Show the zero member as well, because it is usually the asymptote that the rest of the family approaches.
Second-order equations: integrate twice
When to use it: the equation gives in terms of alone, or its left side is the derivative of a product that you are told to consider.
The rule. Integrate once to find , with a constant , then again to find , with a second constant . If the left side looks like , it is : integrate that whole expression in one step.
Two constants, and a member with an oblique asymptote
Solve . Hence find a solution curve with oblique asymptote .
As , , so approaches the line . Taking and gives , with oblique asymptote .
Recognise the derivative of a product
By differentiating , solve for , given that and when .
When , , so and .
When , , so and . Hence . No modulus is needed in because .
Common slip. Using one constant for both integrations. The first integration gives ; the second must add a new constant , and becomes .
Forming the differential equation from a context
When to use it: a word problem describes how a quantity changes, with words such as “rate”, “proportional to”, “flows in” and “remains constant”.
The rule. Name the quantity, its units and the time variable, then build the rate from its parts.
- Rate of change rate in rate out.
- “Proportional to” introduces a constant ; put the sign in front, so a decrease is .
- “Remains constant when ” means at , which usually fixes .
- Mixing: amount leaving per minute concentration outflow, where concentration amount volume.
A mixing tank with constant volume
A tank holds 500 litres of water containing 10 kg of dissolved salt. Brine with 0.04 kg of salt per litre flows in at 5 litres per minute, and the well-stirred mixture flows out at 5 litres per minute. Find the mass of salt, kg, after minutes, and the time when it reaches 15 kg.
Salt enters at kg/min. The volume stays at 500 litres, so salt leaves at kg/min.
When , , so and .
The salt reaches 15 kg after about 69.3 minutes. As , : the mass approaches 20 kg, the amount that makes the tank's concentration equal to the incoming 0.04 kg per litre.
A steady state that fixes the constant
A population of thousand fish grows at a rate proportional to its size, and 4 thousand fish are removed each year. The population remains constant when . Find in terms of , in years, when the initial population is 10 thousand, and when it is 6 thousand.
From at , and : the population grows without limit. From , and : the population falls, reaching zero when , that is when years. In this model the steady state at 8 thousand is never approached from either side.
Starting above 8 thousand, the population grows; starting below, it falls to zero in finite time.
A rate proportional to a product
In a reaction, the mass g of a product satisfies , where is a positive constant. Initially and . Find in terms of and its long-term value.
At , , so . Separate the variables:
By partial fractions,
Integrate, then multiply both sides by 4:
When , , so .
Dividing the top and bottom by shows that : the mass approaches 6 g, when the first reactant is used up.
Common slip. Using the incoming concentration for the salt that leaves. The outflow carries the tank's own concentration, , which changes with time.
Verifying a given solution
When to use it: the question gives the solution and asks you to show that it satisfies the equation, or to find a constant that makes it a solution.
The rule. Differentiate the given function and substitute into the differential equation; do not integrate the equation. Clearing fractions before differentiating keeps the working short. If the result must hold for every , compare coefficients to find unknown constants.
Clear the fraction, then differentiate
Show that is a solution of for . Hence find the -coordinate of its stationary point.
At a stationary point , so and . Substituting into the solution:
Find the constant that makes a function a solution
Find the values of for which satisfies . The general solution is ; find the particular solution with and when .
Since , or . For the particular solution, use both conditions:
Hence .
Common slip. Integrating the equation from scratch when the solution is given. Differentiating the given answer is shorter and is what the question asks for.
Before you finish: differential equations checklist
- Each integration has one arbitrary constant; a second-order equation has two.
- The modulus has been removed with a signed constant before any condition is substituted.
- Any constant solution lost by dividing has been checked; often it is the case .
- In a substitution, every and has been replaced, and the answer is back in the original variables.
- In a context, each rate has the right sign, is stated, and the units are given.
- The long-term value is stated, with whether it is approached or reached.
- The solution has been differentiated and substituted back into the equation.
Practise JC H2 Maths differential equations questions with worked solutions