Separable differential equations
Separate the variables, integrate both sides.
In a separable equation you can move all the y’s to one side and all the x’s to the other: dy/dx = g(x)h(y) becomes dy/h(y) = g(x) dx. Integrate both sides, then use the initial condition to find the constant. The equation dy/dt = ky always gives exponential growth or decay: y = y₀e^(kt).
Example: dy/dt = 0.3y, y(0) = 50. Find y(2).
- y = 50e^(0.3t) — Exponential solution
- 50e^(0.6) — t = 2
- 91.11
Why it works: Putting all the y on one side and all the x on the other lets you integrate each side by itself.
Tip: Add the constant of integration right after integrating, before solving for y.