The shape of the lesson
By the end of the lesson, learners can
- The integrating factor: A first order linear equation has \(y\) and \(\dfrac{dy}{dx}\) only to the first power, with coefficients that are functions of \(x\).
- Trig, hyperbolic and particular solutions: When \(P\) is \(\tan x\), \(\cot x\), \(\tanh x\) or \(\coth x\), the integral \(\int P\,dx\) is a logarithm, so \(e^{\int P\,dx}\) collapses to a single function.
- Models and the long run: Many models are built from \(\text{rate of change} = \text{rate in} - \text{rate out}\).
- Standard form: divide by the coefficient of \(\dfrac{dy}{dx}\) to get \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\).
- Factor: \(I = e^{\int P\,dx}\), simplified with \(e^{\ln f} = f\); no constant needed.
- Integrate: \(\dfrac{d}{dx}(Iy) = IQ\), so \(Iy = \int IQ\,dx + C\).
- Divide every term, including \(C\), by \(I\); then use any condition to find \(C\).
- Interpret: let the transient (the \(C\) term) die away and describe what is left, in context, with units.
One picture every idea returns to
Write the equation in standard form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\) (divide through by the coefficient of \(\dfrac{dy}{dx}\) first). The integrating factor is \(I(x) = e^{\int P\,dx}\), with no constant needed. Multiplying through makes the left side exactly \(\dfrac{d}{dx}\big(I y\big)\), so \(I y = \displaystyle\int I\,Q\,dx\), and the \(+\,C\) goes in at this step, BEFORE you divide by \(I\).
Forty-five minutes, phase by phase
| Time | Phase | What happens in the room | Grouping |
|---|---|---|---|
| 0 to 5 min | Hook: predict | Open with the question in the title, Make the left side a perfect derivative.. A first order linear equation \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\) usually cannot be separated, but one clever multiplier turns its left side into the derivative of a product. Put the figure on the board: it is the one picture every idea in the lesson returns to. | Whole class, then pairs |
| 5 to 13 min | Teach and check: The integrating factor | A first order linear equation has \(y\) and \(\dfrac{dy}{dx}\) only to the first power, with coefficients that are functions of \(x\). Model the worked example P is a constant on the board, one line at a time. Your turn: Find the general solution of \(\dfrac{dy}{dx} - y = e^{x}\). | Whole class, then pairs |
| 13 to 21 min | Teach and check: Trig, hyperbolic and particular solutions | When \(P\) is \(\tan x\), \(\cot x\), \(\tanh x\) or \(\coth x\), the integral \(\int P\,dx\) is a logarithm, so \(e^{\int P\,dx}\) collapses to a single function. Model the worked example P = tan x, with a condition on the board, one line at a time. Your turn: Solve \(x\dfrac{dy}{dx} + y = 3x^{2}\) for \(x \gt 0\), given that \(y = 2\) when \(x = 1\). | Pairs |
| 21 to 30 min | Teach and check: Models and the long run | Many models are built from \(\text{rate of change} = \text{rate in} - \text{rate out}\). Model the worked example A filling tank on the board, one line at a time. Your turn: A drug is given by a drip at 4 mg per hour and is removed at a rate of \(0.2Q\) mg per hour, where \(Q\) mg is the amount in the body. Given \(Q = 0\) at \(t = 0\), find \(Q\) in terms of \(t\), its long-term value, and when \(Q = 15\). | Jigsaw |
| 30 to 36 min | Check | The four Stage 1 questions from the student lesson, answered on mini whiteboards or by show of fingers. Re-teach the one most get wrong. | Individual, then whole class |
| 36 to 43 min | Plenary | The exam-style questions from Stage 2, one at a time: thirty seconds alone, then a random call. The feedback lines in the key give the examiner's wording. | Individual, random call |
| 43 to 45 min | Exit and homework | Set the worksheet below (6 questions, 35 marks). Learners self-assess against the objectives before they leave. | Individual |
Protect the parts that carry the learning
The sequence carries about fifty minutes of material, so the lab is driven by one student while the class predicts rather than explored freely. Times are a guide.
Protected: the check at 30 minutes. It is the only individual read on whether the key idea landed, and it is not cut.
Cut first if the build overruns: the last check in Models and the long run, never the check or the plenary.
In a 60 minute block: run worksheet questions 1 to 3 in class as a Rally Coach set and model both the hardest worked example and its check live.
Jigsaw
Split the content into expert pieces. Expert groups master one piece each, then regroup so every home team has one expert per piece, and each expert teaches their piece to the team.
The full structure, with its PIES check and a worked example for every subject, is on the cooperative-learning page, one of fifteen structures there.
What to head off, and how
| Trap learners fall into | Teaching move that pre-empts it |
|---|---|
| Find \(P\) only AFTER dividing by the coefficient of \(\dfrac{dy}{dx}\). | For \(x\dfrac{dy}{dx} + 2y = 5x^{3}\), using \(P = 2\) gives \(I = e^{2x}\) and nonsense; the right factor is \(x^{2}\). And the right side must be multiplied by \(I\) too: \(\dfrac{d}{dx}(x^{2}y) = 5x^{4}\), not \(5x^{3}\). |
| Two classic slips. | First, \(\int\tan x\,dx = \ln\sec x\), so the factor is \(\sec x\); using \(\cos x\) makes the left side fail to be a derivative. Second, the constant: from \(y\sec x = \sin x + C\) the answer is \(y = \sin x\cos x + C\cos x\). Writing \(y = \sin x\cos x + C\) (dividing everything except \(C\)) gives a function that does not satisfy the equation. |
| Read the rate out carefully: it is (outflow rate) \(\times\) (concentration) \(= b \times \dfrac{S}{V}\), with \(V\) the CURRENT volume, not the starting volume. | And when you interpret, say what happens in words with units (for example 'the concentration approaches 0.2 kg per litre'), and say where the model stops applying. |
First order: integrating factors: worksheet
6 questions, 35 marks. Written in the style of the papers; no past paper question is reproduced.
Find the general solution of \(\dfrac{dy}{dx} + 5y = 10e^{x}\).
Find the particular solution of \(x\dfrac{dy}{dx} + 3y = 10x^{2}\), for \(x \gt 0\), given that \(y = 5\) when \(x = 1\).
Solve \(\dfrac{dy}{dx} - y\tan x = 2\sin x\) for \(-\tfrac{\pi}{2} \lt x \lt \tfrac{\pi}{2}\), given that \(y = 1\) when \(x = 0\). Give \(y\) in terms of \(x\) and find the exact value of \(y\) when \(x = \tfrac{\pi}{3}\).
(a) Find the general solution of \(\dfrac{dy}{dx} + 2y\coth x = \cosh x\) for \(x \gt 0\).
(b) Show that exactly one solution stays finite as \(x \to 0^{+}\), and find the value of \(y\) for that solution when \(x = \ln 2\).
A tank of capacity 500 litres initially holds 200 litres of pure water. Brine containing 0.05 kg of salt per litre flows in at 4 litres per minute, and the well-stirred mixture flows out at 2 litres per minute. The mass of salt in the tank after \(t\) minutes is \(S\) kg.
(a) Show that \(\dfrac{dS}{dt} + \dfrac{S}{100 + t} = 0.2\).
(b) Find \(S\) in terms of \(t\).
(c) Find the concentration of salt at the moment the tank starts to overflow, and comment on the concentration if the tank were large enough never to overflow.
A heater in a room is switched off at \(t = 0\), and the room temperature after \(t\) hours is then \(20 + 10e^{-t}\) °C. A metal block, initially at 50 °C, has temperature \(\theta\) °C satisfying \[\dfrac{d\theta}{dt} = -2\big(\theta - 20 - 10e^{-t}\big).\]
(a) Find \(\theta\) in terms of \(t\).
(b) Show that the block is always warmer than the room, and state its long-term temperature.
(c) Find the exact time at which \(\theta = 30\).
Answer key and marking notes
- \(I = e^{\int 5\,dx} = e^{5x}\), so \(\dfrac{d}{dx}\big(ye^{5x}\big) = 10e^{6x}\).
- Integrate: \(ye^{5x} = \tfrac{5}{3}e^{6x} + C\).
- Divide by \(e^{5x}\): \(y = \tfrac{5}{3}e^{x} + Ce^{-5x}\).
- Standard form: \(\dfrac{dy}{dx} + \dfrac{3}{x}\,y = 10x\).
- \(I = e^{3\ln x} = x^{3}\), so \(\dfrac{d}{dx}\big(x^{3}y\big) = 10x^{4}\).
- Integrate: \(x^{3}y = 2x^{5} + C\).
- \(x = 1\), \(y = 5\): \(5 = 2 + C\), so \(C = 3\).
- \(y = 2x^{2} + \dfrac{3}{x^{3}}\).
- \(P = -\tan x\), so \(\int P\,dx = \ln\cos x\) and \(I = \cos x\) (positive on this interval).
- \(\dfrac{d}{dx}\big(y\cos x\big) = 2\sin x\cos x\).
- Integrate (\(\dfrac{d}{dx}\sin^{2}x = 2\sin x\cos x\)): \(y\cos x = \sin^{2}x + C\).
- \(x = 0\), \(y = 1\): \(1 = 0 + C\), so \(C = 1\) and \(y = \dfrac{1 + \sin^{2}x}{\cos x} = (1 + \sin^{2}x)\sec x\).
- At \(x = \tfrac{\pi}{3}\): \(\sin^{2}x = \tfrac{3}{4}\) and \(\sec x = 2\), so \(y = \tfrac{7}{4} \times 2 = \tfrac{7}{2}\).
- (Integrating \(\sin 2x\) as \(-\tfrac{1}{2}\cos 2x\) gives an equivalent answer with a different constant.)
- (a) \(I = e^{2\ln\sinh x} = \sinh^{2}x\) (since \(\sinh x \gt 0\) for \(x \gt 0\)).
- \(\dfrac{d}{dx}\big(y\sinh^{2}x\big) = \sinh^{2}x\cosh x\), so \(y\sinh^{2}x = \tfrac{1}{3}\sinh^{3}x + C\).
- \(y = \tfrac{1}{3}\sinh x + \dfrac{C}{\sinh^{2}x} = \tfrac{1}{3}\sinh x + C\operatorname{cosech}^{2}x\).
- (b) As \(x \to 0^{+}\), \(\tfrac{1}{3}\sinh x \to 0\) but \(\operatorname{cosech}^{2}x \to \infty\), so \(y\) stays finite only when \(C = 0\): the solution \(y = \tfrac{1}{3}\sinh x\).
- \(\sinh(\ln 2) = \tfrac{1}{2}\big(2 - \tfrac{1}{2}\big) = \tfrac{3}{4}\), so \(y = \tfrac{1}{3} \times \tfrac{3}{4} = \tfrac{1}{4}\).
- (a) Volume \(V = 200 + 2t\). Salt in: \(4 \times 0.05 = 0.2\) kg per minute. Salt out: \(2 \times \dfrac{S}{200 + 2t} = \dfrac{S}{100 + t}\). So \(\dfrac{dS}{dt} = 0.2 - \dfrac{S}{100 + t}\), which rearranges to the given equation.
- (b) \(I = e^{\ln(100 + t)} = 100 + t\), so \(\dfrac{d}{dt}\big(S(100 + t)\big) = 0.2(100 + t)\).
- Integrate: \(S(100 + t) = 0.1(100 + t)^{2} + C\). At \(t = 0\), \(S = 0\): \(0 = 1000 + C\), so \(C = -1000\).
- \(S = 0.1(100 + t) - \dfrac{1000}{100 + t}\).
- (c) The tank is full when \(200 + 2t = 500\), so \(t = 150\). Then \(S = 25 - 4 = 21\) kg and the concentration is \(\dfrac{21}{500} = 0.042\) kg per litre.
- Without overflow, \(\dfrac{S}{V} = \dfrac{S}{2(100 + t)} = 0.05 - \dfrac{500}{(100 + t)^{2}} \to 0.05\) kg per litre: the concentration would approach that of the incoming brine.
- (a) Standard form: \(\dfrac{d\theta}{dt} + 2\theta = 40 + 20e^{-t}\). \(I = e^{2t}\).
- \(\dfrac{d}{dt}\big(\theta e^{2t}\big) = 40e^{2t} + 20e^{t}\), so \(\theta e^{2t} = 20e^{2t} + 20e^{t} + C\).
- \(\theta = 20 + 20e^{-t} + Ce^{-2t}\). At \(t = 0\): \(50 = 40 + C\), so \(C = 10\). \[\theta = 20 + 20e^{-t} + 10e^{-2t}.\]
- (b) \(\theta - (20 + 10e^{-t}) = 10e^{-t} + 10e^{-2t} \gt 0\) for all \(t\), so the block is always warmer than the room. As \(t \to \infty\), \(\theta \to 20\) °C, the final room temperature.
- (c) \(20e^{-t} + 10e^{-2t} = 10\). Let \(u = e^{-t}\): \(u^{2} + 2u - 1 = 0\), so \(u = -1 \pm \sqrt{2}\).
- \(u \gt 0\), so \(u = \sqrt{2} - 1\) and \(t = -\ln\big(\sqrt{2} - 1\big) = \ln\big(1 + \sqrt{2}\big) \approx 0.881\) hours (about 53 minutes).
8 multiple-choice questions on this lesson
From the topic question bank. Assign them in the app for a marked score in your gradebook, or run the topic as a class game.
What is the integrating factor for \(\dfrac{dy}{dx} + 2xy = x\)?
- A\(x^{2}\)
- B\(e^{-x^{2}}\)
- C\(e^{x^{2}}\)
- D\(e^{2x}\)
What is the integrating factor for \(x\dfrac{dy}{dx} - 3y = x^{5}\), \(x \gt 0\)?
- A\(-3\ln x\)
- B\(\dfrac{1}{x^{3}}\)
- C\(x^{3}\)
- D\(e^{-3x}\)
Find the general solution of \(\dfrac{dy}{dx} + 2y = e^{-x}\).
- A\(y = e^{-x} + Ce^{-2x}\)
- B\(y = e^{-x} + Ce^{2x}\)
- C\(y = e^{-x} + C\)
- D\(y = -\tfrac{1}{3}e^{-x} + Ce^{2x}\)
Solve \(\dfrac{dy}{dx} + \dfrac{y}{x} = 4\) for \(x \gt 0\), given that \(y = 3\) when \(x = 1\).
- A\(y = 2x + \dfrac{1}{x}\)
- B\(y = 4x - \dfrac{1}{x}\)
- C\(y = 2x + 1\)
- D\(y = 2x + \dfrac{3}{x}\)
Solve \(\dfrac{dy}{dx} - \dfrac{y}{x} = x\cos x\) for \(x \gt 0\), given that \(y = \pi\) when \(x = \tfrac{\pi}{2}\).
- A\(y = x\sin x + x\)
- B\(y = 3x - x\sin x\)
- C\(y = x\sin x + 2x\)
- D\(y = x\sin x + \tfrac{\pi}{2}\)
A tank holds 100 litres of pure water. Brine with 0.1 kg of salt per litre flows in at 2 litres per minute and the well-stirred mixture flows out at 3 litres per minute. Find the mass of salt in the tank after 50 minutes.
- A5.00 kg
- B37.5 kg
- C5.18 kg
- D3.75 kg
Solve \(\dfrac{dy}{dx} + y\cot x = 2\cos x\) for \(0 \lt x \lt \pi\), given that \(y = 2\) when \(x = \tfrac{\pi}{2}\).
- A\(y = 2\sin x\ln(\sin x) + 2\sin x\)
- B\(y = \sin x + \operatorname{cosec} x\)
- C\(y = \sin x + 2\operatorname{cosec} x\)
- D\(y = \sin x + 1\)
A quantity \(x\) satisfies \(\dfrac{dx}{dt} + 0.5x = 2e^{-0.5t}\) for \(t \ge 0\), with \(x = 0\) when \(t = 0\). Find the greatest value of \(x\).
- A\(\dfrac{2}{\sqrt{e}} \approx 1.21\)
- B\(4\)
- C\(\dfrac{4}{e} \approx 1.47\)
- DNo maximum: \(x\) grows without limit
Quiz key
\(P(x) = 2x\), so \(\int 2x\,dx = x^{2}\) and the integrating factor is \(e^{x^{2}}\). \(e^{2x}\) uses \(P\) itself instead of its integral, \(e^{-x^{2}}\) has a sign slip, and \(x^{2}\) is the integral of \(P\) with the exponential forgotten.
Standard form: \(\dfrac{dy}{dx} - \dfrac{3}{x}y = x^{4}\), so \(P = -\dfrac{3}{x}\), \(\int P\,dx = -3\ln x\) and \(e^{-3\ln x} = x^{-3} = \dfrac{1}{x^{3}}\). \(x^{3}\) loses the minus sign, \(e^{-3x}\) skips dividing by \(x\) and takes \(P = -3\), and \(-3\ln x\) is the integral of \(P\) without the exponential.
Integrating factor \(e^{2x}\): \(\dfrac{d}{dx}\big(ye^{2x}\big) = e^{x}\), so \(ye^{2x} = e^{x} + C\) and \(y = e^{-x} + Ce^{-2x}\). Check: \(y' + 2y = -e^{-x} - 2Ce^{-2x} + 2e^{-x} + 2Ce^{-2x} = e^{-x}\). \(e^{-x} + C\) adds the constant after dividing by \(e^{2x}\). \(-\tfrac{1}{3}e^{-x} + Ce^{2x}\) uses the integrating factor \(e^{-2x}\) (sign slip). \(e^{-x} + Ce^{2x}\) multiplies \(C\) by \(e^{2x}\) instead of dividing.
\(e^{\int 1/x\,dx} = x\), so \(\dfrac{d}{dx}(xy) = 4x\), \(xy = 2x^{2} + C\). At \(x = 1\): \(3 = 2 + C\), \(C = 1\), so \(y = 2x + \dfrac{1}{x}\). \(2x + 1\) adds the constant after dividing by \(x\). \(2x + \dfrac{3}{x}\) sets \(C\) equal to the given \(y\)-value without substituting. \(4x - \dfrac{1}{x}\) integrates \(4x\) as \(4x^{2}\).
\(e^{-\ln x} = \dfrac{1}{x}\), so \(\dfrac{d}{dx}\Big(\dfrac{y}{x}\Big) = \cos x\), \(\dfrac{y}{x} = \sin x + C\), \(y = x\sin x + Cx\). At \(x = \tfrac{\pi}{2}\): \(\pi = \tfrac{\pi}{2} + \tfrac{\pi}{2}C\), so \(C = 1\) and \(y = x\sin x + x\). \(x\sin x + \tfrac{\pi}{2}\) adds the constant after multiplying back by \(x\). \(x\sin x + 2x\) takes \(C = \dfrac{y}{x} = 2\), ignoring the \(\sin x\) term. \(3x - x\sin x\) integrates \(\cos x\) as \(-\sin x\).
\(\dfrac{dx}{dt} = 0.2 - \dfrac{3x}{100 - t}\). Integrating factor \(e^{\int 3/(100 - t)\,dt} = (100 - t)^{-3}\), so \(\dfrac{d}{dt}\big(x(100 - t)^{-3}\big) = 0.2(100 - t)^{-3}\) and \(x(100 - t)^{-3} = 0.1(100 - t)^{-2} + C\). \(x = 0\) at \(t = 0\) gives \(C = -10^{-5}\), so \(x = 0.1(100 - t) - 10^{-5}(100 - t)^{3}\). At \(t = 50\): \(x = 5 - 1.25 = 3.75\) kg. 5.18 kg keeps the volume fixed at 100 litres. 5.00 kg keeps only the \(0.1(100 - t)\) part and never applies the initial condition. 37.5 kg uses \((100 - t)^{3}\) as the integrating factor (sign slip in \(\int \frac{3}{100 - t}dt\)).
Integrating factor \(\sin x\): \(\dfrac{d}{dx}(y\sin x) = 2\sin x\cos x\), so \(y\sin x = \sin^{2}x + C\) and \(y = \sin x + C\operatorname{cosec} x\). At \(x = \tfrac{\pi}{2}\): \(2 = 1 + C\), \(C = 1\). \(\sin x + 1\) adds the constant after dividing by \(\sin x\). \(\sin x + 2\operatorname{cosec} x\) takes \(C\) as the given \(y\)-value without subtracting the \(\sin x\) part. The last option uses \(\operatorname{cosec} x\) as the integrating factor (sign slip, \(e^{-\ln\sin x}\)).
\(\dfrac{d}{dt}\big(xe^{0.5t}\big) = 2\), so \(xe^{0.5t} = 2t + C\) with \(C = 0\): \(x = 2te^{-0.5t}\). \(\dfrac{dx}{dt} = e^{-0.5t}(2 - t) = 0\) at \(t = 2\), giving \(x = 4e^{-1} \approx 1.47\). \(\dfrac{2}{\sqrt{e}}\) takes the turning point at \(t = 1\) after a product-rule slip. \(4\) is \(2t\) at \(t = 2\) with the exponential factor dropped. The last option uses \(e^{-0.5t}\) as the integrating factor, which gives \(x = 4\sinh(0.5t)\).
Slides for this lesson
A projectable deck for every pack is on the way. Until then, present the student lesson full screen: its sections, figure and lab tabs follow the same order as the plan above.