Skip to content
Cambridge AS & A Level9709

Differential equations

Mathematics 9709 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Differential equations notes as a printable PDF.

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

Read the notes

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

~12 min read

1. Forming a differential equation

A statement about a rate of change becomes a derivative. “Proportional to” means the derivative equals a constant of proportionality k multiplied by the quantity.

A quantity that is decreasing has a negative rate of change, so k stays positive and the minus sign is written in the equation. Keep k as a letter until the question's conditions let you evaluate it.

rate of change of x proportional to f ⇒ dx/dt = k f

gradient of a curve proportional to g(x,y) ⇒ dy/dx = k g(x,y)

Examiner insight

“The first key step was to express the statement of proportionality as an equation.” “Some candidates assumed k = 1.”

Worked example 17 marks

A curve is such that the gradient at a general point with coordinates (x,y) is proportional to y/(√(x+1)). The curve passes through the points with coordinates (0, 1) and (3, e). By setting up and solving a differential equation, find the equation of the curve, expressing y in terms of x.

  1. 1

    state dy/dx = ky/(√(x+1)) [1]

  2. 2

    separate: int 1/y dy = kint (x+1)^(-1/2) dx [1]

  3. 3

    left side gives ln y [1]

  4. 4

    right side gives 2k√(x+1) + c [1]

  5. 5

    (0,1): 0 = 2k + c. (3,e): 1 = 4k + c [1]

  6. 6

    k = 1/2 and c = -1 [1]

  7. 7

    ln y = √(x+1) - 1, so y = e^(√(x+1)-1) [1]

2. Separating the variables and integrating

A first order equation has variables separable when it can be written as dy/dx = f(x) g(y). Separate variables correctly: every y with dy on one side, every x with dx on the other.

Then integrate both sides and include a constant of integration. The result is the general solution. A constant of proportionality such as k is not the constant of integration: keep the two separate.

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

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

int 1/y dy = ln y

Examiner insight

“After a correct start, the most common error was to confuse k with a constant of integration.” “Most incorrect approaches involved the substitution of x = 100 before any attempt to deal with the differential equation.”

Worked example 17 marks

The variables x and y satisfy the differential equation dy/dx = xy/(1 + x²), and y = 2 when x = 0. Solve the differential equation, obtaining a simplified expression for y in terms of x.

  1. 1

    separate: int 1/y dy = int x/(1+x²) dx [1]

  2. 2

    left side gives ln y [1]

  3. 3

    right side has the form kln(1+x²) [1]

  4. 4

    right side is 1/2ln(1+x²) [1]

  5. 5

    x=0, y=2: ln 2 = c [1]

  6. 6

    ln y = 1/2ln(1+x²) + ln 2 [1]

  7. 7

    y = 2√(1+x²) [1]

3. Integrals that need a technique

The integrals come from topic 3.5, so any of its methods can appear. Split a product of powers first: e^(y-x) = e^(y)×e^(-x). Then choose the method that fits each side.

A square of a trig function needs a double angle formula. A product such as xe^(-x) needs integration by parts. A quotient of linear factors needs partial fractions.

sin² 2x = 1/2 (1 - cos 4x)

int 1/(4 + 9y²) dy = 1/6tan⁻¹(3y/2)

int u dv/dx dx = uv - int v du/dx dx

Examiner insight

“Sign errors were common in integrating both functions.” “Some candidates had incorrect signs in the trigonometry formula and candidates should note that these are available in the formula book.”

Worked example 17 marks

The variables x and y satisfy the differential equation dy/dx = xe^(y-x), and y = 0 when x = 0. Solve the differential equation, obtaining an expression for y in terms of x.

  1. 1

    separate: int e^(-y) dy = int xe^(-x) dx [1]

  2. 2

    left side gives -e^(-y) [1]

  3. 3

    by parts: int xe^(-x) dx = -xe^(-x) + int e^(-x) dx [1]

  4. 4

    = -xe^(-x) - e^(-x) [1]

  5. 5

    x=0, y=0: -1 = -1 + c, so c = 0 [1]

  6. 6

    e^(-y) = (x+1)e^(-x) [1]

  7. 7

    -y = ln(x+1) - x, so y = x - ln(x+1) [1]

