Skip to main content

Separable differential equations (SACE Stage 2 Specialist Mathematics)

Syllabus dot point

“Solve first-order separable differential equations and find particular solutions using initial conditions.”

8 min read

Quick answer

A separable differential equation can be written dydx=f(x) g(y)\dfrac{dy}{dx} = f(x)\,g(y). Separate the variables so all the yy terms (with dydy) are on one side and all the xx terms (with dxdx) on the other, then integrate both sides. This gives the general solution with one arbitrary constant; an initial condition pins down that constant to give the particular solution.

Jump to a section
  1. What this dot point is asking
  2. The separation method
  3. A worked general-then-particular solution
  4. Recognising a separable equation
  5. Exponential growth and decay
  6. General versus particular solutions
  7. Exam-style questions

What this dot point is asking

You need to solve first-order separable differential equations and use initial conditions to find particular solutions.

The separation method

If dydx=f(x) g(y)\dfrac{dy}{dx} = f(x)\,g(y), divide by g(y)g(y) and multiply by dxdx to gather like variables:

1g(y) dy=f(x) dx.\frac{1}{g(y)}\,dy = f(x)\,dx.

Integrate both sides:
∫1g(y) dy=∫f(x) dx.\int \frac{1}{g(y)}\,dy = \int f(x)\,dx.

A single constant of integration CC on one side captures the whole family of solutions.

One constant, applied once

You only need one arbitrary constant. Combine the constants from both integrals into a single CC on the right-hand side. Then apply the initial condition to solve for CC before, or after, rearranging for yy - whichever is cleaner.

A worked general-then-particular solution

Separable equation with an initial condition

Solve dydx=2xy\dfrac{dy}{dx} = \dfrac{2x}{y} given y=3y = 3 when x=0x = 0

Step 1: Separate variables

Rearrange so all yy terms are on the left with dydy and all xx terms are on the right with dxdx. Multiplying both sides by yy achieves this.

y dy=2x dx.y\,dy = 2x\,dx.

Step 2: Integrate both sides

Each side now involves only one variable, so we integrate independently and combine the constants of integration into a single CC on the right.

∫y dy=∫2x dx  ⟹  y22=x2+C.\int y\,dy = \int 2x\,dx \implies \frac{y^2}{2} = x^2 + C.

Step 3: Apply the initial condition to find CC

Substituting the known values y=3y = 3 and x=0x = 0 into the general solution pins down the arbitrary constant.

322=0+C  ⟹  C=92.\frac{3^2}{2} = 0 + C \implies C = \frac{9}{2}.

Step 4: Rearrange for yy

Substitute the value of CC back in, multiply through, and take the positive square root, choosing the branch consistent with the initial condition y=3>0y = 3 > 0.

So y22=x2+92\dfrac{y^2}{2} = x^2 + \dfrac{9}{2}, that is y2=2x2+9y^2 = 2x^2 + 9. Taking the root and choosing the branch through (0,3)(0, 3) (positive):

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

Recognising a separable equation

Not every first-order equation is separable. An equation is separable only if the right side can be written as a product of a function of xx alone and a function of yy alone, dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)g(y). For instance dydx=xy+x=x(y+1)\dfrac{dy}{dx} = xy + x = x(y + 1) is separable (it factors), whereas dydx=x+y\dfrac{dy}{dx} = x + y is not, because the sum cannot be split into a single xx-factor times a single yy-factor. Spotting whether a factorisation exists is the first decision, and SACE problems are designed so that the equation either is already separated or factors cleanly once you look for the common factor.

Exponential growth and decay

The equation dydt=ky\dfrac{dy}{dt} = ky is separable and central to modelling:

∫1y dy=∫k dt  ⟹  ln⁡∣y∣=kt+C  ⟹  y=Aekt,\int \frac{1}{y}\,dy = \int k\,dt \implies \ln|y| = kt + C \implies y = A e^{kt},

where A=eCA = e^{C} is set by the initial value. Positive kk gives growth; negative kk gives decay. This is the backbone of population, radioactive-decay and cooling models.

An exponential decay solution

Solve dNdt=−0.05N\dfrac{dN}{dt} = -0.05N with N=200N = 200 at t=0t = 0

Step 1: Separate variables

To separate, divide both sides by NN so the NN term moves to the left. This is the standard technique for any equation where the rate is proportional to the quantity itself.

1N dN=−0.05 dt.\frac{1}{N}\,dN = -0.05\,dt.

Step 2: Integrate both sides and exponentiate

Integrating each side gives a logarithm on the left and a linear function on the right. Exponentiating both sides removes the logarithm and introduces a positive constant A=eCA = e^C.

