Skip to content
  1. IB Question Bank
  2. Maths AA
  3. Calculus
Topic 5.21 · HL only

Separable First order differential equations: notes and practice questions

Summary
  • A first-order differential equation is separable if it can be written as dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y) or dydx=f(x)h(y)\frac{dy}{dx} = \frac{f(x)}{h(y)}.
  • The method involves separating variables: ∫1g(y)dy=∫f(x)dx\int \frac{1}{g(y)} dy = \int f(x) dx.
  • Always include the constant of integration (+C+C) on one side after integrating.
  • Substitute initial conditions to find the particular solution by solving for CC.
  • Homogeneous equations of the form dydx=f(yx)\frac{dy}{dx} = f(\frac{y}{x}) can be transformed into separable ones using the substitution y=vxy=vx.
  • Common pitfalls include forgetting +C+C and mishandling modulus signs with logarithms.

How it is examined

Four methods under one code, and the question usually names the method, so generation should name it too. The logistic equation is the IB's own example and it pulls in partial fractions, which makes it a good multi-part question. Euler's method is arithmetic that has to be laid out in a table, and it is a Paper 2 item. The constant of integration must be found from the initial condition before rearranging, not after. 8 to 12 marks across parts.

Given in the booklet

Euler's method as yn+1=yn+h×f(xn,yn)y_{n+1} = y_n + h \times f(x_n, y_n); xn+1=xn+hx_{n+1} = x_n + h, where hh is a constant (step length), and the integrating factor e∫P(x)dxe^{\int P(x)\mathrm{d}x} for y′+P(x)y=Q(x)y' + P(x)y = Q(x). **The homogeneous substitution y=vxy = vx is not in the booklet**, it is in the syllabus guidance and has to be recalled.

Key ideas
  • First order differential equations.
  • Numerical solution of dydx=f(x,y)\dfrac{\mathrm{d}y}{\mathrm{d}x} = f(x, y) using Euler's method.
  • Variables separable.
  • Homogeneous differential equation dydx=f(yx)\dfrac{\mathrm{d}y}{\mathrm{d}x} = f\left(\dfrac{y}{x}\right) using the substitution y=vxy = vx.
Not assessed

First order only. Second order differential equations are not on the syllabus.

Linking questions

  • Other contexts: Newton's law of cooling, population growth, carbon dating.
  • Links to other subjects: decay curves (physics); first order reactions (chemistry).

Practice questions

20 questions · 2 easy · 9 medium · 9 hard
Showing 20 of 20

Question 1

EasyPaper 1 · no calculator5 marks

Consider the following differential equation:

dydx=(y−5)sin⁡(x)\frac{dy}{dx} = (y - 5)\sin(x)

Given that y(π2)=2,y\left( \frac{\pi}{2} \right) = 2, solve the differential equation.

Question 2

MediumPaper 2 · calculator10 marks
(a)

Consider the following differential equation:

(2x3+5)dydx=6x2y2\left( 2x^{3} + 5 \right)\frac{dy}{dx} = 6x^{2}y^{2}

aa Take y(−1)=−1y( - 1) = - 1, and use Euler's method with a step size of 0.4 to estimate yy at x=1x = 1.

[3]
(b)

bb By solving the differential equation analytically, calculate the absolute error in your approximation from part (a) at x=1.x = 1.

[7]

Question 3

HardPaper 1 · no calculator20 marks
(a)

The acceleration, a ms−2a \text{ ms}^{-2}, of a particle moving in a straight line at time tt seconds, t≥0t \ge 0, is given by a=−2v−8a = -2v - 8, where v ms−1v \text{ ms}^{-1} is the particle's velocity. At t=0t=0, the particle is at the origin O and has an initial velocity v0 ms−1v_0 \text{ ms}^{-1}, where v0>0v_0 > 0.

By solving an appropriate differential equation, show that the particle's velocity at time tt is given by v(t)=(v0+4)e−2t−4v(t) = (v_0 + 4)e^{-2t} - 4.