4. Using an initial condition

An initial condition gives one pair of values, such as y = 2 when x = 0. Integrate first, then substitute the pair to evaluate a constant and write the particular solution.

Find the constant before you remove logarithms. If two pairs are given and k is also unknown, each pair gives one equation and you solve for k and the constant together.

ln A + ln B = ln(AB) e^(a+b) = e^(a)×e^(b)

Examiner insight

“Those candidates who attempted to remove logarithms before finding the constant of integration usually obtained a constant of an incorrect form.” “Some candidates had no constant of integration, and there were several errors in taking the reciprocal to find the expression for y.”

Worked example 17 marks

The variables x and y satisfy the differential equation (x+1) y dy/dx = y² + 5. It is given that y = 2 when x = 0. Solve the differential equation obtaining an expression for y² in terms of x.

  1. 1

    separate: int y/(y²+5) dy = int 1/(x+1) dx [1]

  2. 2

    right side gives ln(x+1) [1]

  3. 3

    left side has the form aln(y²+5) [1]

  4. 4

    left side is 1/2ln(y²+5) [1]

  5. 5

    x=0, y=2: 1/2ln 9 = c, so c = ln 3 [1]

  6. 6

    1/2ln(y²+5) = ln(x+1) + ln 3 [1]

  7. 7

    y² + 5 = 9(x+1)², so y² = 9(x+1)² - 5 [1]

5. Interpreting the solution in context

A solution models a real situation, so read it back in context. The question may ask for the value at a given time, the time to reach a given value, or what happens as t becomes large.

For the last, let the exponential term tend to zero and state the value the quantity approaches. “It gets bigger” or “it gets smaller” gains nothing. No specialised knowledge of the context is needed.

t → ∞ ⇒ e^(-0.1t) → 0

Examiner insight

“Very few correct answers were seen. The majority of answers claimed, ‘it gets bigger’ or ‘it gets smaller’.” “For the final answer a decimal value was required.”

Worked example 18 marks

In a certain chemical reaction the amount, x grams, of a substance is increasing. The differential equation satisfied by x and t, the time in seconds since the reaction began, is dx/dt = kxe^(-0.1t), where k is a positive constant. It is given that x = 20 at the start of the reaction.(a) Solve the differential equation, obtaining a relation between x, t and k.(b) Given that x = 40 when t = 10, find the value of k and find the value approached by x as t becomes large.

  1. 1

    separate: int 1/x dx = int ke^(-0.1t) dt [1]

  2. 2

    left side gives ln x [1]

  3. 3

    right side gives -10ke^(-0.1t) [1]

  4. 4

    t=0, x=20: ln 20 = -10k + c [1]

  5. 5

    ln x = 10k(1 - e^(-0.1t)) + ln 20 [1]

  6. 6

    x=40, t=10: ln 2 = 10k(1 - e⁻¹) [1]

  7. 7

    10k = 1.09654, so k = 0.110 [1]

  8. 8

    as t→∞, ln x → 10k + ln 20, so x tends to 59.9 [1]

Recap

  • Rate of change proportional to a quantity: dy/dx = k × quantity. A decrease needs a minus sign.
  • Keep k as a letter, then find it from the given conditions. Never assume k = 1.
  • Separate: all y with dy, all x with dx. Integrate both sides. Add a constant of integration.
  • Split e^(y-x) into e^(y)e^(-x). Use a double angle formula, parts or partial fractions as the integral needs.
  • Use the initial condition to evaluate the constant before you remove logarithms.
  • ln(A + B) is not ln A + ln B: factorise first, as in xe^(-x) + e^(-x) = (x+1)e^(-x).
  • Interpret in context: state the value the solution approaches, in the units the question uses.

