Skip to content
IB Diploma ProgrammeSL & HL

Separable differential equations

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Separable differential equations notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Separable differential equations notes as text: skim, search, and jump between subtopics.

~13 min read

1. Setting up a differential equation

A rate of change is a derivative. The rate of change of y with respect to t is dy/dt.

Proportional to means a constant multiple of. So "the rate of change of y is proportional to y" gives dy/dt = ky. The constant of proportionality k is found from a value the question gives.

A decrease needs a negative k, or a minus sign in front of a positive k. A "show that" question needs every step and ends on the given result.

dy/dt = ky

dG/dt = k√G

dh/dt = k h/v

Worked example 13 marks

Rea is investigating how the number of healthy skin cells changes following infection by a virus. At the beginning of the investigation, she inserts 27 000 virus particles into a sample of 1350 healthy skin cells. Let h be the number of healthy skin cells at time t, where t is the number of hours after the investigation has begun. Let v be the number of virus particles, in thousands, at time t. Rea finds that the rate of change, dh/dt, is proportional to h/v. Given that dh/dt = -5 at time t = 0, show that dh/dt = -h/10v.

  1. 1

    proportional to means a constant multiple: dh/dt = k × h/v (A1) [1]

  2. 2

    substitute the given values at t = 0, where h = 1350 and v = 27 (in thousands): -5 = k × 1350/27 M1 [1]

  3. 3

    k = -1/10 A1 [1]

  4. 4

    so dh/dt = -h/10v (AG)

2. Separating the variables

An equation of the form dy/dx = f(x) g(y) is separable. Separate the variables: put every y term with dy on one side and every x term with dx on the other.

Then integrate both sides. Write the constant +c once. Two constants merge into one.

Finish by using a point the question gives to find the constant.

dy/dx = f(x) g(y)

int 1/(g(y)) dy = int f(x) dx

Worked example 15 marks

Consider the differential equation dy/dx = ycos x. By solving the differential equation, find the equation of the solution that passes through the point (0, 1.5).

  1. 1

    attempt to separate variables: 1/y dy = cos x dx (M1) [1]

  2. 2

    int 1/y dy = int cos x dx, so the left side is ln|y| (A1) [1]

  3. 3

    the right side is sin x + c (A1) [1]

  4. 4

    general solution: y = Ae^(sinx) (A1) [1]

  5. 5

    use (0, 1.5): 1.5 = Ae⁰, so y = 1.5e^(sinx) A1 [1]

3. General solutions and the exponential model

The solution with an arbitrary constant is the general solution. A particular point fixes the constant and gives one particular solution.

An exponential model is the solution of dy/dx = ky. Separate: ln|y| = kx + c. Then exponentiate: y = Ae^(kx), where A is the constant ± e^(c).

Put +c in before you exponentiate. If the integral is int 1/(a + bt) dt, remember the factor 1/b from the inner function.

dy/dx = ky ⇒ y = Ae^(kx)

int 1/(a + bt) dt = 1/bln|a + bt| + c

Worked example 17 marks

Rea models the number of virus particles, in thousands, after t hours as v = 27 + 0.3t. The number of healthy skin cells h satisfies dh/dt = -h/10v, and h = 1350 when t = 0. Find an expression for the number of healthy skin cells at time t.

  1. 1

    dh/dt = -h/(10(27 + 0.3t)) (A1) [1]

  2. 2

    attempt to separate variables to set up integration (M1) [1]

  3. 3

    int 1/h dh = int -1/(10(27 + 0.3t)) dt (A1) [1]

  4. 4

    ln h = -1/3ln(27 + 0.3t) + c, since 1/(10 × 0.3) = 1/3 A1 [1]

  5. 5

    exponentiate: h = A(27 + 0.3t)^(-1/3) (A1) [1]

  6. 6

    use t = 0, h = 1350: 1350 = A × 27^(-1/3) = A/3, so A = 4050 (A1) [1]

  7. 7

    h = 4050(27 + 0.3t)^(-1/3) A1 [1]

4. When the rate depends on a root

A rate "proportional to √G" is dG/dt = k√G = kG^(1/2). Separating gives G^(-1/2) dG = k dt.

