Home / differential equations AA HL Paper 3

IB Mathematics AHL 5.18 differential equations AA HL Paper 3 - Exam Style Questions

Question

This question asks you to investigate the motion of a particle moving back and forth in a horizontal line between two end points.

A particle moves back and forth in a horizontal line between two end points. A fixed origin \(O\) is the midpoint between these end points. The particle’s displacement, \(x\) metres, from \(O\) at time \(t\) seconds is given by \(x=4\sin\left(2t+\frac\pi3\right)\), for \(0\le t\le\pi\).

(a) Determine

(i) the amplitude of the particle’s motion; \([1]\)

(ii) the particle’s initial displacement from \(O\); \([2]\)

(iii) the value of \(t\) when the particle first passes through \(O\). \([2]\)

Now consider the general case of a particle moving back and forth in a horizontal line between two end points.

The particle’s acceleration is always directed towards a fixed origin \(O\) at the midpoint of these end points.

The particle’s acceleration, \(a\), at a displacement, \(s\), from \(O\) satisfies the differential equation \(a=-n^2s\), where \(n\gt0\).

The particle’s displacement, \(s\), from \(O\) at time \(t\) is given by \(s=A\sin(nt+b)\), where \(t\ge0\), \(A,n\gt0\) and \(-\pi\le b\le\pi\).

(b) By finding expressions for \(\frac{\mathrm{d}s}{\mathrm{d}t}\) and \(\frac{\mathrm{d}^2s}{\mathrm{d}t^2}\), verify that \(s=A\sin(nt+b)\) satisfies the differential equation \(a=-n^2s\). \([2]\)

(c) (i) Use the chain rule to show that \(a=v\frac{\mathrm{d}v}{\mathrm{d}s}\), where \(v\) is velocity. \([1]\)

(ii) By solving the differential equation, \(v\frac{\mathrm{d}v}{\mathrm{d}s}=-n^2s\), show that \(v^2=n^2(A^2-s^2)\). \([5]\)

(iii) Hence, or otherwise, find the particle’s maximum speed. \([2]\)

The continuous random variable \(S\) denotes the particle’s displacement, \(s\), from \(O\) at time \(t\).

The probability density function \(f\) of \(S\) is defined by \(f(s)=\begin{cases}\dfrac{1}{\pi\sqrt{A^2-s^2}},&-A\lt s\lt A,\\0,&\text{otherwise}.\end{cases}\)

(d) Show that \(\mathrm{P}\left(-\frac A2\le S\le\frac A2\right)=\frac13\). \([4]\)

For \(-A\lt s\lt A\), the function \(f(s)\) can be expressed in the form \(\frac{k}{|v(s)|}\), where \(k\gt0\) and \(v(s)\) is the particle’s velocity at a displacement, \(s\), from \(O\).

(e) Find the value of \(k\). \([3]\)

(f) (i) Determine \(\mathrm{E}(S)\), justifying your answer. \([2]\)

(ii) Interpret the result found in part (f)(i) in the context of the particle’s motion. \([1]\)

Relevant formulas from the formula booklet: \(\frac{\mathrm{d}}{\mathrm{d}x}(\sin x)=\cos x,\qquad\frac{\mathrm{d}}{\mathrm{d}x}(\cos x)=-\sin x\); \(\int\frac{1}{\sqrt{A^2-s^2}}\,\mathrm{d}s=\arcsin\left(\frac sA\right)+C\), for \(|s|\lt A\); \(\mathrm{E}(S)=\int_{-\infty}^{\infty}s f(s)\,\mathrm{d}s\).

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

▶️ Answer/Explanation

(a)(i) The amplitude is the coefficient of the sine function: \(\boxed{4\mathrm{\,m}}\). [A1]
Part (a)(i): \(1\) mark.

(a)(ii) Initial displacement occurs at \(t=0\). [(M1)]
\(x(0)=4\sin\left(\frac\pi3\right)=4\left(\frac{\sqrt3}{2}\right)=\boxed{2\sqrt3\mathrm{\,m}}\), approximately \(3.46\mathrm{\,m}\). [A1]
Part (a)(ii): \(2\) marks.

(a)(iii) Passing through \(O\) means \(x=0\). Solve \(\sin\left(2t+\frac\pi3\right)=0\) for the first positive time. [(M1)]
The first such angle is \(\pi\), so \(2t+\frac\pi3=\pi\), giving \(\boxed{t=\frac\pi3\mathrm{\,s}}\), approximately \(1.05\mathrm{\,s}\). [A1]
Part (a)(iii): \(2\) marks. Part (a): \(5\) marks.

