Skip to content
Calculus I / Ordinary Differential Equations

Modelling with Differential Equations and Direction Fields

A differential equation is a constraint on a function and its derivatives. Wherever a rate of change depends on a current state, the natural model is a differential equation. The continuous-compounding growth equation dP/dt=rPdP/dt = rP says "the growth rate of a bank balance is proportional to the current balance" — and its solution P(t)=P0ertP(t) = P_0 e^{rt} is the fundamental formula underlying present-value calculations, bond pricing, and the risk-free discount factor. Before learning to solve ODEs analytically, this lesson shows how to understand their qualitative behaviour geometrically using direction fields — a technique that works even when no closed-form solution exists.
Learning objectives. By the end of this note you should be able to:
  • set up a differential equation from a verbal or financial description;
  • sketch a direction field for a first-order ODE y′=F(x,y)y' = F(x, y);
  • identify equilibrium solutions and their stability;
  • check a proposed solution by substitution.

In this lesson

  1. What is a differential equation?
  2. Building ODE models
  3. Direction fields
  4. Equilibrium solutions
  5. Remark 1 (When direction fields matter)

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or explore the curriculum.