End-of-chapter exercise

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

  1. The mass m grams of a radioactive sample is decreasing at a rate proportional to m. Write down a differential equation for m in terms of the time t seconds. Use k for a positive constant.2 marks
    Answer
    1. dm/dt = -km.

    Trap: Writing dm/dt = km describes growth: a decrease needs the minus sign.

  2. The gradient of a curve at the point (x, y) is proportional to x². The curve passes through (0, 1) and (3, 28). Form and solve a differential equation to find y in terms of x.5 marks
    Answer
    1. dy/dx = kx².
    2. y = kx³/3 + c.
    3. (0,1): c = 1. (3,28): 28 = 9k + 1, so k = 3.
    4. y = x³ + 1.

    Trap: Taking k as the chord gradient (28-1)/(3-0) = 9 instead of using the point in the solution.

  3. Find the general solution of dy/dx = 2xy for y > 0, giving y in terms of x.3 marks
    Answer
    1. int 1/y dy = int 2x dx.
    2. ln y = x² + c.
    3. y = e^(x² + c) = Ae^(x²).

    Trap: Writing y = e^(x²) + c: the constant is added before taking exponentials, so it becomes a factor.

  4. For x > 0, find the general solution of xdy/dx = y², giving y in terms of x.4 marks
    Answer
    1. int y⁻² dy = int 1/x dx.
    2. -1/y = ln x + c.
    3. y = -1/(ln x + c).

    Trap: Integrating y⁻² as a multiple of ln y², an error examiners reported, or as 1/y without the minus sign.

  5. The variables x and y satisfy dy/dx = 3x²e^(-y), and y = 0 when x = 0. Find y in terms of x.4 marks
    Answer
    1. int e^(y) dy = int 3x² dx.
    2. e^(y) = x³ + c.
    3. x=0, y=0: 1 = c.
    4. y = ln(x³ + 1).

    Trap: Taking logarithms term by term, y = ln x³ + ln c, instead of finding c first.

  6. Water leaves a tank so that the depth h metres at time t minutes satisfies dh/dt = -0.5√h. Initially h = 16. Find the time taken for the tank to empty.4 marks
    Answer
    1. int h^(-1/2) dh = int -0.5 dt.
    2. 2√h = -0.5t + c.
    3. t=0, h=16: c = 8.
    4. Empty when h=0: 0 = -0.5t + 8, so t = 16 minutes.

    Trap: Integrating h^(-1/2) to √h and forgetting the factor 2 gives t = 8.

  7. The variables x and y satisfy ydy/dx = x/(x² + 4), and y = 3 when x = 0. Find y² in terms of x.5 marks
    Answer
    1. int y dy = int x/(x²+4) dx.
    2. y²/2 = 1/2ln(x²+4) + c.
    3. x=0, y=3: 9/2 = 1/2ln 4 + c, so c = 9/2 - ln 2.
    4. y² = ln(x²+4) + 9 - 2ln 2.
    5. y² = 9 + ln(1 + x²/4).

    Trap: Dropping the 1/2 from int x/(x²+4) dx makes y² = ln(x²+4)+… with the wrong constant.

  8. The variables x and y satisfy dy/dx = xy e^(-x), and y = 1 when x = 0. Find y in terms of x.5 marks
    Answer
    1. int 1/y dy = int xe^(-x) dx.
    2. By parts: int xe^(-x) dx = -xe^(-x) - e^(-x).
    3. ln y = -(x+1)e^(-x) + c.
    4. x=0, y=1: 0 = -1 + c, so c = 1.
    5. y = exp(1 - (x+1)e^(-x)).

    Trap: Sign slip in integration by parts: int e^(-x) dx = -e^(-x), not +e^(-x).

  9. A curve is such that the gradient at the point (x, y) is proportional to xy². The curve passes through the points (1, 1) and (2, 1/2). By setting up and solving a differential equation, find the value of the constant of proportionality and express y in terms of x.7 marks
    Answer
    1. dy/dx = kxy².
    2. int y⁻² dy = int kx dx, so -1/y = 1/2kx² + c.
    3. (1,1): -1 = 1/2k + c. (2,1/2): -2 = 2k + c.
    4. Subtract: -1 = 3/2k, so k = -2/3 and c = -2/3.
    5. -1/y = -(x²+2)/3, so y = 3/(x²+2).

    Trap: Taking k as the chord gradient (1/2 - 1)/(2 - 1) = -1/2, or assuming k = 1, as examiners reported, instead of using both points in the solution.

  10. A drug is fed into a patient's blood at a constant rate of 6 mg per hour. It is removed at a rate proportional to x, the amount in mg of the drug in the blood at time t hours. Initially x = 0. As t becomes large, x approaches 40. Form and solve a differential equation for x, and find the time at which x = 30, giving your answer correct to 3 significant figures.8 marks
    Answer
    1. dx/dt = 6 - kx, with k a positive constant.
    2. int 1/(6 - kx) dx = int 1 dt, so -1/kln(6 - kx) = t + c.
    3. t=0, x=0: c = -1/kln 6.
    4. ln(6 - kx)/6 = -kt, so x = 6/k(1 - e^(-kt)).
    5. As t→∞, e^(-kt)→ 0, so x → 6/k = 40 and k = 0.15.
    6. 30 = 40(1 - e^(-0.15t)), so e^(-0.15t) = 0.25.
    7. t = (ln 4)/0.15 = 9.24 hours.

    Trap: Integrating 1/(6 - kx) as ln(6 - kx) without the coefficient -1/k, or substituting x = 40 before solving, as examiners reported.

