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

Solve dy/dx = g(y)

20 practice questions 1 video lesson Theory + worked examples

Learn to solve differential equations where the derivative depends only on y in NSW Year 12 Mathematics Extension 1. When the rate of change is a function of y alone, the equation is rearranged and integrated with respect to y.

You will learn to integrate the reciprocal with respect to y and, where possible, rearrange to make y the subject β€” solving equations such as the exponential growth and decay models that recur throughout the Extension 1 course.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

When dydx=g(y) depends only on y, separate and integrate: ∫1g(y)dy=x+C. This NSW Year 12 Mathematics Extension 1 topic (NESA outcome ME1-12-05) includes the common form dydx=k(yβˆ’a)β‡’y=a+Aekx.

When dydx=g(y) depends only on y, separate the variables: gather the y's with dy and the x's with dx, then integrate.

This gives ∫1g(y)dy=∫dx=x+C, after which you rearrange for y.

A very common case is dydx=k(yβˆ’a), whose solution is y=a+Aekx.

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. Syllabus examples include dydx=3y and dydx=20eβˆ’5y.

Exponential solution familySeveral exponential curves y equals A e to the k x, the solutions of dy by dx equals k y for different constants A.xyy = Ae^{kx}
dydx=ky gives an exponential family y=Aekx.
Solutions of dy/dx = k(y minus a)Curves y equals a plus A e to the k x moving away from the equilibrium line y equals a.xyy = a
dydx=k(yβˆ’a) gives y=a+Aekx, curving away from y=a.
dydx=g(y)⟹∫1g(y)dy=∫dx=x+C.
integral of 1/g(y) dy = x + C

The common linear case:

dydx=k(yβˆ’a)⟹y=a+Aekx.
dy/dx = k(y - a) gives y = a + A e^(kx)

Combine constants. After integrating 1y, the ln⁑|y|=kx+C rearranges to y=Aekx with A=±eC.

How to solve dydx=g(y)

  1. Divide by g(y) and treat dydx as a ratio: 1g(y)dy=dx.
  2. Integrate both sides.
  3. Solve for y, combining constants into a single A.
  4. Apply any initial condition to fix A.
Example 1 β€” Exponential
Find the general solution of dydx=5y.
Solution
∫1ydy=∫5dx
ln⁑|y|=5x+Cβ‡’y=Ae5x
y = A e^(5x)

y=Ae5x.

Example 2 β€” Linear form
Solve dydx=2(yβˆ’3).
Solution

Of the form k(yβˆ’a) with k=2, a=3.

y=3+Ae2x
y = 3 + A e^(2x)

y=3+Ae2x.

Example 3 β€” A reciprocal
Find the general solution of dydx=y2.
Solution
∫1y2dy=∫dx
βˆ’1y=x+Cβ‡’y=βˆ’1x+C
y = -1/(x + C)

y=βˆ’1x+C.

Example 4 β€” Giving arctan
Solve dydx=1+y2 given y(0)=1.
Solution

∫dy1+y2=∫dx, so tanβˆ’1⁑y=x+C.

tanβˆ’1⁑1=Cβ‡’C=Ο€4
y = tan(x + pi/4)

y=tan(x+Ο€4).

Common pitfalls

Not separating. Keep dy with the y-terms and dx with the x-terms before integrating.
The linear shortcut. dydx=k(yβˆ’a)β‡’y=a+Aekx β€” recognise it to save work.
Constant handling. Combine into one A (often A=Β±eC) rather than carrying several.
Absolute values. ln⁑|y| becomes y=Aekx with A allowed to be negative.

Frequently asked questions

How do you solve dy/dx = g(y)?

Separate and integrate: ∫1g(y)dy=x+C, then solve for y.

What is the solution of dy/dx = k(y - a)?

y=a+Aekx, a very common form worth memorising.

Why does ln|y| become Ae^(kx)?

Exponentiating ln⁑|y|=kx+C gives y=±eCekx=Aekx.

How do you handle the constants?

Combine them into a single constant A as you solve for y.

Can this give an inverse trig answer?

Yes β€” e.g. dydx=1+y2 gives tanβˆ’1⁑y=x+C.