Solving Separable Differential Equations | Analysis and Approaches IB Maths notes

Free preview: Solving Separable Differential Equations

What a Differential Equation Is

Analysis and approaches: HL only (AHL 5.18). Applications and interpretation: HL only (AHL 5.14)

Watch: 1-minute explainer

A population of bacteria grows so that, at every moment, its rate of growth is proportional to its size: the more bacteria, the faster they multiply. In symbols, dPdt=kP. That equation tells us how P changes, but what we really want is P itself: how many bacteria after 5 hours? Turning a rule about change into a formula for the quantity is what this note is about.

Words you need

  • A differential equation is an equation that contains a derivative, such as dydx=xy.
  • Solving it means finding the relationship between y and x itself, with no derivatives left.
  • A first-order equation contains only the first derivative dydx.

What is new

  • You have already solved the simplest kind: dydx=3x2 is solved by integrating, y=x3+c.
  • The new kind has y on the right-hand side as well, as in dydx=xy.
  • You cannot just integrate the right-hand side with respect to x, because y is an unknown function of x.

Separating the variables

  • A differential equation is separable if the right-hand side can be written as (a function of x) × (a function of y).
  • Then collect all the y's (with dy) on one side and all the x's (with dx) on the other.
  • Then integrate each side, each with respect to its own variable.

dydx=f(x)g(y)⇒∫1g(y)dy=∫f(x)dx

  • f(x) is the part involving only x, and g(y) is the part involving only y.
  • You need only one constant of integration, which you put on the x side. (Two constants would combine into one anyway.)

💡 In plain words

  • Get every y on the left with dy, every x on the right with dx, then integrate both sides.
  • Why does it work? It is the chain rule in reverse, just like substitution.

Why separating is allowed

  • Start from dydx=f(x)g(y) and divide by g(y): 1g(y)dydx=f(x).
  • Integrate both sides with respect to x: ∫1g(y)dydxdx=∫f(x)dx.
  • The left side is exactly the shape of a substitution: the dydxdx becomes dy. So it equals ∫1g(y)dy.
  • "Moving dx across" is just a quick way of writing those three lines.

The recipe

  1. Split the right-hand side into (x part) × (y part).
  2. Separate: divide by the y part so it sits with dy; the x part stays with dx.
  3. Integrate both sides, each with respect to its own letter. One + c, on the x side.
  4. Tidy into the form the question wants.

👀 Watch me do it: solve dydx=3x22y

What I writeWhy I do it
f(x)=3x2,g(y)=12yIt is (x part) × (y part), so it separates.
2ydy=3x2dxMultiply both sides by 2y. As a shorthand, think of dx as moving to the right.
∫2ydy=∫3x2dxPut an integral sign on each side.
y2=x3+cIntegrate each side with respect to its own letter. One c, on the x side.

This is the general solution: it contains an arbitrary constant c, so it describes a whole family of curves.

✏️ YOUR TURN 1

Try this first:

Find the general solution of dydx=x+1y.

Answer:

  • Separate: ∫ydy=∫(x+1)dx.
  • Integrate: 12y2=12x2+x+c.
  • Or, doubling: y2=x2+2x+C (where C = 2c is still just a constant).

General and Particular Solutions

A general solution is a whole family. One extra fact picks out the one we want, just as a point picked out one curve in the integration notes (SL 5.5).

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in HL: Differential equations and Maclaurin series (AHL 5.18, 5.19)

  1. Solving Separable Differential Equations
  2. Homogeneous Differential Equations: the Substitution y = vx
  3. First-Order Differential Equations: Families of Solutions and the Integrating Factor
  4. Euler's Step-by-Step Method and Slope Fields
  5. Maclaurin Series: Building a Polynomial from Derivatives at Zero
  6. The Standard Maclaurin Series, Their Ranges of Validity and Composite Expansions
  7. Series Solutions and Substitutions for Differential Equations

Video

What's inside for this topic

7 teacher notes, 64 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Homogeneous Differential Equations: the Substitution y = vx

Solving Separable Differential Equations on other exam boards

All Analysis and Approaches IB Maths topics · IB Maths