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?

Try it yourself first.
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.

Try it yourself first.
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.

Try it yourself first.
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?

Try it yourself first.
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?

Try it yourself first.
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
20 of 20 topics selected