Differential Equations

Leaving Cert Higher Level Applied Maths revision notes with diagrams, key terms and self-check questions.

8 min readHigher LevelBy Studytok
Practise this topic — free →

Differential equations describe continuous change by relating an unknown function—such as displacement, velocity, temperature, or population—to its derivatives. In Leaving Certificate Higher Level Applied Mathematics, differential equations are central to Strand 4 (continuous real-world rate models) and Strand 3 (variable-force mechanics), assessed through the lens of the Strand 1 modelling cycle. Students must formulate rate equations from verbal descriptions, solve first-order separable equations, reduce second-order equations to first order, verify proposed solutions, interpret equilibria and limiting behaviour, and approximate solutions numerically using Euler's method.

Continuous Change and the Modelling Cycle

A differential equation models systems where change occurs continuously over time or distance. This contrasts directly with discrete difference equations, which update values in separate jumps across time steps (such as annual compound interest or species with single annual breeding seasons).

Under Strand 1, applied mathematicians investigate authentic continuous problems through a four-stage modelling cycle:

  1. Formulating problems: Identify the core variables (such as time tt, velocity vv, displacement ss, temperature TT, or population PP) and make reasonable simplifying assumptions (such as neglecting air buoyancy or treating ambient temperature as constant).
  2. Translating into mathematics: Translate the physical law or verbal rate description into calculus notation. For instance, 'the rate of decay is proportional to the mass remaining' becomes dmdt=−km\frac{dm}{dt} = -km, where k>0k > 0.
  3. Computing solutions: Separate variables, integrate using standard calculus techniques, and determine integration constants using initial or boundary conditions.
  4. Evaluating and reporting: Check whether the mathematical output makes physical sense. Check that the sign and magnitude are realistic, test limiting behaviour as t→∞t \to \infty, check sensitivity to parameters, and compare predictions with experimental or historical data.

First-Order Separable Equations and Integration Tools

A first-order differential equation has a first derivative as its highest derivative. An equation is separable if it can be written with the variables split on either side of the equals sign:

dydx=f(x)g(y)  ⟹  1g(y) dy=f(x) dx\frac{dy}{dx} = f(x)g(y) \implies \frac{1}{g(y)}\,dy = f(x)\,dx

Integrating both sides produces a general solution containing an arbitrary constant +C+ C. Given initial conditions (such as y=y0y = y_0 when x=x0x = x_0), evaluate CC to produce the unique particular solution.

Applying definite integration limits directly to match the initial and final states avoids sign slips and constant-of-integration errors:

∫y0y1g(y) dy=∫x0xf(x) dx\int_{y_0}^{y} \frac{1}{g(y)}\,dy = \int_{x_0}^{x} f(x)\,dx

Essential Standard Integrals

  • ∫1y dy=ln⁡∣y∣+C\int \frac{1}{y}\,dy = \ln|y| + C
  • ∫1ay+b dy=1aln⁡∣ay+b∣+C\int \frac{1}{ay + b}\,dy = \frac{1}{a}\ln|ay + b| + C
  • ∫ya2+y2 dy=12ln⁡(a2+y2)+C\int \frac{y}{a^2 + y^2}\,dy = \frac{1}{2}\ln(a^2 + y^2) + C
  • ∫1a2+y2 dy=1atan⁡−1(ya)+C\int \frac{1}{a^2 + y^2}\,dy = \frac{1}{a}\tan^{-1}\left(\frac{y}{a}\right) + C
  • ∫1a2−y2 dy=sin⁡−1(ya)+C\int \frac{1}{\sqrt{a^2 - y^2}}\,dy = \sin^{-1}\left(\frac{y}{a}\right) + C
  • Partial fractions: 1y(K−y)=1K(1y+1K−y)\frac{1}{y(K - y)} = \frac{1}{K}\left(\frac{1}{y} + \frac{1}{K - y}\right), which integrates to 1K(ln⁡∣y∣−ln⁡∣K−y∣)+C=1Kln⁡∣yK−y∣+C\frac{1}{K}(\ln|y| - \ln|K - y|) + C = \frac{1}{K}\ln\left|\frac{y}{K - y}\right| + C.

Verifying a Solution

When an exam question asks you to show that a given function satisfies a differential equation, do not attempt to solve the equation from scratch. Differentiate the given function the required number of times and substitute directly into the differential equation.

For example, to show that x=Asin⁡(ωt+ε)x = A\sin(\omega t + \varepsilon) satisfies d2xdt2=−ω2x\frac{d^2x}{dt^2} = -\omega^2 x:

dxdt=Aωcos⁡(ωt+ε)\frac{dx}{dt} = A\omega \cos(\omega t + \varepsilon)d2xdt2=−Aω2sin⁡(ωt+ε)=−ω2[Asin⁡(ωt+ε)]=−ω2x\frac{d^2x}{dt^2} = -A\omega^2 \sin(\omega t + \varepsilon) = -\omega^2 [A\sin(\omega t + \varepsilon)] = -\omega^2 x

Strand 4 Continuous Rate Models

Many real-world phenomena follow the conservation principle: rate of change = rate in − rate out.

Exponential Growth, Decay, and Finance

  • Radioactive decay: dNdt=−kN\frac{dN}{dt} = -kN integrates to N(t)=N0e−ktN(t) = N_0 e^{-kt}. The half-life is t1/2=ln⁡2kt_{1/2} = \frac{\ln 2}{k}.
  • Continuous compounding: If an account balance BB earns nominal interest rate rr compounded continuously, dBdt=rB\frac{dB}{dt} = rB, so B(t)=B0ertB(t) = B_0 e^{rt} with doubling time td=ln⁡2rt_d = \frac{\ln 2}{r}.

Newton's Law of Cooling

Newton's law of cooling states that the rate of change of temperature is proportional to the difference between the body's temperature TT and the surrounding ambient temperature TsT_s:

dTdt=−k(T−Ts),k>0\frac{dT}{dt} = -k(T - T_s), \quad k > 0

Separating variables gives ln⁡∣T−Ts∣=−kt+C\ln|T - T_s| = -kt + C, which simplifies to T(t)=Ts+(T0−Ts)e−ktT(t) = T_s + (T_0 - T_s)e^{-kt}. As t→∞t \to \infty, e−kt→0e^{-kt} \to 0, so T→TsT \to T_s.

Restricted (Logistic) Growth and Spread of Disease

Unrestricted growth dPdt=rP\frac{dP}{dt} = rP predicts infinite population. In reality, food and space impose a carrying capacity KK:

dPdt=rP(1−PK)\frac{dP}{dt} = rP\left(1 - \frac{P}{K}\right)

When PP is small, the bracket is close to 11 (rapid near-exponential growth). As P→KP \to K, the growth rate drops to zero. Separating variables requires partial fractions:

∫KP(K−P) dP=∫r dt  ⟹  ln⁡(PK−P)=rt+C  ⟹  P(t)=K1+Ae−rt\int \frac{K}{P(K - P)}\,dP = \int r\,dt \implies \ln\left(\frac{P}{K - P}\right) = rt + C \implies P(t) = \frac{K}{1 + Ae^{-rt}}

Setting dPdt=0\frac{dP}{dt} = 0 gives two equilibria: P=0P = 0 (an unstable equilibrium) and P=KP = K (a stable equilibrium).

In an epidemic among a closed population of NN individuals, if II are infected and N−IN - I are susceptible, transmission depends on interactions between both groups: dIdt=kI(N−I)\frac{dI}{dt} = kI(N - I). This is identical to the logistic model with carrying capacity NN. The infection spreads fastest when I=N2I = \frac{N}{2}, because the product I(N−I)I(N - I) reaches its maximum there.

Harvesting Models

When a population growing at rate kPkP suffers constant harvesting HH (such as logging or fishing), dPdt=kP−H=k(P−Hk)\frac{dP}{dt} = kP - H = k\left(P - \frac{H}{k}\right). The value P∗=HkP^* = \frac{H}{k} is an unstable equilibrium. If P0>HkP_0 > \frac{H}{k}, the stock expands indefinitely. If P0<HkP_0 < \frac{H}{k}, harvesting outstrips reproduction and the population collapses to zero in finite time.

Variable Forces and Kinematics (Strand 3)

When force varies with speed, position, or time, acceleration is not constant. You cannot use the constant-acceleration formulae (v=u+atv = u + at, s=ut+12at2s = ut + \frac{1}{2}at^2, v2=u2+2asv^2 = u^2 + 2as). Instead, use Newton's Second Law: ∑F=ma\sum F = ma.

Choosing the Expression for Acceleration

  • If the question connects velocity and time (vv and tt): use a=dvdta = \frac{dv}{dt}.
  • If the question connects velocity and displacement (vv and ss): use the chain rule form a=vdvdsa = v\frac{dv}{ds}.

Checklist for 'Show That' Mechanics Questions

  1. Draw a clear diagram, showing all forces and marking the chosen positive direction.
  2. Look at the printed target: if displacement ss appears, use a=vdvdsa = v\frac{dv}{ds}; if time tt appears, use a=dvdta = \frac{dv}{dt}.
  3. Write ∑F=ma\sum F = ma, giving every force its correct algebraic sign.
  4. Divide across by mm. When resistance is given as kmvkmv, the mass mm cancels immediately.
  5. Substitute numerical values such as g=9.8g = 9.8 only when the target equation contains specific numbers (such as 29.429.4 or 392392).
  6. Rearrange algebraically until your equation matches the required examination line.