[6]
(b)(i)

The particle moves in the positive direction until it reaches its maximum displacement from O at time TT. Show that e2T=v0+44e^{2T} = \frac{v_0+4}{4}.

[2]
(b)(ii)

Find an expression for the maximum displacement, smaxs_{\text{max}}, in terms of v0v_0.

[5]
(c)

Let v(T−k)v(T-k) represent the particle's velocity kk seconds before it reaches smaxs_{\text{max}}, where 0<k<T0 < k < T. By using the result from part (b)(i), show that v(T−k)=4(e2k−1)v(T-k) = 4(e^{2k} - 1).

[2]
(d)

Similarly, let v(T+k)v(T+k) represent the particle's velocity kk seconds after it reaches smaxs_{\text{max}}. Deduce a similar expression for v(T+k)v(T+k) in terms of kk.

[2]
(e)

Hence, show that the speed of the particle kk seconds before it reaches smaxs_{\text{max}} is greater than or equal to its speed kk seconds after it reaches smaxs_{\text{max}}.

[3]

Question 4

EasyPaper 1 · no calculator4 marks

Given that dydx=e2x−3\frac{dy}{dx} = e^{2x-3}, and y=5y = 5 when x=32x = \frac{3}{2}, find yy in terms of xx.

Question 5

MediumPaper 1 · no calculator4 marks

The gradient of a curve is given by dydx=e2x−2\frac{dy}{dx} = e^{2x-2}. The curve passes through the point (1,4)(1, 4).

(a) Find the equation of the curve.

Question 6

HardPaper 1 · no calculator8 marks

Consider the homogeneous differential equation dydx=y2−x22xy\frac{dy}{dx} = \frac{y^2 - x^2}{2xy}, for x>0x > 0 and y>0y > 0.

It is given that y=3y = \sqrt{3} when x=1x = 1.

By using the substitution y=vxy = vx, show that the solution to the differential equation is x2+y2=4xx^2 + y^2 = 4x.

Question 7

MediumPaper 1 · no calculator5 marks

The gradient of the tangent to a curve y=f(x)y = f(x) is given by f′(x)=2e2x−1f'(x) = 2e^{2x-1}. The curve passes through the point (12,5)(\frac{1}{2}, 5).

(a) Find f(x)f(x).

Question 8

HardPaper 2 · calculator20 marks
(a)

The rate of change of a certain quantity RR with respect to a variable xx is given by R′(x)=1x(M−x)R'(x)=\frac{1}{x(M-x)}, x∈Rx \in \mathbb{R}, x≠0x \neq 0, x≠Mx \neq M where MM is a positive constant.

The expression for R′(x)R'(x) can be written in the form Ax+BM−x\frac{A}{x} + \frac{B}{M-x}, where A,B∈RA, B \in \mathbb{R}.

Find AA and BB in terms of MM.

[3]
(b)

Hence, find an expression for R(x)R(x).

[3]
(c)

The concentration of a certain chemical product, CC (in mol/L), in a reaction vessel at time tt (in minutes) can be modelled by the differential equation dCdt=C(L−C)8L\frac{dC}{dt} = \frac{C(L-C)}{8L}, where LL is the maximum possible concentration and C(0)=0.2C(0) = 0.2 mol/L is the initial concentration.

By solving the differential equation, show that C=0.2L(L−0.2)e−t8+0.2C = \frac{0.2 L}{(L-0.2)e^{-\frac{t}{8}}+0.2}.

[8]
(d)

At t=12t=12 minutes, the concentration of the product has reached 0.60.6 mol/L.

Find the value of LL, giving your answer correct to four significant figures.

[3]
(e)

Find the value of tt when the rate of change of the concentration is at its maximum.

[3]

Question 9

MediumPaper 1 · no calculator4 marks

Given that dydx=sec⁡2(x2)\frac{dy}{dx} = \sec^2\left(\frac{x}{2}\right), and y=5y = 5 when x=π2x = \frac{\pi}{2}, find yy in terms of xx.

