How would you solve:
$$\frac{\mathrm dy}{\mathrm dx} = 2x + y$$
I know how to solve separable equations, but I got stuck on this inseparable one. How should I approach this equation?
How would you solve:
$$\frac{\mathrm dy}{\mathrm dx} = 2x + y$$
I know how to solve separable equations, but I got stuck on this inseparable one. How should I approach this equation?
On
$y'=2x+y\iff y'-y=2x\;$ is a non-homogeneous linear differential equation. The general metod here consists in
$\frac d {dx} (e^{-x}y)=e^{-x} (2x+y-y)=e^{-x}(2x)$. Integrate this equation.