✓ Official Syllabus VerifiedStandards & Rigor ↗
11

Differential Equations

📌 Differential Equations P3  ·  Separable variables  ·  Integrating factor  ·  Forming a DE from context

A differential equation relates a function to its rate of change; separable equations integrate directly.

▲ Reference — Separable equations
Write fraction dy over dx=f(x)g(y) as fraction 1 over g(y) dy=f(x) dx and integrate both sides; an initial condition fixes the constant.
● Deep Conceptual Intuition — Differential Equations

Accumulation, Antiderivatives & Differential Flows: By the Fundamental Theorem of Calculus, the accumulation function \(A(x) = \int_a^x f(t)\,dt\) satisfies \(A'(x) = f(x)\), linking instantaneous rates of change to net signed area. In first-order differential equations \(\dfrac{dy}{dx} = g(x)h(y)\), separation of variables \(\int \dfrac{1}{h(y)}\,dy = \int g(x)\,dx + C\) reconstructs the family of integral curves across the slope field.

Slope field for \(\frac{dy}{dx} = x -y\) with the integral curve passing through initial condition \((0, 1)\).
⊙ Explorer · Separable ODE Slope Field \(\frac{dy}{dx} = k \cdot y(1 - y/4)\)
interactive
Initial Slope \(\frac{dy}{dx}|_{t=0}\)\(0.51\)
Solution Value \(y(3)\)\(2.93\)
Carrying Equilibrium\(y = 4.00\) (Stable)

Each tangent tick shows the local slope \(\frac{dy}{dx} = k \cdot y(1 - y/4)\). Vary \(y(0)\) and growth rate \(k\) to trace the exact particular integral curve across the slope field.

Separate
variables
Integrate
both sides
Constant
\( +C \)
Condition
fixes \( C \)
◆ Why It Works — First-Principles Derivation (Differential Equations)

Why Integration by Parts & Integrating Factors Work: Differentiating a product \(u(x)v(x)\) gives \((uv)' = u'v + uv'\). Integrating both sides and rearranging yields the Integration by Parts formula:

\[ \int u\,\frac{dv}{dx}\,dx = u v - \int v\,\frac{du}{dx}\,dx \]

Similarly, for a linear first-order ODE \(y' + P(x)y = Q(x)\), multiplying by the integrating factor \(\mu(x) = e^{\int P(x)\,dx}\) (which satisfies \(\mu'(x) = P(x)\mu(x)\)) collapses the left-hand side into an exact product derivative: \(\dfrac{d}{dx}\bigl[\mu(x)y\bigr] = \mu(x)Q(x)\).

Worked example 11.A
Problem. Solve \( \dfrac{dy}{dx}=y \).
▸ Show step-by-step solution
\[ y=Ae^{x}. \]
Worked example 2 — Integrating factor
Problem. Solve \(\dfrac{dy}{dx}+2y=e^x\).
▸ Show step-by-step solution

Integrating factor: \(\mu=e^{\int2\,dx}=e^{2x}\). Multiply through: \(\dfrac{d}{dx}(ye^{2x})=e^{3x}\).

\[ye^{2x}=\int e^{3x}\,dx=\tfrac{1}{3}e^{3x}+c\;\Rightarrow\;y=\tfrac{1}{3}e^x+ce^{-2x}.\]
Worked Example \(C\) — Differential Equations (Easy Application)
Problem. Find the particular solution of the differential equation \[ \frac{\mathrm{d}y}{\mathrm{d}x} = 2x e^{-y} \] given that \( y = 0 \) when \( x = 0 \).
▸ Show step-by-step solution

To solve the differential equation, we use separation of variables: 1. **Separate the variables**: \[ e^y \,\mathrm{d}y = 2x \,\mathrm{d}x \] 2. **Integrate both sides**: \[ \int e^y \,\mathrm{d}y = \int 2x \,\mathrm{d}x \] \[ e^y = x^2 + C \] 3. **Apply the initial condition** \( y = 0 \) when \( x = 0 \): \[ e^0 = 0^2 + C \implies 1 = C \] *(A frequent error is assuming \( C = 0 \) because the boundary values are zero, which leads to the incorrect solution \( y = \ln(x^2) \).)* 4. **Express \( y \) explicitly in terms of \( x \)**: \[ e^y = x^2 + 1 \implies y = \ln(x^2 + 1) \] Thus, the correct choice is \( y = \ln(x^2 + 1) \).

Worked Example \(D\) — Differential Equations (Medium Application)
Problem. A curve satisfies the differential equation \[ \frac{\mathrm{d}y}{\mathrm{d}x} = \frac{k - y}{2x + 1} \] for \( x > -\frac{1}{2} \), where \( k \) is a real constant. The curve passes through the points \( (0, 8) \) and \( (4, 2) \). Find the value of \( k \).
▸ Show step-by-step solution

To find the constant \( k \), we solve the differential equation by separation of variables: \[ \int \frac{1}{k - y} \,\mathrm{d}y = \int \frac{1}{2x + 1} \,\mathrm{d}x \] Integrating both sides (paying close attention to the chain rule): \[ -\ln |k - y| = \frac{1}{2} \ln (2x + 1) + C \] Multiplying by \(-1\) and exponentiating: \[ \ln |k - y| = -\frac{1}{2} \ln (2x + 1) - C = \ln\left((2x + 1)^{-1/2}\right) - C \] \[ |k - y| = \frac{A}{\sqrt{2x + 1}} \quad \text{where } A = \mathrm{e}^{-C} > 0 \] Removing the absolute value gives the general form: \[ k - y = \frac{B}{\sqrt{2x + 1}} \implies y = k - \frac{B}{\sqrt{2x + 1}} \] where \( B \) is an arbitrary non-zero constant. Now, apply the given boundary conditions: 1. At \( (0, 8) \): \[ 8 = k - \frac{B}{\sqrt{2(0) + 1}} = k - B \implies B = k - 8 \] 2. At \( (4, 2) \): \[ 2 = k - \frac{B}{\sqrt{2(4) + 1}} = k - \frac{B}{\sqrt{9}} = k - \frac{B}{3} \] Substitute \( B = k - 8 \) into this equation: \[ 2 = k - \frac{k - 8}{3} \] \[ 6 = 3k - (k - 8) \] \[ 6 = 2k + 8 \] \[ 2k = -2 \implies k = -1 \]

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Differential Equations)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Writing \(\ln|y| = x^2 + C \implies y = e^{x^2} + C\)Exponentiation distributes over addition as multiplication (\(e^{a+b} = e^a e^b\)), not addition.Write \(y = e^{x^2 + C} = Ae^{x^2}\) and solve for \(A\) using the initial condition.
Leaving original \(x\)-limits on a \(u\)-substituted definite integralEvaluates the antiderivative \(F(u)\) at \(x\)-values instead of \(u(x)\)-values.Convert bounds immediately: \(u_{\text{low}} = u(a)\) and \(u_{\text{high}} = u(b)\).
Computing total distance as \(\left|\int_{t_1}^{t_2} v(t)\,dt\right|\)Cancels forward and backward motion (net displacement) instead of accumulating total path length.Split the integral at every root where \(v(t) = 0\) and integrate \(|v(t)|\).
▲ Exam Pacing & Verification Strategy — Differential Equations