Question 10

HardPaper 2 · calculator21 marks
(a)

The growth of a bacterial colony, BB, in a petri dish can be modelled by the logistic differential equation

dBdt=kB(1−BN)\frac{\text{d}B}{\text{d}t} = k B \left(1 - \frac{B}{N}\right)

where tt is the time measured in hours and k,Nk, N are positive constants.

The constant NN represents the maximum number of bacteria the petri dish can sustain indefinitely due to limited nutrients.

In the context of this bacterial growth model, interpret the meaning of dBdt\frac{\text{d}B}{\text{d}t}.

[1]
(b)

Show that d2Bdt2=k2B(1−BN)(1−2BN)\frac{\text{d}^2B}{\text{d}t^2} = k^2B\left(1-\frac{B}{N}\right)\left(1-\frac{2B}{N}\right).

[4]
(c)

Hence show that the bacterial colony will grow at its maximum rate when B=N2B = \frac{N}{2}. Justify your answer.

[5]
(d)

Hence determine the maximum value of dBdt\frac{\text{d}B}{\text{d}t} in terms of kk and NN.

[2]
(e)

Let B0B_0 be the initial number of bacteria.

By solving the logistic differential equation, show that its solution can be expressed in the form

kt=ln⁡(B(N−B0)B0(N−B))kt = \ln\left(\frac{B(N-B_0)}{B_0(N-B)}\right).

[7]
(f)

After 5 hours, the number of bacteria is 2B02B_0. It is known that N=3B0N = 3B_0.

Find the value of kk for this bacterial growth model.

[2]

Question 11

MediumPaper 1 · no calculator4 marks

Given that f′(x)=e2x+1f'(x) = e^{2x+1}, and the point (−12,3)(-\frac{1}{2}, 3) lies on the graph of f(x)f(x), find f(x)f(x).

Question 12

HardPaper 2 · calculator19 marks
(a)

(a) In a controlled biological experiment, the rate of change of the population PP of a certain microorganism with respect to time tt is modeled by the differential equation t2dPdt=P2−2tP+2t2t^2 \frac{dP}{dt} = P^2 - 2tP + 2t^2, where t>0t > 0 is in hours and PP is in thousands of organisms. It is known that at t=1t = 1 hour, the population is P=4P = 4 thousand.

Use Euler's method, with a step length of 0.1, to find an approximate value of PP when t=1.4t = 1.4.

[4]
(b)

(b) Use the substitution P=vtP = vt to show that tdvdt=v2−3v+2t\frac{dv}{dt} = v^2 - 3v + 2.

[3]
(c)(i)

(c.i) By solving the differential equation from part (b), and given that P>2tP > 2t, show that P=6t−2t23−2tP = \frac{6t - 2t^2}{3 - 2t}.

[10]
(c)(ii)

(c.ii) Find the actual value of PP when t=1.4t = 1.4.

[1]
(c)(iii)

(c.iii) Using the graph of P=6t−2t23−2tP = \frac{6t - 2t^2}{3 - 2t}, suggest a reason why the approximation given by Euler's method in part (a) is not a good estimate to the actual value of PP at t=1.4t = 1.4.

[1]

Question 13

MediumPaper 1 · no calculator8 marks
(a)

Consider the differential equation

dydx=eysin⁡xcos⁡x,y∈R\frac{dy}{dx} = e^y \sin x \cos x, y \in \mathbb{R}.

The solutions to this differential equation can be expressed in the form

y=ln⁡(acos⁡(2x)+b)y = \ln\left(\frac{a}{\cos(2x) + b}\right),

where aa and bb are constants such that a∈Z+a \in \mathbb{Z}^+ and b∈Rb \in \mathbb{R}.

(a) By solving the differential equation, find the value of aa.

[6]
(b)

(b) Given that y=0y = 0 when x=π4x = \frac{\pi}{4}, find the value of bb.

[2]

Question 14

