Mathematical Methods · Mock exam 2026 All mock exam questions
Mock exam · Paper 2 · Complex familiar

Question 15

[4 marks] Technology-active
The question

A bike-share company hires out electric bikes. Each hire has a maximum distance of 12 km.

The distance travelled on a hire can be modelled by the probability density function

$$p(x)=\begin{cases}kxe^{-\frac{x}{2}}, & 0\le x\le12\\ 0, & \text{otherwise}\end{cases}$$

where $x$ is the distance (km) and $k$ is a constant.

Hires that travel further than 6 km are charged an extra fee.

Determine the probability that a randomly selected hire is charged the extra fee.[4 marks]

Watch the solution first

Make the area 1, then measure the tail past 6 km

The curve starts without $k$. Setting its area to 1 squashes it into a pdf, and then the strip from 6 km to the 12 km limit is measured.

024681012x (km)y0.20.40.60.80.050.10.150.2maximum hire 12 km(2, 0.7358)(2, 0.1872)area = 3.9306area = 3.6375area = 3.3445area = 3.0514area = 2.7584area = 2.4653area = 2.1722area = 1.8792area = 1.5861area = 1.2931area = 1.0000extra fee beyond 6 km0.18500.8150no feeintegrated to ∞: k = 0.25,area to 12 is only 0.9826k ≈ 0.2544P(X > 6) ≈ 0.185Mark 1Mark 2Mark 3Mark 4p(x) = kx e−x/2, k unknowna pdf must have area 1: ∫012 kx e−x/2 dx = 13.9306k = 1, k = 0.2544P(X > 6) = ∫612 0.2544x e−x/2 dxP(X > 6) ≈ 0.185k ≈ 0.2544, P(X > 6) ≈ 0.185
Now for the mathematics

Find $k$, then move the fee threshold

Move $k$ to see how the total area changes, then press Make the area 1 to set $k$ exactly. That unlocks the threshold $a$, which hatches the region from $a$ to 12. The buttons below show the common slips.

$y=kxe^{-\frac{x}{2}}$ with
to ∞ maximum hire 12 km 0.050.10.150.20.25 024681012
Distance $x$ km
shaded: total area from 0 to 12 hatched: from $a$ to 12 the 12 km limit
$k$
Total area $\int_0^{12}kxe^{-\frac{x}{2}}\,dx=3.9306k$
$P(X>a)=\int_a^{12}kxe^{-\frac{x}{2}}\,dx$
UsedCorrect
$k$0.25 ✗0.2544 ✓
$P(X>6)$0.1818 ✗0.1850 ✓

Integrating over $0\le x<\infty$ gives $\int_0^{\infty}xe^{-\frac{x}{2}}\,dx=4$, so $k=0.25$. The total area to 12 is then only 0.9826, so this is not a pdf on $0\le x\le12$. You lose Marks 1 and 2, and 0.1818 earns Marks 3 and 4 by follow-through.

UsedCorrect
Answer0.8150 ✗0.1850 ✓

You integrated from 0 to 6 (the darker region), which is the probability of not paying the fee. The fee is for hires further than 6 km, so the region is the hatched strip from 6 to 12. You lose Mark 4.

UsedCorrect
Answer0.7272 ✗0.1850 ✓

You left $k$ out, which is the same as using $k=1$. 0.7272 is not a probability from this model, because the curve without $k$ has total area 3.9306, not 1. You lose all four marks.

UsedCorrect
Answer0.2027 ✗0.1850 ✓

You integrated from 6 to infinity, adding the dotted strip beyond 12 km. The pdf is zero beyond 12 km, so the upper limit is 12. You lose Marks 3 and 4.

Marking guide · 4 marks

Work through the solution one mark at a time

Try each step yourself before you reveal it.

Step 11 mark

The total probability under a pdf is 1. Here $p(x)$ is non-zero only for $0\le x\le12$, so integrate over that domain.

$$\int_0^{12}kxe^{-\frac{x}{2}}\,dx=1$$

Why?

No hire goes beyond 12 km, so the integral runs from 0 to 12, not to infinity.

Marking

Integrating over $0\le x<\infty$, which gives $k=0.25$, does not gain this mark or the next one. Follow-through still applies to the last two marks, which leads to 0.182.

Marker: correctly equates the integral of the probability density function over $0\le x\le12$ to 1

Step 21 mark

$k$ is a constant, so it comes outside the integral and the calculator evaluates the rest.

$$k\int_0^{12}xe^{-\frac{x}{2}}\,dx=1$$

$$3.9306k=1$$

$$k=0.2544$$

Calculator use

Numerically integrate $xe^{-\frac{x}{2}}$ from 0 to 12 to get 3.9306. Store $k=1\div3.9306\ldots$ unrounded as $K$, ready for the next integral.

Marker: correctly determines the value of $k$

Step 31 mark

“Charged the extra fee” means the hire travels further than 6 km, so the event is $X>6$.

$$P(X>6)=\int_6^{12}0.2544xe^{-\frac{x}{2}}\,dx$$

Why?

The pdf is zero beyond 12 km, so the upper limit is 12, not infinity.

Marker: correctly establishes the definite integral for the probability that a hire travels further than 6 km

Step 41 mark

Evaluate the integral with the stored, unrounded value of $k$.

$$P(X>6)=0.1850$$

Calculator use

Numerically integrate $Kxe^{-\frac{x}{2}}$ from 6 to 12. Using $K$ rather than 0.2544 keeps rounding error out of the final probability.

Marking

The exact value $\dfrac{4e^{3}-7}{e^{6}-7}$ is accepted, and so are 0.185 and 0.19. Giving $P(X<6)\approx0.815$ does not gain this mark.

The probability that a hire is charged the extra fee is approximately 0.185.

Marker: determines the probability that a hire is charged the extra fee

Common errors

If I had to guess where you might lose marks…

  • Integrating over $0\le x<\infty$ to find $k$: $\int_0^{\infty}xe^{-\frac{x}{2}}\,dx=4$ gives $k=0.25$, and then $P(X>6)$ $=0.25\int_6^{12}xe^{-\frac{x}{2}}\,dx\approx0.182$. This loses Marks 1 and 2 (follow-through applies to Marks 3 and 4).
  • Integrating from 0 to 6 and reporting $P(X<6)\approx0.815$, the probability of not paying the fee. This loses Mark 4.
  • Leaving $k$ out (treating it as 1): $\int_6^{12}xe^{-\frac{x}{2}}\,dx\approx0.727$, which is not a probability from this model. This loses Marks 1, 2, 3 and 4.
  • Using $\infty$ as the upper limit for the fee: $0.2544\int_6^{\infty}xe^{-\frac{x}{2}}\,dx\approx0.203$. The pdf is zero beyond 12 km. This loses Marks 3 and 4.
What makes this complex familiar

Both pieces are routine pdf skills. You set the total area equal to 1 to find $k$, and you integrate the pdf over an interval to find a probability. Neither needs a new idea, and the calculator does every integral.

What makes it complex familiar is that the question asks only for the final probability. It never asks for $k$, so you have to see that $k$ is the first step, and an error there runs into the answer. You also have to translate the context yourself. “Charged the extra fee” becomes $X>6$, and the 12 km maximum fixes the upper limit of both integrals, because the pdf is zero beyond it.

Only mark this done when you could do it without help. Reading the solution does not count.

Back to the index

A Tangent Tuition mock exam question. It is not a past QCAA question, and Tangent Tuition is not affiliated with the QCAA.