First Order Homogeneous Equations
Additional Examples
- We divide the right hand side top and bottom by $ x$ to write the right hand side as a function of $ y/x$ $$ \frac{dy}{dx} = \frac{3 + 5(y/x)}{1 - (y/x)} $$
- Substitute $ v=y/x,$ hence $ y=vx$ and by the product rule, $ dy/dx = v + x dv/dx$ $$ v + x \frac{dv}{dx} = \frac{3 + 5v}{1 - v} $$
- Solve this separable equation
- Separate the variables. $$ x \frac{dv}{dx} = \frac{3 + 5v}{1 - v} - v = \frac{3 + 4v + v^2}{1 - v} $$ $$ \frac{(1 - v)dv}{3 + 4v + v^2} = \frac{dx}{x} $$
- Integrate both sides.
We use partial fractions to rewrite $$ \frac{1 - v}{3 + 4v + v^2} = \frac{1}{v + 1}- \frac{2}{v + 3} $$ We can then integrate both sides of the equation in substep i to get $$ \log|v + 1| - 2\log|v + 3| = \log|x| + C $$
- Solve for v
We exponentiate both sides to get $$ \frac{(v + 1)^{}}{(v + 3)^{2}} = kx $$ Which we can also write as $$ (v + 1)^{} = kx(v + 3)^{2} $$
- Check for singular solutions.
We divided by $3 + 4v + v^2$ which is 0 when $ v = -1$ and $ v = -3.$ We check these are both solutions (though $ v = -1$ is already in the general solution when $ k = 0$).
- Back substitute.
$ v = y/x$ so our general solution becomes $$ (y/x + 1)^{} = kx(y/x + 3)^{2} $$ Multiplying both sides by $x^{}$ we can simplify this to $$ (y + x)^{} = k(y + 3x)^{2} $$ Finally, our singular solutions are $ y/x = -1$ and $ y/x = -3$, which simplify to $ y = -x$ and $ y = -3x.$
Now we plug in our initial value, $ y(2) = -7.$ We get $ (-5)^{} = k(-1)^{2}$ and we solve this for $ k = -5,$ so the solution to the initial value problem is $$ (y + x) = -5(y + 3x)^{2} $$ You may reload this page to generate additional examples.
If you have any problems with this page, please contact bennett@ksu.edu.
©1994-2025 Andrew G. Bennett