Terminal Velocity and Fluid Forces

An object moving through a fluid experiences its downward weight mgmg, an upward buoyancy force (upthrust) if submerged, and a resistive drag force opposing motion. For an object falling vertically downwards under quadratic drag kv2kv^2:

mdvdt=mg−kv2m\frac{dv}{dt} = mg - kv^2

Terminal velocity occurs when the forces balance so acceleration becomes zero: mg−kv2=0  ⟹  vT=mgkmg - kv^2 = 0 \implies v_T = \sqrt{\frac{mg}{k}}. With linear drag kvkv, setting mg−kv=0mg - kv = 0 gives vT=mgkv_T = \frac{mg}{k}. Always find terminal velocity by setting acceleration to zero in your equation of motion rather than quoting a memorised formula.

A falling particle has equal upward quadratic drag and downward weight, while its velocity remains downward.
A falling particle has equal upward quadratic drag and downward weight, while its velocity remains downward.

Second-Order Equations Reducible to First Order (Higher Level)

At Higher Level, equations involving second derivatives can be solved when they reduce to first order by substitution.

Case 1: Displacement Missing

When an equation contains only d2sdt2\frac{d^2s}{dt^2}, dsdt\frac{ds}{dt}, and tt, let v=dsdtv = \frac{ds}{dt} and dvdt=d2sdt2\frac{dv}{dt} = \frac{d^2s}{dt^2}. Solve the resulting first-order equation for v(t)v(t), then integrate v=dsdtv = \frac{ds}{dt} with respect to tt to find displacement s(t)s(t).

Case 2: Time Missing (Force Depending on Position)

When acceleration is given as a function of position xx, substitute a=vdvdxa = v\frac{dv}{dx}:

vdvdx=f(x)  ⟹  ∫v dv=∫f(x) dxv\frac{dv}{dx} = f(x) \implies \int v\,dv = \int f(x)\,dx

For a particle in Simple Harmonic Motion with d2xdt2=−ω2x\frac{d^2x}{dt^2} = -\omega^2 x released from rest at x=Ax = A:

∫0vv dv=−ω2∫Axx dx  ⟹  v22=−ω22(x2−A2)  ⟹  v2=ω2(A2−x2)\int_0^v v\,dv = -\omega^2 \int_A^x x\,dx \implies \frac{v^2}{2} = -\frac{\omega^2}{2}(x^2 - A^2) \implies v^2 = \omega^2(A^2 - x^2)

To find displacement xx as a function of time, replace vv by dxdt\frac{dx}{dt}. Since the particle moves inward from x=Ax = A, choose the negative root:

dxdt=−ωA2−x2  ⟹  ∫1A2−x2 dx=−∫ω dt\frac{dx}{dt} = -\omega\sqrt{A^2 - x^2} \implies \int \frac{1}{\sqrt{A^2 - x^2}}\,dx = -\int \omega\,dtsin⁡−1(xA)=−ωt+C\sin^{-1}\left(\frac{x}{A}\right) = -\omega t + C

At t=0t = 0, x=Ax = A, giving sin⁡−1(1)=C  ⟹  C=π2\sin^{-1}(1) = C \implies C = \frac{\pi}{2}. Therefore xA=sin⁡(π2−ωt)=cos⁡(ωt)\frac{x}{A} = \sin\left(\frac{\pi}{2} - \omega t\right) = \cos(\omega t), leading to the classic result x=Acos⁡(ωt)x = A\cos(\omega t).

Qualitative Analysis and Numerical Methods

When an exact algebraic solution cannot be found easily, qualitative and numerical methods describe how the system behaves.

Direction Fields and Stability

A direction field plots small line segments with slope dydx=f(x,y)\frac{dy}{dx} = f(x, y) on a coordinate grid. Solution curves follow these slope segments tangentially.

For example, examine dydx=y(2−y)\frac{dy}{dx} = y(2 - y):

  • Along y=0y = 0 and y=2y = 2, the slope is 00. These horizontal lines represent the equilibrium solutions.
  • At y=1y = 1, the slope reaches its maximum positive value, 1(2−1)=11(2 - 1) = 1.
  • For any starting value 0<y<20 < y < 2, the slope is positive, so solutions increase steepest at y=1y = 1 before flattening out smoothly as they approach y=2y = 2.

An equilibrium is stable if curves approach it from both sides, and unstable if curves diverge away from it.

For y′ = y(2 − y), solution curves approach y = 2 from either side and move away from y = 0 as x increases.
For y′ = y(2 − y), solution curves approach y = 2 from either side and move away from y = 0 as x increases.