HardPaper 1 · no calculator12 marks
(a)

Consider the differential equation dydx=y2sin⁡x\frac{dy}{dx} = y^2 \sin x.

Given that y=1y = 1 when x=0x = 0, show that the solution to the equation is y=sec⁡xy = \sec x.

[5]
(b)

Determine the value of the constant AA for which the following limit exists, and evaluate the limit:

lim⁡x→0sec⁡x−Ax2\lim_{x\to 0} \frac{\sec x - A}{x^2}

[7]

Question 15

MediumPaper 2 · calculator10 marks
(a)

A metal object is cooling in a room. Its temperature, TT (in degrees Celsius), at time tt (in minutes) can be modelled by the differential equation dTdt=−0.05(T−20)\frac{dT}{dt} = -0.05(T-20). Initially, at t=0t=0, the temperature of the object is 80∘C80^{\circ}\text{C}.

(a) Use Euler's method with a step size of 0.1 to find an approximation for the temperature of the object when t=0.4t=0.4 minutes. Give your answer correct to four significant figures.

[3]
(b)

(b) By solving the differential equation, show that T=20+60e−0.05tT = 20 + 60e^{-0.05t}.

[5]
(c)

(c) Find the absolute value of the error in your approximation in part (a).

[2]

Question 16

HardPaper 1 · no calculator38 marks
(a)

Find the general solution to the following differential equation. (a)

dydx=y2x2−1\frac{dy}{dx} = \frac{y^2}{x^2-1}

[5]
(b)

(b)

dydx=y2sin⁡xcos⁡x\frac{dy}{dx} = y^2 \sin x \cos x

[5]
(c)

(c) Find the particular solution to the differential equation (x2+4)dydx=xy(x^2+4) \frac{dy}{dx} = xy, given the initial condition y(0)=1y(0)=1.

[6]
(d)

(d)

exdydx=1ye^x \frac{dy}{dx} = \frac{1}{y}

[4]
(e)

(e)

dydx+2y=xe−x\frac{dy}{dx} + 2y = xe^{-x}

[6]
(f)

(f) xdydx−3y=x5x \frac{dy}{dx} - 3y = x^5 for x>0x>0.

[6]
(g)

(g) dydx+ycot⁡x=cos⁡x\frac{dy}{dx} + y \cot x = \cos x for 0<x<π0 < x < \pi.

[6]

Question 17

MediumPaper 2 · calculator8 marks

A newly discovered radioactive isotope, Isotope-X, undergoes decay such that its rate of decay is proportional to the amount of the isotope present at any time tt. An initial sample of 120120 grams of Isotope-X is observed to decay to 9090 grams after 44 hours.

Find the time, in hours, it takes for the sample of Isotope-X to decay to half its initial size.

Question 18

HardPaper 3 · calculator31 marks
(a)(i)

This question explores families of curves and their intersections, including orthogonal trajectories and curves intersecting at a specific acute angle.

Consider a family of curves, LL, with equation xy=cxy = c, where cc is a parameter. Each member of LL intersects every member of a family of curves, CC, at right-angles.

Note: In parts (i), (ii) and (iii), you are not required to consider the case where x=0x = 0 or y=0y = 0.

Write down an expression for the gradient of LL in terms of xx and yy.

[1]
(a)(ii)

Hence show that the gradient of CC is given by dydx=xy\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{x}{y}.

[1]
(a)(iii)

By solving the differential equation dydx=xy\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{x}{y}, show that the family of curves, CC, has equation y2−x2=Ky^2 - x^2 = K where KK is a parameter.

[2]
(b)

Consider two families of curves: F1F_1 with equation x2−y2=Ax^2 - y^2 = A and F2F_2 with equation xy=Bxy = B. For this part, let A=3A = 3 and B=2B = 2.

On the same set of axes, sketch the curves x2−y2=3x^2 - y^2 = 3 and xy=2xy = 2. On your sketch, clearly label each curve and any xx-intercepts.

[3]
(c)

