Introduction to Differential Equations
ODE: one independent variable (ordinary derivatives)
PDE: two+ independent variables (partial derivatives)
= highest derivative present
Note: (y')^3 is order 1, not 3
y, y', y'',... appear to 1st power only; no products of y terms
Coefficients may depend on x
n-th order ODE has n arbitrary constants
Constants fixed by initial conditions
Substitute y and its derivatives back into the DE; check for identity
Plot slope f(x,y) at grid points
Solution curves follow the flow
Isocline for slope c: f(x,y) = c
Slopes depend only on y (identical columns)
Equilibria: f(c) = 0 gives y = c
Stable: nearby solutions approach
Unstable: nearby solutions flee
| f continuous | f and df/dy continuous |
|---|---|
| Existence guaranteed | Existence AND Uniqueness guaranteed |
Classic failure: dy/dx = y^(1/3), y(0)=0. df/dy undefined at y=0. Multiple solutions.
Local: O(h^2) per step
Global: O(h) over interval
Halving h halves the error
Smaller h = better accuracy