Home / IBDP Maths AHL 5.18 differential equations AA HL Paper 2- Exam Style Questions

IBDP Maths AHL 5.18 differential equations AA HL Paper 2- Exam Style Questions- New Syllabus

Question

Consider the differential equation \(\frac{\mathrm{d}y}{\mathrm{d}x}=y^3-\frac yx\), for \(x,y\gt0\). It is given that \(y=2\) when \(x=1\).

(a) Use Euler’s method with a step length of \(0.01\) to find an approximate value of \(y\) when \(x=1.05\). \([3]\)

(b) By using the substitution \(\frac1{y^2}=-2z\), show that the differential equation can be expressed as \(\frac{\mathrm{d}z}{\mathrm{d}x}-\frac{2z}{x}=1\). \([4]\)

(c) Hence, solve the differential equation, giving your answer in the form \(y=f(x)\). \([7]\)

(d) Find the domain and range of \(f(x)\). \([3]\)

(e) By considering the shape of the graph of \(f(x)\), explain whether Euler’s method gives an overestimate or underestimate of the value of \(y\) when \(x=1.05\). \([1]\)

Relevant formulas from the formula booklet: \(y_{n+1}=y_n+hF(x_n,y_n),\quad x_{n+1}=x_n+h;\qquad I(x)=\mathrm{e}^{\int P(x)\,\mathrm{d}x}\text{ for }y’+P(x)y=Q(x).\)

Total: \([18\text{ marks}]\)

▶️ Answer/Explanation

(a) Apply \(y_{n+1}=y_n+0.01\left(y_n^3-\frac{y_n}{x_n}\right)\), with \(x_{n+1}=x_n+0.01\), starting at \((1,2)\). [(M1)]
The first step gives \(y_1=2+0.01(8-2)=2.06\). [(A1)]
Continue for five steps, retaining full precision:

\(n\)\(x_n\)\(y_n\)
\(0\)\(1.00\)\(2.000000\)
\(1\)\(1.01\)\(2.060000\)
\(2\)\(1.02\)\(2.127022\)
\(3\)\(1.03\)\(2.202400\)
\(4\)\(1.04\)\(2.287847\)
\(5\)\(1.05\)\(2.385599\)

Hence, \(\boxed{y(1.05)\approx2.39}\). [A1]
Part (a): \(3\) marks.

(b) Differentiate \(y^{-2}=-2z\) with respect to \(x\). [(M1)]
\(-2y^{-3}\frac{\mathrm{d}y}{\mathrm{d}x}=-2\frac{\mathrm{d}z}{\mathrm{d}x}\), giving \(\frac{\mathrm{d}z}{\mathrm{d}x}=y^{-3}\frac{\mathrm{d}y}{\mathrm{d}x}\). [A1]
Substitute the original differential equation and \(y^{-2}=-2z\). [(M1)]
Then \(\frac{\mathrm{d}z}{\mathrm{d}x}=y^{-3}\left(y^3-\frac yx\right)=1-\frac1{xy^2}=1+\frac{2z}{x}\). [A1]
Therefore, \(\boxed{\frac{\mathrm{d}z}{\mathrm{d}x}-\frac{2z}{x}=1}\). [AG]
Part (b): \(4\) marks.

(c) Find an integrating factor for the equation in part (b). [M1]
Since \(x\gt0\), \(I(x)=\mathrm{e}^{\int-2/x\,\mathrm{d}x}=x^{-2}\). [A1]
Multiplying gives \(\frac{\mathrm{d}}{\mathrm{d}x}\left(\frac z{x^2}\right)=\frac1{x^2}\), so \(\frac z{x^2}=\int x^{-2}\,\mathrm{d}x\). [A1]
Thus, \(\frac z{x^2}=-\frac1x+C\). [A1]
At \(x=1\), \(y=2\), so \(z=-\frac18\). Substitute this initial condition to find \(C\). [(M1)]
\(-\frac18=-1+C\), giving \(C=\frac78\). Substitute back \(z=-\frac1{2y^2}\). [(M1)]
Then \(-\frac1{2y^2x^2}=-\frac1x+\frac78\), which simplifies to \(y^2=\frac4{x(8-7x)}\). Since \(y\gt0\), \(\boxed{y=f(x)=\frac2{\sqrt{x(8-7x)}}}\). [A1]
Part (c): \(7\) marks.

