Calculus

Differential Equations for Dummies

Equations whose answer is a function: separable equations, the integrating factor, damping in brief, and how adding noise to an ODE gives an SDE.

What to remember

  • A differential equation's unknown is a function. An initial condition picks one solution out of the family, and substituting a guess checks it.
  • y′=ryy' = ry gives y=y0erty = y_0 e^{rt}, with doubling time ln⁡2/r\ln 2/r (the rule of 70).
  • Separable, y′=g(t)h(y)y' = g(t)h(y): put the yy's on one side and integrate both sides. Constant solutions where h(y)=0h(y) = 0 are the equilibria, and dividing by h(y)h(y) can lose them.
  • Linear, y′+p(t)y=q(t)y' + p(t)y = q(t): multiply by μ=e∫p dt\mu = e^{\int p\,dt} so the left side becomes (μy)′(\mu y)', then integrate once. With constant p>0p > 0 the solution relaxes to q/pq/p.
  • x′′+bx′+kx=0x'' + bx' + kx = 0: try este^{st}. Comparing b2b^2 with 4k4k decides overdamped, critically damped or underdamped. The same guess solves recurrences like gambler's ruin.
  • An SDE is an ODE plus a random kick of size σΔt\sigma\sqrt{\Delta t} each step. With linear drift, E[X]E[X] still solves the ODE; nonlinear functions of XX pick up an Itô correction.
Read the lessonDifferential Equations, with a checkpoint at the end.