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{8 - 4(y/x)}{-10 - (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{8 - 4v}{-10 - v} $$
- Solve this separable equation
- Separate the variables. $$ x \frac{dv}{dx} = \frac{8 - 4v}{-10 - v} - v = \frac{8 + 6v + v^2}{-10 - v} $$ $$ \frac{(-10 - v)dv}{8 + 6v + v^2} = \frac{dx}{x} $$
- Integrate both sides.
We use partial fractions to rewrite $$ \frac{-10 - v}{8 + 6v + v^2} = \frac{3}{v + 4}- \frac{4}{v + 2} $$ We can then integrate both sides of the equation in substep i to get $$ 3\log|v + 4| - 4\log|v + 2| = \log|x| + C $$
- Solve for v
We exponentiate both sides to get $$ \frac{(v + 4)^{3}}{(v + 2)^{4}} = kx $$ Which we can also write as $$ (v + 4)^{3} = kx(v + 2)^{4} $$
- Check for singular solutions.
We divided by $8 + 6v + v^2$ which is 0 when $ v = -4$ and $ v = -2.$ We check these are both solutions (though $ v = -4$ is already in the general solution when $ k = 0$).
- Back substitute.
$ v = y/x$ so our general solution becomes $$ (y/x + 4)^{3} = kx(y/x + 2)^{4} $$ Multiplying both sides by $x^{3}$ we can simplify this to $$ (y + 4x)^{3} = k(y + 2x)^{4} $$ Finally, our singular solutions are $ y/x = -4$ and $ y/x = -2$, which simplify to $ y = -4x$ and $ y = -2x.$
Now we plug in our initial value, $ y(0) = -9.$ We get $ (-9)^{3} = k(-9)^{4}$ and we solve this for $ k = -1/9,$ so the solution to the initial value problem is $$ (y + 4x)^{3} = -(1/9)(y + 2x)^{4} $$ You may reload this page to generate additional examples.
If you have any problems with this page, please contact bennett@math.ksu.edu.
©2010, 2014 Andrew G. Bennett