Say this, not that

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

Loses the markGets the mark
assume k = 1, or find k from the slope between the two pointswrite dy/dx = k × … and use both conditions to find k and the constant
substitute the given values before integratingseparate the variables correctly, integrate, then evaluate a constant with the initial condition
ln(e^(-y)) = ln(xe^(-x)) + ln(e^(-x)) when removing exponentialse^(-y) = (x+1)e^(-x), so y = -ln((x+1)e^(-x))
‘it gets bigger’ or ‘it gets smaller’x tends to a stated value as t becomes large

Frequently asked questions

How do you form a differential equation from a statement about proportionality?
Write the rate of change as a derivative, and write 'proportional to' as a constant k multiplied by the quantity, so dx/dt=kf. A decreasing quantity has a negative rate of change, so the minus sign is written in the equation, for example dm/dt=-km for a decreasing mass. Keep k as a letter until the question's conditions let you evaluate it.
How do you solve a differential equation by separating the variables?
Write the equation as dy/dx=f(x) g(y), then put every y with dy and every x with dx. Integrate both sides and include a constant of integration, which gives the general solution. For dy/dx=xy/(1+x²) the separated form is int 1/y dy=int x/(1+x²) dx, so ln y is on the left side.
How do you use an initial condition to find the constant in a differential equation solution?
Integrate first, then substitute the given pair of values, such as y=2 when x=0, to evaluate the constant. This gives the particular solution. Find the constant before you remove logarithms, because removing them first gives a constant of an incorrect form. If two pairs are given and k is also unknown, solve for k and the constant together.
What is the difference between the constant of proportionality and the constant of integration?
The constant of proportionality k comes from the statement of proportionality, while the constant of integration c appears when you integrate both sides. Keep the two separate. After a correct start, the most common error was to confuse k with a constant of integration. Some candidates also assumed k = 1, but k must be found from the given conditions.
How do you interpret a solution of a differential equation in context?
Read the solution back in context and state the value the quantity approaches. For x=6/k(1-e^(-kt)), as t becomes large the term e^(-kt) tends to zero, so x tends to 6/k. Saying ‘it gets bigger’ or ‘it gets smaller’ gains nothing, and for the final answer a decimal value was required.
Which integrals need a special technique when solving a differential equation?
Split a product of powers first, for example e^(y-x)=e^(y)×e^(-x). A square of a trig function needs a double angle formula, a product such as xe^(-x) needs integration by parts, and a quotient of linear factors needs partial fractions. Sign errors were common in integrating both functions, so check each sign before you substitute.

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