What is an ODE?
An ordinary differential equation (ODE) relates an unknown function to its derivatives:
F(x,y,dxdy,dx2d2y,…)=0
Order: the highest derivative appearing.
Linear vs nonlinear: Linear means y and its derivatives appear to the first power only.
Integrable ODEs
The simplest case: dxdy=f(x)
Solution by integration:
y=∫f(x)dx+C
Separable ODEs
Form: dxdy=f(x)g(y)
Method: Separate variables and integrate:
∫g(y)dy=∫f(x)dx

Example: Solve dxdy=xy.
Separate: ydy=xdx
Integrate: ln∣y∣=2x2+C
Solve: y=Aex2/2 where A=±eC.
Linear First Order ODEs
Standard form:
dxdy+P(x)y=Q(x)
Integrating Factor Method
Multiply by integrating factor μ(x)=e∫P(x)dx:
μdxdy+μPy=μQ
The left side is dxd(μy), so:
dxd(μy)=μQ
Integrate:
y=μ1∫μQdx+μC
Example: Solve y′+3y=e−2x.
P=3, so μ=e3x.
dxd(e3xy)=e3xe−2x=ex
e3xy=ex+C
y=e−2x+Ce−3x
Bernoulli Equation
Form: dxdy+P(x)y=Q(x)yn
Method: Substitute z=y1−n to transform to linear.
Differentiating: dxdz=(1−n)y−ndxdy
Substituting gives a linear ODE in z:
dxdz+(1−n)Pz=(1−n)Q
Example: Solve y′−xy=xy2.
Here n=2. Let z=y−1, so dxdz=−y−2y′.
−y2dxdz−xyy−2=x
−dxdz−xz=x
dxdz+xz=−x
This is linear with P=x. The integrating factor μ=ex2/2.
Solve: z=−1+Ce−x2/2, so y=−1+Ce−x2/21.
Homogeneous Substitution
Form: dxdy=f(xy)
Method: Let u=xy, so y=ux and dxdy=u+xdxdu.
Substitute:
u+xdxdu=f(u)
dxdu=xf(u)−u
This is now separable.
Exact Equations
An equation dxdy=−Q(x,y)P(x,y) is exact if there exists F(x,y) such that:
∂x∂F=Pand∂y∂F=Q
Test: ∂y∂P=∂x∂Q
Solution: The ODE becomes dF=0, so F(x,y)=C.
Find F by integrating P with respect to x, then matching partial derivatives with Q.
Existence and Uniqueness
For the initial value problem y′=f(x,y), y(x0)=y0:
If f and ∂y∂f are continuous near (x0,y0), then a unique solution exists locally.
Warning: Solutions may not exist for all x (finite-time blow-up).
Why These Methods Matter
- Physical systems often yield ODEs
- The classification tells you which tool to use
- Numerical methods apply when analytical solutions don’t exist
- Understanding behaviour (steady states, stability) comes from the solution structure