Quick Verification Trick (Cambridge International A Level (9709 Paper 3 / Paper 6)): For any indefinite integral \(\int f(x)\,dx = F(x) + C\), differentiate your answer \(F'(x)\) mentally—especially the coefficient \(1/k\) from chain-rule reversal \(\int e^{kx}\,dx = \tfrac{1}{k}e^{kx} + C\)—before moving on.

Solve the separable DE \(\dfrac{dy}{dx}=\dfrac{x+1}{y}\) given \(y=2\) when \(x=0\).
💡 Hint 1 of 3
Separate: \(y\,dy=(x+1)\,dx\).
💡 Hint 2 of 3
Integrate: \(\tfrac{y^2}{2}=\tfrac{x^2}{2}+x+c\).
💡 Hint 3 of 3
At \((0,2)\) to determine \(2\).
Separate: \(y\,dy=(x+1)\,dx\). Integrate: \(\tfrac{y^2}{2}=\tfrac{x^2}{2}+x+c\). At \((0,2)\): \(2=c\). So \(y^2=x^2+2x+4\).
Direction field for the differential equation \(\frac{dy}{dx} = (x+1) / y\) showing the particular solution curve passing through \((0, 2)\).
⚠️ Cambridge 9709 Traps — Timing of Constant of Integration & Modulus in Logs

Immediate Constant of Integration: The arbitrary constant \(+C\) must be added at the exact line of integration, never tacked on at the end of subsequent algebraic simplification! Integrating \(\int \frac{1}{y}dy = \int k\,dt\) gives \(\ln|y| = kt + C \implies y = e^{kt+C} = Ae^{kt}\). Writing \(\ln y = kt \implies y = e^{kt} + C\) is mathematically invalid and earns zero marks for subsequent work.

Rates of Decay in Word Problems: When formulating a differential equation, words like 'rate of decrease' or 'decay' require an explicit negative sign: \(\frac{dV}{dt} = -k\sqrt{V}\) where \(k > 0\). Omitting the negative turns decay into exponential explosion.

The temperature \(\theta\) of a cooling metal rod satisfies \(\frac{d\theta}{dt} = -k(\theta - 20)\), where \(t\) is time in minutes and \(k\) is a constant. Given \(\theta = 80\) when \(t = 0\) and \(\theta = 50\) when \(t = 10\), find the value of \(t\) when \(\theta = 30\).
💡 Hint 1 of 3
Separate variables and integrate: \(\int \frac{1}{\theta - 20}\,d\theta = -\int k\,dt \implies \ln(\theta - 20) = -kt + C\).
💡 Hint 2 of 3
Apply condition \(t = 10, \theta = 50\): \(30 = 60e^{-10k} \implies e^{-10k} = \frac{1}{2} \implies k = \frac{\ln 2}{10}\).
💡 Hint 3 of 3
Set \(\theta = 30\): \(10 = 60e^{-kt} \implies e^{-kt} = \frac{1}{6} \implies t = \frac{\ln 6}{k} = \frac{10\ln 6}{\ln 2}\).

Separate variables and integrate:

\[\int \frac{1}{\theta - 20}\,d\theta = -\int k\,dt \implies \ln(\theta - 20) = -kt + C\]

Apply initial condition \(t = 0, \theta = 80\):

\[\ln(60) = C \implies \ln\left(\frac{\theta - 20}{60}\right) = -kt \implies \theta - 20 = 60e^{-kt}\]

Apply condition \(t = 10, \theta = 50\):

\[30 = 60e^{-10k} \implies e^{-10k} = \frac{1}{2} \implies k = \frac{\ln 2}{10} \approx 0.06931\]

Set \(\theta = 30\):

\[10 = 60e^{-kt} \implies e^{-kt} = \frac{1}{6} \implies t = \frac{\ln 6}{k} = \frac{10\ln 6}{\ln 2} \approx 25.8\text{ minutes}\]
[Practice 3 · Hard] A curve passes through the point \(\left(1, \,\frac{1}{2}\right)\) and satisfies the differential equation \[ \frac{\mathrm{d}y}{\mathrm{d}x} = \frac{y^2(1 - \ln x)}{x^2} \quad \text{for } x > 0. \] Determine the exact coordinates of the stationary point of the curve and its nature.
💡 Hint 1 of 3
Separate the variables: \(\frac{1}{y^2} \,\mathrm{d}y = \frac{1 - \ln x}{x^2} \,\mathrm{d}x\).
💡 Hint 2 of 3
Integrate both sides: The left-hand side integrates to: \(\int y^{-2}\,\mathrm{d}y = -\frac{1}{y}\).
💡 Hint 3 of 3
Therefore, the point \(\left(e, \,\dfrac{e}{2e - 1}\right)\) is a local maximum.
1. **Separate the variables:** \[ \frac{1}{y^2} \,\mathrm{d}y = \frac{1 - \ln x}{x^2} \,\mathrm{d}x \] 2. **Integrate both sides:** The left-hand side integrates to: \[ \int y^{-2}\,\mathrm{d}y = -\frac{1}{y} \] For the right-hand side, split into two integrals: \[ \int \frac{1 - \ln x}{x^2}\,\mathrm{d}x = \int x^{-2}\,\mathrm{d}x - \int x^{-2}\ln x\,\mathrm{d}x \] We have \(\int x^{-2}\,\mathrm{d}x = -\frac{1}{x}\). Using integration by parts for \(\int x^{-2}\ln x\,\mathrm{d}x\) with \(u = \ln x\) and \(v' = x^{-2}\): \[ \int x^{-2}\ln x\,\mathrm{d}x = -\frac{\ln x}{x} - \int \left(-\frac{1}{x}\right)\left(\frac{1}{x}\right)\mathrm{d}x = -\frac{\ln x}{x} - \frac{1}{x} \] Thus: \[ \int \frac{1 - \ln x}{x^2}\,\mathrm{d}x = -\frac{1}{x} - \left(-\frac{\ln x}{x} - \frac{1}{x}\right) = \frac{\ln x}{x} + C \] 3. **Apply the initial condition:** At \(x = 1\), \(y = \frac{1}{2}\): \[ -\frac{1}{1/2} = \frac{\ln 1}{1} + C \implies -2 = 0 + C \implies C = -2 \] Hence: \[ -\frac{1}{y} = \frac{\ln x}{x} - 2 = \frac{\ln x - 2x}{x} \implies y = \frac{x}{2x - \ln x} \] 4. **Find the stationary point:** Setting \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\): \[ \frac{y^2(1 - \ln x)}{x^2} = 0 \implies 1 - \ln x = 0 \implies x = e \] Substitute \(x = e\) into the particular solution: \[ y(e) = \frac{e}{2e - \ln e} = \frac{e}{2e - 1} \] 5. **Determine the nature:** Since \(\frac{y^2}{x^2} > 0\) for all \(x > 0\), the sign of \(\frac{\mathrm{d}y}{\mathrm{d}x}\) is governed by \(1 - \ln x\): - For \(0 < x < e\), \(\ln x < 1 \implies \frac{\mathrm{d}y}{\mathrm{d}x} > 0\) (curve is increasing). - For \(x > e\), \(\ln x > 1 \implies \frac{\mathrm{d}y}{\mathrm{d}x} < 0\) (curve is decreasing). Therefore, the point \(\left(e, \,\dfrac{e}{2e - 1}\right)\) is a **local maximum**.
[Practice 4 · Easy] A population is modeled by \( P(t)=P_0\cdot 2^{t/2} \) with \( P_0=40 \). Find \( t \) when \( P(t)=320 \).
💡 Hint 1 of 3
Start with: \(2^{t/2} = 320/40\).
💡 Hint 2 of 3
Rearrange and simplify to obtain: \(t/2=3\).
💡 Hint 3 of 3
Solve \(t/2=3\) for \(t\) and verify your answer.
\( 2^{t/2}=320/40=8 \Rightarrow t/2=3 \Rightarrow t=6 \).
[Practice 5 · Medium] A population is modeled by \( P(t)=P_0\cdot 2^{t/4} \) with \( P_0=90 \). Find \( t \) when \( P(t)=1440 \).
💡 Hint 1 of 3
Start with: \(2^{t/4} = 1440/90\).
💡 Hint 2 of 3
Rearrange and simplify to obtain: \(t/4=4\).
💡 Hint 3 of 3
Solve \(t/4=4\) for \(t\) and verify your answer.
\( 2^{t/4}=1440/90=16 \Rightarrow t/4=4 \Rightarrow t=16 \).
⊙ Explorer · Interactive Slope Field, Particular Solution & Euler Lab
interactive
Active ODEdy/dx = x − y
Initial point & slope(0.00, 1.00) | slope m₀ = −1.000
Qualitative behaviorApproaches linear asymptote y = x − 1 as x → ∞
RK4 vs. Euler at \(x_0 + 1\)—

Click or drag anywhere on the slope field to move \((x_0, y_0)\) in real time, and double-click to pin multiple family curves for side-by-side comparison. Decrease step \(h\) to watch the dashed teal Euler approximation converge to the amber solution curve.

Differential Equations — 8-Mark Structured Problem

8 pts Calculator Active
For Differential Equations, consider the linear-rate relationship \(f(x) = 4x + 6\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 8x + 6\).
  1. (a)2 pts
    Find the initial value \(f(0)\) and the slope \(f'(x)\).
    Scoring Guideline & Justification
    • [M1] Evaluates f(0) and reads gradient coefficient (1 pt)
    • [A1] Obtains f(0) = 6 and slope = 4 (1 pt)
  2. (b)3 pts
    Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
    Scoring Guideline & Justification
    • [M1] Finds axis of symmetry x = 4 (2 pt)
    • [A1] Evaluates minimum k = -10 (1 pt)
  3. (c)3 pts
    Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 6\).
    Scoring Guideline & Justification
    • [M1] Applies (g(6) - g(0)) / 6 (2 pt)
    • [A1] Simplifies to -2 (1 pt)
Complete Worked Solution
(a) \(f(0)=6\), gradient \(4\). (b) Completing the square gives \(g(x)=(x-4)^2+-10\), minimum \(-10\) at \(x=4\). (c) Average rate \(= (x_1+x_2-8) = -2\).
📝 Chapter Quiz