∫1N dN=∫−0.05 dt  ⟹  ln⁡∣N∣=−0.05t+C.\int \frac{1}{N}\,dN = \int -0.05\,dt \implies \ln|N| = -0.05t + C.

Exponentiate: N=Ae−0.05tN = A e^{-0.05t}, where A=eCA = e^{C}.

Step 3: Apply the initial condition N=200N = 200 at t=0t = 0

Substituting t=0t = 0 makes the exponential equal to 1, so AA is read off directly. Apply N=200N = 200 at t=0t = 0: 200=Ae0=A200 = A e^{0} = A, so A=200A = 200. Hence

N=200e−0.05t.N = 200 e^{-0.05t}.

Watch the sign of the square root

When the solution involves y2=…y^2 = \ldots, taking the square root introduces a sign choice. Use the initial condition to decide whether yy is the positive or negative root, and state which branch you keep.

General versus particular solutions

Integrating a separable equation produces a general solution containing one arbitrary constant - a whole family of curves, one for each value of the constant. An initial or boundary condition selects the single member of that family passing through the given point, the particular solution. SACE questions almost always supply a condition such as "y=3y = 3 when x=0x = 0", and full marks require you to apply it and report the specific solution, not just the general form. A good habit is to find the general solution first, simplify it, and only then substitute the condition to evaluate the constant.

Common errors
Integrating before separating
You cannot integrate dydx\dfrac{dy}{dx} with respect to xx while yy terms are mixed in. Separate first so each side has one variable.
Forgetting the constant of integration
Without +C+C there is no family of solutions and no way to apply the initial condition.
Adding the constant on both sides
One combined constant suffices; writing C1C_1 and C2C_2 separately just clutters the work.
Dropping the modulus when integrating 1/y1/y
∫1y dy=ln⁡∣y∣+C\int \dfrac{1}{y}\,dy = \ln|y| + C. The modulus matters before you exponentiate.

Exam-style questions

Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

SACE 2023-style3 marks
Calculator-free. The rate of change of the area of a shadow is dAdt=−2t+150cos⁡tsin⁡2t\dfrac{dA}{dt} = -2t + 150\cos t\sin^2 t, where AA is in square metres and tt in hours. At sunrise t=0t = 0 and A=375A = 375. Solve for AA in terms of tt.
Show worked answer →

The right side depends only on tt, so integrate directly.

∫−2t dt=−t2\int -2t\,dt = -t^2. For ∫150cos⁡tsin⁡2t dt\int 150\cos t\sin^2 t\,dt, let u=sin⁡tu = \sin t, du=cos⁡t dtdu = \cos t\,dt, giving 150∫u2 du=50sin⁡3t150\int u^2\,du = 50\sin^3 t. [1 mark]

So A=−t2+50sin⁡3t+CA = -t^2 + 50\sin^3 t + C. [1 mark]

Apply A=375A = 375 at t=0t = 0: 375=0+0+C375 = 0 + 0 + C, so C=375C = 375. Hence A=−t2+50sin⁡3t+375A = -t^2 + 50\sin^3 t + 375. [1 mark]

SACE 2022-style3 marks
Calculator-free. Solve dydx=2xy\dfrac{dy}{dx} = \dfrac{2x}{y} given y=3y = 3 when x=0x = 0.
Show worked answer →

Separate: y dy=2x dxy\,dy = 2x\,dx. Integrate both sides:

y22=x2+C.\frac{y^2}{2} = x^2 + C.
[1 mark]

Apply y=3y = 3 at x=0x = 0: 92=C\dfrac{9}{2} = C. [1 mark]

So y2=2x2+9y^2 = 2x^2 + 9, and taking the positive branch through (0,3)(0, 3) gives y=2x2+9y = \sqrt{2x^2 + 9}. [1 mark]

SACE 2021-style3 marks
Calculator-free. Solve dNdt=−0.05N\dfrac{dN}{dt} = -0.05N with N=200N = 200 at t=0t = 0.
Show worked answer →

Separate and integrate: ∫1N dN=∫−0.05 dt\int \dfrac{1}{N}\,dN = \int -0.05\,dt, so ln⁡∣N∣=−0.05t+C\ln|N| = -0.05t + C. [1 mark]

Exponentiate: N=Ae−0.05tN = A e^{-0.05t}. [1 mark]

Apply N=200N = 200 at t=0t = 0: A=200A = 200, so N=200e−0.05tN = 200e^{-0.05t}. [1 mark]

Practise this

Sources & how we know this

ExamExplained