Separable equations
Weeks 1-2You can split an equation so all the y parts sit on one side and all the x parts on the other, then integrate. You can also use a starting value to pin down the constant.
- Separate dy/dx = xy into dy/y = x dx.
- Integrate both sides and then solve for y.
- Apply a starting condition such as y(0) = 2.
Worked example
Solve dy/dx = xy with y(0) = 2
- Separate: dy/y = x dx
- Integrate: ln of the size of y = x squared / 2 + C
Answery = 2 times e to the power (x squared / 2)
Most common mistakeIntegrating dy/y as 1/y instead of a logarithm: that leads to y = 1/(x squared / 2 + C), which does not satisfy the original equation.