(d) The expression inside the square root must be positive, and the denominator cannot be zero. Hence, require \(x(8-7x)\gt0\). [(M1)]
The domain is \(\boxed{0\lt x\lt\frac87}\). [A1]
The quadratic \(x(8-7x)\) has maximum \(\frac{16}{7}\) at \(x=\frac47\), so \(f\) has minimum \(\frac2{\sqrt{16/7}}=\frac{\sqrt7}{2}\). The function tends to infinity at both domain boundaries.
Thus, the range is \(\boxed{y\ge\frac{\sqrt7}{2}}\). [A1]

Part (d): \(3\) marks.

(e) Euler’s method gives an underestimate because the solution curve is concave up over the interval, so the tangent steps lie below the curve. [R1]
Part (e): \(1\) mark.

Total: \(18\) marks.

Topic codes (IB Mathematics AA, first assessment \(2021\)):
AHL \(5.18\) — Euler’s method and first-order differential equations with integrating factors: (a), (b), (c), (e).
AHL \(5.14\) — Implicit differentiation: (b).
SL \(2.2\) — Domain and range: (d).
SL \(5.8\) — Minimum values and concavity: (d), (e).

Question

The rate of change of a population \( P \) is described by the differential equation \( \frac{dP}{dt} = -104000e^{-0.0145t} \), where \( t \) represents the number of years after the beginning of 2022.
At the beginning of 2022, the population was recorded as \( 6.78 \times 10^6 \).
Calculate the predicted size of the population at the beginning of 2026 according to this model.

Syllabus Topic Codes (IB Mathematics AA HL):

• SL 1.1: Operations with numbers in the form \( a \times 10^k \)
• SL 5.5: Introduction to integration as antidifferentiation; link between anti-derivatives, definite integrals and area 
• SL 5.10: Indefinite integral of \( e^x \) and composites with the linear function \( ax + b \) 
• AHL 5.18: First order differential equations; variables separable
▶️ Answer/Explanation

METHOD 1 (Using definite integral for net change)

The start of 2026 corresponds to \( t = 4 \) (since \( t=0 \) at start of 2022).
Net change in population from \( t=0 \) to \( t=4 \): \( \int_{0}^{4} -104000e^{-0.0145t} \, dt \)

Integrate: \( \left[ \frac{-104000}{-0.0145} e^{-0.0145t} \right]_{0}^{4} = \left[ \frac{104000}{0.0145} e^{-0.0145t} \right]_{0}^{4} \)
Let \( k = \frac{104000}{0.0145} \approx 7172413.79 \).
Then net change \( = k e^{-0.0145(4)} – k e^{0} = k(e^{-0.058} – 1) \approx -404165.81 \)

Initial population \( = 6.78 \times 10^6 = 6780000 \).
Population at start of 2026: \( 6780000 – 404165.81 = 6375834.19 \)

Rounded to three significant figures: \( \boxed{6.38 \times 10^{6}} \) (or \( 6380000 \))


METHOD 2 (Solving the differential equation)

Separate variables: \( dP = -104000 e^{-0.0145t} \, dt \).
Integrate: \( P = \int -104000 e^{-0.0145t} \, dt = \frac{-104000}{-0.0145} e^{-0.0145t} + C \)
\( P = 7172413.79 e^{-0.0145t} + C \)

Using \( t=0, P=6780000 \):
\( 6780000 = 7172413.79 + C \)
\( C = -392413.79 \)

So \( P(t) = 7172413.79 e^{-0.0145t} – 392413.79 \).
At \( t=4 \):
\( P(4) = 7172413.79 e^{-0.058} – 392413.79 \approx 6375834.19 \)

Rounded to three significant figures: \( \boxed{6.38 \times 10^{6}} \)

Scroll to Top