(b) Differentiate using the chain rule: \(\frac{\mathrm{d}s}{\mathrm{d}t}=nA\cos(nt+b)\). [A1]
Differentiating again gives \(\frac{\mathrm{d}^2s}{\mathrm{d}t^2}=-n^2A\sin(nt+b)=-n^2s\). [A1]
Since acceleration is \(\frac{\mathrm{d}^2s}{\mathrm{d}t^2}\), this verifies \(\boxed{a=-n^2s}\). [AG]
Part (b): \(2\) marks.

(c)(i) Using \(v=\frac{\mathrm{d}s}{\mathrm{d}t}\) and the chain rule, \(a=\frac{\mathrm{d}v}{\mathrm{d}t}=\frac{\mathrm{d}v}{\mathrm{d}s}\frac{\mathrm{d}s}{\mathrm{d}t}\). [A1]
Therefore, \(\boxed{a=v\frac{\mathrm{d}v}{\mathrm{d}s}}\). [AG]
Part (c)(i): \(1\) mark.

(c)(ii) Separate variables and integrate: \(\int v\,\mathrm{d}v=\int-n^2s\,\mathrm{d}s\). [(M1)]
This gives \(\frac12v^2=-\frac12n^2s^2+C\). [A1]
Consider an end point of the motion, where the particle reverses direction. [(M1)]
At \(s=A\), the velocity is \(v=0\); this also follows from \(\sin(nt+b)=1\) and \(\cos(nt+b)=0\). [A1]
Hence, \(C=\frac12n^2A^2\), and substitution gives \(\frac12v^2=-\frac12n^2s^2+\frac12n^2A^2\). [A1]
Therefore, \(\boxed{v^2=n^2(A^2-s^2)}\). [AG]
Part (c)(ii): \(5\) marks.

(c)(iii) The speed is greatest when \(s^2\) is smallest, at \(s=0\). [(M1)]
Then \(v^2=n^2A^2\), so the maximum speed is \(\boxed{nA}\). [A1]
Part (c)(iii): \(2\) marks. Part (c): \(8\) marks.

(d) Integrate the density over the stated interval: \(\mathrm{P}\left(-\frac A2\le S\le\frac A2\right)=\int_{-A/2}^{A/2}\frac{1}{\pi\sqrt{A^2-s^2}}\,\mathrm{d}s\). [(A1)]
An antiderivative is \(\frac1\pi\arcsin\left(\frac sA\right)\). [A1]
Substitute both limits: \(\frac1\pi\left[\arcsin\left(\frac12\right)-\arcsin\left(-\frac12\right)\right]\). [(M1)]
This equals \(\frac1\pi\left[\frac\pi6-\left(-\frac\pi6\right)\right]\). [A1]
Hence, \(\boxed{\mathrm{P}\left(-\frac A2\le S\le\frac A2\right)=\frac13}\). [AG]
Part (d): \(4\) marks.

(e) From part (c)(ii), the speed is \(|v(s)|=n\sqrt{A^2-s^2}\). [(A1)]
Compare the two expressions for the density: \(\frac{k}{n\sqrt{A^2-s^2}}=\frac{1}{\pi\sqrt{A^2-s^2}}\). [(A1)]
Cancelling the common factor gives \(\frac kn=\frac1\pi\), so \(\boxed{k=\frac n\pi}\). [A1]
The absolute value represents speed, which is positive inside the interval.
Part (e): \(3\) marks.

(f)(i) The expected displacement is \(\boxed{\mathrm{E}(S)=0}\). [A1]
The density is even, \(f(-s)=f(s)\), and its interval is symmetric about \(0\). Equivalently, \(s f(s)\) is odd, so \(\mathrm{E}(S)=\int_{-A}^{A}s f(s)\,\mathrm{d}s=0\). [R1]
Part (f)(i): \(2\) marks.

(f)(ii) The particle’s mean position is the origin \(O\); its average displacement from \(O\) is \(0\). [A1]
Part (f)(ii): \(1\) mark. Part (f): \(3\) marks.

Total: \(25\) marks.

Topic codes (IB Mathematics AA, first assessment \(2021\)):
AHL \(5.18\) — First-order differential equations and separation of variables: (c)(ii); nearest AHL placement for the motion setup in (a) and the linked result in (c)(iii).
AHL \(5.12\) — Higher derivatives: (b); nearest AHL placement for the chain-rule identity in (c)(i).
AHL \(4.14\) — Continuous random variables, probability density functions and expected value: (d), (e), (f).
AHL \(5.15\) — Standard integral involving inverse sine: (d).

Question

Historically, a population of wolves in an area had a stable size of \(200\). After some years of disruption, the population was reduced to \(40\) wolves. At this point, the area became a protected space and the population began to grow again.

Researchers in the area wish to model the size of the wolf population, \(x\), as a function of \(t\), where \(t\) is the time, in years, since the area became protected.

