Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Extension 1 (2027) Further applications of calculus

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

20 practice questions 2 video lessons Theory + worked examples

Master separation of variables for NSW Year 12 Mathematics Extension 1. When a derivative factors into a function of x times a function of y, the variables can be separated and each side integrated.

You will learn to separate the variables, integrate both sides, and apply an initial condition to find the particular solution through a given point β€” the key method for solving separable differential equations in Extension 1.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Separable differential equations Watch
  • Separable First Order Differential Equations - Basic Introduction Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

When dydx=f(x)g(y), the variables separate: ∫1g(y)dy=∫f(x)dx. This NSW Year 12 Mathematics Extension 1 topic (NESA outcome ME1-12-05) integrates both sides and applies an initial condition.

When dydx=f(x)g(y), the variables separate: gather the y's with dy and the x's with dx, then integrate both sides.

This gives ∫1g(y)dy=∫f(x)dx. One constant C suffices; put it on the x-side, then solve for y and apply any initial condition.

Sometimes you must rearrange first so each side has a single variable β€” for example, sec⁑xdydx=y becomes dydx=ycos⁑x.

NESA link. Part of the Year 12 Further applications of calculus focus area, outcome ME1-12-05 ("applies calculus to solve problems involving polynomials, further rates of change, areas and volumes and differential equations") with MAO-WM-01. A syllabus example: given dydx=βˆ’xyex2, find the solution through (0,1).

The separation-of-variables methodSeparate the variables, integrate both sides, add one constant, then solve for y.SeparatevarsIntegrateboth sidesAdd+ CSolvefor y
Separate, integrate both sides, add C, then solve for y.
A particular solution by separationThe curve y equals two times e to the x squared over two, the solution of dy by dx equals x y through the point zero, two.xy(0, 2)y = 2e^{xΒ²/2}
dydx=xy, y(0)=2 gives the particular solution y=2ex2/2.
dydx=f(x)g(y)⟹∫1g(y)dy=∫f(x)dx.
integral of 1/g(y) dy = integral of f(x) dx

One constant is enough. Combine the two constants of integration into a single C on the x-side, solve for y explicitly where possible, and apply the initial condition last.

How to separate variables

  1. Rearrange so dydx is a product f(x)g(y).
  2. Divide by g(y) and multiply by dx: 1g(y)dy=f(x)dx.
  3. Integrate both sides, with one constant C.
  4. Solve for y and apply any initial condition.
Example 1 β€” A quotient
Find the general solution of dydx=xy.
Solution
∫ydy=∫xdx
y22=x22+C1β‡’y2=x2+C
y^2 = x^2 + C

y2=x2+C.

Example 2 β€” Giving arctan
Find the general solution of dydx=2x(1+y2).
Solution
∫dy1+y2=∫2xdx
tanβˆ’1⁑y=x2+Cβ‡’y=tan⁑(x2+C)
y = tan(x^2 + C)

y=tan⁑(x2+C).

Example 3 β€” With a condition
Solve dydx=xy given y(0)=2.
Solution
ln⁑|y|=x22+C
y(0)=2β‡’ln⁑2=C
y = 2 e^(x^2/2)

y=2ex2/2.

Example 4 β€” A trig factor
Solve dydx=y2cos⁑x given y(0)=1.
Solution
βˆ’1y=sin⁑x+C
y(0)=1β‡’C=βˆ’1
y = 1/(1 - sin x)

y=11βˆ’sin⁑x.

Common pitfalls

Not fully separating. Each side must contain a single variable before integrating β€” rearrange if needed.
Two constants. One C suffices; put it on the x-side.
Leaving it implicit. Solve for y explicitly where possible.
Applying the condition early. Integrate first, then use the initial condition to fix C.

Frequently asked questions

What is separation of variables?

A method for dydx=f(x)g(y): rewrite as 1g(y)dy=f(x)dx and integrate both sides.

When can you separate variables?

When the right side factors into a function of x times a function of y.

How many constants do you need?

Just one β€” combine both integration constants into a single C.

Do you always solve for y?

Solve explicitly where possible; otherwise leave the relation implicit.

When do you apply the initial condition?

After integrating, to determine the constant C.