Mathematics Department

Math 340 Home, Textbook Contents, Online Homework Home

Warning: MathJax requires JavaScript to process the mathematics on this page.
If your browser supports JavaScript, be sure it is enabled.

First Order Homogeneous Equations

Additional Examples

Solve the following initial value problem, $$ \begin{align} \frac{dy}{dx} &= \frac{2x + y}{4x - y} \\ y(-2) &= 1 \end{align} $$ This is a homogeneous equation. First we find the general solution following the paradigm.

  1. 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{2 + (y/x)}{4 - (y/x)} $$
  2. Substitute $ v=y/x,$ hence $ y=vx$ and by the product rule, $ dy/dx = v + x dv/dx$ $$ v + x \frac{dv}{dx} = \frac{2 + v}{4 - v} $$
  3. Solve this separable equation

    1. Separate the variables. $$ x \frac{dv}{dx} = \frac{2 + v}{4 - v} - v = \frac{2 - 3v + v^2}{4 - v} $$ $$ \frac{(4 - v)dv}{2 - 3v + v^2} = \frac{dx}{x} $$
    2. Integrate both sides.

      We use partial fractions to rewrite $$ \frac{4 - v}{2 - 3v + v^2} = \frac{2}{v - 2}- \frac{3}{v - 1} $$ We can then integrate both sides of the equation in substep i to get $$ 2\log|v - 2| - 3\log|v - 1| = \log|x| + C $$

    3. Solve for v

      We exponentiate both sides to get $$ \frac{(v - 2)^{2}}{(v - 1)^{3}} = kx $$ Which we can also write as $$ (v - 2)^{2} = kx(v - 1)^{3} $$

    4. Check for singular solutions.

      We divided by $2 - 3v + v^2$ which is 0 when $ v = 2$ and $ v = 1.$ We check these are both solutions (though $ v = 2$ is already in the general solution when $ k = 0$).

  4. Back substitute.
  5. $ v = y/x$ so our general solution becomes $$ (y/x - 2)^{2} = kx(y/x - 1)^{3} $$ Multiplying both sides by $x^{2}$ we can simplify this to $$ (y - 2x)^{2} = k(y - x)^{3} $$ Finally, our singular solutions are $ y/x = 2$ and $ y/x = 1$, which simplify to $ y = 2x$ and $ y = x.$

Now we plug in our initial value, $ y(-2) = 1.$ We get $ (5)^{2} = k(3)^{3}$ and we solve this for $ k = 25/27,$ so the solution to the initial value problem is $$ (y - 2x)^{2} = 25/27(y - x)^{3} $$ 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