Euler's Method

Euler's method follows the solution curve in small steps of fixed width hh. At each point you work out the slope from the differential equation and move along that straight tangent line to the next point:

xn+1=xn+h,yn+1=yn+h⋅f(xn,yn)x_{n+1} = x_n + h, \qquad y_{n+1} = y_n + h \cdot f(x_n, y_n)

This simple recurrence relation is readily implemented in digital tools and spreadsheets. Halving the step size hh roughly halves the truncation error. Because tangent lines sit below curves that are concave upward (d2ydx2>0\frac{d^2y}{dx^2} > 0), Euler's method systematically underestimates solutions on curves that bend upwards.

A tangent step of horizontal width h ends below a concave-up solution curve, illustrating a local underestimate.
A tangent step of horizontal width h ends below a concave-up solution curve, illustrating a local underestimate.

Key terms

Differential Equation
An equation containing an unknown function and one or more of its derivatives, used to model continuous change.
Order
The order of the highest derivative appearing in the equation. For example, dv/dt = -(g + kv) is first order; d²x/dt² = -ω²x is second order.
Separation of Variables
The algebraic technique of rearranging a first-order differential equation so that all terms containing one variable are on one side of the equals sign and all terms containing the other variable are on the opposite side.
General Solution
A solution to a differential equation that includes all possible arbitrary constants of integration, representing an infinite family of curves.
Particular Solution
A specific solution obtained from the general solution by using given initial or boundary values to determine exact numerical values for the arbitrary constants.
Terminal Velocity
The steady maximum speed reached by an object in a fluid when resistive drag and buoyancy forces balance the driving force, resulting in zero acceleration.
Equilibrium Solution
A constant value of the dependent variable where its derivative equals zero, meaning the system experiences no rate of change.
Stable Equilibrium
An equilibrium state where small disturbances decay over time, causing neighbouring solution curves to converge back towards the equilibrium.
Unstable Equilibrium
An equilibrium state where small disturbances grow over time, causing neighbouring solution curves to diverge away from the equilibrium.
Carrying Capacity
The maximum sustainable population that a given environment can support, denoted by K in the logistic growth model.
Half-Life
The time required for a decaying quantity to reduce to exactly half its initial value, calculated as t½ = (ln 2)/k.
Euler's Method
A numerical stepping method that approximates the solution curve of a differential equation along successive tangent lines using yn+1 = yn + h · f(xn, yn).
Relating displacement, velocity and acceleration
The calculus connections linking position s, speed v, and acceleration a, selecting a = dv/dt when working with time and a = v(dv/ds) when working with displacement.

Check yourself

  1. Which form of acceleration should you substitute into F = ma when asked to find the distance an object travels before coming to rest?

    Substitute a = v(dv/ds). This eliminates time t and allows direct integration between velocity v and displacement s.

  2. A radioactive sample falls to one third of its initial mass in 14 hours. Find the decay constant k and the half-life of the isotope.

    Using N = N₀e^(-kt): 1/3 = e^(-14k) => k = (ln 3)/14 ≈ 0.0785 h⁻¹. The half-life is t½ = (ln 2)/k = (ln 2)/0.0785 ≈ 8.83 hours.

  3. Show that the logistic solution P(t) = K / (1 + Ae^(-rt)) approaches K as t -> ∞, and explain the physical meaning of K.

    As t -> ∞, e^(-rt) -> 0, so P(t) -> K / (1 + 0) = K. Physically, K represents the carrying capacity: the maximum sustainable population the environment can support.

  4. In a school of N = 1000 students, the spread of a virus is modelled by dI/dt = 0.0004I(1000 - I). At what number of infected students is the virus spreading fastest, and what is that maximum rate?

    The rate is a quadratic in I that reaches its peak at I = N/2 = 500. The maximum infection rate is 0.0004(500)(500) = 100 new cases per day.

  5. Use Euler's method with step size h = 0.1 to find an estimate for y(0.2) given dy/dx = x + y and y(0) = 1.

    At (x₀, y₀) = (0, 1), slope = 0 + 1 = 1. Then y₁ = 1 + 0.1(1) = 1.1 at x₁ = 0.1. At (0.1, 1.1), slope = 0.1 + 1.1 = 1.2. Then y₂ = 1.1 + 0.1(1.2) = 1.22 at x₂ = 0.2.

You've read the theory
Now turn it into exam marks.

Practise differential equations as questions and flashcards in Studytok, with explanations when you get stuck.

Continue for free →
  1. ✓
    Read the notes
    6 sections
  2. 2
    Test yourself
    Questions marked instantly
  3. 3
    Keep revising
    Flashcards and exam-style practice