Integrate a power by adding one to the power and dividing by the new power. Here the new power is 1/2, so int G^(-1/2) dG = 2G^(1/2).

Use both given values: one for c, one for k.

int G^(-1/2) dG = 2√G + c

Worked example 16 marks

An algae covers an area of G m² at time t days. Its rate of growth is proportional to √G. Initially G = 4, and after 2 days G = 9. Find G in terms of t.

  1. 1

    model: dG/dt = k√G (A1) [1]

  2. 2

    separate variables and integrate: int G^(-1/2) dG = int k dt (M1) [1]

  3. 3

    2√G = kt + c (A1) [1]

  4. 4

    t = 0, G = 4: 4 = c (A1) [1]

  5. 5

    t = 2, G = 9: 6 = 2k + 4, so k = 1 (A1) [1]

  6. 6

    √G = (t + 4)/2, so G = ((t + 4)²)/4 (A1) [1]

5. Using the solved model with the GDC

Once you have the solution, answer the question set. Check the units of each quantity first. A value given in thousands must be multiplied by 1000 before it is compared with a plain count.

For "at least", set up an inequality or an equation. On the GDC, enter both sides as functions and find the intersection, or use the equation solver.

Give the answer in the context. A time of 216.25… hours is reached part-way through hour 217.

Worked example 14 marks

The number of healthy skin cells h and virus particles v, in thousands, at t hours satisfy v = 27 + 0.28t and h = 4380(27 + 0.28t)^(-0.36). Using these models, predict how many hours it will take for the number of virus particles to be at least 100 times the number of healthy skin cells.

  1. 1

    attempt to set up an equation or inequality comparing virus particles with healthy cells (M1) [1]

  2. 2

    multiply v by 1000, since v is in thousands (M1) [1]

  3. 3

    1000(27 + 0.28t) ≥ 100(4380(27 + 0.28t)^(-0.36)) (A1) [1]

  4. 4

    GDC: intersection at t = 216 (216.253…) hours A1 [1]

