Back to Module 1

Module 1 Study Guide

Introduction to Differential Equations

Differential Equations • Learn Without Walls

1. What Is a Differential Equation?

Differential Equation (DE): An equation involving an unknown function and one or more of its derivatives.

ODE vs PDE

TypeVariablesDerivativesExample
ODEOne independent variableOrdinary (d/dx)y'' + 3y = 0
PDETwo or more independent variablesPartial (∂/∂x, ∂/∂t)u_t = k u_xx (heat eqn)

Order

Order = highest derivative appearing in the equation.
y''' + 2y' = x is third order. (y')³ + y = 0 is first order (power ≠ order).

Linearity

Linear ODE: a_n(x)y^(n) + ... + a_1(x)y' + a_0(x)y = g(x). The unknown y and all its derivatives appear to the first power only, with no products of y and its derivatives.
EquationLinear?Why?
y'' + 5y = sin xYesy terms to first power
y' + y² = 0Noy² term
yy' = xNoProduct of y and y'

Solutions

General solution: Family containing n arbitrary constants for an n-th order ODE.
Particular solution: One specific member (constants determined by initial/boundary conditions).
IVP: DE + initial conditions: y(x_0)=y_0 (and derivatives for higher order).
To verify a solution: substitute it and its derivatives into the DE and confirm identity.

2. Direction Fields

Direction field: At each point (x,y), draw a segment with slope f(x,y). Solution curves follow these slopes.
Isocline: Curve where all slopes equal a constant c. Found by setting f(x,y) = c.

Autonomous Equations

dy/dx = f(y) -- right side depends only on y. Direction field has identical columns.

Equilibria

Equilibrium: constant solution y = c where f(c) = 0. Stable if nearby solutions approach; unstable if they flee.

3. Existence and Uniqueness

Picard-Lindelof Theorem: If f(x,y) and df/dy are continuous in a rectangle around (x_0, y_0), then the IVP dy/dx = f(x,y), y(x_0) = y_0 has a unique solution on some interval containing x_0.
ConditionGuarantees
f continuousExistence
f and df/dy continuousExistence AND Uniqueness
Classic failure: dy/dx = y^(1/3), y(0)=0. df/dy = (1/3)y^(-2/3) is undefined at y=0. Multiple solutions exist: y=0 and y=(2x/3)^(3/2).

4. Euler's Method

x_(n+1) = x_n + h
y_(n+1) = y_n + h * f(x_n, y_n)
Geometric idea: follow the tangent line for distance h, then recompute the slope. Global error is O(h).

Algorithm Steps

  1. Start at (x_0, y_0).
  2. Compute slope: m = f(x_n, y_n).
  3. Step forward: x_(n+1) = x_n + h, y_(n+1) = y_n + h*m.
  4. Repeat until reaching target x.
Smaller h = more steps = better accuracy (but more computation). Halving h roughly halves the global error.