Topic 15

Separable Differential Equations

A is separable when it can be written dydx=f(x) g(y)\dfrac{dy}{dx} = f(x)\,g(y). Move every yy to the left and every xx to the right: ∫dyg(y)=∫f(x) dx\displaystyle\int \dfrac{dy}{g(y)} = \int f(x)\,dx. Integrate both sides with one +C+C. Only then use the .

5 kinds of question. Open the one you are stuck on.

1

Check whether a function is a solution of a differential equation

e.g. “decide whether the function is a solution of the differential equation”
  1. 1
    Differentiate the proposed yy
  2. 2
    Substitute yy and y′y' into the equation
  3. 3
    Simplify each side separately
  4. 4
    Same for every xx: a solution. Otherwise: not.

Remember: Plug in, simplify, compare.

See it in a problem3 worked examples

Is y=4e3x−2y = 4e^{3x} - 2 a solution of dydx=3y+6\dfrac{dy}{dx} = 3y + 6?

  1. 1
    Differentiate the proposed yy

    y′=12e3xy' = 12e^{3x}.

  2. 2
    Substitute yy and y′y' into the equation

    Left: 12e3x12e^{3x}. Right: 3(4e3x−2)+63\left(4e^{3x} - 2\right) + 6.

  3. 3
    Simplify each side separately

    Right: 12e3x−6+6=12e3x12e^{3x} - 6 + 6 = 12e^{3x}.

  4. 4
    Same for every xx: a solution. Otherwise: not.

    Both sides are 12e3x12e^{3x} for every xx.

Answer:

Yes, it is a solution.

Common mistakes2
  • Checking at a single xx. A solution must work for every xx in its domain.
  • Assuming you can add a constant: if yy solves y′=xyy' = xy, then y+Cy + C usually does not, because yy appears on the right.
2

Solve a separable differential equation

e.g. “Find the general solution of the differential equation y′=…y' = \ldots”
  1. 1
    Write it as dydx=f(x) g(y)\dfrac{dy}{dx} = f(x)\,g(y)

    Factor if needed: ex+y=exeye^{x + y} = e^x e^y. A right side like x+yx + y is not separable.

  2. 2
    Separate: dyg(y)=f(x) dx\dfrac{dy}{g(y)} = f(x)\,dx

    Each yy goes with dydy, each xx with dxdx. If g(c)=0g(c) = 0, note the constant solution y=cy = c.

  3. 3
    Integrate both sides; add one +C+C
  4. 4
    Solve for yy if you can

Remember: y's left, x's right, integrate, one C.

See it in a problem3 worked examples

Find the general solution of dydx=6x2y2\dfrac{dy}{dx} = 6x^2y^2.

  1. 1
    Write it as dydx=f(x) g(y)\dfrac{dy}{dx} = f(x)\,g(y)

    f(x)=6x2f(x) = 6x^2, g(y)=y2g(y) = y^2.

  2. 2
    Separate: dyg(y)=f(x) dx\dfrac{dy}{g(y)} = f(x)\,dx

    dyy2=6x2 dx\dfrac{dy}{y^2} = 6x^2\,dx (and y=0y = 0 is a constant solution).

  3. 3
    Integrate both sides; add one +C+C

    −1y=2x3+C-\dfrac{1}{y} = 2x^3 + C.

  4. 4
    Solve for yy if you can

    y=−12x3+Cy = -\dfrac{1}{2x^3 + C}.

Answer:

y=−12x3+Cy = -\dfrac{1}{2x^3 + C} (and y=0y = 0)

Common mistakes3
  • Adding a constant on each side. One +C+C is enough: C2−C1C_2 - C_1 is just another constant.
  • Adding +C+C after solving for yy: y=−12x3+Cy = -\dfrac{1}{2x^3} + C is wrong. The CC goes in before you rearrange.
  • From log⁡∣y∣=h(x)+C\log|y| = h(x) + C, writing y=eh(x)+eCy = e^{h(x)} + e^C. It is y=Aeh(x)y = Ae^{h(x)} with A=±eCA = \pm e^C.
3

Solve a separable initial value problem

e.g. “Find the solution to the separable initial value problem dydx=…\dfrac{dy}{dx} = \ldots, y(0)=…y(0) = \ldots”
  1. 1
    Separate and integrate both sides, with +C+C
  2. 2
    Plug in the initial condition to find CC
  3. 3
    Solve for yy; pick the sign that fits the condition
  4. 4
    Check that y(x0)y(x_0) gives the given value

Remember: Find C first, then solve for y.

See it in a problem3 worked examples

Solve dydx=xy\dfrac{dy}{dx} = \dfrac{x}{y} with y(0)=−3y(0) = -3.

  1. 1
    Separate and integrate both sides, with +C+C

    y dy=x dxy\,dy = x\,dx, so y22=x22+C\dfrac{y^2}{2} = \dfrac{x^2}{2} + C.

  2. 2
    Plug in the initial condition to find CC

    x=0x = 0, y=−3y = -3: 92=C\dfrac{9}{2} = C.

  3. 3
    Solve for yy; pick the sign that fits the condition

    y2=x2+9y^2 = x^2 + 9, and y(0)<0y(0) < 0, so y=−x2+9y = -\sqrt{x^2 + 9}.

  4. 4
    Check that y(x0)y(x_0) gives the given value

    y(0)=−9=−3y(0) = -\sqrt{9} = -3.

Answer:

y=−x2+9y = -\sqrt{x^2 + 9}

Common mistakes2
  • Taking the ++ square root by habit. If y(0)=−3y(0) = -3, the answer is y=−…y = -\sqrt{\ldots}.
  • Writing log⁡(ex+C)=log⁡ex+log⁡C\log(e^x + C) = \log e^x + \log C. A log of a sum does not split.
4

Solve a logistic differential equation using partial fractions

e.g. “dPdt=aP−P2\dfrac{dP}{dt} = aP - P^2, P(0)=…P(0) = \ldots. Solve for P(t)P(t)”
  1. 1
    Separate: dP(factor)(factor)=k dt\dfrac{dP}{(\text{factor})(\text{factor})} = k\,dt
  2. 2
    Split the left side with partial fractions
  3. 3
    Integrate: logs on the left, kt+Ckt + C on the right
  4. 4
    Use the initial value, then solve for PP

    Drop the absolute value with the sign the initial value gives.

  5. 5
    For the long run, let t→∞t \to \infty

Remember: Partial fractions turn it into two logs.

See it in a problem2 worked examples

Solve dPdt=3P−P2\dfrac{dP}{dt} = 3P - P^2 with P(0)=1P(0) = 1. What happens to PP as t→∞t \to \infty?

  1. 1
    Separate: dP(factor)(factor)=k dt\dfrac{dP}{(\text{factor})(\text{factor})} = k\,dt

    dPP(3−P)=dt\dfrac{dP}{P(3 - P)} = dt.

  2. 2
    Split the left side with partial fractions

    1P(3−P)=13(1P+13−P)\dfrac{1}{P(3 - P)} = \dfrac{1}{3}\left(\dfrac{1}{P} + \dfrac{1}{3 - P}\right).

  3. 3
    Integrate: logs on the left, kt+Ckt + C on the right

    13log⁡∣P3−P∣=t+C\dfrac{1}{3}\log\left|\dfrac{P}{3 - P}\right| = t + C.

  4. 4
    Use the initial value, then solve for PP

    P(0)=1P(0) = 1 gives P3−P=12e3t\dfrac{P}{3 - P} = \dfrac{1}{2}e^{3t} (positive), so P=31+2e−3tP = \dfrac{3}{1 + 2e^{-3t}}.

  5. 5
    For the long run, let t→∞t \to \infty

    e−3t→0e^{-3t} \to 0, so P→3P \to 3.

Answer:

P(t)=31+2e−3tP(t) = \dfrac{3}{1 + 2e^{-3t}}, and P→3P \to 3

Common mistakes2
  • Losing the sign inside log⁡∣…∣\log|\ldots|: between the two roots, a ratio like x−4x−1\dfrac{x - 4}{x - 1} is negative.
  • Forgetting the constant from partial fractions: 1P(3−P)=13(1P+13−P)\dfrac{1}{P(3 - P)} = \dfrac{1}{3}\left(\dfrac{1}{P} + \dfrac{1}{3 - P}\right).
5

Solve a differential equation word problem

e.g. “decreasing at a rate proportional to the square of the velocity”
  1. 1
    Translate the words into dydt=…\dfrac{dy}{dt} = \ldots

    "Proportional to" means k×k \times. "Decreasing" means a minus sign.

  2. 2
    Solve the separable equation
  3. 3
    Use the data: find CC first, then kk
  4. 4
    Answer the question asked, with units

Remember: Translate, solve, fit, answer.

See it in a problem3 worked examples

A drug leaves the blood at a rate proportional to the amount QQ present. Its is 44 hours. Starting from 200200 mg, when is 2525 mg left?

  1. 1
    Translate the words into dydt=…\dfrac{dy}{dt} = \ldots

    dQdt=−kQ\dfrac{dQ}{dt} = -kQ.

  2. 2
    Solve the separable equation

    log⁡∣Q∣=−kt+C\log|Q| = -kt + C, so Q=Ae−ktQ = Ae^{-kt}.

  3. 3
    Use the data: find CC first, then kk

    Q(0)=200Q(0) = 200 gives A=200A = 200. Q(4)=100Q(4) = 100 gives e−4k=12e^{-4k} = \tfrac{1}{2}, so k=log⁡24k = \dfrac{\log 2}{4}.

  4. 4
    Answer the question asked, with units

    25=200e−kt25 = 200e^{-kt}: e−kt=18=(12)3e^{-kt} = \tfrac{1}{8} = \left(\tfrac{1}{2}\right)^3, so t=3×4=12t = 3 \times 4 = 12.

Answer:

After 12 hours

Common mistakes2
  • Forgetting the minus sign on a decreasing quantity, so kk comes out negative.
  • Stopping at the formula when the question asks "when?" or "how much?".

Need the formulas? Must memorize · Flashcards

Found this helpful? Leave us a review on Google ↗Spotted a mistake?

Which topics are you reviewing?

The topic list, Flashcards, Must memorize and Exam words will only show these. Change it any time with the Topics button above the topic list.

The integral
Techniques of integration
Applications
Sequences & series
7 of 20 topics selected