Recap

  • Proportional to means a constant multiple: dy/dt = ky. A decrease needs a negative sign.
  • Find k by substituting the values the question gives.
  • Separate the variables, integrate both sides, and write +c once.
  • dy/dx = ky has the general solution y = Ae^(kx). Put +c in before exponentiating.
  • A given point fixes the constant and gives the particular solution.
  • For a root, int G^(-1/2) dG = 2√G. Use two given values to find c and k.
  • Check units, such as thousands, before using the solved model on the GDC.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. A population P changes with time t. Its rate of change is proportional to P. State a differential equation for P.1 mark
    Answer
    1. dP/dt = kP, where k is a constant.

    Trap: Writing dP/dt = k, which drops the P that the rate is proportional to.

  2. Water drains from a tank. The volume V of water decreases at a rate proportional to √V. Let k be a positive constant. Which equation models this? A. dV/dt = k√V B. dV/dt = -k√V C. dV/dt = -kV² D. dV/dt = -k/(√V)1 mark
    Answer
    1. B.
    2. The rate is proportional to √V and V is decreasing, so dV/dt = -k√V.
    3. A has no minus sign, so V would increase. C uses V², not √V. D divides by √V.

    Trap: Losing the minus sign for a decrease, which gives growth.

  3. Which is the general solution of dy/dx = -2y? A. y = e^(-2x) + c B. y = Ae^(-2x) C. y = Ae^(2x) D. y = -2x + c1 mark
    Answer
    1. B.
    2. Separating gives int 1/y dy = int -2 dx, so ln|y| = -2x + c and y = Ae^(-2x).
    3. A puts +c after the exponential. C loses the minus sign. D integrates the right-hand side as if y were not there.

    Trap: Adding c after exponentiating. The constant multiplies: y = Ae^(-2x).

  4. Find the solution of dy/dx = 2xy for which y = 5 when x = 0.4 marks
    Answer
    1. Separate: int 1/y dy = int 2x dx.
    2. ln y = x² + c, so y = Ae^(x²).
    3. x = 0, y = 5 gives A = 5, so y = 5e^(x²).

    Trap: Leaving out +c, which gives y = e^(x²): then y = 1 at x = 0, not 5.

  5. Do not use a calculator. Find the solution of dy/dx = x/y for which y = 5 when x = 0.4 marks
    Answer
    1. Separate: y dy = x dx.
    2. Integrate: y²/2 = x²/2 + c, so y² = x² + C.
    3. x = 0, y = 5 gives C = 25.
    4. y = √(x² + 25), taking the positive root because y = 5 is positive.

    Trap: Integrating y as y² instead of y²/2, so the constants go wrong.

  6. Do not use a calculator. Given that dy/dx = y/x with x > 0, y > 0, and y = 6 when x = 2, find y in terms of x.4 marks
    Answer
    1. int 1/y dy = int 1/x dx, so ln y = ln x + c.
    2. y = e^(ln x + c) = Ax, where A = e^(c).
    3. 6 = 2A, so A = 3 and y = 3x.

    Trap: Writing y = x + e^(c). Exponentiating a sum makes a product, not a sum.

  7. Water drains from a tank. The volume V litres at time t minutes decreases at a rate proportional to √V. Initially V = 100, and after 10 minutes V = 64. (a) Find V in terms of t. [6] (b) Determine the time at which the tank is empty. [1]7 marks
    Answer
    1. (a)
    2. dV/dt = -k√V, so int V^(-1/2) dV = int -k dt.
    3. 2√V = -kt + c.
    4. t = 0, V = 100: 20 = c.
    5. t = 10, V = 64: 16 = -10k + 20, so k = 0.4.
    6. √V = 10 - 0.2t, so V = (10 - 0.2t)².
    7. (b)
    8. V = 0 when 10 - 0.2t = 0, so t = 50 minutes.

    Trap: Integrating V^(-1/2) as 1/2V^(1/2). Dividing by the new power 1/2 multiplies by 2.

  8. A lake contains P fish at time t years. The fish population grows at a rate of 20% of P per year, and fish are removed at a constant rate of 50 per year. (a) Write down an expression for dP/dt in terms of P. [1] (b) Given that P = 400 when t = 0, solve the differential equation to find P in terms of t. [6]7 marks
    Answer
    1. (a)
    2. dP/dt = 0.2P - 50.
    3. (b)
    4. Separate: int 1/(0.2P - 50) dP = int 1 dt.
    5. 5ln|0.2P - 50| = t + c, since 1/0.2 = 5.
    6. ln|0.2P - 50| = 0.2t + c, so 0.2P - 50 = Ae^(0.2t).
    7. t = 0, P = 400: A = 80 - 50 = 30.
    8. 0.2P = 50 + 30e^(0.2t), so P = 250 + 150e^(0.2t).
    9. Check: P(0) = 400 and dP/dt = 30e^(0.2t) = 0.2P - 50.

    Trap: Integrating 1/(0.2P - 50) as ln|0.2P - 50|, missing the factor 1/0.2.

  9. A cup of tea cools in a room kept at 20 °C. The temperature of the tea is T °C at time t minutes after it is poured. T decreases at a rate proportional to the difference between T and the room temperature. Initially T = 90. After 5 minutes T = 60. (a) Write down a differential equation for T. [1] (b) By solving your differential equation, show that T = 20 + 70e^(-kt), where k is a positive constant. [4] (c) Determine the time at which the tea reaches 30 °C. Give your answer to three significant figures. [3]8 marks
    Answer
    1. (a)
    2. dT/dt = -k(T - 20), with k > 0.
    3. (b)
    4. Separate: int 1/(T - 20) dT = int -k dt.
    5. ln|T - 20| = -kt + c, so T - 20 = Ae^(-kt).
    6. t = 0, T = 90: A = 70, so T = 20 + 70e^(-kt).
    7. (c)
    8. t = 5, T = 60: e^(-5k) = 40/70 = 4/7, so k = 1/5ln7/4 = 0.111923….
    9. T = 30: e^(-kt) = 10/70 = 1/7, so t = (ln 7)/k = 17.386….
    10. The time is 17.4 minutes.

    Trap: Rounding k to 0.11 before the last step, which gives 17.7 minutes instead of 17.4.

  10. The number of insects in a colony is P thousand at time t weeks. The rate of increase of P is proportional to P/(2 + 0.5t). Initially there are 3000 insects, increasing at a rate of 600 insects per week. (a) Show that dP/dt = 0.4P/(2 + 0.5t). [3] (b) By solving the differential equation, show that P = 3(1 + 0.25t)^(0.8). [6] (c) Determine the number of weeks until the colony first has 10 000 insects. [2]11 marks
    Answer
    1. (a)
    2. dP/dt = k × P/(2 + 0.5t).
    3. At t = 0, P = 3 and dP/dt = 0.6 (both in thousands): 0.6 = k × 3/2.
    4. k = 0.4, so dP/dt = 0.4P/(2 + 0.5t).
    5. (b)
    6. Separate: int 1/P dP = int 0.4/(2 + 0.5t) dt.
    7. ln P = 0.4/0.5ln(2 + 0.5t) + c = 0.8ln(2 + 0.5t) + c.
    8. P = A(2 + 0.5t)^(0.8).
    9. t = 0, P = 3: 3 = A × 2^(0.8), so A = 3/(2^(0.8)).
    10. P = 3((2 + 0.5t)/2)^(0.8) = 3(1 + 0.25t)^(0.8).
    11. (c)
    12. 10 000 insects is P = 10: 3(1 + 0.25t)^(0.8) = 10.
    13. 1 + 0.25t = (10/3)^(1.25) = 4.50400…, so t = 14.016…, which is 14.0 weeks.

    Trap: Setting P = 10 000 when P counts thousands of insects; the equation needs P = 10.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