Find the coordinates of the intersection points of the curves x2−y2=3x^2 - y^2 = 3 and xy=2xy = 2.

[6]
(d)

At the point (2,1)(2, 1), show that the curves x2−y2=3x^2 - y^2 = 3 and xy=2xy = 2 intersect at right-angles.

[5]
(e)(i)

Consider two families of curves, FF and GG.

The gradient of FF is denoted by f(x,y)f(x, y).

The gradient of GG is denoted by g(x,y)g(x, y).

Each member of FF intersects every member of GG at an acute angle, α\alpha.

It can be shown that

g(x,y)=f(x,y)+tan⁡α1−f(x,y)tan⁡αg(x, y) = \frac{f(x, y) + \tan \alpha}{1 - f(x, y) \tan \alpha}

In part (e), consider the specific case where f(x,y)=−yxf(x, y) = -\frac{y}{x}, for x≠0x \neq 0, y≠0y \neq 0 and α=π4\alpha = \frac{\pi}{4}.

Show that g(x,y)=x−yx+yg(x, y) = \frac{x-y}{x+y}.

[2]
(e)(ii)

Hence, by solving the homogeneous differential equation dydx=x−yx+y\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{x-y}{x+y}, find a general equation that represents this family of curves, GG. Give your answer in the form h(x,y)=dh(x, y) = d where dd is a parameter.

[9]
(f)

By considering lim⁡α→π2tan⁡α\lim_{\alpha \to \frac{\pi}{2}} \tan \alpha, show that, for all finite f(x,y)f(x, y),

lim⁡α→π2g(x,y)=−1f(x,y)\lim_{\alpha \to \frac{\pi}{2}} g(x, y) = -\frac{1}{f(x, y)}.

[2]

Question 19

MediumPaper 2 · calculator11 marks
(a)

(a) The concentration of an experimental drug in a patient's bloodstream, CC, decreases at a rate proportional to its current concentration. Express this relationship as a differential equation.

[2]
(b)

(b) Solve the differential equation from part (a) to find an expression for CC in terms of time tt, initial concentration C0C_0, and the constant of proportionality kk.

[4]
(c)

(c) The half-life of the drug in the bloodstream is 44 hours. Determine, to the nearest hour, how long it takes for the drug's concentration to fall to 15%15\% of its initial amount.

[5]

Question 20

HardPaper 3 · calculator25 marks
(a)(i)

This question asks you to investigate the motion of a buoy bobbing up and down in the water.

A buoy bobs up and down in the water.

A fixed origin O\text{O} is the equilibrium position of the buoy (the water level).

The buoy's displacement, yy metres, from O\text{O} at time tt seconds is given by

y=6sin⁡(2t+π6), for 0≤t≤π.y = 6\sin\left(2t + \frac{\pi}{6}\right), \text{ for } 0 \le t \le \pi.

Determine

the amplitude of the buoy's motion;

[1]
(a)(ii)

the buoy's initial displacement from O\text{O};

[2]
(a)(iii)

the value of tt when the buoy first passes through O\text{O}.

[2]
(b)

Now consider the general case of a buoy bobbing up and down.

The buoy's acceleration is always directed towards a fixed origin O\text{O} at its equilibrium position.

The buoy's acceleration, aa, at a displacement, yy, from O\text{O} satisfies the differential equation

a=−ω2y, where ω>0.a = -\omega^2 y, \text{ where } \omega > 0.

The buoy's displacement, yy, from O\text{O} at time tt is given by

y=Hsin⁡(ωt+c), where t≥0, H,ω>0 and −π≤c≤π.y = H\sin(\omega t + c), \text{ where } t \ge 0,\ H, \omega > 0 \text{ and } -\pi \le c \le \pi.

By finding expressions for dydt\frac{\mathrm{d}y}{\mathrm{d}t} and d2ydt2\frac{\mathrm{d}^2y}{\mathrm{d}t^2}, verify that y=Hsin⁡(ωt+c)y = H\sin(\omega t + c) satisfies the differential equation a=−ω2ya = -\omega^2 y.

