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.

Separable Equations

Additional Examples

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

  1. Separate the variables $$ \frac{dy}{y^2 + 5y + 6} = \frac{dx}{x^2 + 2x} $$
  2. Integrate both sides $$ \log|y + 2| - \log|y + 3| = (1/2)\log|x| - (1/2)\log|x + 2| + C $$
  3. Solve for y (if possible)

    We simplify the expression to obtain the general solution $$ \left(\frac{y + 2}{y + 3}\right)^2 = k \frac{x}{x + 2} $$

  4. Check for singular solutions

    We divided by $y^2 + 5y + 6$ which is 0 when $y = -2$ or $y = -3.$ We can check these are both solutions. Now $y = -2$ is already in the general solution (when the constant is 0), but $y = -3$ is a singular solution.

Now we plug in the initial values $x = 3$ and $y = -5$ and solve for the arbitrary constant, which we compute to be $15/4.$ So the solution to the initial value problem is $$\left(\frac{y + 2}{y + 3}\right)^2 = (15/4) \frac{x}{x + 2}.$$

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