compare v with h directly: 27 + 0.28t ≥ 100hmultiply v by 1000 (or divide h by 1000), because v is in thousands
dh/dt = -h/(27 + 0.3t), with the 10 left outdh/dt = -h/(10(27 + 0.3t)), with the constant of proportionality found from the given rate
stop at y = Ae^(sin x)use the point (0, 1.5) to give y = 1.5e^(sin x)

Frequently asked questions

What does 'proportional to' mean when setting up a differential equation?
Proportional to means a constant multiple of, so a rate of change of y proportional to y gives dy/dt = ky. The constant of proportionality k is found from a value the question gives. A decrease needs a negative k, or a minus sign in front of a positive k. For the cell model, dh/dt = kh/v with k = -1/10.
How do you solve a differential equation by separating the variables?
Separate the variables: put every y term with dy on one side and every x term with dx on the other. Integrate both sides and write +c once. For dy/dx = ycos x you get ln|y| = sin x + c, so y = Ae^(sin x). Use the point (0, 1.5) last, which gives y = 1.5e^(sin x).
What is the general solution of dy/dx = ky, and where does the constant go?
Separate to get ln|y| = kx + c, then exponentiate to get y = Ae^(kx), where A is ± e^(c). Put +c in before you exponentiate: writing e^(-2x) + c is wrong. For dy/dx = -2y the general solution is y = Ae^(-2x), and a given point fixes A.
How do you solve a rate of change proportional to the square root of the quantity?
Write dG/dt = k√G and separate to get G^(-1/2) dG = k dt. Integrate the power by adding one to it and dividing by the new power, so 2√G = kt + c. Use the two given values: with G = 4 at t = 0 and G = 9 at t = 2, you get k = 1 and G = ((t + 4)²)/4.
How do I check the units before using a solved model on the GDC?
Check the units of each quantity first, because a value given in thousands must be multiplied by 1000 before it is compared with a plain count. For v = 27 + 0.28t in thousands and h = 4380(27 + 0.28t)^(-0.36), you must compare 1000(27 + 0.28t) with 100h. On the GDC the intersection is at t = 216.253… hours, so the time is reached part-way through hour 217.
Why does my differential equation give the wrong answer when I leave out the constant of proportionality?
The constant must be found from the given rate and kept in the equation. For the cell model the rate is dh/dt = -h/(10(27 + 0.3t)), where the 10 comes from k = -1/10. Leaving out the 10 gives -h/(27 + 0.3t), which is wrong. Substitute the given values at t = 0 to find k.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters