Bernoulli's Equation
Solving
- Change variables:
- Differentiate both sides wrt
where , and simplify $$\frac{1}{1-n}\frac{dv}{dx} = \frac{1}{y^n}\frac{dy}{dx}$$ - Divide both sides of the original ODE by
, simplify $$\frac{1}{y^n}\frac{dy}{dx} + P(x) y^{1-n} = Q(x)$$ - Substitute with change to
variable to obtain first order ODE - Solve ODE for
- Substitute
to return to original variables