(a) Initially, the researchers consider using the logistic model

\(x=\dfrac{L}{1+Ce^{-kt}}\), where \(L,C,k\in\mathbb{R}^{+}\).

The researchers decide to let \(L=200\).

(i) State the assumption being made in assuming \(L=200\). [1]

At \(t=0\), the population of wolves is \(40\).

(ii) Find the value of \(C\). [2]

At \(t=5\), the population of wolves is found to have increased to \(70\).

(iii) Find the value of \(k\). [2]

(iv) Use your model to predict the size of the wolf population in the area \(10\) years after it became protected. Give your answer correct to the nearest whole number. [2]

(b) An alternative model for population growth is called the Gompertz model. When applied by the researchers to the wolf population, this model satisfies the differential equation

\(\dfrac{dx}{dt}=ax\ln\left(\dfrac{200}{x}\right)\), \(a\in\mathbb{R}^{+}\).

(i) Write down the value of \(\dfrac{dx}{dt}\) when \(x=200\). [1]

(ii) Interpret your answer to part (b)(i) in context. [1]

Consider the function \(f(x)=\ln(\ln200-\ln x)\), where \(0<x<200\).

(iii) Show that \(f'(x)=\dfrac{-1}{x\ln\left(\frac{200}{x}\right)}\). [2]

(iv) Hence, use separation of variables to show that the general solution of

\(\dfrac{dx}{dt}=ax\ln\left(\dfrac{200}{x}\right)\), where \(0<x<200\),

can be written as

\(\ln x=\ln200-Ae^{-at}\),

where \(A\) is an arbitrary positive constant. [5]

(v) Use the size of the wolf population at \(t=0\) to find the value of \(A\). Give your answer in the form \(A=\ln p\), where \(p\in\mathbb{Z}^{+}\). [2]

(vi) Use the size of the wolf population at \(t=5\), given in part (a), to show that \(a=0.0855\), correct to three significant figures. [2]

(vii) Use the Gompertz model to predict the size of the wolf population at \(t=10\). Give your answer correct to the nearest whole number. [3]

After \(10\) years, the wolf population is measured and is found to be \(85\).

(c) Comment on the predictions made by the two models. [1]

By tracking individual wolves, the researchers find that about \(3\%\) of the wolf population emigrate from the protected area each year.

They decide to adapt the Gompertz model to allow for this. The new model will satisfy the differential equation

\(\dfrac{dx}{dt}=0.0855x\ln\left(\dfrac{200}{x}\right)-0.03x\).

(d)

(i) Use Euler’s method, with a step size of \(0.5\) years and an initial value of \(x_0=70\) when \(t=5\), to find an estimate for the size of the wolf population when \(t=10\). Give your answer correct to the nearest whole number. [4]

(ii) Comment on your answer. [1]

Most-appropriate topic codes (IB DP Mathematics: Analysis and Approaches HL):

• TOPIC AHL 5.18 First-order differential equations, separable variables including logistic population models, and numerical solutions using Euler’s method. (Parts a, b(i), b(ii), b(iv)–b(vii), c and d)
• TOPIC AHL 5.15 Differentiation and integration involving exponential and logarithmic functions. (Parts b(iii) and b(iv))
• TOPIC AHL 5.16 Integration by substitution. (Part b(iv))
▶️ Answer/Explanation

(a)(i)
In a logistic model, \(L\) represents the limiting population or carrying capacity.

Therefore, choosing \(L=200\) assumes that the wolf population will eventually stabilize at the same long-term population as it had before the disruption.

✅ Answer: The long-term stable population, or carrying capacity, is assumed to be \(200\) wolves.

(a)(ii)
At \(t=0\), \(x=40\). Substitute these values into the logistic model.

\(40=\dfrac{200}{1+Ce^0}\)

\(40=\dfrac{200}{1+C}\)

\(40(1+C)=200\)

\(1+C=5\)

✅ Answer: \(C=4\)

(a)(iii)
At \(t=5\), \(x=70\), and \(C=4\).

\(70=\dfrac{200}{1+4e^{-5k}}\)

\(1+4e^{-5k}=\dfrac{20}{7}\)

\(4e^{-5k}=\dfrac{13}{7}\)

\(e^{-5k}=\dfrac{13}{28}\)

\(-5k=\ln\left(\dfrac{13}{28}\right)\)

\(k=\dfrac{1}{5}\ln\left(\dfrac{28}{13}\right)\)

\(k=0.153451\ldots\)

✅ Answer: \(k\approx0.153\)

(a)(iv)
Substitute \(t=10\), \(C=4\) and \(k=0.153451\ldots\) into the logistic model.

\(x=\dfrac{200}{1+4e^{-10(0.153451\ldots)}}\)

\(x=107.397\ldots\)

✅ Answer: \(107\) wolves

(b)(i)
When \(x=200\):

\(\dfrac{dx}{dt}=a(200)\ln\left(\dfrac{200}{200}\right)\)

\(\dfrac{dx}{dt}=200a\ln1\)

✅ Answer: \(\dfrac{dx}{dt}=0\)

(b)(ii)
A rate of change of zero means that the population is not increasing or decreasing.

✅ Answer: A population of \(200\) wolves is an equilibrium or stable population.

(b)(iii)
Given:

\(f(x)=\ln(\ln200-\ln x)\)

Using the chain rule:

\(f'(x)=\dfrac{1}{\ln200-\ln x}\left(-\dfrac{1}{x}\right)\)

Since \(\ln200-\ln x=\ln\left(\dfrac{200}{x}\right)\):

✅ \(f'(x)=\dfrac{-1}{x\ln\left(\frac{200}{x}\right)}\)

(b)(iv)
Start with:

\(\dfrac{dx}{dt}=ax\ln\left(\dfrac{200}{x}\right)\)

Separate the variables.

\(\dfrac{-1}{x\ln\left(\frac{200}{x}\right)}\,dx=-a\,dt\)

Integrating both sides gives:

\(\ln(\ln200-\ln x)=-at+c\)

Exponentiating:

\(\ln200-\ln x=e^ce^{-at}\)

Let \(A=e^c\). Since an exponential is positive, \(A>0\).

\(\ln200-\ln x=Ae^{-at}\)

Therefore:

✅ \(\ln x=\ln200-Ae^{-at}\)

(b)(v)
At \(t=0\), \(x=40\).

\(\ln40=\ln200-Ae^0\)

\(A=\ln200-\ln40\)

\(A=\ln\left(\dfrac{200}{40}\right)\)

✅ Answer: \(A=\ln5\), so \(p=5\)

(b)(vi)
At \(t=5\), \(x=70\), and \(A=\ln5\).

\(\ln70=\ln200-(\ln5)e^{-5a}\)

\((\ln5)e^{-5a}=\ln200-\ln70\)

\((\ln5)e^{-5a}=\ln\left(\dfrac{200}{70}\right)\)

\(e^{-5a}=\dfrac{\ln(20/7)}{\ln5}\)

\(-5a=\ln\left(\dfrac{\ln(20/7)}{\ln5}\right)\)

\(a=\dfrac{1}{5}\ln\left(\dfrac{\ln5}{\ln(20/7)}\right)\)

\(a=0.0854528\ldots\)

✅ Hence, \(a=0.0855\), correct to three significant figures.

(b)(vii)
Using \(A=\ln5\), \(a=0.0854528\ldots\) and \(t=10\):

\(\ln x=\ln200-(\ln5)e^{-10(0.0854528\ldots)}\)

\(x=e^{\ln200-(\ln5)e^{-10(0.0854528\ldots)}}\)

\(x=100.839\ldots\)

✅ Answer: \(101\) wolves

(c)
The actual population after \(10\) years is \(85\).

The logistic model predicts \(107\), while the Gompertz model predicts \(101\). Both models overestimate the population.

However, the Gompertz model is closer to the measured value.

✅ Answer: Both models overestimate the wolf population, but the Gompertz model gives the more accurate prediction.

(d)(i)
The modified differential equation is:

\(\dfrac{dx}{dt}=0.0855x\ln\left(\dfrac{200}{x}\right)-0.03x\)

Using Euler’s formula with step size \(h=0.5\):

\(x_{n+1}=x_n+0.5\left[0.0855x_n\ln\left(\dfrac{200}{x_n}\right)-0.03x_n\right]\)

Starting with \(x_0=70\) when \(t=5\), ten Euler steps are required to reach \(t=10\).

\(t\)Estimated \(x\)
\(5.0\)\(70.0000\)
\(5.5\)\(72.0916\)
\(6.0\)\(74.1549\)
\(6.5\)\(76.1879\)
\(7.0\)\(78.1885\)
\(7.5\)\(80.1550\)
\(8.0\)\(82.0858\)
\(8.5\)\(83.9796\)
\(9.0\)\(85.8352\)
\(9.5\)\(87.6516\)
\(10.0\)\(89.4280\)

Therefore, when \(t=10\):

✅ Answer: \(89\) wolves, to the nearest whole number

(d)(ii)
The modified model predicts \(89\) wolves, which is much closer to the measured population of \(85\) than the earlier predictions of \(107\) and \(101\).

This suggests that including the emigration of wolves makes the model more realistic and accurate.

✅ Answer: The modified model gives a better prediction because it accounts for wolves leaving the protected area.

Leave a Reply

Scroll to Top