[2]
(c)(i)

Use the chain rule to show that a=vdvdya = v\frac{\mathrm{d}v}{\mathrm{d}y}, where vv is velocity.

[1]
(c)(ii)

By solving the differential equation, vdvdy=−ω2yv\frac{\mathrm{d}v}{\mathrm{d}y} = -\omega^2 y, show that v2=ω2(H2−y2)v^2 = \omega^2(H^2 - y^2).

[5]
(c)(iii)

Hence, or otherwise, find the buoy's maximum speed.

[2]
(d)

The continuous random variable YY denotes the buoy's displacement, yy, from O\text{O} at time tt.

The probability density function ff of YY is defined by

f(y)={1πH2−y2,−H<y<H0,otherwise.f(y) = \begin{cases} \frac{1}{\pi\sqrt{H^2 - y^2}}, & -H < y < H \\ 0, & \text{otherwise.} \end{cases}

Show that P(0≤Y≤H32)=13\mathrm{P}\left(0 \le Y \le \frac{H\sqrt{3}}{2}\right) = \frac{1}{3}.

[4]
(e)

For −H<y<H-H < y < H, the function f(y)f(y) can be expressed in the form m∣v(y)∣\frac{m}{|v(y)|}, where m>0m > 0 and v(y)v(y) is the buoy's velocity at a displacement, yy, from O\text{O}.

Find the value of mm.

[3]
(f)(i)

Determine E(Y)\mathrm{E}(Y), justifying your answer.

[2]
(f)(ii)

Interpret the result found in part (f)(i) in the context of the buoy's motion.

[1]

Every Separable First order differential equations question, marked for you

Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.

Where marks are lost

  • Using your own wrong value after failing a "show that".
Free. Every IB subject.
No card, no trial that runs out. Just a free account.
  • 50 marked answers a month
    Marked mark by mark, IB-style
  • Hints and mark schemes
    On every part of every question
  • 3,000+ questions
    All 6 subjects, SL and HL, mapped to the syllabus
  • Progress that adapts
    Your Study Profile picks what to practise next

Practise this topic as a session

Pick a difficulty and paper, and FourtyFive tracks your progress on this topic as you go.

or with email
FAQ

Questions,
answered.

Can't find what you're looking for? Email our student team.

What does Separable First order differential equations cover in IB Maths AA?

A first-order differential equation is separable if it can be written as (dy)/(dx) = f(x)g(y) or (dy)/(dx) = (f(x))/(h(y)). The method involves separating variables: ∫ (1)/(g(y)) dy = ∫ f(x) dx. Always include the constant of integration (+C) on one side after integrating.

Is Separable First order differential equations SL or HL?

Separable First order differential equations is HL only. SL students are not examined on it.

How do I revise Separable First order differential equations for IB Maths AA?

Start from the core idea: a first-order differential equation is separable if it can be written as (dy)/(dx) = f(x)g(y) or (dy)/(dx) = (f(x))/(h(y)). In the exam: four methods under one code, and the question usually names the method, so generation should name it too. The logistic equation is the IB's own example and it pulls in partial fractions, which makes it a good multi-part question. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Separable First order differential equations?

FourtyFive has 20 Separable First order differential equations questions. Every answer you write is marked mark by mark, IB-style, and you see where each mark was won or lost. Every part has a hint, the AI tutor helps you through the step you are stuck on, and your Study Profile picks what to practise next.

Is FourtyFive free for Separable First order differential equations practice?

Yes. A free account gives you 50 marked answers a month, and you do not need a card to sign up.

Can I handwrite Separable First order differential equations answers on an iPad?

Yes. In the FourtyFive iPad app you write your working by hand with Apple Pencil, the way you would on paper, and it is marked the same way.

Start with the IB question
bank built for you.

Free to start, no card needed. Thousands of syllabus-mapped questions, AI Examiner marking, your weakest topics first.