Free access until 30 November 2026 · Physics and Maths questions and notes, updated continuously · Build a test

ExaminerPrep › Question bank › IB Maths AA HL › Topic 4 Statistics and probability

IB Maths Analysis & Approaches · Higher Level · Topic 4

Statistics and probability

Original questions in the style of Papers 1, 2 and 3, each with a full worked mark scheme. Tick questions to build a printable test. Topic 4 at Standard Level →

115questions
1195marks
Fullmark schemes
Original questions in the style of each exam boardFull worked mark schemes with method and accuracy marksCreated by Evan Kotronis with AI assistanceUpdated 14 October 2026 · new questions added continuouslyFree access until 30 November 2026How every question is checked →

Make your own test. Tap + Add to test on any question, from any topic, then “Build & print test”. Or let the test builder choose questions for you in seconds.
1AAHL4-q00024.1 Sampling, bias and outliers Paper 1Easy6 marks

A college has 750 students, numbered 001 to 750. A simple random sample of 5 students is chosen using the random three-digit numbers below, read from left to right. A number is used only if it corresponds to a student who has not already been selected.

512  093  781  512  000  347  906  228  650  119

(a)

Write down the numbers of the five students selected.

(2)
(b)

State what makes this a simple random sample.

(1)
(c)

The numbers of hours that the five selected students spent on voluntary work last term were 12, 7, 15, 0 and 9. Use the sample to estimate the total number of hours of voluntary work done by all 750 students last term.

(2)
(d)

Suggest one reason why this estimate may be unreliable.

(1)
Show mark scheme
WorkingMarkNotes
(a)
rejecting 781, 000 and 906 (no such student)A1
rejecting the repeated 512: students 512, 093, 347, 228, 650A1
(b)
every possible group of 5 students has the same probability of being chosenR1Accept “each student is equally likely to be chosen and choices are made at random without repetition”.
(c)
sample mean \(=\dfrac{43}{5}=8.6\) hours(M1)
\(750\times8.6=6450\) hoursA1
(d)
the sample is very small (5 out of 750), so the sample mean may differ greatly from the population meanR1Accept other valid reasons, e.g. self-reported hours may be inaccurate.

Answers: (a) 512, 093, 347, 228, 650 · (c) 6450 hours

2AAHL4-q00114.3 Measures of central tendency and dispersion Paper 1Easy16 marks

The marks, \(x\), of two classes in the same test are summarized below. For each class the standard deviation is that of the marks of all the students in the class.

ClassNumber of studentsMean markStandard deviation
P10609
Q8696

For a set of \(n\) marks, the variance is \(\sigma^{2}=\dfrac{\sum x^{2}}{n}-\bar{x}^{2}\).

(a)

Show that, for class P, \(\sum x^{2}=36\,810\).

(2)
(b)

For class Q, find \(\sum x\) and \(\sum x^{2}\).

(2)
(c)

Find the mean mark of all 18 students.

(2)
(d)

Show that the standard deviation of the marks of all 18 students is 9.

(3)
(e)

The teacher scales every mark using \(y=1.2x-4\). Write down the mean and the standard deviation of the scaled marks of all 18 students.

(2)
(f)

Before scaling, it is discovered that one mark in class Q was recorded as 61 instead of 69. Find the correct mean and the correct standard deviation of the marks of class Q.

(3)
(g)

For class P, the lower quartile is 54 and the upper quartile is 62. The lowest mark in class P is 42. Determine whether this mark is an outlier.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(81=\dfrac{\sum x^{2}}{10}-60^{2}\)M1
\(\sum x^{2}=10(81+3600)=10\times3681\)A1
\(=36\,810\)AG
(b)
\(\sum x=8\times69=552\)A1
\(\sum x^{2}=8(36+4761)=38\,376\)A1
(c)
\(\dfrac{600+552}{18}=\dfrac{1152}{18}\)(M1)
\(64\)A1
(d)
\(\dfrac{36\,810+38\,376}{18}=\dfrac{75\,186}{18}=4177\)M1
\(\sigma^{2}=4177-64^{2}\)M1
\(=4177-4096=81\)A1
\(\sigma=9\)AG
(e)
mean \(=1.2(64)-4=72.8\)A1
SD \(=1.2(9)=10.8\)A1Award A0 for subtracting 4 from the SD.
(f)
mean \(=\dfrac{552-61+69}{8}=70\)A1
\(\sum x^{2}=38\,376-61^{2}+69^{2}=39\,416\), so \(\sigma^{2}=\dfrac{39\,416}{8}-70^{2}=4927-4900\)M1
\(\sigma^{2}=27\), \(\sigma=\sqrt{27}=3\sqrt{3}\)A1Accept \(5.20\).
(g)
\(54-1.5(62-54)=42\)M1
42 is not less than 42 (it is not more than \(1.5\times\mathrm{IQR}\) below \(Q_{1}\)), so it is not an outlierR1Award R1 only if the boundary value 42 is seen.

Answers: (b) 552, 38 376 · (c) 64 · (e) 72.8, 10.8 · (f) 70, \(3\sqrt{3}\) · (g) not an outlier

3AAHL4-q00124.4 Correlation and regression of y on x Paper 1Easy8 marks

Different masses, \(x\) kg, were hung from a spring and its length, \(y\) cm, was measured. One length was not recorded.

\(x\) (kg)2457810
\(y\) (cm)131822\(w\)3137

The regression line of \(y\) on \(x\) for the complete data is \(y=3x+6.5\).

(a)

Write down the mean of the masses.

(1)
(b)

Using the fact that the regression line passes through the mean point, find the value of \(w\).

(3)
(c)

Interpret, in context, the value 3 and the value 6.5 in the equation of the line.

(2)
(d)

Use the regression line to estimate the length of the spring when a mass of 6 kg is hung from it.

(1)
(e)

Explain why the line should not be used to estimate the length when a mass of 25 kg is hung from it.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(\bar{x}=6\)A1
(b)
\(\bar{y}=3(6)+6.5=24.5\)M1
\(13+18+22+w+31+37=6\times24.5=147\)M1
\(w=26\)A1
(c)
3: the length increases by 3 cm for each extra kilogramR1
6.5: the (estimated) length of the spring with no mass attached is 6.5 cmR1
(d)
\(24.5\) cmA1
(e)
25 kg is far outside the range of the data (extrapolation); the spring may be overstretched and stop behaving linearlyR1

Answers: (a) 6 · (b) \(w=26\) · (d) 24.5 cm

4AAHL4-q00164.5 Sample spaces and probability Paper 1Easy6 marks

The seven letters of the word PLANETS are arranged in a random order. All arrangements are equally likely.

(a)

Write down the number of possible arrangements.

(1)
(b)

Show that the probability that the two vowels, A and E, are next to each other is \(\dfrac{2}{7}\).

(3)
(c)

Find the probability that the first letter and the last letter are both consonants.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(7!=5040\)A1
(b)
treating AE as one block: \(6!\) arrangements of 6 objectsM1
multiplying by 2 for the order AE or EA: \(2\times6!=1440\)M1
\(\dfrac{1440}{5040}\)A1
\(=\dfrac{2}{7}\)AG
(c)
\(\dfrac{5}{7}\times\dfrac{4}{6}\)(M1)
\(\dfrac{10}{21}\)A1

Answers: (a) 5040 · (c) \(\tfrac{10}{21}\)

5AAHL4-q00224.6 Combined, conditional and independent events Paper 1Easy8 marks

Three students, Ali, Bo and Cy, each try to solve a puzzle, independently of each other. The probabilities that Ali, Bo and Cy solve it are \(\dfrac{1}{2}\), \(\dfrac{1}{3}\) and \(\dfrac{1}{4}\) respectively. The puzzle is solved if at least one of them solves it.

(a)

Find the probability that the puzzle is solved.

(2)
(b)

Find the probability that exactly one of the students solves the puzzle.

(2)
(c)

Given that the puzzle is solved, find the probability that exactly one of the students solved it.

(2)
(d)

A fourth student, who solves the puzzle with probability \(p\) independently of the others, joins them. Find the least value of \(p\) for which the probability that the puzzle is solved is at least 0.9.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(1-\dfrac{1}{2}\cdot\dfrac{2}{3}\cdot\dfrac{3}{4}\)(M1)
\(\dfrac{3}{4}\)A1
(b)
\(\dfrac{1}{2}\cdot\dfrac{2}{3}\cdot\dfrac{3}{4}+\dfrac{1}{2}\cdot\dfrac{1}{3}\cdot\dfrac{3}{4}+\dfrac{1}{2}\cdot\dfrac{2}{3}\cdot\dfrac{1}{4}=\dfrac{6+3+2}{24}\)(M1)
\(\dfrac{11}{24}\)A1
(c)
\(\dfrac{11/24}{3/4}\)(M1)
\(\dfrac{11}{18}\)A1
(d)
\(1-\dfrac{1}{4}(1-p)\ge0.9\)M1
\(p=0.6\)A1\(1-p\le0.4\).

Answers: (a) \(\tfrac34\) · (b) \(\tfrac{11}{24}\) · (c) \(\tfrac{11}{18}\) · (d) 0.6

6AAHL4-q00284.7 Discrete random variables Paper 1Easy7 marks

A biased coin shows heads with probability 0.6. The coin is tossed three times. Let \(X\) be the number of heads minus the number of tails.

(a)

Write down the possible values of \(X\).

(1)
(b)

Show that \(\mathrm{P}(X=1)=0.432\).

(2)
(c)

Find the probability distribution of \(X\).

(2)
(d)

Find \(\mathrm{E}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(-3,\ -1,\ 1,\ 3\)A1
(b)
\(X=1\) means 2 heads and 1 tail, in 3 orders: \(3\times0.6^{2}\times0.4\)M1
\(3\times0.144\)A1
\(=0.432\)AG
(c)
\(\mathrm{P}(X=-3)=0.064,\ \mathrm{P}(X=3)=0.216\)A1
\(\mathrm{P}(X=-1)=0.288\)A1
(d)
\(-3(0.064)-1(0.288)+1(0.432)+3(0.216)\)(M1)
\(0.6\)A1

Answers: (c) 0.064, 0.288, 0.432, 0.216 · (d) 0.6

7AAHL4-q00404.9 The normal distribution Paper 1Easy8 marks

A machine dispenses coffee into cups. The volume, \(X\) ml, of coffee in a cup is normally distributed with mean \(\mu\) ml and standard deviation \(\sigma\) ml. Approximately 16% of cups contain more than 215 ml and approximately 2.5% of cups contain less than 185 ml.

In this question use the facts that approximately 68%, 95% and 99.7% of a normal distribution lie within one, two and three standard deviations of the mean.

(a)

Write down two equations in \(\mu\) and \(\sigma\).

(2)
(b)

Hence find the value of \(\mu\) and the value of \(\sigma\).

(2)
(c)

Estimate the percentage of cups that contain between 195 ml and 225 ml.

(2)
(d)

The machine fills 2000 cups. Estimate the number of these cups that contain more than 235 ml.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mu+\sigma=215\)A1Since \(\tfrac{100-68}{2}=16\%\) lies above \(\mu+\sigma\).
\(\mu-2\sigma=185\)A1Since \(\tfrac{100-95}{2}=2.5\%\) lies below \(\mu-2\sigma\).
(b)
attempt to solve simultaneously, e.g. \(3\sigma=30\)M1
\(\sigma=10\), \(\mu=205\)A1Both values required.
(c)
195 to 225 is \(\mu-\sigma\) to \(\mu+2\sigma\): \(34\%+47.5\%\)(M1)FT their \(\mu,\sigma\).
\(81.5\%\)A1
(d)
\(235=\mu+3\sigma\), so proportion \(\approx\dfrac{100-99.7}{2}\%=0.15\%\)(M1)
3 cupsA1\(0.0015\times2000=3\)

Answers: (b) \(\mu=205\), \(\sigma=10\) · (c) 81.5% · (d) 3 cups

8AAHL4-q00504.11 Conditional probability and independence Paper 1Easy8 marks

Events \(A\) and \(B\) are such that \(\mathrm{P}(A\mid B)=\dfrac{1}{3}\), \(\mathrm{P}(B\mid A)=\dfrac{1}{4}\) and \(\mathrm{P}(A\cap B)=\dfrac{1}{10}\).

(a)

Find \(\mathrm{P}(A)\) and \(\mathrm{P}(B)\).

(2)
(b)

Find \(\mathrm{P}(A\cup B)\).

(2)
(c)

Determine whether \(A\) and \(B\) are independent.

(2)
(d)

Find \(\mathrm{P}(A'\mid B')\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(B)=\dfrac{\mathrm{P}(A\cap B)}{\mathrm{P}(A\mid B)}\) or \(\mathrm{P}(A)=\dfrac{\mathrm{P}(A\cap B)}{\mathrm{P}(B\mid A)}\)M1
\(\mathrm{P}(A)=\dfrac{2}{5},\ \mathrm{P}(B)=\dfrac{3}{10}\)A1Both values.
(b)
\(\dfrac{2}{5}+\dfrac{3}{10}-\dfrac{1}{10}\)(M1)
\(\dfrac{3}{5}\)A1
(c)
\(\mathrm{P}(A)\,\mathrm{P}(B)=\dfrac{3}{25}\)A1Or \(\mathrm{P}(A\mid B)=\dfrac{1}{3}\) and \(\mathrm{P}(A)=\dfrac{2}{5}\).
\(\dfrac{3}{25}\neq\dfrac{1}{10}\), so not independentR1
(d)
\(\dfrac{\mathrm{P}(A'\cap B')}{\mathrm{P}(B')}=\dfrac{1-\frac{3}{5}}{1-\frac{3}{10}}\)(M1)Use of \(\mathrm{P}(A'\cap B')=1-\mathrm{P}(A\cup B)\).
\(\dfrac{4}{7}\)A1

Answers: (a) \(\frac25,\ \frac{3}{10}\) · (b) \(\frac35\) · (c) not independent · (d) \(\frac47\)

9AAHL4-q00544.12 Standardization and unknown normal parameters Paper 1Easy6 marks

The masses, \(X\) grams, of eggs laid by a breed of hen are normally distributed with mean \(\mu\) and standard deviation \(\sigma\). Let \(Z\) be the standard normal variable, \(Z\sim\mathrm{N}(0,\,1)\). It is given that \(\mathrm{P}(X\lt 52)=\mathrm{P}(Z\lt 0.8)\) and \(\mathrm{P}(X\lt 37)=\mathrm{P}(Z\lt -1.2)\).

(a)

Find the value of \(\mu\) and the value of \(\sigma\).

(4)
(b)

Given that \(\mathrm{P}(Z\lt 1)=0.8413\), find \(\mathrm{P}(X\gt 53.5)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{52-\mu}{\sigma}=0.8\) or \(\dfrac{37-\mu}{\sigma}=-1.2\)M1
\(52=\mu+0.8\sigma\) and \(37=\mu-1.2\sigma\)A1
\(\sigma=7.5\)A1From \(2\sigma=15\).
\(\mu=46\)A1
(b)
\(z=\dfrac{53.5-46}{7.5}=1\)M1FT their \(\mu,\sigma\).
\(1-0.8413=0.1587\)A1

Answers: (a) \(\mu=46\), \(\sigma=7.5\) · (b) 0.1587

10AAHL4-q00604.13 Bayes’ theorem Paper 1Easy6 marks

In a large population, 5% of people have a certain condition. A screening test gives a positive result for 90% of people who have the condition and for 10% of people who do not have the condition. A person is chosen at random and tested.

(a)

Find the probability that the test gives a positive result.

(2)
(b)

Given that the test gives a positive result, find the probability that the person has the condition.

(2)
(c)

Of 1000 people tested, find the expected number who test positive but do not have the condition, and hence comment on the result in part (b).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(0.05\times0.9+0.95\times0.1\)(M1)
\(0.14\)A1
(b)
\(\dfrac{0.045}{0.14}\)(M1)Bayes’ theorem or tree diagram; FT their (a).
\(\dfrac{9}{28}\)A1Accept \(0.321\).
(c)
\(1000\times0.95\times0.1=95\)A1
only 45 positives are expected from people with the condition, so most positive results are false positives (because the condition is rare)R1

Answers: (a) 0.14 · (b) \(\frac{9}{28}\) · (c) 95

11AAHL4-q00614.13 Bayes’ theorem Paper 1Easy6 marks

An insurance company classifies its drivers into three age groups. The tree diagram shows the proportion of drivers in each age group and the probability that a driver in that group makes a claim in a year.

0.2Under 250.2Claim0.8No claim0.525 to 600.05Claim0.95No claim0.3Over 600.1Claim0.9No claim
Diagram not to scale

A driver is chosen at random.

(a)

Find the probability that the driver makes a claim in a year.

(2)
(b)

Given that the driver makes a claim, find the probability that the driver is under 25.

(2)
(c)

Given that the driver does not make a claim, find the probability that the driver is over 60.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(0.2(0.2)+0.5(0.05)+0.3(0.1)\)(M1)
\(0.095\)A1
(b)
\(\dfrac{0.04}{0.095}\)(M1)
\(\dfrac{8}{19}\)A1Accept \(0.421\).
(c)
\(\dfrac{0.3\times0.9}{1-0.095}\)(M1)FT their (a).
\(\dfrac{54}{181}\)A1Accept \(0.298\).

Answers: (a) 0.095 · (b) \(\frac{8}{19}\) · (c) \(\frac{54}{181}\)

12AAHL4-q00644.13 Bayes’ theorem Paper 1Easy7 marks

In a town, the probability that it rains on a given day is 0.3. When it rains, the evening forecast for that day had predicted rain with probability 0.8. When it does not rain, the forecast had predicted rain with probability 0.1.

(a)

Find the probability that the forecast predicts rain.

(2)
(b)

Given that the forecast predicts rain, find the probability that it rains.

(2)
(c)

Given that the forecast does not predict rain, find the probability that it does not rain.

(2)
(d)

State, with a reason, whether a forecast of rain or a forecast of no rain is more reliable.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(0.3(0.8)+0.7(0.1)\)(M1)
\(0.31\)A1
(b)
\(\dfrac{0.24}{0.31}\)(M1)
\(\dfrac{24}{31}\)A1Accept \(0.774\).
(c)
\(\dfrac{0.7(0.9)}{1-0.31}=\dfrac{0.63}{0.69}\)(M1)
\(\dfrac{21}{23}\)A1Accept \(0.913\).
(d)
a forecast of no rain, since \(\dfrac{21}{23}\gt\dfrac{24}{31}\)R1FT their (b) and (c).

Answers: (a) 0.31 · (b) \(\frac{24}{31}\) · (c) \(\frac{21}{23}\) · (d) no-rain forecast

13AAHL4-q00734.13 Bayes’ theorem Paper 1Easy14 marks

Ana cycles to school each day by one of three routes, \(A\), \(B\) or \(C\). She chooses the route by rolling a fair six-sided die: a score of 1, 2 or 3 means route \(A\), a score of 4 or 5 means route \(B\), and a score of 6 means route \(C\).

The probability that she is late for school is \(\dfrac{1}{10}\) on route \(A\), \(\dfrac{1}{5}\) on route \(B\) and \(\dfrac{2}{5}\) on route \(C\). Let \(L\) be the event that Ana is late.

(a)

Show that \(\mathrm{P}(L)=\dfrac{11}{60}\).

(2)
(b)

Given that Ana is late, find the probability that she used route \(C\).

(2)
(c)

Given that Ana is not late, find the probability that she used route \(A\).

(3)
(d)

Find the expected number of days on which Ana is late in a period of 30 school days.

(1)
(e)

Find the probability that Ana is late on exactly one of two particular days. Assume that days are independent.

(2)
(f)

Determine whether the events \(L\) and “Ana uses route \(C\)” are independent. Justify your answer.

(2)
(g)

Ana improves her cycling on route \(C\) so that the probability of being late on route \(C\) becomes \(x\). The probabilities for routes \(A\) and \(B\) do not change, and \(\mathrm{P}(L)\) becomes \(\dfrac{1}{6}\). Find \(x\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{1}{2}\times\dfrac{1}{10}+\dfrac{1}{3}\times\dfrac{1}{5}+\dfrac{1}{6}\times\dfrac{2}{5}\)M1Tree diagram or equivalent.
\(\dfrac{3}{60}+\dfrac{4}{60}+\dfrac{4}{60}\)A1
\(=\dfrac{11}{60}\)AG
(b)
\(\dfrac{\frac{1}{6}\times\frac{2}{5}}{\frac{11}{60}}=\dfrac{4/60}{11/60}\)(M1)
\(\dfrac{4}{11}\)A1
(c)
\(\mathrm{P}(L')=\dfrac{49}{60}\)(A1)
\(\mathrm{P}(A\cap L')=\dfrac{1}{2}\times\dfrac{9}{10}=\dfrac{9}{20}\), divided by \(\mathrm{P}(L')\)(M1)
\(\dfrac{27}{49}\)A1
(d)
\(30\times\dfrac{11}{60}=5.5\)A1
(e)
\(2\times\dfrac{11}{60}\times\dfrac{49}{60}\)(M1)Factor 2 must be seen.
\(\dfrac{539}{1800}\)A1Accept \(\dfrac{1078}{3600}\).
(f)
\(\mathrm{P}(L\mid C)=\dfrac{2}{5}\) and \(\mathrm{P}(L)=\dfrac{11}{60}\)M1Or \(\mathrm{P}(L\cap C)=\dfrac{1}{15}\neq\mathrm{P}(L)\mathrm{P}(C)=\dfrac{11}{360}\).
\(\dfrac{2}{5}\neq\dfrac{11}{60}\), so \(L\) and \(C\) are not independentR1
(g)
\(\dfrac{1}{20}+\dfrac{1}{15}+\dfrac{x}{6}=\dfrac{1}{6}\)M1
\(x=\dfrac{3}{10}\)A1

Answers: (b) \(\tfrac{4}{11}\) · (c) \(\tfrac{27}{49}\) · (d) 5.5 · (e) \(\tfrac{539}{1800}\) · (f) not independent · (g) \(x=\tfrac{3}{10}\)

14AAHL4-q00784.14 Variance, continuous random variables and linear transformations Paper 1Easy6 marks

A fair six-sided die, with faces numbered 1 to 6, is rolled once. Let \(X\) be the distance between the score and 3, so that \(X=|\text{score}-3|\).

(a)

Find the probability distribution of \(X\), giving your answer as a table.

(2)
(b)

Find \(\mathrm{E}(X)\).

(2)
(c)

Find \(\mathrm{Var}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(x=0,1,2,3\)A1Correct set of values; scores 1, 2, 3, 4, 5, 6 give 2, 1, 0, 1, 2, 3.
probabilities \(\tfrac16,\ \tfrac26,\ \tfrac26,\ \tfrac16\) respectivelyA1Accept \(\tfrac13\) for \(\tfrac26\).
(b)
\(\dfrac{0(1)+1(2)+2(2)+3(1)}{6}\)(M1)FT their table.
\(\mathrm{E}(X)=\dfrac96=\dfrac32\)A1
(c)
\(\mathrm{E}(X^{2})=\dfrac{0+1(2)+4(2)+9(1)}{6}=\dfrac{19}{6}\)(M1)Or \(\sum\left(x-\tfrac32\right)^{2}\mathrm{P}(X=x)\).
\(\mathrm{Var}(X)=\dfrac{19}{6}-\dfrac94=\dfrac{11}{12}\)A1

Answers: (a) \(\mathrm{P}(X=0)=\tfrac16,\ \mathrm{P}(X=1)=\tfrac13,\ \mathrm{P}(X=2)=\tfrac13,\ \mathrm{P}(X=3)=\tfrac16\) · (b) \(\tfrac32\) · (c) \(\tfrac{11}{12}\)

15AAHL4-q00804.14 Variance, continuous random variables and linear transformations Paper 1Easy6 marks

The discrete random variable \(X\) has probability distribution \(\mathrm{P}(X=x)=\dfrac{k}{x}\) for \(x\in\{1,2,3,6\}\), where \(k\) is a constant.

(a)

Show that \(k=\dfrac12\).

(2)
(b)

Find \(\mathrm{E}(X)\).

(2)
(c)

Find the standard deviation of \(X\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\left(1+\tfrac12+\tfrac13+\tfrac16\right)=1\)M1
\(2k=1\)A1
\(k=\tfrac12\)AG
(b)
\(\sum x\cdot\dfrac{k}{x}=4k\)(M1)Or \(1\left(\tfrac12\right)+2\left(\tfrac14\right)+3\left(\tfrac16\right)+6\left(\tfrac1{12}\right)\).
\(\mathrm{E}(X)=2\)A1
(c)
\(\mathrm{E}(X^{2})=\sum x^{2}\cdot\dfrac{k}{x}=k(1+2+3+6)=6\)(M1)
\(\mathrm{Var}(X)=6-4=2\), so \(\sigma=\sqrt2\)A1Award A0 for the variance 2 given as the final answer.

Answers: (b) \(2\) · (c) \(\sqrt2\)

16AAHL4-q00834.14 Variance, continuous random variables and linear transformations Paper 1Easy7 marks

For a random variable \(X\), it is given that \(\mathrm{E}(2X-3)=5\) and \(\mathrm{Var}(2X-3)=12\).

(a)

Find \(\mathrm{E}(X)\).

(2)
(b)

Find \(\mathrm{Var}(X)\).

(2)
(c)

Hence find \(\mathrm{E}\big((X-1)(X+2)\big)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(2\mathrm{E}(X)-3=5\)(M1)
\(\mathrm{E}(X)=4\)A1
(b)
\(4\,\mathrm{Var}(X)=12\)(M1)Award M0 for \(2\mathrm{Var}(X)=12\) or \(2\mathrm{Var}(X)-3=12\).
\(\mathrm{Var}(X)=3\)A1
(c)
\(\mathrm{E}(X^{2})=\mathrm{Var}(X)+[\mathrm{E}(X)]^{2}=3+16=19\)M1
\(\mathrm{E}(X^{2}+X-2)=\mathrm{E}(X^{2})+\mathrm{E}(X)-2\)M1Expanding and using linearity of expectation.
\(19+4-2=21\)A1

Answers: (a) \(4\) · (b) \(3\) · (c) \(21\)

17AAHL4-q00844.14 Variance, continuous random variables and linear transformations Paper 1Easy6 marks

Consider the functions \(f\) and \(g\) defined for \(0\le x\le 2\) by \(f(x)=\dfrac{1+x}{4}\) and \(g(x)=x-\dfrac12\), and equal to zero elsewhere.

(a)

Show that \(f\) is a probability density function.

(2)
(b)

Show that \(\displaystyle\int_{0}^{2}g(x)\,\mathrm{d}x=1\), and explain why \(g\) is not a probability density function.

(2)
(c)

The continuous random variable \(X\) has probability density function \(f\). Find \(\mathrm{E}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{0}^{2}\frac{1+x}{4}\,\mathrm{d}x=\frac14\left[x+\frac{x^{2}}{2}\right]_{0}^{2}=\frac14(2+2)=1\)A1
\(f(x)\ge0\) for all \(x\) (it is positive on \([0,2]\) and zero elsewhere)R1
(b)
\(\left[\dfrac{x^{2}}{2}-\dfrac{x}{2}\right]_{0}^{2}=2-1=1\)A1
\(g(x)\lt 0\) for \(0\le x\lt\tfrac12\) (e.g. \(g(0)=-\tfrac12\)), and a pdf cannot be negativeR1
(c)
\(\displaystyle\int_{0}^{2}\frac{x+x^{2}}{4}\,\mathrm{d}x=\frac14\left(2+\frac83\right)\)(M1)
\(\mathrm{E}(X)=\dfrac76\)A1

Answers: (c) \(\tfrac76\)

18AAHL4-q00864.14 Variance, continuous random variables and linear transformations Paper 1Easy5 marks

The continuous random variable \(X\) has probability density function \(f(x)=\dfrac{x}{8}\) for \(0\le x\le4\), and \(f(x)=0\) otherwise.

(a)

Show that \(\mathrm{P}(X\le a)=\dfrac{a^{2}}{16}\) for \(0\le a\le4\).

(1)
(b)

Find the median of \(X\).

(2)
(c)

Find the interquartile range of \(X\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{0}^{a}\frac{x}{8}\,\mathrm{d}x=\left[\frac{x^{2}}{16}\right]_{0}^{a}\)A1
\(=\dfrac{a^{2}}{16}\)AG
(b)
\(\dfrac{m^{2}}{16}=\dfrac12\)(M1)
\(m=2\sqrt2\)A1Award A0 if \(-2\sqrt2\) is also given. Accept \(\sqrt8\).
(c)
\(\dfrac{q_{1}^{2}}{16}=\dfrac14\Rightarrow q_{1}=2\); \(\dfrac{q_{3}^{2}}{16}=\dfrac34\Rightarrow q_{3}=2\sqrt3\)(M1)Both quartiles needed.
IQR \(=2\sqrt3-2\)A1Accept \(\sqrt{12}-2\).

Answers: (b) \(2\sqrt2\) · (c) \(2\sqrt3-2\)

19AAHL4-q00904.14 Variance, continuous random variables and linear transformations Paper 1Easy7 marks

The continuous random variable \(X\) has probability density function \(f(x)=k\sqrt{x}\) for \(0\le x\le4\), and \(f(x)=0\) otherwise, where \(k\) is a constant.

(a)

Find the value of \(k\).

(2)
(b)

Find the median of \(X\), giving your answer in the form \(p\sqrt[3]{q}\), where \(p,q\in\mathbb{Z}^{+}\) and \(q\) is prime.

(3)
(c)

Find \(\mathrm{E}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\left[\dfrac23x^{3/2}\right]_{0}^{4}=\dfrac{16k}{3}=1\)(M1)
\(k=\dfrac{3}{16}\)A1
(b)
\(\dfrac{3}{16}\cdot\dfrac23m^{3/2}=\dfrac{m^{3/2}}{8}=\dfrac12\)M1FT their \(k\).
\(m^{3/2}=4\Rightarrow m=4^{2/3}=\sqrt[3]{16}\)A1
\(m=2\sqrt[3]{2}\)A1
(c)
\(\displaystyle\frac{3}{16}\int_{0}^{4}x^{3/2}\,\mathrm{d}x=\frac{3}{16}\cdot\frac25\cdot32\)(M1)
\(\mathrm{E}(X)=\dfrac{12}{5}\)A1

Answers: (a) \(\tfrac3{16}\) · (b) \(2\sqrt[3]{2}\) · (c) \(\tfrac{12}{5}\)

20AAHL4-q01054.14 Variance, continuous random variables and linear transformations Paper 1Easy16 marks

The time, \(X\) hours, that a technician takes to service a boiler is modelled by the probability density function

\(f(x)=\begin{cases}kx(2-x)^{2}, & 0\le x\le 2\\ 0, & \text{otherwise}\end{cases}\)

where \(k\) is a positive constant.

(a)

Show that \(k=\dfrac{3}{4}\).

(2)
(b)

Find the mode of \(X\).

(2)
(c)

Show that \(\mathrm{E}(X)=\dfrac{4}{5}\).

(3)
(d)

Find \(\mathrm{Var}(X)\).

(3)
(e)

Find \(\mathrm{P}(X\lt 1)\).

(2)
(f)

The charge, in euros, for a service is \(20X+15\). Find the mean and the standard deviation of the charge.

(2)
(g)

Three services are carried out, with times independent of each other. Find the probability that exactly two of them take more than one hour.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\displaystyle\int_{0}^{2}(4x-4x^{2}+x^{3})\,\mathrm{d}x=1\)M1
\(k\left[2x^{2}-\dfrac{4x^{3}}{3}+\dfrac{x^{4}}{4}\right]_{0}^{2}=k\left(8-\dfrac{32}{3}+4\right)=\dfrac{4k}{3}=1\)A1
\(k=\dfrac{3}{4}\)AG
(b)
\(f'(x)=k\left[(2-x)^{2}-2x(2-x)\right]=k(2-x)(2-3x)=0\)M1Or differentiating the expanded form: \(k(4-8x+3x^{2})=0\).
\(x=\dfrac{2}{3}\)A1Award A0 if \(x=2\) (where \(f(2)=0\)) is also given as a mode.
(c)
\(\mathrm{E}(X)=\dfrac{3}{4}\displaystyle\int_{0}^{2}(4x^{2}-4x^{3}+x^{4})\,\mathrm{d}x\)M1
\(\dfrac{3}{4}\left[\dfrac{4x^{3}}{3}-x^{4}+\dfrac{x^{5}}{5}\right]_{0}^{2}\)A1
\(\dfrac{3}{4}\left(\dfrac{32}{3}-16+\dfrac{32}{5}\right)=\dfrac{3}{4}\times\dfrac{16}{15}\)A1
\(=\dfrac{4}{5}\)AG
(d)
\(\mathrm{E}(X^{2})=\dfrac{3}{4}\displaystyle\int_{0}^{2}(4x^{3}-4x^{4}+x^{5})\,\mathrm{d}x=\dfrac{3}{4}\left[x^{4}-\dfrac{4x^{5}}{5}+\dfrac{x^{6}}{6}\right]_{0}^{2}\)M1
\(=\dfrac{3}{4}\left(16-\dfrac{128}{5}+\dfrac{32}{3}\right)=\dfrac{3}{4}\times\dfrac{16}{15}=\dfrac{4}{5}\)A1
\(\mathrm{Var}(X)=\dfrac{4}{5}-\dfrac{16}{25}=\dfrac{4}{25}\)A1
(e)
\(\dfrac{3}{4}\left[2x^{2}-\dfrac{4x^{3}}{3}+\dfrac{x^{4}}{4}\right]_{0}^{1}=\dfrac{3}{4}\left(2-\dfrac{4}{3}+\dfrac{1}{4}\right)=\dfrac{3}{4}\times\dfrac{11}{12}\)M1
\(\dfrac{11}{16}\)A1
(f)
mean \(=20\times\dfrac{4}{5}+15=\)€\(31\)A1
SD \(=20\times\dfrac{2}{5}=\)€\(8\)A1FT from (d). Award A0 for \(20\times\tfrac{4}{25}\) or for adding 15.
(g)
\(3\left(\dfrac{5}{16}\right)^{2}\left(\dfrac{11}{16}\right)\)M1Binomial with \(n=3,\ p=1-\tfrac{11}{16}=\tfrac{5}{16}\); FT from (e).
\(\dfrac{825}{4096}\)A1

Answers: (b) \(\tfrac{2}{3}\) · (d) \(\tfrac{4}{25}\) · (e) \(\tfrac{11}{16}\) · (f) €31, €8 · (g) \(\tfrac{825}{4096}\)

21AAHL4-q00014.1 Sampling, bias and outliers Paper 1Medium9 marks

A factory makes 600 items in a day, numbered 1 to 600 in the order they are made. A systematic sample of 30 items is taken as follows: an integer \(r\) is chosen at random from 1 to 20, and items \(r,\ r+20,\ r+40,\ \ldots,\ r+580\) are selected.

(a)

Find the probability that item 137 is selected.

(1)
(b)(i)

Find the probability that

items 137 and 157 are both selected;

(1)
(b)(ii)

items 137 and 140 are both selected.

(1)
(c)(i)

Instead, a simple random sample of 30 of the 600 items is taken.

Write down the probability that item 137 is selected.

(1)
(c)(ii)

Show that the probability that items 137 and 140 are both selected is \(\dfrac{29}{11\,980}\).

(2)
(d)

Hence explain why the systematic sample is not a simple random sample, even though every item has the same probability of being selected.

(1)
(e)(i)

Find the probability that at least one of items 137 and 140 is selected

in the systematic sample;

(1)
(e)(ii)

in the simple random sample.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(137=17+6(20)\), so item 137 is selected only when \(r=17\): probability \(\dfrac{1}{20}\)A1
(b)(i)
\(\dfrac{1}{20}\)A1Both are selected exactly when \(r=17\).
(b)(ii)
\(0\)A1137 and 140 differ by 3, not a multiple of 20.
(c)(i)
\(\dfrac{30}{600}=\dfrac{1}{20}\)A1
(c)(ii)
\(\dfrac{\binom{598}{28}}{\binom{600}{30}}\) or \(\dfrac{30}{600}\times\dfrac{29}{599}\)M1
\(=\dfrac{870}{359\,400}\)A1
\(=\dfrac{29}{11\,980}\)AG
(d)
in a simple random sample every set of 30 items is equally likely, but in the systematic sample some pairs (e.g. 137 and 140) can never occur together, so not all samples are equally likelyR1
(e)(i)
\(\dfrac{1}{20}+\dfrac{1}{20}=\dfrac{1}{10}\)A1The two events are mutually exclusive (\(r=17\) or \(r=20\)).
(e)(ii)
\(\dfrac{1}{20}+\dfrac{1}{20}-\dfrac{29}{11\,980}=\dfrac{1169}{11\,980}\)A1\(0.0976\ldots\) FT from (c).

Answers: (a) \(\tfrac{1}{20}\) · (b)(i) \(\tfrac{1}{20}\), (ii) 0 · (c)(i) \(\tfrac{1}{20}\) · (e)(i) \(\tfrac{1}{10}\), (ii) \(\tfrac{1169}{11\,980}\)

22AAHL4-q00084.3 Measures of central tendency and dispersion Paper 1Medium8 marks

A data set has mean 40, standard deviation 5, median 38 and interquartile range 6. Each value \(x\) in the data set is transformed to \(y=ax+b\), where \(a,b\in\mathbb{R}\) and \(a\neq0\). The transformed data have mean 70 and standard deviation 15.

(a)

Find the two possible pairs of values of \(a\) and \(b\).

(4)
(b)

It is also given that the median of the transformed data is greater than its mean. Find the value of \(a\) and the value of \(b\).

(2)
(c)

For the values in part (b), find the interquartile range of the transformed data, and state which quartile of the original data becomes the lower quartile of the transformed data.

(2)
Show mark scheme
WorkingMarkNotes
(a)
standard deviation of \(y\) is \(|a|\times5=15\)M1
\(a=3\) or \(a=-3\)A1
\(40a+b=70\)M1
\(a=3,\ b=-50\) and \(a=-3,\ b=190\)A1
(b)
medians: \(3(38)-50=64\) and \(-3(38)+190=76\)M1
\(76\gt 70\), so \(a=-3,\ b=190\)A1
(c)
IQR \(=|-3|\times6=18\)A1
the upper quartile of \(x\) (multiplying by a negative number reverses the order)A1

Answers: (a) \((3,-50)\) or \((-3,190)\) · (b) \(a=-3,\ b=190\) · (c) 18; the upper quartile

23AAHL4-q00094.3 Measures of central tendency and dispersion Paper 1Medium9 marks

The table shows the number of siblings, \(x\), of each student in a group, where \(k\in\mathbb{N}\).

Number of siblings, \(x\)01234
Frequency69\(k\)75
(a)

Find the set of values of \(k\) for which the median number of siblings is 2.

(3)
(b)

Given also that 1 is the only mode, find the possible values of \(k\).

(2)
(c)

Show that the mean number of siblings is less than 2 for every value of \(k\).

(2)
(d)

Find the least value of \(k\) for which the median is 2 and the mean differs from the median by less than 0.1.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(6+9=15\) values are less than 2; total \(27+k\)M1
the median is 2 exactly when the middle value(s) lie in positions 16 to \(15+k\) (e.g. \(k=3\): 30 values, 15th and 16th values 1 and 2, median 1.5; \(k=4\): 31 values, 16th value 2)M1
\(k\ge4\)A1Accept \(k\in\{4,5,6,\ldots\}\).
(b)
need \(k\lt 9\) (\(k=9\) gives two modes)M1
\(k=4,5,6,7,8\)A1
(c)
mean \(=\dfrac{9+2k+21+20}{27+k}=\dfrac{50+2k}{27+k}\)M1
\(\dfrac{50+2k}{27+k}\lt 2\iff 50+2k\lt 54+2k\), which is always trueR1
(d)
\(2-\dfrac{50+2k}{27+k}=\dfrac{4}{27+k}\lt 0.1\)M1
\(27+k\gt 40\), so \(k=14\)A1Check: \(k=13\) gives a difference of exactly 0.1.

Answers: (a) \(k\ge4\) · (b) 4, 5, 6, 7, 8 · (d) \(k=14\)

24AAHL4-q00194.6 Combined, conditional and independent events Paper 1Medium10 marks

Events \(A\) and \(B\) are independent, with \(\mathrm{P}(A\cap B)=0.12\) and \(\mathrm{P}(A'\cap B')=0.42\).

(a)

Show that \(\mathrm{P}(A)+\mathrm{P}(B)=0.7\).

(2)
(b)

Given that \(\mathrm{P}(A)\gt\mathrm{P}(B)\), find \(\mathrm{P}(A)\) and \(\mathrm{P}(B)\).

(3)
(c)

Find \(\mathrm{P}(A\mid A\cup B)\).

(2)
(d)

Find the probability that exactly one of the events \(A\) and \(B\) occurs.

(1)
(e)

Verify that \(A'\) and \(B\) are independent.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(A\cup B)=1-0.42=0.58\)M1
\(0.58=\mathrm{P}(A)+\mathrm{P}(B)-0.12\)A1
\(\mathrm{P}(A)+\mathrm{P}(B)=0.7\)AG
(b)
\(\mathrm{P}(A)\mathrm{P}(B)=0.12\)M1
\(x^{2}-0.7x+0.12=0\Rightarrow (x-0.4)(x-0.3)=0\)A1
\(\mathrm{P}(A)=0.4,\ \mathrm{P}(B)=0.3\)A1
(c)
\(\dfrac{\mathrm{P}(A)}{\mathrm{P}(A\cup B)}=\dfrac{0.4}{0.58}\)(M1)Since \(A\cap(A\cup B)=A\).
\(\dfrac{20}{29}\)A1
(d)
\(0.58-0.12=0.46\)A1
(e)
\(\mathrm{P}(A'\cap B)=0.3-0.12=0.18\)M1
\(\mathrm{P}(A')\mathrm{P}(B)=0.6\times0.3=0.18\), equal, so independentA1

Answers: (b) \(\mathrm{P}(A)=0.4,\ \mathrm{P}(B)=0.3\) · (c) \(\tfrac{20}{29}\) · (d) 0.46

25AAHL4-q00204.6 Combined, conditional and independent events Paper 1Medium8 marks

A bag contains \(n\) red counters and 3 blue counters, where \(n\ge1\). Two counters are taken at random from the bag without replacement.

(a)

Show that the probability that the two counters are the same colour is \(\dfrac{n^{2}-n+6}{(n+3)(n+2)}\).

(3)
(b)

Given that this probability is \(\dfrac{1}{2}\), find the possible values of \(n\).

(3)
(c)

Using the larger value of \(n\), three counters are taken at random from the bag without replacement. Find the probability that all three are the same colour.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(RR)+\mathrm{P}(BB)\)M1
\(\dfrac{n}{n+3}\cdot\dfrac{n-1}{n+2}+\dfrac{3}{n+3}\cdot\dfrac{2}{n+2}\)A1
\(=\dfrac{n(n-1)+6}{(n+3)(n+2)}\)A1
\(=\dfrac{n^{2}-n+6}{(n+3)(n+2)}\)AG
(b)
\(2(n^{2}-n+6)=n^{2}+5n+6\)M1
\(n^{2}-7n+6=0\)A1
\(n=1\) or \(n=6\)A1Both values required; both are valid.
(c)
\(\dfrac{6}{9}\cdot\dfrac{5}{8}\cdot\dfrac{4}{7}+\dfrac{3}{9}\cdot\dfrac{2}{8}\cdot\dfrac{1}{7}\)(M1)or \(\dfrac{\binom{6}{3}+\binom{3}{3}}{\binom{9}{3}}\)
\(\dfrac{21}{84}=\dfrac{1}{4}\)A1

Answers: (b) \(n=1\) or \(n=6\) · (c) \(\tfrac{1}{4}\)

26AAHL4-q00264.7 Discrete random variables Paper 1Medium10 marks

The probability distribution of a discrete random variable \(X\) is given by \(\mathrm{P}(X=x)=a+bx\), for \(x\in\{1,\,2,\,3,\,4\}\), where \(a\) and \(b\) are constants.

(a)

Show that \(\mathrm{E}(X)=2.5+5b\).

(3)
(b)

By considering the conditions on a probability distribution, find the set of possible values of \(b\).

(3)
(c)

Hence write down the least possible value and the greatest possible value of \(\mathrm{E}(X)\).

(1)
(d)

Given that \(\mathrm{E}(X)=3\), find \(\mathrm{P}(X=4\mid X\ge2)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\sum_{x=1}^{4}(a+bx)=4a+10b=1\)M1
\(\mathrm{E}(X)=\displaystyle\sum_{x=1}^{4}x(a+bx)=10a+30b\)M1
substituting \(a=\dfrac{1-10b}{4}\): \(\dfrac{10-100b}{4}+30b\)A1
\(=2.5+5b\)AG
(b)
all probabilities non-negative; since \(a+bx\) is linear, need \(a+b\ge0\) and \(a+4b\ge0\)M1
\(\dfrac{1-10b}{4}+b=\dfrac{1-6b}{4}\ge0\Rightarrow b\le\dfrac{1}{6}\)A1
\(\dfrac{1-10b}{4}+4b=\dfrac{1+6b}{4}\ge0\Rightarrow b\ge-\dfrac{1}{6}\)A1Answer \(-\tfrac16\le b\le\tfrac16\).
(c)
least \(\dfrac{5}{3}\), greatest \(\dfrac{10}{3}\)A1FT from (b).
(d)
\(2.5+5b=3\Rightarrow b=0.1,\ a=0\)M1
probabilities 0.1, 0.2, 0.3, 0.4A1
\(\dfrac{0.4}{0.9}=\dfrac{4}{9}\)A1

Answers: (b) \(-\tfrac16\le b\le\tfrac16\) · (c) \(\tfrac53\) and \(\tfrac{10}{3}\) · (d) \(\tfrac49\)

27AAHL4-q00274.7 Discrete random variables Paper 1Medium9 marks

A board is divided into an \(n\times n\) grid of squares, where \(n\ge2\). A counter is placed on a square chosen at random. Let \(X\) be the number of squares that share an edge with the square on which the counter is placed.

(a)

For a \(4\times4\) grid, find the probability distribution of \(X\).

(3)
(b)

For a \(4\times4\) grid, find \(\mathrm{E}(X)\).

(1)
(c)

Show that, for an \(n\times n\) grid, \(\mathrm{E}(X)=\dfrac{4(n-1)}{n}\).

(3)
(d)

A second counter is then placed on a different square, chosen at random. Hence, or otherwise, show that the probability that the two counters are on squares that share an edge is \(\dfrac{4}{n(n+1)}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
4 corner squares (\(X=2\)), 8 edge squares (\(X=3\)), 4 inner squares (\(X=4\))(M1)
\(\mathrm{P}(X=2)=\dfrac{1}{4},\ \mathrm{P}(X=4)=\dfrac{1}{4}\)A1
\(\mathrm{P}(X=3)=\dfrac{1}{2}\)A1
(b)
\(\mathrm{E}(X)=3\)A1
(c)
4 corner squares, \(4(n-2)\) edge squares and \((n-2)^{2}\) inner squaresM1
\(\mathrm{E}(X)=\dfrac{2(4)+3\cdot4(n-2)+4(n-2)^{2}}{n^{2}}\)A1
\(=\dfrac{4n^{2}-4n}{n^{2}}\)A1
\(=\dfrac{4(n-1)}{n}\)AG
(d)
\(\displaystyle\sum_{x}\mathrm{P}(X=x)\cdot\frac{x}{n^{2}-1}=\frac{\mathrm{E}(X)}{n^{2}-1}\)M1Given the first square has \(x\) neighbours, the second counter is on one of them with probability \(\tfrac{x}{n^{2}-1}\).
\(\dfrac{4(n-1)}{n(n-1)(n+1)}\)A1
\(=\dfrac{4}{n(n+1)}\)AGOtherwise: \(2n(n-1)\) adjacent pairs out of \(\binom{n^{2}}{2}\) pairs.

Answers: (a) \(\tfrac14,\ \tfrac12,\ \tfrac14\) for \(x=2,3,4\) · (b) 3

28AAHL4-q00304.7 Discrete random variables Paper 1Medium16 marks

A fair coin is tossed repeatedly until the first head appears. Let \(X\) be the number of tosses needed, so \(X\in\{1,2,3,\ldots\}\).

(a)

Show that \(\mathrm{P}(X=n)=\left(\dfrac{1}{2}\right)^{n}\), and verify that \(\displaystyle\sum_{n=1}^{\infty}\mathrm{P}(X=n)=1\).

(2)
(b)

Find the probability that \(X\) is even.

(3)
(c)

In a game, a player receives a prize of \(Y=a^{X}\) euros, where \(1\lt a\lt2\). Show that \(\mathrm{E}(Y)=\dfrac{a}{2-a}\).

(3)
(d)

For \(a=1.5\), write down the entry fee that makes the game fair.

(1)
(e)

Show that \(\mathrm{E}(Y^{2})=\dfrac{a^{2}}{2-a^{2}}\), stating the condition on \(a\) for which this result holds.

(3)
(f)

Hence find \(\mathrm{Var}(Y)\) when \(a=1.2\).

(2)
(g)

For \(a=1.2\), find the probability that the prize is greater than \(\mathrm{E}(Y)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(X=n\) means \(n-1\) tails followed by a head: \(\left(\tfrac{1}{2}\right)^{n-1}\times\tfrac{1}{2}=\left(\tfrac{1}{2}\right)^{n}\)M1
\(\displaystyle\sum_{n=1}^{\infty}\left(\tfrac{1}{2}\right)^{n}=\dfrac{1/2}{1-1/2}=1\)A1
(b)
\(\mathrm{P}(X=2)+\mathrm{P}(X=4)+\cdots=\left(\tfrac{1}{2}\right)^{2}+\left(\tfrac{1}{2}\right)^{4}+\cdots\)M1
geometric with \(u_{1}=\tfrac{1}{4},\ r=\tfrac{1}{4}\): \(\dfrac{1/4}{1-1/4}\)M1
\(\dfrac{1}{3}\)A1
(c)
\(\mathrm{E}(Y)=\displaystyle\sum_{n=1}^{\infty}a^{n}\left(\tfrac{1}{2}\right)^{n}=\sum_{n=1}^{\infty}\left(\tfrac{a}{2}\right)^{n}\)M1
converges because \(0\lt\dfrac{a}{2}\lt1\)R1
\(\dfrac{a/2}{1-a/2}\)A1
\(=\dfrac{a}{2-a}\)AG
(d)
€\(3\)A1
(e)
\(\mathrm{E}(Y^{2})=\displaystyle\sum_{n=1}^{\infty}a^{2n}\left(\tfrac{1}{2}\right)^{n}=\sum_{n=1}^{\infty}\left(\tfrac{a^{2}}{2}\right)^{n}\)M1
\(\dfrac{a^{2}/2}{1-a^{2}/2}=\dfrac{a^{2}}{2-a^{2}}\)A1
valid only when \(\dfrac{a^{2}}{2}\lt1\), ie \(a\lt\sqrt{2}\)R1
(f)
\(\mathrm{E}(Y)=\dfrac{1.2}{0.8}=1.5\), \(\mathrm{E}(Y^{2})=\dfrac{1.44}{0.56}=\dfrac{18}{7}\)M1
\(\mathrm{Var}(Y)=\dfrac{18}{7}-\dfrac{9}{4}=\dfrac{9}{28}\)A1
(g)
\(1.2^{2}=1.44\lt1.5\lt1.2^{3}=1.728\), so \(Y\gt1.5\iff X\ge3\)M1
\(\mathrm{P}(X\ge3)=\left(\tfrac{1}{2}\right)^{2}=\dfrac{1}{4}\)A1Probability that the first two tosses are both tails.

Answers: (b) \(\tfrac{1}{3}\) · (d) €3 · (e) \(a\lt\sqrt{2}\) · (f) \(\tfrac{9}{28}\) · (g) \(\tfrac{1}{4}\)

29AAHL4-q00314.7 Discrete random variables Paper 1Medium15 marks

A fair coin is tossed four times. Let \(X\) be the length of the longest run of consecutive heads; for example, the outcome HHTH gives \(X=2\), and TTTT gives \(X=0\). The table shows part of the probability distribution of \(X\).

\(x\)01234
\(\mathrm{P}(X=x)\)\(\tfrac{1}{16}\)\(\tfrac{1}{16}\)
(a)

Show that \(\mathrm{P}(X=3)=\dfrac{1}{8}\).

(2)
(b)

Complete the table of the probability distribution of \(X\) shown above.

(3)
(c)

Show that \(\mathrm{E}(X)=\dfrac{27}{16}\).

(2)
(d)

Find \(\mathrm{Var}(X)\).

(3)
(e)

In a game, a player pays \(c\) euros to play and receives \(4X\) euros. Find the value of \(c\) for which the game is fair.

(2)
(f)

Find the variance of the amount received.

(1)
(g)

Given that \(X\ge2\), find the probability that the first toss was a head.

(2)
Show mark scheme
WorkingMarkNotes
(a)
outcomes HHHT and THHH onlyM1Both outcomes listed, and no others.
\(\dfrac{2}{16}\)A1
\(=\dfrac{1}{8}\)AG
(b)
listing outcomes with no two consecutive heads: TTTH, TTHT, THTT, HTTT, HTHT, THTH, HTTHM1Or listing the five outcomes with X = 2: HHTT, THHT, TTHH, HHTH, HTHH.
\(\mathrm{P}(X=1)=\dfrac{7}{16}\)A1
\(\mathrm{P}(X=2)=\dfrac{5}{16}\), \(\mathrm{P}(X=3)=\dfrac{2}{16}\)A1Accept any equivalent fractions; the values must sum to 1.
(c)
\(\dfrac{0(1)+1(7)+2(5)+3(2)+4(1)}{16}\)M1
\(=\dfrac{7+10+6+4}{16}\)A1
\(=\dfrac{27}{16}\)AG
(d)
\(\mathrm{E}(X^{2})=\dfrac{1(7)+4(5)+9(2)+16(1)}{16}\)M1
\(=\dfrac{61}{16}\)A1
\(\mathrm{Var}(X)=\dfrac{61}{16}-\dfrac{729}{256}=\dfrac{247}{256}\)A1
(e)
\(\mathrm{E}(4X)=4\times\dfrac{27}{16}=c\)M1
\(c=\dfrac{27}{4}=6.75\)A1
(f)
\(16\times\dfrac{247}{256}=\dfrac{247}{16}\)A1FT from (d).
(g)
8 outcomes with \(X\ge2\), of which HHTT, HHTH, HTHH, HHHT, HHHH start with a headM1Or \(\dfrac{5/16}{8/16}\).
\(\dfrac{5}{8}\)A1

Answers: (b) \(\tfrac{7}{16},\ \tfrac{5}{16},\ \tfrac{1}{8}\) · (d) \(\tfrac{247}{256}\) · (e) \(c=6.75\) · (f) \(\tfrac{247}{16}\) · (g) \(\tfrac{5}{8}\)

30AAHL4-q00334.8 Binomial distribution Paper 1Medium9 marks

A random variable \(X\) follows a binomial distribution \(\mathrm{B}(n,\,p)\), where \(0\lt p\lt 1\). It is given that \(\mathrm{P}(X=1)=3\,\mathrm{P}(X=0)\) and \(4\,\mathrm{P}(X=2)=5\,\mathrm{P}(X=1)\).

(a)

Show that \(np=3(1-p)\).

(2)
(b)

Show that \((n-1)p=\dfrac{5}{2}(1-p)\).

(2)
(c)

Hence find the value of \(p\) and the value of \(n\).

(3)
(d)

Find \(\mathrm{P}(X\le1)\), giving your answer as a fraction.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(np(1-p)^{n-1}=3(1-p)^{n}\)M1
dividing by \((1-p)^{n-1}\neq0\)A1
\(np=3(1-p)\)AG
(b)
\(4\dbinom{n}{2}p^{2}(1-p)^{n-2}=5np(1-p)^{n-1}\)M1
\(2n(n-1)p^{2}(1-p)^{n-2}=5np(1-p)^{n-1}\Rightarrow 2(n-1)p=5(1-p)\)A1
\((n-1)p=\dfrac{5}{2}(1-p)\)AG
(c)
subtracting: \(p=\dfrac{1}{2}(1-p)\)M1
\(p=\dfrac{1}{3}\)A1
\(n=6\)A1
(d)
\(\left(\dfrac{2}{3}\right)^{6}+6\left(\dfrac{1}{3}\right)\left(\dfrac{2}{3}\right)^{5}=\dfrac{64}{729}+\dfrac{192}{729}\)(M1)
\(\dfrac{256}{729}\)A1

Answers: (c) \(p=\tfrac{1}{3},\ n=6\) · (d) \(\tfrac{256}{729}\)

31AAHL4-q00484.11 Conditional probability and independence Paper 1Medium8 marks

A card is drawn at random from a standard pack of 52 playing cards (13 cards in each of the four suits hearts, diamonds, clubs and spades; each suit contains one king, one queen and one jack). Let \(H\) be the event “the card is a heart”, \(K\) the event “the card is a king” and \(C\) the event “the card is a king, a queen or a jack”.

(a)

Show that \(H\) and \(K\) are independent.

(2)
(b)

By finding \(\mathrm{P}(K\mid C)\), show that \(K\) and \(C\) are not independent.

(2)
(c)

Events \(A\) and \(B\) are mutually exclusive, with \(\mathrm{P}(A)\gt 0\) and \(\mathrm{P}(B)\gt 0\). Prove that \(A\) and \(B\) are not independent.

(2)
(d)

The two of clubs is removed from the pack and a card is drawn at random from the remaining 51 cards. Determine whether \(H\) and \(K\) are now independent.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(H)=\dfrac{1}{4},\ \mathrm{P}(K)=\dfrac{1}{13},\ \mathrm{P}(H\cap K)=\dfrac{1}{52}\)A1
\(\mathrm{P}(H)\,\mathrm{P}(K)=\dfrac{1}{4}\times\dfrac{1}{13}=\dfrac{1}{52}=\mathrm{P}(H\cap K)\), so independentR1Or \(\mathrm{P}(K\mid H)=\dfrac{1}{13}=\mathrm{P}(K)\).
(b)
\(\mathrm{P}(K\mid C)=\dfrac{4}{12}=\dfrac{1}{3}\)A1
\(\dfrac{1}{3}\neq\dfrac{1}{13}=\mathrm{P}(K)\), so not independentR1
(c)
\(\mathrm{P}(A\cap B)=0\) (mutually exclusive) and \(\mathrm{P}(A)\,\mathrm{P}(B)\gt 0\)M1
so \(\mathrm{P}(A\cap B)\neq\mathrm{P}(A)\,\mathrm{P}(B)\); hence \(A\) and \(B\) are not independentR1
(d)
\(\mathrm{P}(H)=\dfrac{13}{51},\ \mathrm{P}(K)=\dfrac{4}{51},\ \mathrm{P}(H\cap K)=\dfrac{1}{51}\)A1
\(\dfrac{13}{51}\times\dfrac{4}{51}=\dfrac{52}{2601}\neq\dfrac{51}{2601}=\dfrac{1}{51}\), so not independentR1Or \(\mathrm{P}(K\mid H)=\dfrac{1}{13}\neq\dfrac{4}{51}\).

Answers: (b) \(\mathrm{P}(K\mid C)=\frac13\) · (d) not independent

32AAHL4-q00534.11 Conditional probability and independence Paper 1Medium16 marks

In a town, if it rains on one day, the probability that it rains on the next day is \(\dfrac{3}{5}\). If it does not rain on one day, the probability that it rains on the next day is \(\dfrac{1}{5}\). It rains on day 1. Let \(p_{n}\) be the probability that it rains on day \(n\), so \(p_{1}=1\).

(a)

Find \(p_{2}\) and \(p_{3}\).

(3)
(b)

Show that \(p_{n+1}=\dfrac{1}{5}+\dfrac{2}{5}p_{n}\).

(2)
(c)

By considering \(p_{n}-\dfrac{1}{3}\), show that \(p_{n}=\dfrac{1}{3}+\dfrac{2}{3}\left(\dfrac{2}{5}\right)^{n-1}\).

(4)
(d)

Write down the value of \(p_{n}\) in the long run.

(1)
(e)

Find the least value of \(n\) for which \(p_{n}-\dfrac{1}{3}\lt\dfrac{1}{150}\).

(3)
(f)

Given that it rains on day 3, find the probability that it did not rain on day 2.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(p_{2}=\dfrac{3}{5}\)A1
\(p_{3}=\dfrac{3}{5}\times\dfrac{3}{5}+\dfrac{2}{5}\times\dfrac{1}{5}\)M1Tree diagram.
\(\dfrac{11}{25}\)A1
(b)
\(p_{n+1}=\dfrac{3}{5}p_{n}+\dfrac{1}{5}(1-p_{n})\)M1
\(=\dfrac{1}{5}+\dfrac{3}{5}p_{n}-\dfrac{1}{5}p_{n}\)A1
\(=\dfrac{1}{5}+\dfrac{2}{5}p_{n}\)AG
(c)
\(p_{n+1}-\dfrac{1}{3}=\dfrac{2}{5}p_{n}-\dfrac{2}{15}=\dfrac{2}{5}\left(p_{n}-\dfrac{1}{3}\right)\)M1
so \(p_{n}-\dfrac{1}{3}\) is geometric with ratio \(\dfrac{2}{5}\) and first term \(p_{1}-\dfrac{1}{3}=\dfrac{2}{3}\)A1
\(p_{n}-\dfrac{1}{3}=\dfrac{2}{3}\left(\dfrac{2}{5}\right)^{n-1}\)M1
rearranging to the given resultA1Award only if the first term 2/3 has been justified.
AG
(d)
\(\dfrac{1}{3}\)A1
(e)
\(\dfrac{2}{3}\left(\dfrac{2}{5}\right)^{n-1}\lt\dfrac{1}{150}\iff\left(\dfrac{5}{2}\right)^{n-1}\gt100\)M1
\(2.5^{5}=97.65625\lt100\), \(2.5^{6}=244.140625\gt100\)(A1)
\(n-1=6\), so \(n=7\)A1
(f)
\(\mathrm{P}(\text{dry day 2 and rain day 3})=\left(1-\dfrac{3}{5}\right)\times\dfrac{1}{5}=\dfrac{2}{25}\)M1
dividing by \(p_{3}=\dfrac{11}{25}\)M1
\(\dfrac{2}{11}\)A1

Answers: (a) \(\tfrac{3}{5},\ \tfrac{11}{25}\) · (d) \(\tfrac{1}{3}\) · (e) \(n=7\) · (f) \(\tfrac{2}{11}\)

33AAHL4-q00624.13 Bayes’ theorem Paper 1Medium7 marks

A veterinary test is used on cattle in a region where 10% of cattle have a disease. The test is positive for 90% of cattle with the disease. For cattle without the disease, the test is positive with probability \(q\), where \(0\lt q\lt 1\). Let \(D\) be the event that an animal has the disease and \(+\) the event that its test is positive.

(a)

Show that \(\mathrm{P}(D\mid +)=\dfrac{1}{1+10q}\).

(2)
(b)

The test is acceptable if \(\mathrm{P}(D\mid +)\ge0.8\). Find the largest value of \(q\) for which the test is acceptable.

(2)
(c)

For this value of \(q\), find the probability that an animal whose test is negative does not have the disease.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(D\mid +)=\dfrac{0.1\times0.9}{0.1\times0.9+0.9q}\)M1Correct use of Bayes’ theorem.
\(=\dfrac{0.09}{0.09(1+10q)}\)A1Or dividing numerator and denominator by 0.09.
\(=\dfrac{1}{1+10q}\)AG
(b)
\(\dfrac{1}{1+10q}\ge0.8\Rightarrow 1+10q\le1.25\)M1
\(q=0.025\)A1
(c)
\(\mathrm{P}(D'\mid -)=\dfrac{0.9(1-q)}{0.9(1-q)+0.1(0.1)}\)M1
\(\dfrac{0.8775}{0.8875}\)A1
\(\dfrac{351}{355}\)A1Accept \(0.989\).

Answers: (b) \(q=0.025\) · (c) \(\frac{351}{355}\)

34AAHL4-q00634.13 Bayes’ theorem Paper 1Medium10 marks

A survey estimates the proportion, \(\pi\), of drivers who have driven through a red traffic light. Each driver privately rolls a fair six-sided die. If the score is 1 or 2, the driver answers “Yes” whatever the truth; otherwise the driver answers the question “Have you ever driven through a red light?” truthfully. Let \(T\) be the event that the driver has driven through a red light and \(Y\) the event that the driver answers “Yes”.

(a)

Show that \(\mathrm{P}(Y)=\dfrac{1+2\pi}{3}\).

(2)
(b)

In the survey, 40% of drivers answer “Yes”. Find the value of \(\pi\).

(2)
(c)

Find \(\mathrm{P}(T\mid Y)\).

(2)
(d)

The procedure is changed: a score of 1 means answer “Yes”, a score of 2 means answer “No”, and otherwise the driver answers truthfully. Taking \(\pi=0.1\), find \(\mathrm{P}(T\mid Y)\) and \(\mathrm{P}(T\mid Y')\).

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(Y)=\dfrac13(1)+\dfrac23\,\pi\)M1Two branches of the die outcome.
\(=\dfrac{1}{3}+\dfrac{2\pi}{3}\)A1
\(=\dfrac{1+2\pi}{3}\)AG
(b)
\(\dfrac{1+2\pi}{3}=0.4\)M1
\(\pi=0.1\)A1
(c)
\(\mathrm{P}(Y\mid T)=1\), so \(\mathrm{P}(T\mid Y)=\dfrac{0.1\times1}{0.4}\)M1Bayes’ theorem; FT their \(\pi\).
\(\dfrac14\)A1
(d)
\(\mathrm{P}(Y)=\dfrac16+\dfrac23(0.1)=\dfrac{7}{30}\)M1
\(\mathrm{P}(T\mid Y)=\dfrac{0.1\left(\frac16+\frac23\right)}{\frac{7}{30}}=\dfrac{5}{14}\)A1
\(\mathrm{P}(T\mid Y')=\dfrac{0.1\times\frac16}{1-\frac{7}{30}}\)M1A driver with \(T\) answers “No” only on a score of 2.
\(\dfrac{1}{46}\)A1

Answers: (b) \(\pi=0.1\) · (c) \(\frac14\) · (d) \(\frac{5}{14}\) and \(\frac{1}{46}\)

35AAHL4-q00664.13 Bayes’ theorem Paper 1Medium8 marks

In a game show a prize is placed behind one of three closed doors, 1, 2 and 3, each door being equally likely. A contestant chooses door 1. The host, who knows where the prize is, then opens one of doors 2 and 3, always choosing a door that does not hide the prize. If the prize is behind door 1, the host opens door 3 with probability \(q\) and door 2 with probability \(1-q\), where \(0\le q\le1\). The host opens door 3.

(a)

In the case \(q=\dfrac12\), show that the probability that the prize is behind door 2 is \(\dfrac23\).

(3)
(b)

For a general value of \(q\), find, in terms of \(q\), the probability that the prize is behind door 1.

(3)
(c)

The contestant may switch to door 2. Show that switching never decreases the contestant’s probability of winning.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(O_3\mid D_1)=\dfrac12,\ \mathrm{P}(O_3\mid D_2)=1,\ \mathrm{P}(O_3\mid D_3)=0\)A1\(O_3\): host opens door 3; \(D_i\): prize behind door \(i\).
\(\mathrm{P}(D_2\mid O_3)=\dfrac{\frac13(1)}{\frac13\left(\frac12\right)+\frac13(1)+\frac13(0)}\)M1
\(=\dfrac{\frac13}{\frac12}\)A1
\(=\dfrac23\)AG
(b)
\(\mathrm{P}(O_3)=\dfrac{q}{3}+\dfrac13\)M1
\(\mathrm{P}(D_1\mid O_3)=\dfrac{\frac{q}{3}}{\frac{q}{3}+\frac13}\)M1
\(\dfrac{q}{1+q}\)A1
(c)
\(\mathrm{P}(D_2\mid O_3)=1-\dfrac{q}{1+q}=\dfrac{1}{1+q}\)A1Since \(\mathrm{P}(D_3\mid O_3)=0\).
\(\dfrac{1}{1+q}\ge\dfrac{q}{1+q}\) because \(q\le1\), so switching is never worse (equal only when \(q=1\))R1

Answers: (b) \(\frac{q}{1+q}\) · (c) \(\mathrm{P}(\text{win by switching})=\frac{1}{1+q}\)

36AAHL4-q00684.13 Bayes’ theorem Paper 1Medium7 marks

A shop buys all its light bulbs from three suppliers, P, Q and R. Supplier P provides half of the bulbs, supplier Q provides a proportion \(x\) and supplier R provides the rest. The probability that a bulb is faulty is 0.02 for supplier P, 0.04 for supplier Q and 0.08 for supplier R. Half of all faulty bulbs come from supplier R.

(a)

Find the value of \(x\).

(4)
(b)

A bulb is chosen at random and is not faulty. Find the probability that it came from supplier P.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(F)=0.5(0.02)+0.04x+0.08(0.5-x)=0.05-0.04x\)M1
\(\dfrac{0.08(0.5-x)}{0.05-0.04x}=0.5\)M1Bayes’ theorem.
\(0.04-0.08x=0.025-0.02x\)A1Or \(0.06x=0.015\).
\(x=\dfrac14\)A1
(b)
\(\mathrm{P}(F)=0.05-0.01=0.04\), so \(\mathrm{P}(F')=0.96\)(A1)
\(\dfrac{0.5(0.98)}{0.96}\)M1
\(\dfrac{49}{96}\)A1Accept \(0.510\).

Answers: (a) \(x=\frac14\) · (b) \(\frac{49}{96}\)

37AAHL4-q00694.13 Bayes’ theorem Paper 1Medium8 marks

Let \(A\) and \(B\) be events with \(0\lt\mathrm{P}(A)\lt1\) and \(0\lt\mathrm{P}(B)\lt1\).

(a)

Show that \(\mathrm{P}(B\mid A)-\mathrm{P}(B)=\dfrac{\mathrm{P}(B)\,\mathrm{P}(B')\big(\mathrm{P}(A\mid B)-\mathrm{P}(A\mid B')\big)}{\mathrm{P}(A)}\).

(4)
(b)

Hence state a condition on \(\mathrm{P}(A\mid B)\) and \(\mathrm{P}(A\mid B')\) for which knowing that \(A\) has occurred increases the probability of \(B\).

(1)
(c)

Hence show that if \(\mathrm{P}(A\mid B)=\mathrm{P}(A\mid B')\) then \(A\) and \(B\) are independent.

(1)
(d)

Given that \(\mathrm{P}(B)=0.4\), \(\mathrm{P}(A\mid B)=0.3\) and \(\mathrm{P}(A\mid B')=0.2\), use the result in part (a) to find \(\mathrm{P}(B\mid A)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(B\mid A)=\dfrac{\mathrm{P}(B)\,\mathrm{P}(A\mid B)}{\mathrm{P}(A)}\)M1Bayes’ theorem.
\(\mathrm{P}(B\mid A)-\mathrm{P}(B)=\dfrac{\mathrm{P}(B)\big(\mathrm{P}(A\mid B)-\mathrm{P}(A)\big)}{\mathrm{P}(A)}\)A1
\(\mathrm{P}(A)=\mathrm{P}(B)\,\mathrm{P}(A\mid B)+\mathrm{P}(B')\,\mathrm{P}(A\mid B')\)M1
\(\mathrm{P}(A\mid B)-\mathrm{P}(A)=\big(1-\mathrm{P}(B)\big)\mathrm{P}(A\mid B)-\mathrm{P}(B')\,\mathrm{P}(A\mid B')=\mathrm{P}(B')\big(\mathrm{P}(A\mid B)-\mathrm{P}(A\mid B')\big)\)A1
resultAG
(b)
\(\mathrm{P}(A\mid B)\gt\mathrm{P}(A\mid B')\) (since all other factors are positive)R1
(c)
then \(\mathrm{P}(B\mid A)=\mathrm{P}(B)\), so \(A\) and \(B\) are independentR1
(d)
\(\mathrm{P}(A)=0.4(0.3)+0.6(0.2)=0.24\) and \(\mathrm{P}(B\mid A)-0.4=\dfrac{0.4(0.6)(0.1)}{0.24}=0.1\)M1
\(\mathrm{P}(B\mid A)=0.5\)A1

Answers: (b) \(\mathrm{P}(A\mid B)\gt\mathrm{P}(A\mid B')\) · (d) 0.5

38AAHL4-q00704.13 Bayes’ theorem Paper 1Medium9 marks

A transmitter sends the digit 1 with probability \(\dfrac35\) and the digit 0 with probability \(\dfrac25\). To reduce errors, each digit is sent three times (as 111 or 000). Each of the three received digits is independently changed (1 to 0 or 0 to 1) with probability \(\dfrac{1}{10}\).

(a)

Find the probability that the receiver gets 110, in that order.

(3)
(b)

Given that the receiver gets 110, find the probability that the digit 1 was sent.

(2)
(c)

The receiver decodes each block as the digit that appears at least twice. Find the probability that a block is decoded incorrectly.

(2)
(d)

Given that the receiver gets 100, find the probability that the digit 0 was sent.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(110\mid1)=\left(\dfrac{9}{10}\right)^{2}\dfrac{1}{10}=\dfrac{81}{1000}\) and \(\mathrm{P}(110\mid0)=\left(\dfrac{1}{10}\right)^{2}\dfrac{9}{10}=\dfrac{9}{1000}\)A1
\(\dfrac35\cdot\dfrac{81}{1000}+\dfrac25\cdot\dfrac{9}{1000}\)M1
\(\dfrac{261}{5000}\)A1Accept \(0.0522\).
(b)
\(\dfrac{\frac{243}{5000}}{\frac{261}{5000}}\)M1
\(\dfrac{27}{29}\)A1
(c)
incorrect if at least two digits change: \(3\left(\dfrac{1}{10}\right)^{2}\dfrac{9}{10}+\left(\dfrac{1}{10}\right)^{3}\)(M1)The same for either digit sent, so no weighting needed.
\(\dfrac{7}{250}\)A1Accept \(0.028\).
(d)
\(\dfrac{\frac25\cdot\frac{81}{1000}}{\frac25\cdot\frac{81}{1000}+\frac35\cdot\frac{9}{1000}}\)M1
\(\dfrac{162}{189}=\dfrac67\)A1Accept \(0.857\).

Answers: (a) \(\frac{261}{5000}\) · (b) \(\frac{27}{29}\) · (c) \(\frac{7}{250}\) · (d) \(\frac67\)

39AAHL4-q00794.14 Variance, continuous random variables and linear transformations Paper 1Medium8 marks

The discrete random variable \(X\) has the probability distribution shown, where \(a\gt 1\).

\(x\)\(0\)\(1\)\(a\)
\(\mathrm{P}(X=x)\)\(0.5\)\(0.3\)\(0.2\)
(a)

Show that \(\mathrm{Var}(X)=0.16a^{2}-0.12a+0.21\).

(3)
(b)

Given that \(\mathrm{Var}(X)=2.29\), find the value of \(a\).

(3)
(c)

For this value of \(a\), find the probability that \(X\) lies within one standard deviation of \(\mathrm{E}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{E}(X)=0.3+0.2a\)A1
\(\mathrm{E}(X^{2})=0.3+0.2a^{2}\)A1
\(\mathrm{Var}(X)=0.3+0.2a^{2}-(0.09+0.12a+0.04a^{2})\)M1Use of \(\mathrm{E}(X^{2})-[\mathrm{E}(X)]^{2}\) with the square expanded.
\(=0.16a^{2}-0.12a+0.21\)AG
(b)
\(0.16a^{2}-0.12a-2.08=0\Rightarrow4a^{2}-3a-52=0\)M1
\((a-4)(4a+13)=0\)A1Or quadratic formula.
\(a=4\)A1Reject \(a=-\tfrac{13}{4}\) since \(a\gt1\). Award A0 if both values are given as the answer.
(c)
\(\mathrm{E}(X)=1.1\), \(\sigma=\sqrt{2.29}\) with \(1.5\lt\sigma\lt1.6\), so the interval is approximately \(]-0.4,\ 2.6[\), containing \(x=0\) and \(x=1\) only(M1)Since \(1.5^{2}=2.25\lt2.29\lt2.56=1.6^{2}\).
\(0.5+0.3=0.8\)A1

Answers: (b) \(a=4\) · (c) \(0.8\)

40AAHL4-q00854.14 Variance, continuous random variables and linear transformations Paper 1Medium8 marks

The continuous random variable \(X\) has probability density function \(f(x)=k(9-x^{2})\) for \(0\le x\le3\), and \(f(x)=0\) otherwise.

(a)

Find the value of \(k\).

(2)
(b)

Find \(\mathrm{E}(X)\).

(2)
(c)

Find \(\mathrm{P}\big(X\lt\mathrm{E}(X)\big)\).

(2)
(d)

Hence state, with a reason, whether the median of \(X\) is greater than or less than \(\mathrm{E}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\left[9x-\dfrac{x^{3}}{3}\right]_{0}^{3}=k(27-9)=1\)(M1)
\(k=\dfrac{1}{18}\)A1
(b)
\(\displaystyle\frac{1}{18}\int_{0}^{3}(9x-x^{3})\,\mathrm{d}x=\frac{1}{18}\left(\frac{81}{2}-\frac{81}{4}\right)\)(M1)FT their \(k\).
\(\mathrm{E}(X)=\dfrac98\)A1
(c)
\(\dfrac{1}{18}\left[9x-\dfrac{x^{3}}{3}\right]_{0}^{9/8}=\dfrac{1}{18}\left(\dfrac{81}{8}-\dfrac{243}{512}\right)=\dfrac{1}{18}\cdot\dfrac{4941}{512}\)(M1)FT their \(\mathrm{E}(X)\).
\(\dfrac{549}{1024}\)A1
(d)
\(\mathrm{P}\big(X\lt\mathrm{E}(X)\big)=\dfrac{549}{1024}\gt\dfrac{512}{1024}=\dfrac12\), so half of the probability lies below \(\mathrm{E}(X)\) alreadyR1
the median is less than \(\mathrm{E}(X)\)A1Do not award A1R0. FT their (c).

Answers: (a) \(\tfrac1{18}\) · (b) \(\tfrac98\) · (c) \(\tfrac{549}{1024}\) · (d) median \(\lt\mathrm{E}(X)\)

41AAHL4-q00874.14 Variance, continuous random variables and linear transformations Paper 1Medium9 marks

The continuous random variable \(X\) has probability density function

\[f(x)=\begin{cases}k,&0\le x\lt 2\\[2pt] 4k,&2\le x\lt 3\\[2pt] 2k,&3\le x\le 5\\[2pt] 0,&\text{otherwise}\end{cases}\]

where \(k\) is a positive constant. The graph of \(y=f(x)\) is shown.

xy235k2k4kOy = f(x)
(a)

Find the value of \(k\).

(2)
(b)

Find the median of \(X\).

(3)
(c)

Find \(\mathrm{E}(X)\).

(2)
(d)

Find \(\mathrm{Var}(X)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(2k+4k+4k=1\)(M1)Sum of the areas of the three rectangles.
\(k=\dfrac{1}{10}\)A1
(b)
\(\mathrm{P}(X\lt2)=0.2\) and \(\mathrm{P}(X\lt3)=0.6\), so the median lies in \([2,3]\)R1
\(0.2+0.4(m-2)=0.5\)M1Or \(\displaystyle\int_{0}^{2}0.1\,\mathrm{d}x+\int_{2}^{m}0.4\,\mathrm{d}x=\frac12\).
\(m=2.75\)A1Accept \(\tfrac{11}{4}\).
(c)
\(\displaystyle\int_{0}^{2}0.1x\,\mathrm{d}x+\int_{2}^{3}0.4x\,\mathrm{d}x+\int_{3}^{5}0.2x\,\mathrm{d}x=0.2+1+1.6\)(M1)FT their k.
\(\mathrm{E}(X)=2.8\)A1Accept \(\tfrac{14}{5}\).
(d)
\(\mathrm{E}(X^{2})=0.1\cdot\dfrac83+0.4\cdot\dfrac{19}{3}+0.2\cdot\dfrac{98}{3}=\dfrac{28}{3}\)(M1)
\(\mathrm{Var}(X)=\dfrac{28}{3}-\dfrac{196}{25}=\dfrac{112}{75}\)A1\(1.4933\ldots\)

Answers: (a) \(\tfrac1{10}\) · (b) 2.75 · (c) 2.8 · (d) \(\tfrac{112}{75}\)

42AAHL4-q00884.14 Variance, continuous random variables and linear transformations Paper 1Medium8 marks

The continuous random variable \(X\) has the probability density function \(f\) shown. The graph consists of line segments joining \((0,0)\), \((1,h)\), \((3,h)\) and \((4,0)\), and \(f(x)=0\) for \(x\lt 0\) and \(x\gt 4\).

xy134hOy = f(x)
Diagram not to scale
(a)

Show that \(h=\dfrac13\).

(2)
(b)

Find \(\mathrm{P}\left(\tfrac12\lt X\lt\tfrac72\right)\).

(2)
(c)

Write down \(\mathrm{E}(X)\).

(1)
(d)

Find \(\mathrm{Var}(X)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
area of trapezium \(\tfrac12(4+2)h=1\)M1
\(3h=1\)A1
\(h=\tfrac13\)AG
(b)
\(1-2\times\tfrac12\times\tfrac12\times f\!\left(\tfrac12\right)\), with \(f\!\left(\tfrac12\right)=\tfrac16\)(M1)Or integrating each piece.
\(1-\tfrac{1}{12}=\dfrac{11}{12}\)A1
(c)
\(\mathrm{E}(X)=2\)A1By symmetry about \(x=2\).
(d)
\(\displaystyle\mathrm{E}(X^{2})=\int_{0}^{1}\frac{x^{3}}{3}\,\mathrm{d}x+\int_{1}^{3}\frac{x^{2}}{3}\,\mathrm{d}x+\int_{3}^{4}\frac{x^{2}(4-x)}{3}\,\mathrm{d}x\)M1Correct pieces of \(f\) required.
\(\mathrm{E}(X^{2})=\dfrac1{12}+\dfrac{26}{9}+\dfrac{67}{36}=\dfrac{29}{6}\)A1
\(\mathrm{Var}(X)=\dfrac{29}{6}-4=\dfrac56\)A1

Answers: (b) \(\tfrac{11}{12}\) · (c) 2 · (d) \(\tfrac56\)

43AAHL4-q00894.14 Variance, continuous random variables and linear transformations Paper 1Medium9 marks

The continuous random variable \(X\) has probability density function \(f(x)=\dfrac{1}{b-a}\) for \(a\le x\le b\), and \(f(x)=0\) otherwise, where \(a\lt b\).

(a)

Show that \(\mathrm{E}(X)=\dfrac{a+b}{2}\).

(2)
(b)

Show that \(\mathrm{Var}(X)=\dfrac{(b-a)^{2}}{12}\).

(3)
(c)

Given that \(\mathrm{E}(X)=7\) and \(\mathrm{Var}(X)=3\), find the value of \(a\) and the value of \(b\).

(3)
(d)

For these values, find \(\mathrm{P}(X\gt 8)\).

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{a}^{b}\frac{x}{b-a}\,\mathrm{d}x=\frac{b^{2}-a^{2}}{2(b-a)}\)M1
\(=\dfrac{(b-a)(b+a)}{2(b-a)}\)A1
\(=\dfrac{a+b}{2}\)AG
(b)
\(\mathrm{E}(X^{2})=\dfrac{b^{3}-a^{3}}{3(b-a)}=\dfrac{a^{2}+ab+b^{2}}{3}\)A1
\(\mathrm{Var}(X)=\dfrac{a^{2}+ab+b^{2}}{3}-\dfrac{(a+b)^{2}}{4}\)M1
\(=\dfrac{4a^{2}+4ab+4b^{2}-3a^{2}-6ab-3b^{2}}{12}=\dfrac{a^{2}-2ab+b^{2}}{12}\)A1
\(=\dfrac{(b-a)^{2}}{12}\)AG
(c)
\(a+b=14\) and \((b-a)^{2}=36\)M1
\(b-a=6\)A1Positive root since \(b\gt a\).
\(a=4,\ b=10\)A1
(d)
\(\dfrac{10-8}{6}=\dfrac13\)A1FT their a, b.

Answers: (c) \(a=4,\ b=10\) · (d) \(\tfrac13\)

44AAHL4-q00924.14 Variance, continuous random variables and linear transformations Paper 1Medium8 marks

The continuous random variable \(X\) has probability density function \(f(x)=k\mathrm{e}^{-x}\) for \(0\le x\le\ln4\), and \(f(x)=0\) otherwise, where \(k\) is a constant.

(a)

Show that \(k=\dfrac43\).

(2)
(b)

Find the median of \(X\), giving your answer in the form \(\ln\dfrac{p}{q}\), where \(p,q\in\mathbb{Z}^{+}\).

(3)
(c)

Find \(\mathrm{E}(X)\), giving your answer in the form \(a+b\ln2\), where \(a,b\in\mathbb{Q}\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(k\big[-\mathrm{e}^{-x}\big]_{0}^{\ln4}=1\)M1
\(k\left(1-\tfrac14\right)=1\)A1
\(k=\tfrac43\)AG
(b)
\(\tfrac43\left(1-\mathrm{e}^{-m}\right)=\tfrac12\)M1
\(\mathrm{e}^{-m}=\dfrac58\)A1
\(m=\ln\dfrac85\)A1
(c)
\(\displaystyle\int x\mathrm{e}^{-x}\,\mathrm{d}x=-x\mathrm{e}^{-x}-\mathrm{e}^{-x}\)M1Integration by parts.
\(\displaystyle\tfrac43\Big[-x\mathrm{e}^{-x}-\mathrm{e}^{-x}\Big]_{0}^{\ln4}=\tfrac43\left(-\tfrac{\ln4}{4}-\tfrac14+1\right)\)A1
\(\mathrm{E}(X)=1-\dfrac23\ln2\)A1Accept \(1-\tfrac13\ln4\) only if written in the required form.

Answers: (b) \(\ln\tfrac85\) · (c) \(1-\tfrac23\ln2\)

45AAHL4-q00934.14 Variance, continuous random variables and linear transformations Paper 1Medium7 marks

The continuous random variable \(X\) has probability density function \(f(x)=\dfrac{k}{1+x^{2}}\) for \(0\le x\le\sqrt3\), and \(f(x)=0\) otherwise.

(a)

Find the exact value of \(k\).

(2)
(b)

Find the median of \(X\).

(2)
(c)

Find \(\mathrm{E}(X)\), giving your answer in the form \(\dfrac{a\ln2}{\pi}\), where \(a\in\mathbb{Z}\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(k\big[\arctan x\big]_{0}^{\sqrt3}=k\cdot\dfrac{\pi}{3}=1\)(M1)
\(k=\dfrac{3}{\pi}\)A1
(b)
\(\dfrac3\pi\arctan m=\dfrac12\Rightarrow\arctan m=\dfrac{\pi}{6}\)(M1)
\(m=\dfrac{1}{\sqrt3}\)A1Accept \(\tfrac{\sqrt3}{3}\).
(c)
\(\displaystyle\frac3\pi\int_{0}^{\sqrt3}\frac{x}{1+x^{2}}\,\mathrm{d}x=\frac3\pi\left[\tfrac12\ln(1+x^{2})\right]_{0}^{\sqrt3}\)M1
\(\dfrac{3}{2\pi}\ln4\)A1
\(\mathrm{E}(X)=\dfrac{3\ln2}{\pi}\)A1

Answers: (a) \(\tfrac3\pi\) · (b) \(\tfrac1{\sqrt3}\) · (c) \(\tfrac{3\ln2}{\pi}\)

46AAHL4-q00944.14 Variance, continuous random variables and linear transformations Paper 1Medium9 marks

The function \(f\) is defined by \(f(x)=\dfrac{1}{2x}\) for \(1\le x\le\mathrm{e}^{2}\), and \(f(x)=0\) otherwise.

(a)

Show that \(f\) is a probability density function.

(2)
(b)

The continuous random variable \(X\) has probability density function \(f\). Find the median of \(X\).

(2)
(c)

Find \(\mathrm{E}(X)\).

(2)
(d)

Show that \(\mathrm{Var}(X)=\mathrm{E}(X)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{1}^{\mathrm{e}^{2}}\frac{1}{2x}\,\mathrm{d}x=\frac12\big[\ln x\big]_{1}^{\mathrm{e}^{2}}=\frac12(2-0)=1\)A1
\(f(x)\gt0\) for \(1\le x\le\mathrm{e}^{2}\) (and \(f(x)=0\) elsewhere), so \(f(x)\ge0\) for all \(x\)R1
(b)
\(\dfrac12\ln m=\dfrac12\)(M1)
\(m=\mathrm{e}\)A1
(c)
\(\displaystyle\int_{1}^{\mathrm{e}^{2}}\frac12\,\mathrm{d}x\)(M1)
\(\mathrm{E}(X)=\dfrac{\mathrm{e}^{2}-1}{2}\)A1
(d)
\(\mathrm{E}(X^{2})=\displaystyle\int_{1}^{\mathrm{e}^{2}}\frac{x}{2}\,\mathrm{d}x=\frac{\mathrm{e}^{4}-1}{4}\)A1
\(\mathrm{Var}(X)=\dfrac{\mathrm{e}^{4}-1}{4}-\dfrac{(\mathrm{e}^{2}-1)^{2}}{4}\)M1
\(=\dfrac{(\mathrm{e}^{2}-1)\big[(\mathrm{e}^{2}+1)-(\mathrm{e}^{2}-1)\big]}{4}=\dfrac{2(\mathrm{e}^{2}-1)}{4}\)A1Or expanding: \(\dfrac{\mathrm{e}^{4}-1-\mathrm{e}^{4}+2\mathrm{e}^{2}-1}{4}\).
\(=\dfrac{\mathrm{e}^{2}-1}{2}=\mathrm{E}(X)\)AG

Answers: (b) \(\mathrm{e}\) · (c) \(\tfrac{\mathrm{e}^{2}-1}{2}\)

47AAHL4-q00954.14 Variance, continuous random variables and linear transformations Paper 1Medium9 marks

A machine cuts square tiles. The side length, \(X\) cm, of a randomly chosen tile is modelled by the probability density function \(f(x)=\dfrac{x-1}{2}\) for \(1\le x\le3\), and \(f(x)=0\) otherwise.

(a)

Find the expected side length.

(2)
(b)

Find the expected area of a tile.

(2)
(c)

Find the standard deviation of the perimeter of a tile.

(3)
(d)

Find the probability that the area of a randomly chosen tile is greater than \(4\ \text{cm}^{2}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{1}^{3}\frac{x^{2}-x}{2}\,\mathrm{d}x=\frac12\left[\frac{x^{3}}{3}-\frac{x^{2}}{2}\right]_{1}^{3}\)(M1)
\(\mathrm{E}(X)=\dfrac73\) cmA1
(b)
\(\mathrm{E}(X^{2})=\displaystyle\int_{1}^{3}\frac{x^{3}-x^{2}}{2}\,\mathrm{d}x=\frac12\left(20-\frac{26}{3}\right)\)(M1)Award M0 for \(\left(\tfrac73\right)^{2}\).
\(\dfrac{17}{3}\ \text{cm}^{2}\)A1
(c)
\(\mathrm{Var}(X)=\dfrac{17}{3}-\dfrac{49}{9}=\dfrac29\)(M1)
\(\mathrm{Var}(4X)=16\times\dfrac29=\dfrac{32}{9}\)(M1)
\(\dfrac{4\sqrt2}{3}\) cmA1Accept \(\tfrac{\sqrt{32}}{3}\), \(1.89\).
(d)
\(X^{2}\gt4\Leftrightarrow X\gt2\): \(\displaystyle\int_{2}^{3}\frac{x-1}{2}\,\mathrm{d}x\)(M1)
\(\dfrac34\)A1

Answers: (a) \(\tfrac73\) cm · (b) \(\tfrac{17}3\) cm² · (c) \(\tfrac{4\sqrt2}{3}\) cm · (d) \(\tfrac34\)

48AAHL4-q01064.14 Variance, continuous random variables and linear transformations Paper 1Medium14 marks

The length, \(X\) km, of a randomly chosen trail in a national park is modelled by the probability density function

\(f(x)=\begin{cases}\dfrac{k}{\sqrt{x}}, & 1\le x\le 9\\[4pt] 0, & \text{otherwise}\end{cases}\)

where \(k\) is a positive constant.

(a)

Show that \(k=\dfrac{1}{4}\).

(2)
(b)

Write down the mode of \(X\), justifying your answer.

(2)
(c)

Show that the median of \(X\) is 4.

(3)
(d)

Find \(\mathrm{E}(X)\).

(2)
(e)

Find \(\mathrm{Var}(X)\).

(3)
(f)

Find \(\mathrm{E}\left(\sqrt{X}\right)\), and show that \(\mathrm{E}\left(\sqrt{X}\right)\neq\sqrt{\mathrm{E}(X)}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{1}^{9}kx^{-\frac{1}{2}}\,\mathrm{d}x=k\left[2\sqrt{x}\right]_{1}^{9}=1\)M1
\(k(6-2)=4k=1\)A1
\(k=\dfrac{1}{4}\)AG
(b)
mode \(=1\)A1
\(f\) is decreasing on \(1\le x\le9\), so its greatest value is at \(x=1\)R1Accept \(f'(x)=-\tfrac{1}{8}x^{-3/2}\lt0\).
(c)
\(\displaystyle\int_{1}^{m}\dfrac{1}{4\sqrt{x}}\,\mathrm{d}x=\dfrac{1}{2}\)M1
\(\dfrac{1}{2}\left(\sqrt{m}-1\right)=\dfrac{1}{2}\), so \(\sqrt{m}=2\)A1
\(m=4\)A1
AG
(d)
\(\mathrm{E}(X)=\dfrac{1}{4}\displaystyle\int_{1}^{9}x^{\frac{1}{2}}\,\mathrm{d}x=\dfrac{1}{4}\left[\dfrac{2}{3}x^{\frac{3}{2}}\right]_{1}^{9}=\dfrac{1}{6}(27-1)\)M1
\(\dfrac{13}{3}\)A1
(e)
\(\mathrm{E}(X^{2})=\dfrac{1}{4}\displaystyle\int_{1}^{9}x^{\frac{3}{2}}\,\mathrm{d}x=\dfrac{1}{4}\left[\dfrac{2}{5}x^{\frac{5}{2}}\right]_{1}^{9}=\dfrac{1}{10}(243-1)\)M1
\(=\dfrac{121}{5}\)A1
\(\mathrm{Var}(X)=\dfrac{121}{5}-\dfrac{169}{9}=\dfrac{244}{45}\)A1FT from (d).
(f)
\(\mathrm{E}\left(\sqrt{X}\right)=\displaystyle\int_{1}^{9}\sqrt{x}\times\dfrac{1}{4\sqrt{x}}\,\mathrm{d}x=\dfrac{1}{4}(9-1)=2\)A1
\(\sqrt{\mathrm{E}(X)}=\sqrt{\tfrac{13}{3}}\neq2\) since \(2^{2}=4\neq\tfrac{13}{3}\)R1Award R1 only if a reason (eg squaring) is seen.

Answers: (b) 1 · (d) \(\tfrac{13}{3}\) · (e) \(\tfrac{244}{45}\) · (f) 2

49AAHL4-q01074.14 Variance, continuous random variables and linear transformations Paper 1Medium16 marks

A spinner gives a score \(X\), where \(\mathrm{P}(X=x)=\dfrac{5-x}{10}\) for \(x\in\{1,2,3,4\}\).

In parts (b) to (f), the spinner is spun twice and \(S\) is the total score. The table shows part of the probability distribution of \(S\).

\(s\)2345678
\(\mathrm{P}(S=s)\)0.160.24
(a)(i)

Find \(\mathrm{E}(X)\).

(2)
(a)(ii)

Find \(\mathrm{Var}(X)\).

(3)
(b)

The spinner is spun twice and the scores \(X_{1}\) and \(X_{2}\) are independent. Let \(S=X_{1}+X_{2}\). Show that \(\mathrm{P}(S=4)=0.25\).

(2)
(c)

Complete the table of the probability distribution of \(S\) shown above.

(2)
(d)

Show that \(\mathrm{E}(S)=4\) and \(\mathrm{Var}(S)=2\).

(3)
(e)

Given that \(S=5\), find the probability that \(X_{1}=1\).

(2)
(f)

In a game, a player receives \(10-2S\) euros. Find the mean and the variance of the amount the player receives.

(2)
Show mark scheme
WorkingMarkNotes
(a)(i)
\(1(0.4)+2(0.3)+3(0.2)+4(0.1)\)M1
\(2\)A1
(a)(ii)
\(\mathrm{E}(X^{2})=1(0.4)+4(0.3)+9(0.2)+16(0.1)\)M1
\(=5\)A1
\(\mathrm{Var}(X)=5-2^{2}=1\)A1
(b)
outcomes \((1,3),(3,1),(2,2)\): \(2(0.4)(0.2)+(0.3)^{2}\)M1
\(0.16+0.09\)A1
\(=0.25\)AG
(c)
\(\mathrm{P}(S=5)=0.2\), \(\mathrm{P}(S=6)=0.1\)A1\(2(0.4)(0.1)+2(0.3)(0.2)\); \(2(0.3)(0.1)+0.2^{2}\)
\(\mathrm{P}(S=7)=0.04\), \(\mathrm{P}(S=8)=0.01\)A1
(d)
\(\mathrm{E}(S)=0.32+0.72+1+1+0.6+0.28+0.08=4\)A1
\(\mathrm{E}(S^{2})=4(0.16)+9(0.24)+16(0.25)+25(0.2)+36(0.1)+49(0.04)+64(0.01)=18\)M1
\(\mathrm{Var}(S)=18-4^{2}\)A1
\(=2\)AG
(e)
\(\dfrac{\mathrm{P}(X_{1}=1,\ X_{2}=4)}{\mathrm{P}(S=5)}=\dfrac{0.4\times0.1}{0.2}\)M1
\(0.2\)A1
(f)
mean \(=10-2(4)=\)€\(2\)A1
variance \(=(-2)^{2}\times2=8\)A1

Answers: (a) 2, 1 · (c) 0.2, 0.1, 0.04, 0.01 · (e) 0.2 · (f) €2, 8

50AAHL4-q00044.2 Presentation of data Paper 1Hard9 marks

A data set consists of seven integers \(x_{1}\le x_{2}\le\cdots\le x_{7}\). The quartiles are found by taking the median of the lower three values and the median of the upper three values. The box-and-whisker diagram summarizes the data.

04812162024Value
(a)

Write down the values of \(x_{1},\ x_{2},\ x_{4},\ x_{6}\) and \(x_{7}\).

(2)
(b)

Determine whether the largest value is an outlier.

(2)
(c)

Find the least possible value and the greatest possible value of the mean of the data.

(3)
(d)

Given that the mean of the data is equal to the median, find the values of \(x_{3}\) and \(x_{5}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
recognizing \(Q_{1}=x_{2}\), median \(=x_{4}\), \(Q_{3}=x_{6}\)(M1)
\(x_{1}=3,\ x_{2}=6,\ x_{4}=10,\ x_{6}=14,\ x_{7}=21\)A1
(b)
IQR \(=8\); \(14+1.5(8)=26\)M1
\(21\lt 26\), so 21 is not an outlierA1
(c)
\(6\le x_{3}\le10\) and \(10\le x_{5}\le14\), sum of the others \(=54\)R1
least mean \(=\dfrac{54+6+10}{7}=10\)A1
greatest mean \(=\dfrac{54+10+14}{7}=\dfrac{78}{7}\)A1Accept \(11.1\) (\(11.142\ldots\)).
(d)
\(\dfrac{54+x_{3}+x_{5}}{7}=10\Rightarrow x_{3}+x_{5}=16\)M1
only possible with the least values: \(x_{3}=6,\ x_{5}=10\)A1

Answers: (a) 3, 6, 10, 14, 21 · (b) not an outlier · (c) 10 and \(\tfrac{78}{7}\) · (d) \(x_{3}=6,\ x_{5}=10\)

51AAHL4-q00054.2 Presentation of data Paper 1Hard10 marks

The time, \(t\) minutes, that each of 200 visitors spent in a gallery was recorded. For \(0\le t\le60\), the cumulative frequency curve is modelled by \(F(t)=\dfrac{200}{1+\mathrm{e}^{-(t-30)/5}}\), as shown.

0102030405060050100150200Time, t (minutes)Cumulative frequency
(a)

Write down the median time.

(1)
(b)

Show that the lower quartile is \(30-5\ln3\).

(2)
(c)

Write down the upper quartile.

(1)
(d)

Show that a visitor’s time is an upper outlier if it is greater than \(30+20\ln3\).

(2)
(e)

Use the model to estimate the number of visitors whose times are upper outliers.

(2)
(f)

Find the 90th percentile, giving your answer in the form \(a+b\ln3\), where \(a,b\in\mathbb{Z}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(30\) minutesA1\(F(30)=100\)
(b)
\(\dfrac{200}{1+\mathrm{e}^{-(t-30)/5}}=50\Rightarrow \mathrm{e}^{-(t-30)/5}=3\)M1
\(-\dfrac{t-30}{5}=\ln3\)A1
\(t=30-5\ln3\)AG
(c)
\(30+5\ln3\)A1By symmetry, or from \(\mathrm{e}^{-(t-30)/5}=\tfrac{1}{3}\).
(d)
IQR \(=10\ln3\); boundary \(=30+5\ln3+1.5(10\ln3)\)M1
\(=30+5\ln3+15\ln3\)A1
\(=30+20\ln3\)AG
(e)
\(200-F(30+20\ln3)=200-\dfrac{200}{1+3^{-4}}\)M1
\(=\dfrac{200}{82}\approx2.4\), so about 2 visitorsA1Accept 2 or 2.44 (\(\tfrac{100}{41}\)). Also accept \(F(60)-F(30+20\ln3)\approx1.94\).
(f)
\(F(t)=180\Rightarrow \mathrm{e}^{-(t-30)/5}=\dfrac{1}{9}\)M1
\(30+10\ln3\)A1\(=30+5\ln9\); \(\approx 41.0\) min.

Answers: (a) 30 min · (c) \(30+5\ln3\) · (e) about 2 · (f) \(30+10\ln3\)

52AAHL4-q00174.5 Sample spaces and probability Paper 1Hard11 marks

Two integers \(a\) and \(b\) are chosen independently and at random from \(\{1,\,2,\,\ldots,\,n\}\), where \(n\ge2\). Every ordered pair \((a,\ b)\) is equally likely.

(a)

Write down \(\mathrm{P}(a=b)\).

(1)
(b)

Hence show that \(\mathrm{P}(a\lt b)=\dfrac{n-1}{2n}\).

(2)
(c)

Show that \(\mathrm{P}(|a-b|\le1)=\dfrac{3n-2}{n^{2}}\).

(3)
(d)

Given that \(\mathrm{P}(|a-b|\le1)=\dfrac{7}{25}\), find the value of \(n\).

(3)
(e)

For this value of \(n\), find \(\mathrm{P}(a\lt b\mid |a-b|\le1)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{n}{n^{2}}=\dfrac{1}{n}\)A1
(b)
by symmetry \(\mathrm{P}(a\lt b)=\mathrm{P}(a\gt b)=\dfrac{1}{2}\left(1-\dfrac{1}{n}\right)\)M1
\(=\dfrac{1}{2}\cdot\dfrac{n-1}{n}\)A1
\(=\dfrac{n-1}{2n}\)AG
(c)
counting pairs with \(b=a+1\): \(n-1\) pairs; similarly \(n-1\) pairs with \(a=b+1\)M1
favourable pairs \(=n+2(n-1)=3n-2\)A1
out of \(n^{2}\) equally likely pairsA1
\(\dfrac{3n-2}{n^{2}}\)AG
(d)
\(7n^{2}=25(3n-2)\Rightarrow 7n^{2}-75n+50=0\)M1
\((n-10)(7n-5)=0\)A1
\(n=10\) (rejecting \(n=\tfrac{5}{7}\), not an integer)A1
(e)
\(\dfrac{n-1}{3n-2}=\dfrac{9}{28}\)(M1)
\(\dfrac{9}{28}\)A1

Answers: (a) \(\tfrac{1}{n}\) · (d) \(n=10\) · (e) \(\tfrac{9}{28}\)

53AAHL4-q00214.6 Combined, conditional and independent events Paper 1Hard10 marks

In a game of tennis, when the score reaches “deuce” the game continues until one player has won two more points than the other. Ana wins each point against Bea with probability \(p\), independently of all other points, where \(0\lt p\lt 1\). The game is at deuce.

(a)(i)

Let \(p=\dfrac{2}{3}\).

Write down the probability that Ana wins the next two points.

(1)
(a)(ii)

Find the probability that the score returns to deuce after the next two points.

(2)
(b)

Hence show that, when \(p=\dfrac{2}{3}\), the probability that Ana wins the game is \(\dfrac{4}{5}\).

(3)
(c)

Show that, for general \(p\), the probability that Ana wins the game is \(\dfrac{p^{2}}{1-2p+2p^{2}}\).

(2)
(d)

Find the value of \(p\) for which the probability that Ana wins the game is 0.9.

(2)
Show mark scheme
WorkingMarkNotes
(a)(i)
\(\dfrac{4}{9}\)A1
(a)(ii)
Ana wins exactly one of the two points: \(2\times\dfrac{2}{3}\times\dfrac{1}{3}\)(M1)
\(\dfrac{4}{9}\)A1
(b)
\(\mathrm{P}(\text{Ana wins})=\dfrac{4}{9}+\dfrac{4}{9}\cdot\dfrac{4}{9}+\left(\dfrac{4}{9}\right)^{2}\dfrac{4}{9}+\cdots\)M1
recognizing an infinite geometric series with \(r=\dfrac{4}{9}\): \(\dfrac{4/9}{1-4/9}\)M1
\(=\dfrac{4/9}{5/9}\)A1
\(=\dfrac{4}{5}\)AG
(c)
\(\dfrac{p^{2}}{1-2p(1-p)}\)M1
\(1-2p+2p^{2}\) in the denominatorA1
\(\dfrac{p^{2}}{1-2p+2p^{2}}\)AG
(d)
\(p^{2}=0.9(1-2p+2p^{2})\Rightarrow 8p^{2}-18p+9=0\)M1
\((4p-3)(2p-3)=0\), so \(p=\dfrac{3}{4}\)A1Reject \(p=\tfrac{3}{2}\gt 1\).

Answers: (a)(i) \(\tfrac{4}{9}\), (ii) \(\tfrac{4}{9}\) · (d) \(p=\tfrac{3}{4}\)

54AAHL4-q00254.7 Discrete random variables Paper 1Hard10 marks

The probability distribution of a discrete random variable \(X\) is given by \(\mathrm{P}(X=x)=\dfrac{k}{x(x+1)}\), for \(x\in\{1,\,2,\,\ldots,\,9\}\), where \(k\) is a constant.

(a)

By writing \(\dfrac{1}{x(x+1)}=\dfrac{1}{x}-\dfrac{1}{x+1}\), show that \(k=\dfrac{10}{9}\).

(3)
(b)

Find \(\mathrm{P}(X\le3)\).

(2)
(c)

Find \(\mathrm{P}(X\gt 4\mid X\gt 1)\).

(3)
(d)

Find the least integer \(m\) for which \(\mathrm{P}(X\ge m)\lt 0.1\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\displaystyle\sum_{x=1}^{9}\left(\frac{1}{x}-\frac{1}{x+1}\right)=1\)M1
terms cancel: \(k\left(1-\dfrac{1}{10}\right)=1\)A1
\(\dfrac{9k}{10}=1\)A1
\(k=\dfrac{10}{9}\)AG
(b)
\(\dfrac{10}{9}\left(1-\dfrac{1}{4}\right)\)(M1)
\(\dfrac{5}{6}\)A1
(c)
\(\mathrm{P}(X\ge m)=\dfrac{10}{9}\left(\dfrac{1}{m}-\dfrac{1}{10}\right)\)M1
\(\mathrm{P}(X\ge5)=\dfrac{1}{9}\) and \(\mathrm{P}(X\ge2)=\dfrac{4}{9}\)A1
\(\dfrac{1/9}{4/9}=\dfrac{1}{4}\)A1
(d)
\(\dfrac{10}{9}\left(\dfrac{1}{m}-\dfrac{1}{10}\right)\lt\dfrac{1}{10}\Rightarrow \dfrac{1}{m}\lt\dfrac{19}{100}\)M1
\(m=6\)A1\(\mathrm{P}(X\ge5)=\tfrac{1}{9}\gt 0.1\), \(\mathrm{P}(X\ge6)=\tfrac{2}{27}\lt 0.1\)

Answers: (b) \(\tfrac{5}{6}\) · (c) \(\tfrac{1}{4}\) · (d) \(m=6\)

55AAHL4-q00294.7 Discrete random variables Paper 1Hard15 marks

A town has \(n\) cafés, where \(n\ge3\). Each of three friends chooses one of the cafés at random, independently of the others, to visit on Saturday. Let \(X\) be the number of different cafés chosen by the three friends.

(a)(i)

In this part, \(n=4\).

Find the probability distribution of \(X\).

(3)
(a)(ii)

Hence find \(\mathrm{E}(X)\).

(1)
(b)

Show that, for general \(n\), \(\mathrm{P}(X=1)=\dfrac{1}{n^{2}}\) and \(\mathrm{P}(X=3)=\dfrac{(n-1)(n-2)}{n^{2}}\).

(3)
(c)

Hence show that \(\mathrm{P}(X=2)=\dfrac{3(n-1)}{n^{2}}\).

(2)
(d)

Show that \(\mathrm{E}(X)=3-\dfrac{3}{n}+\dfrac{1}{n^{2}}\).

(2)
(e)

Find the least value of \(n\) for which the probability that the three friends choose three different cafés is greater than 0.9.

(3)
(f)

Describe what happens to \(\mathrm{E}(X)\) as \(n\) increases, and interpret this in context.

(1)
Show mark scheme
WorkingMarkNotes
(a)(i)
e.g. \(\mathrm{P}(X=3)=1\times\dfrac{3}{4}\times\dfrac{2}{4}\)M1
\(\mathrm{P}(X=1)=\dfrac{1}{16},\ \mathrm{P}(X=3)=\dfrac{6}{16}=\dfrac{3}{8}\)A1
\(\mathrm{P}(X=2)=\dfrac{9}{16}\)A1
(a)(ii)
\(\mathrm{E}(X)=\dfrac{1+18+18}{16}=\dfrac{37}{16}\)A1
(b)
\(\mathrm{P}(X=1)=1\times\dfrac{1}{n}\times\dfrac{1}{n}=\dfrac{1}{n^{2}}\)A1The second and third friends choose the first friend’s café.
second friend chooses a different café: \(\dfrac{n-1}{n}\); third chooses a café different from both: \(\dfrac{n-2}{n}\)M1
\(\mathrm{P}(X=3)=\dfrac{n-1}{n}\cdot\dfrac{n-2}{n}\)A1
\(=\dfrac{(n-1)(n-2)}{n^{2}}\)AG
(c)
\(\mathrm{P}(X=2)=1-\dfrac{1}{n^{2}}-\dfrac{(n-1)(n-2)}{n^{2}}=\dfrac{n^{2}-1-(n^{2}-3n+2)}{n^{2}}\)M1
\(=\dfrac{3n-3}{n^{2}}\)A1
\(=\dfrac{3(n-1)}{n^{2}}\)AG
(d)
\(\mathrm{E}(X)=\dfrac{1+6(n-1)+3(n-1)(n-2)}{n^{2}}\)M1
\(=\dfrac{3n^{2}-3n+1}{n^{2}}\)A1
\(=3-\dfrac{3}{n}+\dfrac{1}{n^{2}}\)AG
(e)
\((n-1)(n-2)\gt 0.9n^{2}\)M1
\(n^{2}-30n+20\gt 0\Rightarrow n\gt 15+\sqrt{205}\approx29.3\)A1
\(n=30\)A1Check: \(n=29\): \(\tfrac{756}{841}\lt 0.9\); \(n=30\): \(\tfrac{812}{900}\gt 0.9\).
(f)
\(\mathrm{E}(X)\) increases towards 3: with many cafés the friends are almost certain to choose three different cafésR1

Answers: (a)(i) \(\tfrac{1}{16},\ \tfrac{9}{16},\ \tfrac{3}{8}\) for \(x=1,2,3\), (ii) \(\tfrac{37}{16}\) · (e) \(n=30\)

56AAHL4-q00494.11 Conditional probability and independence Paper 1Hard9 marks

Events \(A\) and \(B\) are such that \(\mathrm{P}(A)=0.4\) and \(\mathrm{P}(B)=0.5\).

(a)

Write down \(\mathrm{P}(A\mid B)\) if \(A\) and \(B\) are independent.

(1)
(b)

Find \(\mathrm{P}(A\mid B)\) if \(\mathrm{P}(A\cup B)=0.75\).

(2)
(c)

Find the set of all possible values of \(\mathrm{P}(A\mid B)\).

(3)
(d)

It is now given instead that \(\mathrm{P}(A\mid B')=2\,\mathrm{P}(A\mid B)\). Find \(\mathrm{P}(B\mid A)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(0.4\)A1
(b)
\(\mathrm{P}(A\cap B)=0.4+0.5-0.75=0.15\)M1
\(\mathrm{P}(A\mid B)=\dfrac{0.15}{0.5}=0.3\)A1
(c)
\(\mathrm{P}(A\cap B)\le\mathrm{P}(A)=0.4\)M1
\(\mathrm{P}(A\cup B)\le1\) gives only \(\mathrm{P}(A\cap B)\ge-0.1\), so the lower bound is \(\mathrm{P}(A\cap B)\ge0\)M1Accept any valid argument that the lower bound is 0, e.g. \(A\) and \(B\) can be mutually exclusive since \(0.4+0.5\le1\).
\(0\le\mathrm{P}(A\mid B)\le0.8\)A1
(d)
let \(x=\mathrm{P}(A\cap B)\): \(\dfrac{0.4-x}{0.5}=2\times\dfrac{x}{0.5}\)M1Use of \(\mathrm{P}(A\cap B')=\mathrm{P}(A)-\mathrm{P}(A\cap B)\) and \(\mathrm{P}(B')=0.5\).
\(x=\dfrac{2}{15}\)A1
\(\mathrm{P}(B\mid A)=\dfrac{2/15}{0.4}=\dfrac{1}{3}\)A1

Answers: (a) 0.4 · (b) 0.3 · (c) \(0\le\mathrm{P}(A\mid B)\le0.8\) · (d) \(\frac13\)

57AAHL4-q00654.13 Bayes’ theorem Paper 1Hard9 marks

A fair six-sided die is rolled to choose a box. If the score is 1, box X is chosen; if the score is 2 or 3, box Y is chosen; otherwise box Z is chosen. Box X contains 3 red and 1 blue ball, box Y contains 2 red and 2 blue balls and box Z contains 2 red and 4 blue balls. Two balls are then taken at random from the chosen box, without replacement.

(a)

Find the probability that both balls are red.

(3)
(b)

Given that both balls are red, find the probability that box Z was chosen.

(2)
(c)

Given that exactly one of the balls is red, find the probability that box Y was chosen.

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(RR\mid X)=\dfrac{3}{4}\cdot\dfrac{2}{3}=\dfrac12,\ \mathrm{P}(RR\mid Y)=\dfrac{2}{4}\cdot\dfrac{1}{3}=\dfrac16,\ \mathrm{P}(RR\mid Z)=\dfrac{2}{6}\cdot\dfrac{1}{5}=\dfrac{1}{15}\)A1At least two correct.
\(\dfrac16\cdot\dfrac12+\dfrac13\cdot\dfrac16+\dfrac12\cdot\dfrac{1}{15}\)M1Weighting by P(X)=1/6, P(Y)=1/3, P(Z)=1/2.
\(\dfrac{31}{180}\)A1
(b)
\(\dfrac{\frac{1}{30}}{\frac{31}{180}}\)M1FT their (a).
\(\dfrac{6}{31}\)A1
(c)
\(\mathrm{P}(\text{one red}\mid X)=\dfrac12,\ \mathrm{P}(\text{one red}\mid Y)=\dfrac23,\ \mathrm{P}(\text{one red}\mid Z)=\dfrac{8}{15}\)A1e.g. \(\mathrm{P}(\text{one red}\mid Y)=2\cdot\dfrac{2}{4}\cdot\dfrac{2}{3}\). At least two correct.
\(\mathrm{P}(\text{one red})=\dfrac{1}{12}+\dfrac{2}{9}+\dfrac{4}{15}=\dfrac{103}{180}\)M1
\(\dfrac{\frac{2}{9}}{\frac{103}{180}}\)M1
\(\dfrac{40}{103}\)A1

Answers: (a) \(\frac{31}{180}\) · (b) \(\frac{6}{31}\) · (c) \(\frac{40}{103}\)

58AAHL4-q00674.13 Bayes’ theorem Paper 1Hard11 marks

A multiple-choice question has four options, exactly one of which is correct. A student knows the answer with probability \(p\), where \(0\lt p\lt 1\). If the student knows the answer, the student answers correctly; otherwise the student guesses one of the four options at random. Let \(K\) be the event that the student knows the answer and \(C\) the event that the student answers correctly.

(a)

Show that \(\mathrm{P}(C)=\dfrac{1+3p}{4}\).

(2)
(b)

Show that \(\mathrm{P}(K\mid C)=\dfrac{4p}{1+3p}\).

(2)
(c)

Find the value of \(p\) for which \(\mathrm{P}(K\mid C)=0.9\).

(2)
(d)(i)

Let \(g(p)=\mathrm{P}(K\mid C)-p\), the increase in the probability that the student knows the answer once a correct answer is seen.

Find the value of \(p\) for which \(g(p)\) is a maximum. Justify that it is a maximum.

(4)
(d)(ii)

Write down the maximum value of \(g(p)\).

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(C)=p(1)+(1-p)\dfrac14\)M1
\(=\dfrac{4p+1-p}{4}\)A1
\(=\dfrac{1+3p}{4}\)AG
(b)
\(\mathrm{P}(K\mid C)=\dfrac{\mathrm{P}(K)\,\mathrm{P}(C\mid K)}{\mathrm{P}(C)}=\dfrac{p}{\frac{1+3p}{4}}\)M1
\(\mathrm{P}(C\mid K)=1\) used and simplification shownA1
\(=\dfrac{4p}{1+3p}\)AG
(c)
\(4p=0.9(1+3p)\Rightarrow 1.3p=0.9\)M1
\(p=\dfrac{9}{13}\)A1
(d)(i)
attempt to differentiate \(g(p)=\dfrac{4p}{1+3p}-p\) using the quotient ruleM1
\(g'(p)=\dfrac{4}{(1+3p)^{2}}-1\)A1
\((1+3p)^{2}=4\Rightarrow p=\dfrac13\)A1Reject \(p=-1\).
\(g'(p)\gt0\) for \(p\lt\frac13\) and \(g'(p)\lt0\) for \(p\gt\frac13\) (or \(g''(p)=-\dfrac{24}{(1+3p)^{3}}\lt0\)), so maximumR1
(d)(ii)
\(\dfrac13\)A1\(g\left(\tfrac13\right)=\tfrac{4/3}{2}-\tfrac13=\tfrac13\).

Answers: (c) \(p=\frac{9}{13}\) · (d)(i) \(p=\frac13\) · (d)(ii) \(\frac13\)

59AAHL4-q00814.14 Variance, continuous random variables and linear transformations Paper 1Hard7 marks

The discrete random variable \(X\) has the probability distribution shown, where \(p\gt 0\).

\(x\)\(0\)\(1\)\(3\)
\(\mathrm{P}(X=x)\)\(1-2p\)\(p\)\(p\)
(a)

Write down the set of possible values of \(p\).

(1)
(b)

Show that \(\mathrm{Var}(X)=10p-16p^{2}\).

(3)
(c)

Find the maximum possible value of \(\mathrm{Var}(X)\), justifying that it is a maximum.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(0\lt p\le\tfrac12\)A1Accept \(\left]0,\tfrac12\right]\).
(b)
\(\mathrm{E}(X)=p+3p=4p\)A1
\(\mathrm{E}(X^{2})=p+9p=10p\)A1
\(\mathrm{Var}(X)=10p-(4p)^{2}\)M1Use of \(\mathrm{E}(X^{2})-[\mathrm{E}(X)]^{2}\) with their expressions.
\(=10p-16p^{2}\)AG
(c)
\(\dfrac{\mathrm{d}}{\mathrm{d}p}(10p-16p^{2})=10-32p=0\)M1Or completing the square, or vertex of the parabola.
\(p=\tfrac{5}{16}\), which lies in \(\left]0,\tfrac12\right]\), and \(\dfrac{\mathrm{d}^{2}}{\mathrm{d}p^{2}}=-32\lt 0\) so a maximumA1Must check that the value lies in the domain from (a) and justify the maximum.
maximum \(\mathrm{Var}(X)=\dfrac{50}{16}-\dfrac{25}{16}=\dfrac{25}{16}\)A1

Answers: (a) \(0\lt p\le\tfrac12\) · (c) \(\tfrac{25}{16}\) when \(p=\tfrac5{16}\)

60AAHL4-q00824.14 Variance, continuous random variables and linear transformations Paper 1Hard10 marks

The discrete random variable \(X\) takes only the values \(0\) and \(c\), where \(c\gt 0\), with \(\mathrm{P}(X=c)=p\) and \(\mathrm{P}(X=0)=1-p\), where \(0\lt p\lt 1\).

(a)

Show that \(\mathrm{Var}(X)=\mathrm{E}(X)\big(c-\mathrm{E}(X)\big)\).

(3)
(b)

Given that \(\mathrm{E}(X)=2\) and \(\mathrm{Var}(X)=6\), find the value of \(c\) and the value of \(p\).

(3)
(c)

For the values in part (b), the random variable \(Y=aX+b\), where \(a\gt0\), takes only the values \(-1\) and \(1\). Find the value of \(a\) and the value of \(b\), and hence find \(\mathrm{E}(Y)\) and \(\mathrm{Var}(Y)\).

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{E}(X)=pc\) and \(\mathrm{E}(X^{2})=pc^{2}\)A1
\(\mathrm{Var}(X)=pc^{2}-p^{2}c^{2}\)M1Use of \(\mathrm{E}(X^{2})-[\mathrm{E}(X)]^{2}\).
\(=pc\,(c-pc)\)A1Factorizing.
\(=\mathrm{E}(X)\big(c-\mathrm{E}(X)\big)\)AG
(b)
\(6=2(c-2)\)M1Using the result of (a).
\(c=5\)A1
\(p=\dfrac{2}{5}\)A1From \(pc=2\).
(c)
\(b=-1\) and \(a=\dfrac25\)A1From \(a(0)+b=-1\) and \(5a+b=1\).
\(\mathrm{E}(Y)=\tfrac25(2)-1\) and \(\mathrm{Var}(Y)=\left(\tfrac25\right)^{2}(6)\)M1Use of \(\mathrm{E}(aX+b)=a\mathrm{E}(X)+b\) and \(\mathrm{Var}(aX+b)=a^{2}\mathrm{Var}(X)\). FT their \(a\), \(b\).
\(\mathrm{E}(Y)=-\dfrac15\)A1
\(\mathrm{Var}(Y)=\dfrac{24}{25}\)A1Check: \(\mathrm{P}(Y=1)=\tfrac25\), \(\mathrm{E}(Y^{2})=1\), \(1-\tfrac1{25}=\tfrac{24}{25}\).

Answers: (b) \(c=5,\ p=\tfrac25\) · (c) \(a=\tfrac25,\ b=-1\); \(\mathrm{E}(Y)=-\tfrac15,\ \mathrm{Var}(Y)=\tfrac{24}{25}\)

61AAHL4-q00914.14 Variance, continuous random variables and linear transformations Paper 1Hard7 marks

The continuous random variable \(X\) has probability density function \(f(x)=\cos x\) for \(0\le x\le\dfrac{\pi}{2}\), and \(f(x)=0\) otherwise.

(a)

Write down the mode of \(X\).

(1)
(b)

Find the median of \(X\).

(2)
(c)

Show that \(\mathrm{E}(X)=\dfrac{\pi}{2}-1\).

(2)
(d)

Given that \(\mathrm{E}(X^{2})=\dfrac{\pi^{2}}{4}-2\), find \(\mathrm{Var}(X)\), giving your answer in the form \(\pi-c\), where \(c\in\mathbb{Z}\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
mode \(=0\)A1\(f\) is decreasing on \(\left[0,\tfrac{\pi}{2}\right]\), so its maximum is at \(x=0\).
(b)
\(\displaystyle\int_{0}^{m}\cos x\,\mathrm{d}x=\sin m=\frac12\)(M1)
\(m=\dfrac{\pi}{6}\)A1
(c)
\(\displaystyle\int_{0}^{\pi/2}x\cos x\,\mathrm{d}x=\big[x\sin x\big]_{0}^{\pi/2}-\int_{0}^{\pi/2}\sin x\,\mathrm{d}x\)M1Integration by parts with \(u=x\).
\(=\dfrac{\pi}{2}+\big[\cos x\big]_{0}^{\pi/2}=\dfrac{\pi}{2}+(0-1)\)A1
\(\mathrm{E}(X)=\dfrac{\pi}{2}-1\)AG
(d)
\(\mathrm{Var}(X)=\dfrac{\pi^{2}}{4}-2-\left(\dfrac{\pi}{2}-1\right)^{2}\)M1
\(=\dfrac{\pi^{2}}{4}-2-\dfrac{\pi^{2}}{4}+\pi-1=\pi-3\)A1

Answers: (a) 0 · (b) \(\tfrac{\pi}{6}\) · (d) \(\pi-3\)

62AAHL4-q01044.14 Variance, continuous random variables and linear transformations Paper 1Hard15 marks

The continuous random variable \(X\) has probability density function

\[f(x)=\begin{cases}ax^{2},&0\le x\le2\\[2pt] b(4-x),&2\lt x\le4\\[2pt] 0,&\text{otherwise}\end{cases}\]

where \(a\) and \(b\) are positive constants. The graph of \(y=f(x)\) is shown; \(f\) is continuous at \(x=2\).

xy24Oy = f(x)
(a)

Show that \(b=2a\).

(1)
(b)

Hence show that \(a=\dfrac{3}{20}\).

(3)
(c)

Write down the mode of \(X\).

(1)
(d)

Find \(\mathrm{E}(X)\).

(3)
(e)

Given that \(\mathrm{E}(X^{2})=\dfrac{134}{25}\), find \(\mathrm{Var}(X)\).

(1)
(f)

Show that the median, \(m\), of \(X\) satisfies \((4-m)^{2}=\dfrac{10}{3}\), and hence find \(m\).

(4)
(g)

Find the lower quartile of \(X\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(a(2)^{2}=b(4-2)\Rightarrow4a=2b\)A1
\(b=2a\)AG
(b)
\(\displaystyle\int_{0}^{2}ax^{2}\,\mathrm{d}x+\int_{2}^{4}b(4-x)\,\mathrm{d}x=1\)M1Sum of both pieces.
\(\dfrac{8a}{3}+2b=1\)A1\(\int_{2}^{4}(4-x)\,\mathrm{d}x=2\) (triangle).
\(\dfrac{8a}{3}+4a=\dfrac{20a}{3}=1\)A1
\(a=\dfrac{3}{20}\)AG
(c)
mode \(=2\)A1
(d)
\(\displaystyle\int_{0}^{2}\frac{3}{20}x^{3}\,\mathrm{d}x+\int_{2}^{4}\frac{3}{10}x(4-x)\,\mathrm{d}x\)M1
\(\dfrac35+\dfrac85\)A1\(\tfrac{3}{20}\cdot4=\tfrac35\) and \(\tfrac{3}{10}\left[2x^{2}-\tfrac{x^{3}}{3}\right]_{2}^{4}=\tfrac{3}{10}\cdot\tfrac{16}{3}=\tfrac85\).
\(\mathrm{E}(X)=\dfrac{11}{5}\)A1
(e)
\(\mathrm{Var}(X)=\dfrac{134}{25}-\dfrac{121}{25}=\dfrac{13}{25}\)A1FT their (d).
(f)
\(\mathrm{P}(X\le2)=\dfrac{8a}{3}=\dfrac25\lt\dfrac12\), so \(m\gt2\)R1
\(\mathrm{P}(X\gt m)=\displaystyle\int_{m}^{4}\frac{3}{10}(4-x)\,\mathrm{d}x=\frac{3}{20}(4-m)^{2}=\frac12\)M1Or \(\tfrac25+\int_{2}^{m}\tfrac3{10}(4-x)\,\mathrm{d}x=\tfrac12\).
\((4-m)^{2}=\dfrac{10}{3}\)AG
\(4-m=\sqrt{\dfrac{10}{3}}\) (positive root since \(m\lt4\))A1Must reject the negative root, or the solution \(m\gt4\).
\(m=4-\sqrt{\dfrac{10}{3}}\ \left(=4-\dfrac{\sqrt{30}}{3}\right)\)A1\(2.174\ldots\)
(g)
\(\mathrm{P}(X\le2)=\tfrac25\ge\tfrac14\), so \(\displaystyle\int_{0}^{q}\frac{3}{20}x^{2}\,\mathrm{d}x=\frac{q^{3}}{20}=\frac14\)(M1)Must use the first piece.
\(q=\sqrt[3]{5}\)A1\(1.70997\ldots\)

Answers: (c) 2 · (d) \(\tfrac{11}5\) · (e) \(\tfrac{13}{25}\) · (f) \(4-\sqrt{\tfrac{10}3}\) · (g) \(\sqrt[3]{5}\)

63AAHL4-q01084.14 Variance, continuous random variables and linear transformations Paper 1Hard15 marks

A continuous random variable \(X\) has probability density function

\(f(x)=\begin{cases}a+bx^{2}, & -1\le x\le 1\\ 0, & \text{otherwise}\end{cases}\)

where \(a\) and \(b\) are constants.

(a)

Show that \(6a+2b=3\).

(2)
(b)

Write down \(\mathrm{E}(X)\), giving a reason for your answer.

(1)
(c)

Given that \(\mathrm{Var}(X)=\dfrac{13}{45}\), find the value of \(a\) and the value of \(b\).

(4)
(d)

For these values, find \(\mathrm{P}\left(|X|\lt\dfrac{1}{2}\right)\).

(3)
(e)

For these values, write down the mode of \(X\).

(1)
(f)

Now suppose that \(a\) and \(b\) can take any values for which \(f\) is a probability density function. Find the set of possible values of \(\mathrm{Var}(X)\).

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{-1}^{1}(a+bx^{2})\,\mathrm{d}x=\left[ax+\dfrac{bx^{3}}{3}\right]_{-1}^{1}=1\)M1
\(2a+\dfrac{2b}{3}=1\)A1
\(6a+2b=3\)AG
(b)
\(\mathrm{E}(X)=0\), because \(f\) is symmetrical about \(x=0\) (\(f(-x)=f(x)\))A1
(c)
\(\mathrm{E}(X^{2})=\displaystyle\int_{-1}^{1}(ax^{2}+bx^{4})\,\mathrm{d}x=\dfrac{2a}{3}+\dfrac{2b}{5}\)M1
\(\mathrm{Var}(X)=\mathrm{E}(X^{2})-0^{2}\), so \(\dfrac{2a}{3}+\dfrac{2b}{5}=\dfrac{13}{45}\), solved with \(6a+2b=3\)M1eg \(a=\tfrac{1}{2}-\tfrac{b}{3}\) gives \(\tfrac{1}{3}+\tfrac{8b}{45}=\tfrac{13}{45}\).
\(b=-\dfrac{1}{4}\)A1
\(a=\dfrac{7}{12}\)A1
(d)
\(\displaystyle\int_{-1/2}^{1/2}\left(\dfrac{7}{12}-\dfrac{x^{2}}{4}\right)\mathrm{d}x\)M1Or \(2\displaystyle\int_{0}^{1/2}\) by symmetry.
\(=\dfrac{7}{12}-\dfrac{1}{4}\times\dfrac{2}{3}\times\dfrac{1}{8}=\dfrac{7}{12}-\dfrac{1}{48}\)A1
\(\dfrac{9}{16}\)A1
(e)
\(0\)A1\(f\) has its maximum at \(x=0\) because \(b\lt0\).
(f)
\(\mathrm{Var}(X)=\dfrac{2a}{3}+\dfrac{2b}{5}=\dfrac{1}{3}+\dfrac{8b}{45}\) (using \(a=\tfrac{1}{2}-\tfrac{b}{3}\))M1
\(f(x)\ge0\) on \([-1,1]\): \(a+bx^{2}\) lies between \(a\) and \(a+b\) for \(0\le x^{2}\le1\), so the conditions are \(a\ge0\) and \(a+b\ge0\)M1
\(-\dfrac{3}{4}\le b\le\dfrac{3}{2}\)A1From \(\tfrac{1}{2}-\tfrac{b}{3}\ge0\) and \(\tfrac{1}{2}+\tfrac{2b}{3}\ge0\).
\(\dfrac{1}{5}\le\mathrm{Var}(X)\le\dfrac{3}{5}\)A1

Answers: (b) 0 · (c) \(a=\tfrac{7}{12},\ b=-\tfrac{1}{4}\) · (d) \(\tfrac{9}{16}\) · (e) 0 · (f) \(\tfrac{1}{5}\le\mathrm{Var}(X)\le\tfrac{3}{5}\)

64AAHL4-q00064.2 Presentation of data Paper 2Easy8 marks

The times, \(t\) minutes, that 40 people spent in a waiting room are summarized in the table, where \(p\) and \(q\) are positive integers.

Time, \(t\) (min)\(0\le t\lt 10\)\(10\le t\lt 20\)\(20\le t\lt 30\)\(30\le t\lt 40\)\(40\le t\lt 50\)
Frequency5\(p\)12\(q\)4

Using mid-interval values, the estimated mean time is 25.25 minutes.

(a)

Show that \(p+q=19\).

(1)
(b)

Find the value of \(p\) and the value of \(q\).

(3)
(c)

Write down the modal class and the class that contains the median.

(2)
(d)

Find an estimate of the standard deviation of the times.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(5+p+12+q+4=40\)A1
\(p+q=19\)AG
(b)
\(\dfrac{5(5)+15p+25(12)+35q+45(4)}{40}=25.25\)M1
\(15p+35q=505\)A1
\(p=8,\ q=11\)A1
(c)
modal class \(20\le t\lt 30\)A1
median class \(20\le t\lt 30\)A1Cumulative frequencies 5, 13, 25: the 20th and 21st values lie in this class.
(d)
GDC with mid-interval values 5, 15, 25, 35, 45 and frequencies 5, 8, 12, 11, 4(M1)FT from their \(p,\ q\).
\(11.7\) minA1\(11.7233\ldots\)

Answers: (b) \(p=8,\ q=11\) · (c) both \(20\le t\lt 30\) · (d) 11.7 min

65AAHL4-q00104.3 Measures of central tendency and dispersion Paper 2Easy8 marks

The lengths, \(t\) minutes, of 100 phone calls made from an office are summarized below.

Length, \(t\) (min)\(0\le t\lt 2\)\(2\le t\lt 4\)\(4\le t\lt 6\)\(6\le t\lt 8\)\(8\le t\lt 10\)
Number of calls183427156
(a)

Write down the modal class.

(1)
(b)

Find an estimate of the mean and an estimate of the standard deviation of the call lengths.

(3)
(c)

The office’s phone records give the exact lengths of the 100 calls, which satisfy \(\sum t=421.6\) and \(\sum t^{2}=2310\). Using \(\sigma^{2}=\dfrac{\sum t^{2}}{n}-\bar{t}^{\,2}\), find the exact mean and the exact standard deviation of the call lengths.

(3)
(d)

Explain why the values found in part (b) differ from those found in part (c).

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(2\le t\lt 4\)A1
(b)
mid-interval values 1, 3, 5, 7, 9 with the frequencies(M1)
mean \(=4.14\) minA1
standard deviation \(=2.25\) minA1\(2.24953\ldots\)
(c)
\(\bar{t}=4.216\) minA1Accept 4.22.
\(\sigma^{2}=\dfrac{2310}{100}-4.216^{2}=5.325\ldots\)M1
\(\sigma=2.31\) minA1\(2.30767\ldots\)
(d)
the grouped estimates assume every call in a class lasts the mid-interval value; the actual lengths are spread within each classR1

Answers: (a) \(2\le t\lt 4\) · (b) 4.14 min, 2.25 min · (c) 4.216 min, 2.31 min

66AAHL4-q00184.5 Sample spaces and probability Paper 2Easy8 marks

A computer chooses points \((x,\ y)\) uniformly at random in the unit square \(0\le x\le1,\ 0\le y\le1\).

(a)

Show that the probability that a point satisfies \(x^{2}+y^{2}\lt 1\) is \(\dfrac{\pi}{4}\).

(2)
(b)

In a simulation of 5000 points, 3921 satisfy \(x^{2}+y^{2}\lt 1\). Use this result to find an estimate of \(\pi\).

(2)
(c)

By finding the area of the region \(y\gt x^{2}\) inside the square, find the expected number of the 5000 points that satisfy \(y\gt x^{2}\).

(3)
(d)

Explain how the estimate in part (b) could be made more reliable.

(1)
Show mark scheme
WorkingMarkNotes
(a)
region is a quarter of a circle of radius 1, area \(\dfrac{\pi}{4}\); square has area 1M1
probability \(=\dfrac{\pi/4}{1}\)A1
\(=\dfrac{\pi}{4}\)AG
(b)
\(\dfrac{\pi}{4}\approx\dfrac{3921}{5000}\)(M1)
\(\pi\approx3.14\)A1\(3.1368\)
(c)
\(1-\displaystyle\int_{0}^{1}x^{2}\,\mathrm{d}x\)(M1)
\(\dfrac{2}{3}\)A1
\(5000\times\dfrac{2}{3}=3333.3\), about 3333A1
(d)
use many more points: relative frequency gets closer to the theoretical probability as the number of trials increasesR1

Answers: (b) 3.14 · (c) about 3333

67AAHL4-q00244.6 Combined, conditional and independent events Paper 2Easy16 marks

The 400 students in Years 11 and 12 of a school were asked how they usually travel to school. The results are shown in the table.

WalkBusCarTotal
Year 11708862220
Year 12507258180
Total120160120400
(a)

A stratified sample of 40 of these students, stratified by year group, is to be chosen. Find the number of Year 11 students and the number of Year 12 students in the sample.

(2)
(b)

A student is chosen at random from the 400. Write down the probability that the student travels by bus.

(1)
(c)(i)

Determine whether the events “travels by bus” and “is in Year 12” are independent.

(2)
(c)(ii)

Determine whether the events “walks” and “is in Year 12” are independent.

(2)
(d)

A student chosen at random does not walk. Find the probability that the student is in Year 11.

(2)
(e)

Three students are chosen at random from the 400, without replacement. Find the probability that all three walk.

(2)
(f)

Two Year 12 students are chosen at random, without replacement. Find the probability that they travel by different methods.

(3)
(g)

In another survey, the first 40 students to arrive at school one morning are questioned. Name this sampling method and give a reason why it may give a biased estimate of the proportion of students who travel by bus.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{220}{400}\times40\)(M1)
22 from Year 11 and 18 from Year 12A1
(b)
\(\dfrac{160}{400}=0.4\)A1
(c)(i)
\(\mathrm{P}(\text{bus}\mid\text{Y12})=\dfrac{72}{180}=0.4\)M1Or \(\mathrm{P}(\text{bus}\cap\text{Y12})=0.18=0.4\times0.45\).
\(=\mathrm{P}(\text{bus})\), so the events are independentR1
(c)(ii)
\(\mathrm{P}(\text{walk}\mid\text{Y12})=\dfrac{50}{180}=0.278\) and \(\mathrm{P}(\text{walk})=0.3\)M1
\(0.278\neq0.3\), so the events are not independentR1
(d)
\(\dfrac{88+62}{160+120}\)(M1)
\(\dfrac{150}{280}=\dfrac{15}{28}=0.536\)A1
(e)
\(\dfrac{120}{400}\times\dfrac{119}{399}\times\dfrac{118}{398}\)(M1)
\(0.0265\)A1\(0.0265273\ldots\)
(f)
\(\mathrm{P}(\text{same})=\dfrac{50\times49+72\times71+58\times57}{180\times179}\)(M1)
\(=\dfrac{10\,868}{32\,220}=0.337306\ldots\)(A1)
\(\mathrm{P}(\text{different})=0.663\)A1\(0.662693\ldots\)
(g)
convenience samplingA1
eg students arriving first may mostly come on the same bus (or are dropped off by car), so the sample is not representative of how all students travelR1Accept any reason linking arrival time to the method of travel.

Answers: (a) 22 and 18 · (b) 0.4 · (c)(i) independent (ii) not independent · (d) \(\tfrac{15}{28}\) · (e) 0.0265 · (f) 0.663 · (g) convenience

68AAHL4-q00364.8 Binomial distribution Paper 2Easy7 marks

Mira claims that she can predict the suit (hearts, diamonds, clubs or spades) of a playing card before it is turned over. To test her, a card is drawn at random from a full pack of 52 cards (13 of each suit) and she predicts its suit; the card is then replaced and the pack shuffled. This is done 48 times. Assume that Mira is only guessing, so that each prediction is correct with probability 0.25, independently. Let \(X\) be the number of correct predictions.

(a)

Find the mean and the standard deviation of \(X\).

(2)
(b)

Find \(\mathrm{P}(X\ge16)\).

(2)
(c)

The tester will accept Mira’s claim if she makes at least \(k\) correct predictions. Find the least value of \(k\) for which the probability that a person who is only guessing has her claim accepted is less than 0.01.

(2)
(d)

Explain why the card is replaced and the pack shuffled after each prediction.

(1)
Show mark scheme
WorkingMarkNotes
(a)
mean \(=48\times0.25=12\)A1
standard deviation \(=\sqrt{48(0.25)(0.75)}=3\)A1
(b)
\(X\sim\mathrm{B}(48,\,0.25)\), \(1-\mathrm{P}(X\le15)\)(M1)
\(0.123\)A1\(0.123177\ldots\)
(c)
\(\mathrm{P}(X\ge19)=0.0184\gt 0.01\), \(\mathrm{P}(X\ge20)=0.00836\lt 0.01\)(M1)
\(k=20\)A1
(d)
so that the probability of a correct guess stays at 0.25 for every prediction and the predictions are independent (binomial conditions)R1

Answers: (a) 12, 3 · (b) 0.123 · (c) \(k=20\)

69AAHL4-q00464.10 Regression line of x on y Paper 2Easy7 marks

A biologist records the air temperature, \(x\) °C, and the number of chirps, \(y\), made by a cricket in 15 seconds on eight evenings.

\(x\) (°C)1517192022242628
\(y\) (chirps)2227293335404247

The biologist wants to use these data to estimate the temperature from a count of chirps.

(a)

Find the equation of the regression line of \(x\) on \(y\).

(2)
(b)

Use your equation to estimate the temperature on an evening when a cricket makes 36 chirps in 15 seconds.

(2)
(c)

Interpret the gradient of your line in the context of the question.

(1)
(d)

On a cold evening a cricket makes 5 chirps in 15 seconds. Explain why the line should not be used to estimate the temperature on this evening.

(1)
(e)

Explain why the line found in part (a) should not be used to predict the number of chirps when the temperature is 21 °C.

(1)
Show mark scheme
WorkingMarkNotes
(a)
gradient \(0.533\)A1\(0.532667\ldots\)
intercept \(3.06\), giving \(x=0.533y+3.06\)A1\(3.06456\ldots\) Award A0A0 for \(y=1.86x-5.34\) (line of \(y\) on \(x\)).
(b)
\(x=0.532667(36)+3.06457\)(M1)
\(22.2\) °CA1\(22.2405\ldots\) Accept 22.2–22.3 from rounded coefficients.
(c)
each extra chirp in 15 seconds corresponds to an increase in temperature of about 0.533 °CA1Must be in context and refer to the change in x per unit change in y.
(d)
5 is outside the range of the \(y\)-data (22 to 47), so it would be extrapolationR1
(e)
to predict \(y\) from \(x\) the regression line of \(y\) on \(x\) must be usedR1

Answers: (a) \(x=0.533y+3.06\) · (b) 22.2 °C

70AAHL4-q00514.11 Conditional probability and independence Paper 2Easy7 marks

An archer shoots 8 arrows at a target. For each arrow, the probability that it hits the centre is 0.3, independently of all other arrows. Let \(X\) be the number of arrows that hit the centre.

(a)

Find \(\mathrm{P}(X=2)\).

(2)
(b)

Given that at least one arrow hits the centre, find the probability that exactly two arrows hit the centre.

(3)
(c)

Given that at least one arrow hits the centre, find the probability that the first arrow hits the centre.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(X\sim\mathrm{B}(8,\,0.3)\)(M1)
\(0.296\)A1\(0.296475\ldots\)
(b)
\(\dfrac{\mathrm{P}(X=2)}{\mathrm{P}(X\ge1)}\)(M1)
\(\mathrm{P}(X\ge1)=1-0.7^{8}=0.942352\)(A1)
\(0.315\)A1\(0.314612\ldots\)
(c)
\(\dfrac{0.3}{0.942352}\)(M1)Recognizing that “first arrow hits” is a subset of “at least one hit”.
\(0.318\)A1\(0.318352\ldots\)

Answers: (a) 0.296 · (b) 0.315 · (c) 0.318

71AAHL4-q00594.12 Standardization and unknown normal parameters Paper 2Easy12 marks

The time, \(T\) minutes, for a ferry crossing is normally distributed with mean 48 minutes. 20% of crossings take more than 52 minutes.

(a)

Find the standard deviation of \(T\).

(3)
(b)

Find the probability that a crossing takes more than 55 minutes.

(1)
(c)

The ferry makes 6 crossings each day, with times independent of each other. Find the probability that on a particular day at least 2 crossings take more than 52 minutes.

(2)
(d)

Find the expected number of crossings that take more than 52 minutes in a period of 5 days.

(1)
(e)

Find the least number of crossings that must be made for the probability that at least one of them takes more than 55 minutes to exceed 0.95.

(3)
(f)

The company publishes a scheduled crossing time of \(s\) minutes, chosen so that only 5% of crossings take longer than \(s\) minutes. Find \(s\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(T\gt52)=0.2\Rightarrow\dfrac{52-48}{\sigma}=z\)(M1)
\(z=0.841621\ldots\)(A1)
\(\sigma=4.75\) minutesA1\(4.75273\ldots\)
(b)
\(0.0704\)A1\(0.0703974\ldots\)
(c)
\(X\sim\mathrm{B}(6,\,0.2)\), \(1-\mathrm{P}(X\le1)\)(M1)
\(0.345\)A1\(0.34464\)
(d)
\(30\times0.2=6\)A1
(e)
\(1-(1-0.0703974)^{n}\gt0.95\)M1
\(n=41\): \(0.9499\); \(n=42\): \(0.9534\)(A1)Or \(n\gt41.04\).
\(n=42\)A1
(f)
\(\mathrm{P}(T\gt s)=0.05\), \(s=48+1.64485\ldots\times4.75273\)(M1)Or inverse normal with area 0.95 to the left.
\(s=55.8\) minutesA1\(55.8175\ldots\)

Answers: (a) \(\sigma=4.75\) · (b) 0.0704 · (c) 0.345 · (d) 6 · (e) 42 · (f) 55.8 minutes

72AAHL4-q00724.13 Bayes’ theorem Paper 2Easy5 marks

In a climbing club, 60% of the members are experienced and 40% are novices. On each attempt at a difficult route, an experienced climber succeeds with probability 0.8 and a novice succeeds with probability 0.3, independently of other attempts. A member is chosen at random and attempts the route repeatedly until the first success.

(a)

Find the probability that an experienced climber succeeds for the first time on the third attempt.

(1)
(b)

Find the probability that the chosen member succeeds for the first time on the third attempt.

(2)
(c)

Given that the chosen member succeeds for the first time on the third attempt, find the probability that the member is experienced.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(0.2^{2}\times0.8=0.032\)A1
(b)
\(0.6(0.032)+0.4(0.7^{2}\times0.3)\)(M1)
\(0.078\)A1
(c)
\(\dfrac{0.0192}{0.078}\)(M1)
\(0.246\)A1\(\tfrac{16}{65}=0.246153\ldots\)

Answers: (a) 0.032 · (b) 0.078 · (c) 0.246

73AAHL4-q00984.14 Variance, continuous random variables and linear transformations Paper 2Easy4 marks

The maximum daily temperature in a city in April, \(T\) °C, has mean \(15\) and standard deviation \(4\). The temperature in degrees Fahrenheit is \(F=1.8T+32\).

(a)

Find \(\mathrm{E}(F)\).

(2)
(b)

Find the standard deviation of \(F\) and \(\mathrm{Var}(F)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(1.8(15)+32\)(M1)
\(59\) °FA1
(b)
\(\sigma_{F}=1.8\times4=7.2\)A1Award A0 for \(1.8\times4+32\).
\(\mathrm{Var}(F)=1.8^{2}\times16=51.84\)A1

Answers: (a) 59 °F · (b) 7.2 °F, 51.84

74AAHL4-q01004.14 Variance, continuous random variables and linear transformations Paper 2Easy6 marks

A bakery bakes 35 loaves of a speciality bread each day. The number of these loaves sold on a randomly chosen day, \(X\), has the distribution shown.

\(x\)\(20\)\(25\)\(30\)\(35\)
\(\mathrm{P}(X=x)\)\(0.1\)\(0.3\)\(0.4\)\(0.2\)

The daily profit, in euros, from this bread is \(D=3.2X-60\).

(a)

Find \(\mathrm{E}(X)\) and the standard deviation of \(X\).

(3)
(b)

Hence find the expected daily profit and the standard deviation of the daily profit.

(2)
(c)

Find the probability that the profit on a randomly chosen day exceeds €30.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{E}(X)=28.5\)A1
\(\mathrm{E}(X^{2})=832.5\), \(\mathrm{Var}(X)=832.5-28.5^{2}=20.25\)(M1)Or GDC with frequencies.
\(\sigma_{X}=4.5\)A1
(b)
\(\mathrm{E}(D)=3.2(28.5)-60=31.2\), i.e. €31.20A1FT their (a).
\(\sigma_{D}=3.2(4.5)=14.4\), i.e. €14.40A1
(c)
\(3.2X-60\gt 30\Rightarrow X\gt 28.125\), so \(\mathrm{P}(X\ge30)=0.6\)A1

Answers: (a) 28.5, 4.5 · (b) €31.20, €14.40 · (c) 0.6

75AAHL4-q01134.14 Variance, continuous random variables and linear transformations Paper 2Easy15 marks

Three fair six-sided dice are rolled. Let \(D\) be the number of different scores shown. For example, the scores 4, 1, 4 give \(D=2\).

(a)

Show that \(\mathrm{P}(D=3)=\dfrac{5}{9}\).

(2)
(b)

Find \(\mathrm{P}(D=1)\) and \(\mathrm{P}(D=2)\).

(2)
(c)

Find \(\mathrm{E}(D)\) and \(\mathrm{Var}(D)\).

(3)
(d)

In a game, a player pays €2 to roll the three dice and receives \(12-4D\) euros. Find the mean and the standard deviation of the amount received, and hence state the expected gain of the player per game.

(3)
(e)

The game is played 30 times. Find the probability that all three scores are different in at least 20 of these games.

(3)
(f)

Given that at least one of the dice shows a 6, find the probability that \(D=1\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{6\times5\times4}{6^{3}}\) or \(1\times\dfrac{5}{6}\times\dfrac{4}{6}\)M1
\(=\dfrac{120}{216}\)A1
\(=\dfrac{5}{9}\)AG
(b)
\(\mathrm{P}(D=1)=\dfrac{6}{216}=\dfrac{1}{36}\)A1
\(\mathrm{P}(D=2)=1-\dfrac{1}{36}-\dfrac{20}{36}=\dfrac{15}{36}=\dfrac{5}{12}\)A1
(c)
\(\mathrm{E}(D)=\dfrac{1(1)+2(15)+3(20)}{36}=\dfrac{91}{36}\ (=2.53)\)A1\(2.52777\ldots\)
\(\mathrm{E}(D^{2})=\dfrac{1(1)+4(15)+9(20)}{36}=\dfrac{241}{36}\) and \(\mathrm{Var}(D)=\mathrm{E}(D^{2})-[\mathrm{E}(D)]^{2}\)M1
\(\mathrm{Var}(D)=\dfrac{395}{1296}=0.305\)A1\(0.304783\ldots\)
(d)
mean \(=12-4\times\dfrac{91}{36}=\dfrac{17}{9}=\)€\(1.89\)A1\(1.8888\ldots\)
SD \(=4\sqrt{0.304783}=\)€\(2.21\)A1\(2.20828\ldots\) Award A0 for a negative SD or for \(16\,\mathrm{Var}(D)\) given as the SD.
expected gain \(=1.89-2=-\)€\(0.111\) (an expected loss of about 11 cents per game)A1Accept \(-\tfrac{1}{9}\).
(e)
\(Y\sim\mathrm{B}\left(30,\,\tfrac{5}{9}\right)\)(M1)
\(\mathrm{P}(Y\ge20)=1-\mathrm{P}(Y\le19)\)(M1)
\(0.149\)A1\(0.148761\ldots\)
(f)
\(\mathrm{P}(\text{at least one }6)=1-\left(\tfrac{5}{6}\right)^{3}=\dfrac{91}{216}\) and \(\mathrm{P}(D=1\cap\text{at least one }6)=\dfrac{1}{216}\)(M1)
\(\dfrac{1}{91}\)A1\(0.0110\)

Answers: (b) \(\tfrac{1}{36},\ \tfrac{5}{12}\) · (c) \(\tfrac{91}{36}\), \(\tfrac{395}{1296}\) · (d) €1.89, €2.21; −€0.111 · (e) 0.149 · (f) \(\tfrac{1}{91}\)

76AAHL4-q00034.1 Sampling, bias and outliers Paper 2Medium10 marks

The times, in minutes, of 14 bus journeys on the same route were recorded.

Journey1234567891011121314
Time (min)1214151516171718192021232952

Use the quartiles given by your GDC. An outlier is a value more than \(1.5\times\) IQR from the nearest quartile.

(a)

Find the lower quartile and the upper quartile of the times.

(2)
(b)

Show that 52 is an outlier but 29 is not.

(2)
(c)

The time of 52 minutes is removed from the data. Show that 29 is now an outlier.

(2)
(d)

Find the mean of the times before and after 52 is removed, and state, with a reason, whether the mean or the median is more affected by its removal.

(3)
(e)

The 52-minute journey took place on a day when a road was closed. Comment on whether the analyst should have removed it, and on whether 29 should then also be removed.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(Q_{1}=15\)A1
\(Q_{3}=21\)A1
(b)
\(\text{IQR}=6\); upper boundary \(21+1.5(6)=30\)M1
\(52\gt 30\) so 52 is an outlier; \(29\lt 30\) so 29 is notA1
(c)
new quartiles \(Q_{1}=15,\ Q_{3}=20.5\), IQR \(=5.5\)M1
upper boundary \(20.5+1.5(5.5)=28.75\lt 29\), so 29 is now an outlierA1
(d)
mean before \(=\dfrac{288}{14}=20.6\) minA1\(20.571\ldots\)
mean after \(=\dfrac{236}{13}=18.2\) minA1\(18.153\ldots\)
the mean is more affected (it falls by about 2.4 min, whereas the median only changes from 17.5 to 17)R1
(e)
52 is a genuine value (a real journey) so it may be kept, or analysed separately with the reason stated; repeatedly removing the new largest value is not valid, so 29 should not be removedR1Accept any reasoned comment that distinguishes a genuine outlier from an error and rejects automatic repeated removal.

Answers: (a) \(Q_{1}=15,\ Q_{3}=21\) · (d) 20.6 min and 18.2 min

77AAHL4-q00074.2 Presentation of data Paper 2Medium15 marks

The finishing times, \(t\) minutes, of 120 runners in a 5 km run are summarized below.

Time, \(t\) (min)\(15\le t\lt 20\)\(20\le t\lt 25\)\(25\le t\lt 30\)\(30\le t\lt 35\)\(35\le t\lt 40\)\(40\le t\lt 45\)
Number of runners82235281710
(a)

Write down the modal class.

(1)
(b)

Find an estimate of the mean and an estimate of the standard deviation of the times.

(3)
(c)

Construct a cumulative frequency table and use it, assuming the times are evenly spread within each class, to estimate the median time.

(3)
(d)

Estimate the number of runners who finished in less than 33 minutes.

(2)
(e)

From the raw data, the fastest time was 15.8 minutes, the slowest time 44.9 minutes, the lower quartile 24.2 minutes, the median 29.4 minutes and the upper quartile 34.6 minutes. Show that there are no outliers.

(3)
(f)

Use the five-number summary in part (e) to comment on whether the times could be normally distributed.

(1)
(g)

It is later found that every recorded time was 0.5 minutes too long. Write down the corrected estimates of the mean and the standard deviation.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(25\le t\lt 30\)A1
(b)
mid-interval values 17.5, 22.5, …, 42.5 with the frequencies(M1)
mean \(=29.75\) minA1Accept 29.8.
standard deviation \(=6.70\) minA1\(6.70354\ldots\)
(c)
cumulative frequencies 8, 30, 65, 93, 110, 120 (at \(t=20,25,\ldots,45\))A1
60th value lies in \(25\le t\lt 30\): \(25+\dfrac{60-30}{35}\times5\)(M1)
\(29.3\) minA1\(29.2857\ldots\) Accept from 29.2 to 29.4 (e.g. 60.5th value).
(d)
\(65+\dfrac{3}{5}\times28\)(M1)
\(82\) runnersA1\(81.8\)
(e)
IQR \(=34.6-24.2=10.4\); \(1.5\times10.4=15.6\)M1
boundaries \(24.2-15.6=8.6\) and \(34.6+15.6=50.2\)A1
\(15.8\gt 8.6\) and \(44.9\lt 50.2\), so there are no outliersR1
(f)
the box is symmetric about the median (5.2 each side) and the whiskers are similar in length (8.4 and 10.3), so a normal distribution is plausibleR1
(g)
mean \(=29.25\) minA1FT from (b).
standard deviation unchanged, \(6.70\) minA1

Answers: (a) \(25\le t\lt 30\) · (b) 29.75 min, 6.70 min · (c) 29.3 min · (d) 82 · (g) 29.25 min, 6.70 min

78AAHL4-q00134.4 Correlation and regression of y on x Paper 2Medium10 marks

The table shows the number of public electric-vehicle charging points, \(y\) thousand, in a region in the year \(t\). An analyst codes the years using \(u=\dfrac{t-2008}{2}\).

Year, \(t\)20082010201220142016201820202022
\(y\) (thousands)3.14.05.25.97.38.19.010.4
(a)

Find the equation of the regression line of \(y\) on \(u\).

(2)
(b)

Write down the value of Pearson’s product-moment correlation coefficient, \(r\), between \(y\) and \(t\).

(1)
(c)

Hence find the equation of the regression line of \(y\) on \(t\), in the form \(y=at+b\).

(3)
(d)

Interpret the value of \(a\) in context, and explain why \(b\) has no practical meaning.

(2)
(e)

Use your regression line to predict the number of charging points in 2030, and comment on the reliability of this prediction.

(2)
Show mark scheme
WorkingMarkNotes
(a)
gradient \(1.03\) (\(1.02619\ldots\))A1
\(y=1.03u+3.03\)A1Intercept \(3.03333\ldots\)
(b)
\(r=0.998\)A1\(0.998126\ldots\); coding \(t\) linearly with a positive factor does not change \(r\).
(c)
substituting \(u=\dfrac{t-2008}{2}\): \(y=1.02619\left(\dfrac{t-2008}{2}\right)+3.03333\)M1
\(a=0.513\)A1\(0.513095\ldots\)
\(b=-1027\)A1\(-1027.26\ldots\) Accept \(-1027\) or \(-1028\); \(b\) is very sensitive to rounding of \(a\), so full accuracy must be carried. Also accept direct GDC regression on \(t\).
(d)
the number of charging points increases by about 513 per yearR1
\(b\) is the predicted value in year 0, far outside the data (and negative), so it is meaninglessR1
(e)
\(u=11\): \(y=14.3\), about 14 300 charging pointsA1\(14.32\ldots\)
unreliable: 2030 is outside the range of the data (extrapolation); growth may not stay linearR1

Answers: (a) \(y=1.03u+3.03\) · (b) 0.998 · (c) \(y=0.513t-1027\) · (e) about 14 300

79AAHL4-q00154.4 Correlation and regression of y on x Paper 2Medium15 marks

A grower investigates the effect of a fertilizer on tomato plants. Eight plots are treated with different amounts of fertilizer, \(x\) grams per square metre, and the mean yield, \(y\) kg per plant, is recorded.

\(x\) (g m−2)1020304050607080
\(y\) (kg)2.63.13.03.73.94.54.45.0
(a)

Find Pearson’s product-moment correlation coefficient, \(r\), and describe the correlation between \(x\) and \(y\).

(2)
(b)

Find the equation of the regression line of \(y\) on \(x\), in the form \(y=ax+b\).

(2)
(c)

Interpret the value of \(a\) in context.

(1)
(d)

Use your regression line to estimate the mean yield per plant when 35 g m−2 of fertilizer is used.

(2)
(e)(i)

Each square metre contains 3 plants. Tomatoes are sold for €1.20 per kg and fertilizer costs €0.08 per gram. Let \(V(x)\) be the value of the predicted yield of one square metre minus the cost of the fertilizer used on it, in euros.

Show that \(V(x)=0.04x+8.19\).

(2)
(e)(ii)

The grower decides to use the amount of fertilizer, within the range of the data, that maximizes \(V(x)\). State this amount, and explain why the grower should not conclude that using even more fertilizer would be better.

(2)
(f)

When the amount found in part (e)(ii) is used, the yield of a plant is normally distributed with mean equal to the value predicted by the regression line and standard deviation 0.6 kg. Find the probability that a randomly chosen plant yields less than 4 kg.

(2)
(g)

Ten such plants are chosen at random. Find the probability that at most one of them yields less than 4 kg.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(r=0.978\)A1\(0.978399\ldots\)
strong positive (linear) correlationA1
(b)
\(a=0.0333\)A1\(0.03333\ldots\)
\(b=2.28\); \(y=0.0333x+2.28\)A1\(2.275\) Award A1A0 if not written as an equation.
(c)
for each extra gram per square metre of fertilizer, the mean yield increases by about 0.0333 kg per plantA1Must refer to an increase of 1 unit in x.
(d)
\(0.033333(35)+2.275\)(M1)
\(3.44\) kgA1\(3.44166\ldots\)
(e)(i)
\(V(x)=3\times1.20\times(0.033333x+2.275)-0.08x\)M1
\(=0.12x+8.19-0.08x\)A1\(3.6\times\tfrac{1}{30}=0.12\) and \(3.6\times2.275=8.19\).
\(V(x)=0.04x+8.19\)AG
(e)(ii)
\(80\) g m−2 (the largest amount in the data, since \(V\) is increasing)A1
the linear model is only supported for 10 ≤ x ≤ 80; beyond this it is extrapolation and the yield may level off (or fall), so V may not keep increasingR1
(f)
\(Y\sim\mathrm{N}(4.94167,\,0.6^{2})\), where \(\tfrac{80}{30}+2.275=4.94166\ldots\); \(\mathrm{P}(Y\lt4)\)(M1)
\(0.0583\)A1\(0.0582722\ldots\) Accept 0.0582–0.0586 from a mean rounded to 4.94.
(g)
\(W\sim\mathrm{B}(10,\,0.0582722)\), \(\mathrm{P}(W\le1)\)(M1)
\(0.888\)A1\(0.888058\ldots\) FT from (f).

Answers: (a) 0.978, strong positive · (b) \(y=0.0333x+2.28\) · (d) 3.44 kg · (e)(ii) 80 g m−2 · (f) 0.0583 · (g) 0.888

80AAHL4-q00234.6 Combined, conditional and independent events Paper 2Medium7 marks

A contestant answers three questions in a quiz. The probability that she answers the first question correctly is 0.7. For each later question, the probability of a correct answer is 0.8 if the previous answer was correct and 0.5 if the previous answer was wrong.

(a)

Find the probability that she answers all three questions correctly.

(2)
(b)

Find the probability that she answers exactly two of the questions correctly.

(3)
(c)

Given that she answers exactly two questions correctly, find the probability that she answered the first question correctly.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(0.7\times0.8\times0.8\)(M1)
\(0.448\)A1
(b)
identifying the paths CCW, CWC, WCC(M1)
\(0.7(0.8)(0.2)+0.7(0.2)(0.5)+0.3(0.5)(0.8)=0.112+0.07+0.12\)(A1)
\(0.302\)A1
(c)
\(\dfrac{0.112+0.07}{0.302}\)(M1)
\(0.603\)A1\(0.60264\ldots\)

Answers: (a) 0.448 · (b) 0.302 · (c) 0.603

81AAHL4-q00344.8 Binomial distribution Paper 2Medium8 marks

Each day a machine makes 20 components. Each component is defective with probability 0.06, independently of all others. A day is classed as “bad” if 3 or more of that day’s components are defective.

(a)

Find the probability that a given day is bad.

(2)
(b)

Find the probability that, in a five-day week, there are at least two bad days.

(3)
(c)

Find the expected number of bad days in a year of 250 working days.

(2)
(d)

State one assumption needed for your answer to part (b).

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(D\sim\mathrm{B}(20,\,0.06)\), \(1-\mathrm{P}(D\le2)\)(M1)
\(0.115\)A1\(0.114972\ldots\)
(b)
\(B\sim\mathrm{B}(5,\,0.114972)\)(M1)
\(1-\mathrm{P}(B\le1)\)(M1)
\(0.104\)A1\(0.104331\ldots\)
(c)
\(250\times0.114972\)(M1)
\(28.7\)A1\(28.743\ldots\)
(d)
whether a day is bad is independent of other days (and the defect rate stays at 0.06 every day)R1

Answers: (a) 0.115 · (b) 0.104 · (c) 28.7

82AAHL4-q00354.8 Binomial distribution Paper 2Medium7 marks

An archer shoots 10 arrows. Each arrow hits the target with probability \(p\), independently. Let \(X\) be the number of arrows that hit the target. The variance of \(X\) is 2.1.

(a)

Show that \(p^{2}-p+0.21=0\).

(2)
(b)

Find the two possible values of \(p\).

(1)
(c)

It is known that \(\mathrm{P}(X\ge6)\gt 0.5\). Determine the value of \(p\).

(2)
(d)

For this value of \(p\), find the probability that the number of hits equals its expected value.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(10p(1-p)=2.1\)M1
\(p-p^{2}=0.21\)A1
\(p^{2}-p+0.21=0\)AG
(b)
\(p=0.3\) or \(p=0.7\)A1
(c)
\(p=0.3\): \(\mathrm{P}(X\ge6)=0.0473\); \(p=0.7\): \(\mathrm{P}(X\ge6)=0.850\)M1
\(p=0.7\)A1
(d)
\(\mathrm{E}(X)=7\), \(\mathrm{P}(X=7)\)(M1)
\(0.267\)A1\(0.266827\ldots\)

Answers: (b) 0.3 or 0.7 · (c) \(p=0.7\) · (d) 0.267

83AAHL4-q00384.8 Binomial distribution Paper 2Medium16 marks

A laboratory tests blood samples for a rare condition. Each person has the condition with probability 0.04, independently of all other people. To save tests, the laboratory uses pooled testing.

  • The samples of a group of 8 people are mixed and the mixture is tested once. The mixture tests positive if and only if at least one person in the group has the condition.
  • If the mixture tests negative, no further tests are needed for the group.
  • If the mixture tests positive, each of the 8 samples is then tested individually.

Let \(N\) be the total number of tests carried out for a group of 8 people.

(a)

Find the probability that the mixture tests positive.

(2)
(b)

Show that \(\mathrm{E}(N)=3.23\), correct to three significant figures.

(3)
(c)

Find \(\mathrm{Var}(N)\).

(3)
(d)

Each test costs €12 and the laboratory also pays €30 to process each group. Find the mean and the standard deviation of the total cost, in euros, of testing a group.

(3)
(e)

Given that the mixture for a group tests positive, find the probability that exactly one person in the group has the condition.

(2)
(f)(i)

Find the expected number of tests per person under this scheme, and hence the percentage reduction in the expected number of tests compared with testing every person individually.

(2)
(f)(ii)

Explain why pooled testing would save fewer tests if the condition were much more common.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(1-\mathrm{P}(\text{nobody has the condition})=1-0.96^{8}\)(M1)Or \(X\sim\mathrm{B}(8,\,0.04)\), \(\mathrm{P}(X\ge1)\).
\(0.279\)A1\(0.278610\ldots\)
(b)
\(N=1\) with probability \(0.721389\ldots\) and \(N=9\) with probability \(0.278610\ldots\)M1Both values of N with their probabilities.
\(\mathrm{E}(N)=1(0.721389)+9(0.278610)\)M1Or \(1+8(0.278610)\).
\(=3.22888\ldots\)A1Must see a value to at least 4 s.f.
\(3.23\)AG
(c)
\(\mathrm{E}(N^{2})=1(0.721389)+81(0.278610)=23.2888\ldots\)(M1)
\(\mathrm{Var}(N)=\mathrm{E}(N^{2})-[\mathrm{E}(N)]^{2}=23.2888-3.22888^{2}\)(M1)
\(12.9\)A1\(12.8631\ldots\) Accept 12.8–12.9 from rounded values.
(d)
mean \(=12(3.22888)+30=\)€\(68.7\)A1\(68.7466\ldots\) Accept €68.75.
\(\mathrm{Var}(12N+30)=144\,\mathrm{Var}(N)\) or SD \(=12\sqrt{12.8631}\)(M1)Award M0 for adding 30 to the variance or SD.
SD \(=\)€\(43.0\)A1\(43.0382\ldots\)
(e)
\(\dfrac{\mathrm{P}(X=1)}{\mathrm{P}(X\ge1)}=\dfrac{8(0.04)(0.96)^{7}}{0.278610}=\dfrac{0.240463}{0.278610}\)(M1)
\(0.863\)A1\(0.863080\ldots\)
(f)(i)
\(\dfrac{3.22888}{8}=0.404\) tests per personA1\(0.403610\ldots\)
reduction \(=59.6\%\)A1\(59.638\ldots\%\) FT from their expected number per person.
(f)(ii)
the probability that a mixture tests positive would be much larger, so most groups would need \(9\) tests (more than 8 individual tests)R1Accept any valid reasoning referring to more positive mixtures needing the extra individual tests.

Answers: (a) 0.279 · (c) 12.9 · (d) mean €68.7, SD €43.0 · (e) 0.863 · (f)(i) 0.404 tests per person; 59.6% reduction

84AAHL4-q00394.8 Binomial distribution Paper 2Medium16 marks

A test has 40 multiple-choice questions, each with four options of which exactly one is correct. For each question, independently, Sami knows the answer with probability 0.6; otherwise he chooses one of the four options at random.

(a)

Show that the probability that Sami answers a question correctly is 0.7.

(2)
(b)

Given that Sami answers two particular questions correctly, find the probability that he knew the answers to both of them.

(2)
(c)

Let \(X\) be the number of questions Sami answers correctly. Find \(\mathrm{E}(X)\) and \(\mathrm{Var}(X)\).

(2)
(d)

Each correct answer scores 4 marks and each wrong answer scores \(-1\) mark. Let \(S\) be Sami’s total score. Show that \(S=5X-40\), and hence find the mean and the standard deviation of \(S\).

(3)
(e)

Find \(\mathrm{P}(S\ge120)\).

(3)
(f)

Rhea knows none of the answers and guesses every question at random. Find the probability that her total score is positive.

(2)
(g)

The test designer wants the expected score for a random guess on a single question to be zero. Keeping 4 marks for a correct answer, find the number of marks that should be deducted for a wrong answer.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(0.6\times1+0.4\times0.25\)M1Tree diagram or equivalent.
\(0.6+0.1\)A1
\(=0.7\)AG
(b)
\(\dfrac{0.6^{2}}{0.7^{2}}\)(M1)Questions are independent.
\(\dfrac{36}{49}\)A1\(0.735\)
(c)
\(\mathrm{E}(X)=28\)A1From \(X\sim\mathrm{B}(40,\,0.7)\).
\(\mathrm{Var}(X)=8.4\)A1
(d)
\(S=4X-(40-X)=5X-40\)M1
\(\mathrm{E}(S)=5(28)-40=100\)A1
SD \(=5\sqrt{8.4}=14.5\)A1\(14.4913\ldots\)
(e)
\(5X-40\ge120\Rightarrow X\ge32\)M1
\(1-\mathrm{P}(X\le31)\)(M1)
\(0.111\)A1\(0.111009\ldots\)
(f)
\(X\sim\mathrm{B}(40,\,0.25)\); \(5X-40\gt0\Rightarrow X\gt8\), \(\mathrm{P}(X\ge9)\)(M1)
\(0.700\)A1\(0.700167\ldots\)
(g)
\(4(0.25)-m(0.75)=0\)M1
\(m=\dfrac{4}{3}\)A1Accept 1.33.

Answers: (b) \(\tfrac{36}{49}\) · (c) 28, 8.4 · (d) 100, 14.5 · (e) 0.111 · (f) 0.700 · (g) \(\tfrac{4}{3}\)

85AAHL4-q00414.9 The normal distribution Paper 2Medium7 marks

At an airport, the time, \(W\) minutes, that a passenger waits for the shuttle bus is modelled by a normal distribution with mean 6.5 minutes and standard deviation 4 minutes.

(a)

Use this model to find the probability that a passenger waits more than 10 minutes.

(2)
(b)(i)

Use this model to find \(\mathrm{P}(W\lt 0)\).

(1)
(b)(ii)

Hence comment on the suitability of this model.

(1)
(c)

The bus company replaces the model by \(W\sim\mathrm{N}(6.5,\,\sigma^{2})\), choosing \(\sigma\) so that \(\mathrm{P}(W\lt 0)=0.001\). Find the value of \(\sigma\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(W\gt 10)\) with \(W\sim\mathrm{N}(6.5,\,4^{2})\), e.g. sketch or GDC input(M1)
\(0.191\)A1\(0.190786\ldots\)
(b)(i)
\(0.0521\)A1\(0.0520812\ldots\)
(b)(ii)
a waiting time cannot be negative, but the model gives about 5% of passengers a negative waiting time, so the model is not suitable (for short waiting times)R1Must refer to the size of the probability from (b)(i) and to waiting times not being negative.
(c)
\(\dfrac{0-6.5}{\sigma}=z\) where \(\mathrm{P}(Z\lt z)=0.001\)(M1)
\(z=-3.0902\ldots\)(A1)
\(\sigma=2.10\)A1\(2.10340\ldots\) Accept 2.1.

Answers: (a) 0.191 · (b)(i) 0.0521 · (c) \(\sigma=2.10\)

86AAHL4-q00434.9 The normal distribution Paper 2Medium8 marks

The volume, \(V\) ml, of juice in a carton is normally distributed with mean 502 ml and standard deviation 1.8 ml. Each carton is labelled “500 ml”. Cartons are sold in packs of five, and the volumes in different cartons are independent.

(a)

Find the probability that a randomly chosen carton contains less than 500 ml.

(2)
(b)

Find the probability that none of the cartons in a pack contains less than 500 ml.

(2)
(c)

The manufacturer adjusts the mean volume to \(\mu\) ml, keeping the standard deviation at 1.8 ml, so that the probability that none of the cartons in a pack contains less than 500 ml is 0.9. Find the value of \(\mu\). Give your answer correct to two decimal places.

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(V\lt 500)\) with \(V\sim\mathrm{N}(502,\,1.8^{2})\)(M1)
\(0.133\)A1\(0.133260\ldots\)
(b)
\((1-0.133260\ldots)^{5}\)(M1)Or binomial \(\mathrm{P}(Y=0)\) with \(Y\sim\mathrm{B}(5,\,0.13326)\).
\(0.489\)A1\(0.489151\ldots\)
(c)
\(\big(\mathrm{P}(V\ge 500)\big)^{5}=0.9\)M1
\(\mathrm{P}(V\ge 500)=0.9^{1/5}=0.979148\ldots\)A1
\(\dfrac{500-\mu}{1.8}=-2.03647\ldots\)M1Standardizing with the \(z\)-value for a lower tail of \(0.020851\ldots\)
\(\mu=503.67\) mlA1\(503.6656\ldots\) Award A0 for 503.66 (truncation) or 503.7 (not 2 d.p.).

Answers: (a) 0.133 · (b) 0.489 · (c) \(\mu=503.67\) ml

87AAHL4-q00454.9 The normal distribution Paper 2Medium16 marks

The error, \(X\) mm, in a length measured by a laser device is modelled by the probability density function

\(f(x)=\begin{cases}k(1-x^{2}), & -1\le x\le 1\\ 0, & \text{otherwise}\end{cases}\)

where \(k\) is a positive constant.

(a)

Show that \(k=\dfrac{3}{4}\).

(2)
(b)

Write down \(\mathrm{E}(X)\), giving a reason for your answer.

(1)
(c)

Show that \(\mathrm{Var}(X)=\dfrac{1}{5}\).

(3)
(d)

Find \(\mathrm{P}(|X|\lt0.5)\).

(2)
(e)

An engineer instead models the error by \(Y\sim\mathrm{N}\left(0,\,\tfrac{1}{5}\right)\), which has the same mean and variance as \(X\). Find \(\mathrm{P}(|Y|\lt0.5)\).

(2)
(f)

Find the value of \(t\) such that \(\mathrm{P}(X\gt t)=0.05\), and the value of \(s\) such that \(\mathrm{P}(Y\gt s)=0.05\).

(4)
(g)

Find \(\mathrm{P}(|Y|\gt1)\), and hence comment on the suitability of the normal model.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(k\displaystyle\int_{-1}^{1}(1-x^{2})\,\mathrm{d}x=k\left[x-\dfrac{x^{3}}{3}\right]_{-1}^{1}=1\)M1
\(k\times\dfrac{4}{3}=1\)A1
\(k=\dfrac{3}{4}\)AG
(b)
\(\mathrm{E}(X)=0\), because \(f\) is symmetrical about \(x=0\)A1
(c)
\(\mathrm{E}(X^{2})=\dfrac{3}{4}\displaystyle\int_{-1}^{1}(x^{2}-x^{4})\,\mathrm{d}x\)M1
\(=\dfrac{3}{4}\left[\dfrac{x^{3}}{3}-\dfrac{x^{5}}{5}\right]_{-1}^{1}=\dfrac{3}{4}\times\dfrac{4}{15}\)A1
\(\mathrm{Var}(X)=\dfrac{1}{5}-0^{2}\)A1
\(=\dfrac{1}{5}\)AG
(d)
\(\dfrac{3}{4}\displaystyle\int_{-0.5}^{0.5}(1-x^{2})\,\mathrm{d}x\)(M1)
\(0.6875\)A1Accept \(\dfrac{11}{16}\) or 0.688.
(e)
\(\mathrm{P}(-0.5\lt Y\lt0.5)\) with \(\sigma=\sqrt{0.2}\)(M1)Award M0 for using 0.2 as the standard deviation.
\(0.736\)A1\(0.736447\ldots\)
(f)
\(\dfrac{3}{4}\displaystyle\int_{t}^{1}(1-x^{2})\,\mathrm{d}x=0.05\)M1Or \(\dfrac{3}{4}\left(\dfrac{2}{3}-t+\dfrac{t^{3}}{3}\right)=0.05\).
solving with GDC(M1)
\(t=0.729\)A1\(0.729299\ldots\)
\(s=0.736\)A1\(0.735600\ldots\) (inverse normal).
(g)
\(\mathrm{P}(|Y|\gt1)=0.0253\)A1\(0.0253473\ldots\)
under the original model errors larger than 1 mm are impossible, but the normal model gives them a probability of about 2.5%, so it overestimates the tails (although it is close for central probabilities)R1Accept any comment comparing the bounded and unbounded models.

Answers: (b) 0 · (d) 0.6875 · (e) 0.736 · (f) \(t=0.729\), \(s=0.736\) · (g) 0.0253

88AAHL4-q00474.10 Regression line of x on y Paper 2Medium15 marks

In a road-safety study, nine drivers were tested at different times after waking. For each driver the number of hours, \(x\), since waking and the reaction time, \(y\) milliseconds (ms), were recorded.

\(x\) (hours)24681012141618
\(y\) (ms)246251260258274279291298311
(a)

Find the value of Pearson’s product-moment correlation coefficient, \(r\), and describe the correlation.

(2)
(b)

Find the equation of the regression line of \(y\) on \(x\), and use it to estimate the reaction time of a driver who has been awake for 11 hours.

(3)
(c)

A driver involved in an accident has a reaction time of 295 ms. Find the equation of the regression line of \(x\) on \(y\), and use it to estimate the number of hours since this driver woke.

(3)
(d)

Explain why the line of \(x\) on \(y\), rather than a rearrangement of the line in part (b), is used in part (c).

(1)
(e)

The reaction times of well-rested drivers are normally distributed with mean 255 ms and standard deviation 28 ms. Find the probability that a well-rested driver has a reaction time greater than 320 ms.

(2)
(f)

Find the reaction time, \(t\) ms, such that only 2% of well-rested drivers have a reaction time greater than \(t\).

(2)
(g)

Fifteen well-rested drivers are chosen at random. Find the probability that at least one of them has a reaction time greater than \(t\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(r=0.985\)A1\(0.985064\ldots\)
strong positive (linear) correlationA1FT their \(r\).
(b)
\(y=4.03x+234\)A1\(4.03333\ldots,\ 233.888\ldots\)
\(y=4.03333(11)+233.889\)(M1)
\(278\) msA1\(278.255\ldots\)
(c)
\(x=0.241y-56.0\)A1\(0.240583\ldots,\ -55.9732\ldots\)
\(x=0.240583(295)-55.9733\)(M1)
\(15.0\) hoursA1\(14.9987\ldots\) Accept 14.9–15.1 from rounded coefficients. Award (M1)A0 for 15.2 from rearranging the \(y\) on \(x\) line.
(d)
\(x\) is being estimated from a known value of \(y\), and the line of \(y\) on \(x\) minimizes errors in \(y\), not in \(x\)R1
(e)
\(\mathrm{P}(Y\gt 320)\) with \(Y\sim\mathrm{N}(255,\,28^{2})\)(M1)
\(0.0101\)A1\(0.0101318\ldots\)
(f)
\(\mathrm{P}(Y\gt t)=0.02\), e.g. invNorm(0.98, 255, 28)(M1)
\(t=313\)A1\(312.504\ldots\) Accept 312.5.
(g)
\(1-0.98^{15}\)(M1)Or \(1-\mathrm{P}(N=0)\) with \(N\sim\mathrm{B}(15,\,0.02)\).
\(0.261\)A1\(0.261430\ldots\)

Answers: (a) \(r=0.985\), strong positive · (b) \(y=4.03x+234\); 278 ms · (c) \(x=0.241y-56.0\); 15.0 hours · (e) 0.0101 · (f) 313 ms · (g) 0.261

89AAHL4-q00554.12 Standardization and unknown normal parameters Paper 2Medium7 marks

The time, \(T\) minutes, that a worker takes to assemble a flat-pack desk is normally distributed with mean \(\mu\) and standard deviation \(\sigma\). It is known that 30% of workers take less than 20 minutes and 50% of workers take between 20 and 30 minutes.

(a)

Find the value of \(\mu\) and the value of \(\sigma\).

(4)
(b)

After a training course the mean time is unchanged, but the standard deviation changes so that 60% of workers take between 20 and 30 minutes. Find the new standard deviation.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(T\lt 30)=0.3+0.5=0.8\)(M1)
\(z\)-values \(-0.524400\ldots\) and \(0.841621\ldots\)(A1)
\(\dfrac{20-\mu}{\sigma}=-0.524400\) and \(\dfrac{30-\mu}{\sigma}=0.841621\)M1Award M0 if 0.5 is used as the cumulative probability for 30.
\(\mu=23.8,\ \sigma=7.32\)A1\(23.8388\ldots,\ 7.32052\ldots\) Both values required.
(b)
\(\mathrm{P}(20\lt T\lt 30)=0.6\) with \(T\sim\mathrm{N}(23.8388,\,s^{2})\)M1FT their \(\mu\).
use of GDC to solve, e.g. graph of \(y=\mathrm{normalcdf}(20,\,30,\,23.8388,\,s)\) intersecting \(y=0.6\)(M1)The interval is not symmetric about the mean, so a single \(z\)-value cannot be used.
\(s=5.82\)A1\(5.82458\ldots\) Accept 5.81–5.83 (5.816 from \(\mu=23.8\)).

Answers: (a) \(\mu=23.8\), \(\sigma=7.32\) · (b) 5.82

90AAHL4-q00574.12 Standardization and unknown normal parameters Paper 2Medium8 marks

The diameters, \(D\) mm, of bolts made by a machine are normally distributed with mean 12 mm and standard deviation \(\sigma\) mm. A bolt is rejected if its diameter differs from 12 mm by more than 0.05 mm. Exactly 4% of bolts are rejected.

(a)

Find the value of \(\sigma\).

(3)
(b)

The mean diameter drifts to 12.02 mm, while \(\sigma\) is unchanged. Find the percentage of bolts that are now rejected.

(2)
(c)

Explain why the percentage rejected increases, although the width of the accepted interval and the standard deviation are unchanged.

(1)
(d)

With the mean at 12.02 mm, a bolt is rejected. Find the probability that it was rejected for being too large.

(2)
Show mark scheme
WorkingMarkNotes
(a)
by symmetry \(\mathrm{P}(D\lt 11.95)=0.02\)M1
\(\dfrac{11.95-12}{\sigma}=-2.05374\ldots\)(A1)
\(\sigma=0.0243\)A1\(0.0243457\ldots\)
(b)
\(\mathrm{P}(D\lt 11.95)+\mathrm{P}(D\gt 12.05)\) with \(D\sim\mathrm{N}(12.02,\,0.0243457^{2})\)(M1)
\(11.1\%\)A1\(0.110946\ldots\) Accept 11.0%–11.2%.
(c)
the upper tail beyond 12.05 gains more probability than the lower tail below 11.95 loses, because the normal curve is highest near the meanR1Accept a clear sketch-based argument.
(d)
\(\dfrac{\mathrm{P}(D\gt 12.05)}{\mathrm{P}(D\lt 11.95)+\mathrm{P}(D\gt 12.05)}=\dfrac{0.108928}{0.110947}\)(M1)FT their (b).
\(0.982\)A1\(0.981806\ldots\)

Answers: (a) \(\sigma=0.0243\) · (b) 11.1% · (d) 0.982

91AAHL4-q00714.13 Bayes’ theorem Paper 2Medium9 marks

A missing hiker is in exactly one of three regions, \(R_{1}\), \(R_{2}\) and \(R_{3}\), with probabilities 0.45, 0.35 and 0.20 respectively. If the hiker is in the region being searched, a search of that region finds the hiker with probability 0.7 for \(R_{1}\), 0.85 for \(R_{2}\) and 0.9 for \(R_{3}\). A search never finds the hiker in a region where the hiker is not. Region \(R_{1}\) is searched first.

(a)

Find the probability that the first search does not find the hiker.

(2)
(b)

Given that the first search does not find the hiker, find the probability that the hiker is in each of the three regions.

(3)
(c)

The rescue team next searches the region in which the hiker is now most likely to be. Write down this region.

(1)
(d)

The second search also does not find the hiker. Find the probability that the hiker is in region \(R_{3}\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(0.45(0.3)+0.35+0.20\)(M1)Recognizing that the hiker is not found if in \(R_{1}\) and missed, or in \(R_{2}\) or \(R_{3}\).
\(0.685\)A1
(b)
\(\mathrm{P}(R_{1}\mid N_{1})=\dfrac{0.45(0.3)}{0.685}\)M1Bayes’ theorem for at least one region; FT their (a).
\(\mathrm{P}(R_{1}\mid N_{1})=0.197\)A1\(0.197080\ldots\ \left(\tfrac{27}{137}\right)\)
\(\mathrm{P}(R_{2}\mid N_{1})=0.511,\ \mathrm{P}(R_{3}\mid N_{1})=0.292\)A1\(0.510948\ldots,\ 0.291970\ldots\) Both values.
(c)
\(R_{2}\)A1FT their (b).
(d)
\(\mathrm{P}(\text{neither search finds the hiker})=0.45(0.3)+0.35(0.15)+0.20=0.3875\)M1Or update the posteriors from (b): \(0.197080+0.510948(0.15)+0.291970=0.565693\).
\(\dfrac{0.20}{0.3875}\)M1Or \(\dfrac{0.291970}{0.565693}\).
\(0.516\)A1\(0.516129\ldots\ \left(\tfrac{16}{31}\right)\)

Answers: (a) 0.685 · (b) 0.197, 0.511, 0.292 · (c) \(R_2\) · (d) 0.516

92AAHL4-q00764.13 Bayes’ theorem Paper 2Medium15 marks

The emails received by a company are of three types: 25% are spam (\(S\)), 35% are promotional (\(R\)) and 40% are personal (\(P\)). An email filter flags an email as suspicious with the following probabilities.

Type of emailSpamPromotionalPersonal
P(flagged)0.920.150.02

An email is chosen at random.

(a)

Find the probability that the email is flagged.

(2)
(b)

Given that the email is flagged, find the probability that it is spam.

(2)
(c)

Given that the email is not flagged, find the probability that it is personal.

(3)
(d)

On one day the company receives 200 emails, independently of each other. Find the expected number of personal emails that are flagged, and the probability that at least 3 personal emails are flagged.

(4)
(e)

Two emails, chosen independently at random, are both flagged. Find the probability that they are of the same type.

(3)
(f)

Suggest a reason why the assumption in part (d) that the emails are independent of each other may not be valid.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(0.25(0.92)+0.35(0.15)+0.40(0.02)\)(M1)
\(0.2905\)A1Accept \(0.291\).
(b)
\(\dfrac{0.25\times0.92}{0.2905}\)(M1)
\(0.792\)A1\(0.791738\ldots\)
(c)
\(\mathrm{P}(\text{not flagged})=1-0.2905=0.7095\)(A1)
\(\dfrac{0.40\times0.98}{0.7095}\)(M1)
\(0.553\)A1\(0.552501\ldots\)
(d)
\(\mathrm{P}(\text{personal and flagged})=0.40\times0.02=0.008\)(A1)
expected number \(=200\times0.008=1.6\)A1
\(Y\sim\mathrm{B}(200,\,0.008)\), \(\mathrm{P}(Y\ge3)=1-\mathrm{P}(Y\le2)\)(M1)
\(0.216\)A1\(0.216223\ldots\)
(e)
\(\mathrm{P}(S\mid F)=0.791738\), \(\mathrm{P}(R\mid F)=\dfrac{0.0525}{0.2905}=0.180722\), \(\mathrm{P}(P\mid F)=\dfrac{0.008}{0.2905}=0.0275387\)(M1)At least two of the three conditional probabilities.
\(0.791738^{2}+0.180722^{2}+0.0275387^{2}\)(M1)Or \(\dfrac{0.23^{2}+0.0525^{2}+0.008^{2}}{0.2905^{2}}\).
\(0.660\)A1\(0.660268\ldots\)
(f)
eg spam is often sent in large batches (campaigns) on the same day, so whether one email is spam is linked to whether others areR1Accept any reasonable reason why the types of emails received on one day are related.

Answers: (a) 0.2905 · (b) 0.792 · (c) 0.553 · (d) 1.6, 0.216 · (e) 0.660

93AAHL4-q00964.14 Variance, continuous random variables and linear transformations Paper 2Medium8 marks

A bag contains 3 red and 5 blue counters. In a game, a player pays a fee and then takes two counters at random from the bag, without replacement. The player receives €7 for each red counter taken. Let \(R\) be the number of red counters taken.

(a)

Show that \(\mathrm{P}(R=1)=\dfrac{15}{28}\).

(2)
(b)

Find the fee that would make the game fair.

(2)
(c)

Find the standard deviation of the amount the player receives.

(2)
(d)

The fee is set at €6. Find the expected total gain of a player who plays the game 50 times.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac38\times\dfrac57+\dfrac58\times\dfrac37\)M1Or \(\dfrac{\binom31\binom51}{\binom82}\). Must see both orders, or a combination count.
\(\dfrac{15}{56}+\dfrac{15}{56}\)A1
\(=\dfrac{15}{28}\)AG
(b)
\(\mathrm{P}(R=0)=\tfrac{10}{28},\ \mathrm{P}(R=2)=\tfrac{3}{28}\); \(\mathrm{E}(7R)=7\left(\tfrac{15}{28}+2\cdot\tfrac{3}{28}\right)\)(M1)\(\mathrm{E}(R)=\tfrac34\)
fee = €5.25A1Fair when the expected gain is zero.
(c)
\(\mathrm{Var}(R)=\tfrac{15}{28}+4\cdot\tfrac{3}{28}-\left(\tfrac34\right)^{2}=\tfrac{45}{112}\), and \(\mathrm{Var}(7R)=49\,\mathrm{Var}(R)\)(M1)Or \(\mathrm{E}\big((7R)^{2}\big)=47.25\).
\(\sigma=4.44\) (euros)A1\(4.4370\ldots\) Accept €4.44 or 4.437. Variance \(19.6875\).
(d)
expected gain per game \(=5.25-6=-0.75\)(M1)FT their (b).
\(50\times(-0.75)=-37.5\), i.e. −€37.50 (an expected loss of €37.50)A1

Answers: (b) €5.25 · (c) €4.44 · (d) −€37.50

94AAHL4-q00974.14 Variance, continuous random variables and linear transformations Paper 2Medium7 marks

Two games are offered at a fair. The gain, in euros, of a player in one play of each game is given by the random variables \(A\) and \(B\).

\(a\)\(-2\)\(1\)\(4\)
\(\mathrm{P}(A=a)\)\(0.4\)\(0.4\)\(0.2\)
\(b\)\(-1\)\(k\)
\(\mathrm{P}(B=b)\)\(0.9\)\(0.1\)

The two games have the same expected gain.

(a)

Find the value of \(k\).

(2)
(b)

Find \(\mathrm{Var}(A)\).

(2)
(c)

Find the standard deviation of \(B\).

(2)
(d)

A player wants to avoid large variations in their gain. Suggest, with a reason, which game the player should choose.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{E}(A)=-0.8+0.4+0.8=0.4\) and \(-0.9+0.1k=0.4\)(M1)
\(k=13\)A1
(b)
\(\mathrm{E}(A^{2})=4(0.4)+1(0.4)+16(0.2)=5.2\)(M1)
\(\mathrm{Var}(A)=5.2-0.4^{2}=5.04\)A1
(c)
\(\mathrm{E}(B^{2})=0.9+169(0.1)=17.8\), \(\mathrm{Var}(B)=17.8-0.16=17.64\)(M1)FT their \(k\).
\(\sigma_{B}=4.2\)A1
(d)
game A, because it has the same mean but a smaller variance (standard deviation) than game BR1Must refer to the variance or standard deviation. FT their values.

Answers: (a) \(k=13\) · (b) \(5.04\) · (c) \(4.2\) · (d) game A (smaller spread)

95AAHL4-q00994.14 Variance, continuous random variables and linear transformations Paper 2Medium6 marks

The raw mark \(X\) of a randomly chosen candidate in a test has \(\mathrm{E}(X)=54\) and standard deviation \(12.5\). The marks are rescaled using \(Y=aX+b\), where \(a\gt 0\), so that the scaled marks have mean \(65\) and standard deviation \(10\).

(a)

Find the value of \(a\) and the value of \(b\).

(3)
(b)

Find the scaled mark of a candidate whose raw mark is \(72\).

(1)
(c)

A candidate has a scaled mark of \(50\). Find this candidate’s raw mark.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(a\times12.5=10\) (or \(a^{2}\times12.5^{2}=100\))(M1)
\(a=0.8\)A1Award A0 if \(a=-0.8\) is also given as an answer.
\(54(0.8)+b=65\Rightarrow b=21.8\)A1FT their \(a\).
(b)
\(0.8(72)+21.8=79.4\)A1FT their \(a,\,b\).
(c)
\(0.8X+21.8=50\)(M1)
\(X=35.25\)A1Accept 35.3.

Answers: (a) \(a=0.8,\ b=21.8\) · (b) 79.4 · (c) 35.25

96AAHL4-q01014.14 Variance, continuous random variables and linear transformations Paper 2Medium8 marks

The continuous random variable \(X\) has probability density function \(f(x)=k\sqrt{9-x^{2}}\) for \(0\le x\le3\), and \(f(x)=0\) otherwise, where \(k\) is a positive constant.

(a)

By considering the shape of the graph of \(y=\sqrt{9-x^{2}}\) for \(0\le x\le3\), show that \(k=\dfrac{4}{9\pi}\).

(2)
(b)

Find \(\mathrm{E}(X)\).

(2)
(c)

Find the standard deviation of \(X\).

(2)
(d)

Find the median of \(X\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
the graph is a quarter of the circle \(x^{2}+y^{2}=9\), so the area under it is \(\dfrac14\pi(3)^{2}=\dfrac{9\pi}{4}\)M1
\(k\cdot\dfrac{9\pi}{4}=1\)A1
\(k=\dfrac{4}{9\pi}\)AG
(b)
\(\displaystyle\int_{0}^{3}\frac{4}{9\pi}x\sqrt{9-x^{2}}\,\mathrm{d}x\)(M1)
\(\mathrm{E}(X)=1.27\)A1\(1.27323\ldots=\tfrac{4}{\pi}\)
(c)
\(\mathrm{E}(X^{2})=2.25\), \(\mathrm{Var}(X)=2.25-1.27323\ldots^{2}=0.62886\ldots\)(M1)Full accuracy must be carried.
\(\sigma=0.793\)A1\(0.793007\ldots\)
(d)
\(\displaystyle\int_{0}^{m}\frac{4}{9\pi}\sqrt{9-x^{2}}\,\mathrm{d}x=0.5\)(M1)
\(m=1.21\)A1\(1.21191\ldots\) Award A0 for values outside \([0,3]\).

Answers: (b) 1.27 · (c) 0.793 · (d) 1.21

97AAHL4-q01024.14 Variance, continuous random variables and linear transformations Paper 2Medium9 marks

The delay, \(X\) hours, of a parcel delivery is modelled by the probability density function \(f(x)=k\mathrm{e}^{-(x-1)^{2}}\) for \(0\le x\le4\), and \(f(x)=0\) otherwise, where \(k\) is a positive constant.

(a)

Find the value of \(k\).

(2)
(b)

Use differentiation to show that the mode of \(X\) is \(1\).

(2)
(c)

Find \(\mathrm{E}(X)\) and the standard deviation of \(X\).

(3)
(d)

Find the median of \(X\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle k\int_{0}^{4}\mathrm{e}^{-(x-1)^{2}}\,\mathrm{d}x=1\)(M1)The integral is \(1.63303\ldots\)
\(k=0.612\)A1\(0.612358\ldots\)
(b)
\(f'(x)=-2k(x-1)\mathrm{e}^{-(x-1)^{2}}\)M1Chain rule.
\(f'(x)=0\) only at \(x=1\); \(f'(x)\gt0\) for \(x\lt1\) and \(f'(x)\lt0\) for \(x\gt1\), so a maximumA1Must justify the maximum, e.g. sign of \(f'\) or \(f(1)=k\) exceeds \(f(0)\) and \(f(4)\).
mode \(=1\)AG
(c)
\(\mathrm{E}(X)=1.11\) hoursA1\(1.11259\ldots\)
\(\mathrm{E}(X^{2})=1.61244\ldots\), \(\mathrm{Var}(X)=1.61244\ldots-1.11259\ldots^{2}=0.374571\ldots\)(M1)Full accuracy must be carried.
\(\sigma=0.612\) hoursA1\(0.612022\ldots\)
(d)
\(\displaystyle\int_{0}^{m}k\mathrm{e}^{-(x-1)^{2}}\,\mathrm{d}x=0.5\)(M1)
\(m=1.07\) hoursA1\(1.06980\ldots\)

Answers: (a) 0.612 · (c) 1.11 h, 0.612 h · (d) 1.07 h

98AAHL4-q01114.14 Variance, continuous random variables and linear transformations Paper 2Medium16 marks

The time, \(T\) minutes, that a customer waits at a taxi rank is modelled by the probability density function

\(f(t)=\begin{cases}kt\,\mathrm{e}^{-t^{2}/8}, & 0\le t\le 6\\ 0, & \text{otherwise}\end{cases}\)

where \(k\) is a positive constant.

(a)

Find the value of \(k\).

(2)
(b)

Show that the mode of \(T\) is 2 minutes.

(3)
(c)

Find the median of \(T\).

(2)
(d)

Find the mean and the standard deviation of \(T\).

(4)
(e)

Find the probability that a customer waits more than 4 minutes.

(2)
(f)

Leila uses the taxi rank on 10 days. Her waiting times are independent. Find the probability that she waits more than 4 minutes on at least 3 of these days.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(k\displaystyle\int_{0}^{6}t\,\mathrm{e}^{-t^{2}/8}\,\mathrm{d}t=1\)M1\(\displaystyle\int_{0}^{6}t\,\mathrm{e}^{-t^{2}/8}\,\mathrm{d}t=3.95556\ldots\)
\(k=0.253\)A1\(0.252808\ldots\) Accept the exact value \(\dfrac{1}{4\left(1-\mathrm{e}^{-4.5}\right)}\).
(b)
\(f'(t)=k\left(\mathrm{e}^{-t^{2}/8}-\dfrac{t^{2}}{4}\mathrm{e}^{-t^{2}/8}\right)\)M1Attempt at the product rule with the chain rule.
\(k\,\mathrm{e}^{-t^{2}/8}\left(1-\dfrac{t^{2}}{4}\right)=0\); since \(\mathrm{e}^{-t^{2}/8}\neq0\) and \(t\ge0\), \(t=2\)M1
\(f'(t)\gt0\) for \(0\lt t\lt2\) and \(f'(t)\lt0\) for \(2\lt t\lt6\), so \(f\) has its maximum at \(t=2\)R1Or a correct second-derivative argument, or a GDC sketch showing the maximum.
mode \(=2\)AG
(c)
\(\displaystyle\int_{0}^{m}f(t)\,\mathrm{d}t=0.5\)(M1)
\(m=2.34\) minutesA1\(2.33597\ldots\)
(d)
\(\mathrm{E}(T)=\displaystyle\int_{0}^{6}t f(t)\,\mathrm{d}t\)(M1)
\(2.46\) minutesA1\(2.46054\ldots\)
\(\mathrm{Var}(T)=\displaystyle\int_{0}^{6}t^{2}f(t)\,\mathrm{d}t-[\mathrm{E}(T)]^{2}=7.59558\ldots-2.46054^{2}\ (=1.54132\ldots)\)(M1)
SD \(=1.24\) minutesA1\(1.24149\ldots\)
(e)
\(\displaystyle\int_{4}^{6}f(t)\,\mathrm{d}t\)(M1)
\(0.126\)A1\(0.125621\ldots\)
(f)
\(Y\sim\mathrm{B}(10,\,0.125621)\)(M1)
\(\mathrm{P}(Y\ge3)=1-\mathrm{P}(Y\le2)\)(M1)
\(0.121\)A1\(0.120879\ldots\) FT from (e).

Answers: (a) 0.253 · (c) 2.34 min · (d) mean 2.46 min, SD 1.24 min · (e) 0.126 · (f) 0.121

99AAHL4-q01124.14 Variance, continuous random variables and linear transformations Paper 2Medium15 marks

The time, \(X\) hours, that a visitor spends in a museum is modelled by the probability density function

\(f(x)=\begin{cases}a\sin\left(\dfrac{\pi x}{4}\right), & 0\le x\le 2\\[4pt] \dfrac{a(5-x)}{3}, & 2\lt x\le 5\\[4pt] 0, & \text{otherwise}\end{cases}\)

where \(a\) is a positive constant. The graph of \(y=f(x)\) is shown.

xyO12345y = f(x)
(a)

Show that \(a=\dfrac{2\pi}{8+3\pi}\).

(3)
(b)

Write down the mode of \(X\), justifying your answer.

(2)
(c)

Find \(\mathrm{P}(X\le2)\).

(2)
(d)

Find the median time that a visitor spends in the museum.

(3)
(e)

Find \(\mathrm{E}(X)\) and \(\mathrm{Var}(X)\).

(5)
Show mark scheme
WorkingMarkNotes
(a)
\(a\displaystyle\int_{0}^{2}\sin\left(\dfrac{\pi x}{4}\right)\mathrm{d}x+a\int_{2}^{5}\dfrac{5-x}{3}\,\mathrm{d}x=1\)M1
\(\displaystyle\int_{0}^{2}\sin\left(\dfrac{\pi x}{4}\right)\mathrm{d}x=\left[-\dfrac{4}{\pi}\cos\dfrac{\pi x}{4}\right]_{0}^{2}=\dfrac{4}{\pi}\) and \(\displaystyle\int_{2}^{5}\dfrac{5-x}{3}\,\mathrm{d}x=\dfrac{3}{2}\)A1Second integral may be found as the area of a triangle.
\(a\left(\dfrac{4}{\pi}+\dfrac{3}{2}\right)=1\Rightarrow a=\dfrac{2\pi}{8+3\pi}\)A1
AG
(b)
mode \(=2\)A1
\(f\) is increasing on \(0\le x\le2\) (sine increasing for \(0\le\frac{\pi x}{4}\le\frac{\pi}{2}\)) and decreasing on \(2\lt x\le5\), so the maximum of \(f\) is at \(x=2\)R1
(c)
\(\dfrac{4a}{\pi}\) or \(\displaystyle\int_{0}^{2}f(x)\,\mathrm{d}x\)(M1)\(a=0.360589\ldots\)
\(0.459\)A1\(0.459116\ldots\) Accept \(\dfrac{8}{8+3\pi}\).
(d)
\(\mathrm{P}(X\le2)\lt0.5\), so the median \(m\) lies in \(2\lt m\le5\)R1
\(0.459116+\displaystyle\int_{2}^{m}\dfrac{a(5-x)}{3}\,\mathrm{d}x=0.5\)M1
\(m=2.12\) hoursA1\(2.11560\ldots\)
(e)
\(\mathrm{E}(X)=\displaystyle\int_{0}^{2}xa\sin\left(\dfrac{\pi x}{4}\right)\mathrm{d}x+\int_{2}^{5}\dfrac{ax(5-x)}{3}\,\mathrm{d}x\)(M1)Both parts of the domain must be used.
\(\mathrm{E}(X)=2.21\)A1\(2.20721\ldots\)
\(\mathrm{E}(X^{2})=\displaystyle\int x^{2}f(x)\,\mathrm{d}x=5.98807\ldots\)(M1)
\(\mathrm{Var}(X)=5.98807-2.20721^{2}\)(M1)
\(\mathrm{Var}(X)=1.12\)A1\(1.11626\ldots\)

Answers: (b) 2 · (c) 0.459 · (d) 2.12 hours · (e) \(\mathrm{E}(X)=2.21\), \(\mathrm{Var}(X)=1.12\)

100AAHL4-q00144.4 Correlation and regression of y on x Paper 2Hard10 marks

A school offers extra tutoring. Group P is a support group of students with low prior attainment; group Q are the other students. The table and scatter diagram show the hours of tutoring, \(x\), and the score in a test, \(y\), for 14 students.

Group P: \(x\)6789101112
Group P: \(y\)38444149525057
Group Q: \(x\)0123456
Group Q: \(y\)63706674727981
024681012304050607080group Pgroup QHours of tutoring, xTest score, y
(a)

Find the value of Pearson’s product-moment correlation coefficient, \(r\), for group P and for group Q separately.

(2)
(b)

Find the value of \(r\) for all 14 students together.

(2)
(c)

The head teacher looks only at the combined data and concludes that tutoring lowers test scores. Comment on this conclusion.

(2)
(d)

A student in group Q received 4.5 hours of tutoring. Find the equation of an appropriate regression line and use it to estimate this student’s score.

(3)
(e)

Explain why the regression line for all 14 students should not be used in part (d).

(1)
Show mark scheme
WorkingMarkNotes
(a)
group P: \(r=0.931\)A1\(0.93149\ldots\)
group Q: \(r=0.923\)A1\(0.92335\ldots\)
(b)
entering all 14 pairs(M1)
\(r=-0.521\)A1\(-0.52111\ldots\)
(c)
within each group there is strong positive correlation, so the data do not support the claimR1
the negative overall correlation is caused by group membership (prior attainment): weaker students received more tutoring; correlation does not imply causationR1
(d)
regression of \(y\) on \(x\) using group Q only(M1)
\(y=2.79x+63.8\)A1\(2.78571\ldots,\ 63.7857\ldots\)
\(76.3\)A1\(76.32\ldots\) Accept 76.
(e)
the combined data are two separate clusters with different relationships, so the combined line (gradient \(-2\)) does not model either groupR1

Answers: (a) 0.931, 0.923 · (b) −0.521 · (d) \(y=2.79x+63.8\), about 76

101AAHL4-q00374.8 Binomial distribution Paper 2Hard15 marks

A shop receives large batches of light bulbs. In a batch, a proportion \(p\) of bulbs is defective, and bulbs are defective independently of each other. The shop considers the following plans for deciding whether to accept a batch.

  • Plan A: test 20 bulbs; accept the batch if at most one of them is defective.
  • Plan B: test 30 bulbs; accept the batch if at most two of them are defective.
(a)

For Plan A with \(p=0.05\), find the probability that the batch is accepted.

(2)
(b)

Show that, under Plan A, the probability that a batch is accepted is \((1-p)^{19}(1+19p)\).

(2)
(c)

Find the value of \(p\) for which Plan A accepts a batch with probability 0.5.

(2)
(d)

For Plan B, find the probability that the batch is accepted when \(p=0.05\) and when \(p=0.15\).

(3)
(e)

The shop requires a plan that accepts a good batch (\(p=0.05\)) with probability at least 0.8 and accepts a poor batch (\(p=0.15\)) with probability at most 0.2. Determine which of Plans A and B meet both requirements.

(2)
(f)

Plan C is to test \(n\) bulbs and accept the batch only if none of them is defective. Show that no value of \(n\) allows Plan C to meet both requirements in part (e).

(3)
(g)

State one advantage of Plan A over Plan B.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(Y\sim\mathrm{B}(20,\,0.05)\), \(\mathrm{P}(Y\le1)\)(M1)
\(0.736\)A1\(0.735839\ldots\)
(b)
\(\mathrm{P}(Y=0)+\mathrm{P}(Y=1)=(1-p)^{20}+20p(1-p)^{19}\)M1
\((1-p)^{19}\left[(1-p)+20p\right]\)A1
\(=(1-p)^{19}(1+19p)\)AG
(c)
solving \((1-p)^{19}(1+19p)=0.5\) using a GDC(M1)
\(p=0.0825\)A1\(0.0825096\ldots\)
(d)
\(W\sim\mathrm{B}(30,\,p)\), \(\mathrm{P}(W\le2)\)(M1)
\(p=0.05\): \(0.812\)A1\(0.812178\ldots\)
\(p=0.15\): \(0.151\)A1\(0.151400\ldots\)
(e)
Plan A fails: \(0.736\lt 0.8\) (for \(p=0.15\) it accepts with probability \(0.176\))R1\(0.175557\ldots\)
Plan B meets both: \(0.812\ge0.8\) and \(0.151\le0.2\)A1FT from (a) and (d).
(f)
\(0.95^{n}\ge0.8\Rightarrow n\le\dfrac{\ln0.8}{\ln0.95}=4.35\), so \(n\le4\)M1
\(0.85^{n}\le0.2\Rightarrow n\ge\dfrac{\ln0.2}{\ln0.85}=9.90\), so \(n\ge10\)M1
no integer satisfies both \(n\le4\) and \(n\ge10\), so Plan C cannot meet both requirementsR1
(g)
Plan A tests only 20 bulbs rather than 30, so it is cheaper/quickerR1

Answers: (a) 0.736 · (c) \(p=0.0825\) · (d) 0.812 and 0.151 · (e) Plan B only · (f) \(n\le4\) and \(n\ge10\) incompatible

102AAHL4-q00424.9 The normal distribution Paper 2Hard6 marks

The random variable \(X\) is normally distributed with mean 40 and standard deviation 6. The constant \(k\gt 0\) is such that \(\mathrm{P}(40-k\lt X\lt 40+2k)=0.75\).

(a)

Find the value of \(k\).

(3)
(b)

Hence find \(\mathrm{P}(X\gt 40+2k\mid X\gt 40-k)\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
attempt to set up an equation in \(k\), e.g. \(\mathrm{P}(X\lt 40+2k)-\mathrm{P}(X\lt 40-k)=0.75\), or \(\Phi\!\left(\tfrac{2k}{6}\right)-\Phi\!\left(-\tfrac{k}{6}\right)=0.75\)M1Award M0 for treating the interval as symmetric about the mean.
use of GDC to solve, e.g. graph of \(y=\mathrm{normalcdf}(40-k,\,40+2k,\,40,\,6)\) intersecting \(y=0.75\)(M1)
\(k=5.00\)A1\(5.00148\ldots\) Accept \(k=5\).
(b)
\(\dfrac{\mathrm{P}(X\gt 40+2k)}{\mathrm{P}(X\gt 40-k)}\)M1Recognising that \(\{X\gt 40+2k\}\cap\{X\gt 40-k\}=\{X\gt 40+2k\}\).
\(\mathrm{P}(X\gt 50.0)=0.0477\) and \(\mathrm{P}(X\gt 35.0)=0.798\)A1Both values. FT their \(k\).
\(0.0598\)A1\(0.0598455\ldots\) Accept 0.0597–0.0599.

Answers: (a) \(k=5.00\) · (b) 0.0598

103AAHL4-q00444.9 The normal distribution Paper 2Hard14 marks

A machine fills bags of coffee. The mass, \(X\) grams, of coffee in a bag is normally distributed with mean \(\mu\) grams and standard deviation 4 grams. The value of \(\mu\) can be set by the operator.

The coffee costs the company €0.02 per gram. Every bag is checked: a bag with \(X\ge245\) is sold for €8, and a bag with \(X\lt245\) is rejected and cannot be sold. Let \(G\) be the profit, in euros, on a bag, so that \(G=8-0.02X\) if the bag is sold and \(G=-0.02X\) if it is rejected.

(a)

For \(\mu=250\), find the probability that a bag is rejected.

(2)
(b)

Show that \(\mathrm{E}(G)=8\,\mathrm{P}(X\ge245)-0.02\mu\).

(2)
(c)

Find \(\mathrm{E}(G)\) when \(\mu=250\).

(2)
(d)

Find the value of \(\mu\) that maximizes \(\mathrm{E}(G)\), and the maximum value of \(\mathrm{E}(G)\).

(3)
(e)

For the value of \(\mu\) found in part (d), find the probability that a bag is rejected, and hence the expected number of rejected bags in a run of 10 000 bags.

(2)
(f)

A regulation states that at most 1% of bags may contain less than 245 g. Find the least value of \(\mu\) that satisfies the regulation, and determine whether the value found in part (d) satisfies it.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(X\lt245)\) with \(X\sim\mathrm{N}(250,\,4^{2})\)(M1)
\(0.106\)A1\(0.105649\ldots\)
(b)
\(G=-0.02X+B\), where \(B=8\) if the bag is sold and \(0\) otherwise, so \(\mathrm{E}(B)=8\,\mathrm{P}(X\ge245)\)M1Or an equivalent argument splitting the expectation.
\(\mathrm{E}(-0.02X)=-0.02\,\mathrm{E}(X)=-0.02\mu\)R1Linear transformation of X.
\(\mathrm{E}(G)=8\,\mathrm{P}(X\ge245)-0.02\mu\)AG
(c)
\(8(0.894350)-0.02(250)\)(M1)
€\(2.15\)A1\(2.15480\ldots\)
(d)
graph of \(y=8\,\mathrm{P}(X\ge245)-0.02\mu\) against \(\mu\), or GDC maximum(M1)
\(\mu=255.9\) gA1\(255.860\ldots\) Accept 256.
maximum \(\mathrm{E}(G)=\)€\(2.86\)A1\(2.85628\ldots\)
(e)
\(\mathrm{P}(X\lt245)=0.00331\)A1\(0.00331150\ldots\)
about 33 bagsA1\(33.1\ldots\) Accept 33.1.
(f)
\(\dfrac{245-\mu}{4}=-2.32634\ldots\)M1
\(\mu=254.3\) gA1\(254.305\ldots\)
\(255.9\gt254.3\) (equivalently 0.33% \(\lt\) 1%), so the value from (d) satisfies the regulationR1FT from their values.

Answers: (a) 0.106 · (c) €2.15 · (d) \(\mu=255.9\) g, €2.86 · (e) 0.00331, about 33 bags · (f) 254.3 g; yes

104AAHL4-q00524.11 Conditional probability and independence Paper 2Hard10 marks

The masses, \(M\) kg, of watermelons from a farm are normally distributed with mean 6.2 kg and standard deviation 1.1 kg. A watermelon with a mass greater than 7 kg is sold as “premium”.

(a)

Find the probability that a randomly chosen watermelon is premium.

(2)
(b)

A premium watermelon is chosen at random. Find the probability that its mass is greater than 8 kg.

(3)
(c)

Find the mass \(m\) kg such that half of all premium watermelons have a mass greater than \(m\) kg.

(3)
(d)

Two premium watermelons are chosen at random. Find the probability that exactly one of them has a mass greater than 8 kg.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(M\gt 7)\)(M1)
\(0.234\)A1\(0.233529\ldots\)
(b)
\(\dfrac{\mathrm{P}(M\gt 8)}{\mathrm{P}(M\gt 7)}\)(M1)
\(\mathrm{P}(M\gt 8)=0.0508817\ldots\)(A1)
\(0.218\)A1\(0.217881\ldots\)
(c)
\(\dfrac{\mathrm{P}(M\gt m)}{\mathrm{P}(M\gt 7)}=0.5\)M1
\(\mathrm{P}(M\gt m)=0.116764\ldots\)A1
\(m=7.51\)A1\(7.51044\ldots\) Award A0 for 6.2 (median of all watermelons).
(d)
\(2(0.217881)(1-0.217881)\)(M1)FT their (b).
\(0.341\)A1\(0.340818\ldots\)

Answers: (a) 0.234 · (b) 0.218 · (c) \(m=7.51\) · (d) 0.341

105AAHL4-q00564.12 Standardization and unknown normal parameters Paper 2Hard9 marks

A random variable \(X\) is normally distributed with mean \(\mu\) and variance \(\mu\), where \(\mu\gt 0\). It is known that \(\mathrm{P}(X\gt 10)=0.05\).

(a)

Let \(s=\sqrt{\mu}\). Show that \(s^{2}+as-10=0\), where \(a=1.64\) correct to three significant figures.

(2)
(b)

Hence find the value of \(\mu\).

(3)
(c)

Find \(\mathrm{P}(X\lt 4)\).

(2)
(d)

\(X\) models a quantity that cannot be negative. Find \(\mathrm{P}(X\lt 0)\) and comment on whether this makes the model unreasonable.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\dfrac{10-\mu}{\sqrt{\mu}}=1.64485\ldots\)M1Standard deviation \(\sqrt{\mu}\) and the \(z\)-value for an upper tail of 0.05.
\(10-s^{2}=1.64485s\)A1
\(s^{2}+1.64s-10=0\)AG
(b)
solving \(s^{2}+1.64485s-10=0\), e.g. quadratic formula or GDCM1
\(s=2.44504\ldots\), rejecting \(s=-4.08990\ldots\) because \(s=\sqrt{\mu}\gt 0\)R1
\(\mu=5.98\)A1\(5.97826\ldots\) Accept 5.97–5.99.
(c)
\(X\sim\mathrm{N}(5.97826,\ 5.97826)\), i.e. \(\sigma=2.44504\)(M1)Award M0 for using 5.97826 as the standard deviation.
\(0.209\)A1\(0.209232\ldots\)
(d)
\(\mathrm{P}(X\lt 0)=0.00724\)A1\(0.00724166\ldots\)
this probability is very small (less than 1%), so the model is not made unreasonableR1FT their value; the comment must refer to the size of the probability.

Answers: (b) \(\mu=5.98\) · (c) 0.209 · (d) 0.00724; model reasonable

106AAHL4-q00584.12 Standardization and unknown normal parameters Paper 2Hard15 marks

On a beach, 70% of the crabs are of species \(A\) and 30% are of species \(B\). The carapace width, \(W\) mm, of a crab is normally distributed within each species.

  • For species \(A\), 10% of crabs have \(W\gt60\) and 25% have \(W\lt50\).
  • For species \(B\), the mean width is 64 mm and 15% of crabs have \(W\lt56\).
(a)

Find the mean and the standard deviation of the widths of species \(A\).

(5)
(b)

Find the standard deviation of the widths of species \(B\).

(2)
(c)

A crab is chosen at random from the beach. Find the probability that its width is greater than 60 mm.

(3)
(d)

A crab chosen at random has a width greater than 60 mm. Find the probability that it is of species \(B\).

(2)
(e)

A biologist decides to classify every crab with \(W\gt c\) as species \(B\). Find the value of \(c\) for which the probability that a crab with \(W\gt c\) is actually of species \(A\) is 0.1.

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(z=1.28155\ldots\) for the upper 10%(A1)
\(z=-0.674489\ldots\) for the lower 25%(A1)
\(\mu+1.28155\sigma=60\) and \(\mu-0.674489\sigma=50\)M1Attempt to form and solve two equations.
\(\sigma_{A}=5.11\) mmA1\(5.11236\ldots\)
\(\mu_{A}=53.4\) mmA1\(53.4482\ldots\)
(b)
\(\dfrac{56-64}{\sigma}=-1.03643\ldots\)(M1)
\(\sigma_{B}=7.72\) mmA1\(7.71877\ldots\)
(c)
\(\mathrm{P}(W\gt60\mid A)=0.1\)(A1)
\(\mathrm{P}(W\gt60\mid B)=0.697846\ldots\)(A1)
\(0.7(0.1)+0.3(0.697846)=0.279\)A1\(0.279353\ldots\) FT from (b).
(d)
\(\dfrac{0.3\times0.697846}{0.279353}\)(M1)
\(0.749\)A1\(0.749421\ldots\)
(e)
\(\dfrac{0.7\,\mathrm{P}(W\gt c\mid A)}{0.7\,\mathrm{P}(W\gt c\mid A)+0.3\,\mathrm{P}(W\gt c\mid B)}=0.1\)M1
solving with GDC (graph or table of the expression against \(c\))(M1)
\(c=63.5\) mmA1\(63.4552\ldots\) Accept 63.4–63.5 from rounded parameters.

Answers: (a) \(\mu_{A}=53.4\) mm, \(\sigma_{A}=5.11\) mm · (b) 7.72 mm · (c) 0.279 · (d) 0.749 · (e) \(c=63.5\)

107AAHL4-q00744.13 Bayes’ theorem Paper 2Hard15 marks

Bags of flour labelled 1 kg are filled by three machines, A, B and C, which fill 50%, 30% and 20% of the bags respectively. A bag is underweight if its mass is less than 1000 g.

The masses, in grams, of bags filled by machine A are normally distributed with mean 1010 and standard deviation 6, and those filled by machine C are normally distributed with mean 1012 and standard deviation 5.

(a)

Find the probability that a bag filled by machine A is underweight.

(2)
(b)

The masses of bags filled by machine B are normally distributed with mean 1008 g and standard deviation \(\sigma_{B}\) g, and 2.5% of these bags are underweight. Find \(\sigma_{B}\).

(3)
(c)

Show that the probability that a randomly chosen bag is underweight is 0.0330, correct to three significant figures.

(2)
(d)

A randomly chosen bag is underweight. Find the probability that it was filled by machine A.

(2)
(e)

Machine A is recalibrated: its standard deviation stays at 6 g, but its mean is changed to \(\mu_{A}\) g, so that only 30% of underweight bags come from machine A. Machines B and C are unchanged. Find \(\mu_{A}\), giving your answer correct to one decimal place.

(4)
(f)

After the recalibration, bags from all three machines are mixed and packed in boxes of 20. Find the probability that a box contains at least one underweight bag.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(M\lt 1000)\) with \(M\sim\mathrm{N}(1010,\,6^{2})\)(M1)
\(0.0478\)A1\(0.0477903\ldots\)
(b)
\(\dfrac{1000-1008}{\sigma_{B}}=z\) where \(\mathrm{P}(Z\lt z)=0.025\)M1
\(z=-1.95996\ldots\)(A1)
\(\sigma_{B}=4.08\)A1\(4.08170\ldots\)
(c)
\(0.5(0.0477903)+0.3(0.025)+0.2(0.00819753)\)M1Must see the value \(0.00819753\ldots\) for machine C.
\(0.0330346\ldots\)A1
\(0.0330\)AG
(d)
\(\dfrac{0.5(0.0477903)}{0.0330346}\)(M1)
\(0.723\)A1\(0.723336\ldots\)
(e)
\(\dfrac{0.5p}{0.5p+0.3(0.025)+0.2(0.00819753)}=0.3\), where \(p\) is the new probability that a bag from A is underweightM1Bayes’ theorem with the new unknown probability.
\(p=0.00783386\ldots\)A1From \(0.35p=0.3(0.00913951)\).
\(\dfrac{1000-\mu_{A}}{6}=-2.41657\ldots\)M1Standardizing with the \(z\)-value for a lower tail of \(p\).
\(\mu_{A}=1014.5\)A1\(1014.4994\ldots\) Accept 1014.4–1014.6.
(f)
\(\mathrm{P}(\text{underweight})=0.5(0.00783386)+0.0091395=0.0130564\), then \(1-(1-0.0130564)^{20}\)(M1)Binomial \(\mathrm{B}(20,\,0.0130564)\). FT their \(p\).
\(0.231\)A1\(0.231141\ldots\)

Answers: (a) 0.0478 · (b) \(\sigma_B=4.08\) · (d) 0.723 · (e) \(\mu_A=1014.5\) · (f) 0.231

108AAHL4-q00754.13 Bayes’ theorem Paper 2Hard13 marks

The level, \(X\) units, of a biomarker in the blood is normally distributed with mean 40 and standard deviation 6 for healthy people, and normally distributed with mean 58 and standard deviation 8 for people who have a particular disease. In a population, 2% of people have the disease. A test is declared positive if \(X\gt c\), where \(c\) is a cut-off value chosen by the laboratory.

(a)

For \(c=50\), find the probability of a positive test for a person with the disease and for a healthy person.

(3)
(b)

For \(c=50\), a randomly chosen person tests positive. Find the probability that this person has the disease.

(3)
(c)

For \(c=50\), a randomly chosen person tests negative. Find the probability that this person has the disease.

(2)
(d)

The laboratory wants 95% of people with the disease to test positive. Find the value of \(c\).

(2)
(e)

For this value of \(c\), find the probability that a person who tests positive has the disease, and comment on your answer in comparison with part (b).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{P}(X\gt 50)\) for \(\mathrm{N}(58,\,8^{2})\) and for \(\mathrm{N}(40,\,6^{2})\)(M1)
disease: \(0.841\)A1\(0.841344\ldots\)
healthy: \(0.0478\)A1\(0.0477903\ldots\)
(b)
\(\dfrac{0.02(0.841344)}{0.02(0.841344)+0.98(0.0477903)}\)M1Bayes’ theorem; FT (a).
\(\dfrac{0.0168269}{0.0636614}\)(A1)
\(0.264\)A1\(0.264318\ldots\)
(c)
\(\dfrac{0.02(1-0.841344)}{0.02(1-0.841344)+0.98(1-0.0477903)}\)(M1)
\(0.00339\)A1\(0.00338884\ldots\)
(d)
\(\mathrm{P}(X\gt c)=0.95\) for \(\mathrm{N}(58,\,8^{2})\), i.e. invNorm(0.05, 58, 8)(M1)
\(c=44.8\)A1\(44.8412\ldots\)
(e)
\(\mathrm{P}(X\gt 44.8412)\) for healthy people \(=0.209873\)(A1)
\(\dfrac{0.02(0.95)}{0.02(0.95)+0.98(0.209873)}=0.0846\)A1\(0.0845664\ldots\) Accept 0.0838–0.0847 (0.0838 from \(c=44.8\)).
lowering the cut-off detects more people with the disease, but many more healthy people now test positive, so a positive result is much less reliable (8.5% compared with 26%)R1

Answers: (a) 0.841 and 0.0478 · (b) 0.264 · (c) 0.00339 · (d) \(c=44.8\) · (e) 0.0846

109AAHL4-q01034.14 Variance, continuous random variables and linear transformations Paper 2Hard8 marks

A dart lands at a random point on a circular target of radius 5 cm. The target is divided by circles of radius 1 cm and 3 cm, with the same centre, into three regions scoring 10, 5 and 1 points, as shown. The distance, \(X\) cm, of the dart from the centre has probability density function \(f(x)=\dfrac{2x}{25}\) for \(0\le x\le5\), and \(f(x)=0\) otherwise.

1051135radii in cm:1, 3 and 5scores shownin each region
Diagram not to scale
(a)

Show that \(\mathrm{P}(X\le a)=\dfrac{a^{2}}{25}\) for \(0\le a\le5\), and explain why this is consistent with the dart being equally likely to land anywhere on the target.

(2)
(b)

Let \(S\) be the score from one dart. Find the probability distribution of \(S\).

(2)
(c)

Find the entry fee per dart that would make the game fair, if a player receives €1 for each point scored.

(2)
(d)

Find \(\mathrm{Var}(S)\).

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{0}^{a}\frac{2x}{25}\,\mathrm{d}x=\frac{a^{2}}{25}\)A1
\(\dfrac{a^{2}}{25}=\dfrac{\pi a^{2}}{\pi\cdot5^{2}}\), the fraction of the target’s area within distance \(a\) of the centreR1
(b)
\(\mathrm{P}(S=10)=\tfrac1{25}\), \(\mathrm{P}(S=5)=\tfrac{9}{25}-\tfrac1{25}\)(M1)
\(\mathrm{P}(S=10)=\tfrac{1}{25},\ \mathrm{P}(S=5)=\tfrac{8}{25},\ \mathrm{P}(S=1)=\tfrac{16}{25}\)A1
(c)
\(\mathrm{E}(S)=\dfrac{10+40+16}{25}\)(M1)
\(\mathrm{E}(S)=2.64\), so the fee is €2.64A1
(d)
\(\mathrm{E}(S^{2})=\dfrac{100+200+16}{25}=12.64\)(M1)
\(\mathrm{Var}(S)=12.64-2.64^{2}=5.6704\)A1Accept 5.67.

Answers: (b) \(\tfrac1{25},\tfrac8{25},\tfrac{16}{25}\) for 10, 5, 1 · (c) €2.64 · (d) 5.67

110AAHL4-q01094.14 Variance, continuous random variables and linear transformations Paper 2Hard15 marks

Each morning a florist buys \(n\) bouquets from a supplier at €8 each and sells them at €20 each. Bouquets not sold by the end of the day are thrown away. The daily demand, \(D\), for bouquets has the probability distribution shown, and is independent of the number of bouquets bought.

\(d\)\(2\)\(3\)\(4\)\(5\)
\(\mathrm{P}(D=d)\)\(0.1\)\(0.3\)\(0.4\)\(0.2\)

The number of bouquets sold on a day is the smaller of \(D\) and \(n\). Let \(G\) be the florist’s daily profit, in euros, from bouquets.

(a)

Find \(\mathrm{E}(D)\) and \(\mathrm{Var}(D)\).

(3)
(b)(i)

For \(n=5\), explain why \(G=20D-40\).

(1)
(b)(ii)

Hence, for \(n=5\), find \(\mathrm{E}(G)\) and the standard deviation of \(G\).

(3)
(c)(i)

For \(n=4\), write down the possible values of \(G\) and find \(\mathrm{E}(G)\).

(3)
(c)(ii)

It is given that \(\mathrm{E}(G)=24\) when \(n=2\) and \(\mathrm{E}(G)=34\) when \(n=3\). State, with a reason, the number of bouquets the florist should buy each morning to maximize the expected profit.

(1)
(d)

For \(n=4\), find the standard deviation of \(G\).

(2)
(e)

The supplier raises the price to €10 per bouquet. For \(n=4\), find the new expected daily profit and the new standard deviation of the daily profit, justifying your answer.

(2)
Show mark scheme
WorkingMarkNotes
(a)
\(\mathrm{E}(D)=0.2+0.9+1.6+1=3.7\)A1
\(\mathrm{E}(D^{2})=0.4+2.7+6.4+5=14.5\)(M1)
\(\mathrm{Var}(D)=14.5-3.7^{2}=0.81\)A1
(b)(i)
\(D\le5\) always, so all \(D\) bouquets demanded are sold: income \(20D\), cost \(5\times8=40\)R1
(b)(ii)
\(\mathrm{E}(G)=20(3.7)-40=34\) (euros)A1FT their (a).
\(\mathrm{Var}(G)=20^{2}\times0.81=324\)(M1)Award M0 for \(20\times0.81\) or \(20^{2}\times0.81-40\).
standard deviation \(=18\) (euros)A1
(c)(i)
\(G=8,\ 28,\ 48\) (for \(D=2,\ 3,\ D\ge4\))A1Income \(20\min(D,4)\) minus cost \(32\).
\(\mathrm{E}(G)=8(0.1)+28(0.3)+48(0.6)\)(M1)\(\mathrm{P}(G=48)=\mathrm{P}(D\ge4)=0.6\).
\(\mathrm{E}(G)=38\) (euros)A1
(c)(ii)
\(n=4\), since \(38\gt34\) (for \(n=3\) and \(n=5\)) \(\gt24\)R1Must compare all four expected values; \(n\gt5\) cannot help as at most 5 are sold.
(d)
\(\mathrm{E}(G^{2})=64(0.1)+784(0.3)+2304(0.6)=1624\), \(\mathrm{Var}(G)=1624-38^{2}=180\)(M1)
standard deviation \(=13.4\) (euros)A1\(13.4164\ldots=6\sqrt5\)
(e)
the new profit is \(G-8\), so \(\mathrm{E}(G-8)=30\) (euros)A1Each of the 4 bouquets costs €2 more.
standard deviation unchanged, \(13.4\) (euros), since \(\mathrm{Var}(G-8)=\mathrm{Var}(G)\)A1FT their (d).

Answers: (a) \(3.7,\ 0.81\) · (b)(ii) €34, €18 · (c)(i) 8, 28, 48; €38 (ii) \(n=4\) · (d) €13.4 · (e) €30, €13.4

111AAHL4-q01104.14 Variance, continuous random variables and linear transformations Paper 2Hard14 marks

A shop is open from 07:00 to 19:00. The time, \(T\) hours after 07:00, at which a randomly chosen customer enters the shop is modelled by the probability density function

\[f(t)=\begin{cases}\dfrac{1}{12}\left(1-\cos\dfrac{\pi t}{6}\right),&0\le t\le12\\[2pt] 0,&\text{otherwise.}\end{cases}\]

The graph of \(y=f(t)\) is shown.

ty369121/6Oy = f(t)
(a)

Show that \(\displaystyle\int_{0}^{12}f(t)\,\mathrm{d}t=1\).

(2)
(b)(i)

Write down the mode of \(T\).

(1)
(b)(ii)

Explain why \(\mathrm{E}(T)=6\).

(1)
(c)

Find \(\mathrm{Var}(T)\).

(2)
(d)

Find the probability that \(T\) lies within one standard deviation of its mean.

(2)
(e)

Find the probability that a customer who enters after 13:00 enters after 16:00.

(3)
(f)

Each customer receives loyalty points \(L=40-3T\). Find the mean and the standard deviation of \(L\).

(3)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\frac{1}{12}\left[t-\frac{6}{\pi}\sin\frac{\pi t}{6}\right]_{0}^{12}\)M1Or GDC: integral = 1 with the integral seen.
\(\dfrac{1}{12}\big[(12-0)-(0-0)\big]\)A1Since \(\sin2\pi=\sin0=0\).
\(=1\)AG
(b)(i)
mode \(=6\) (13:00)A1
(b)(ii)
the graph of \(f\) is symmetrical about \(t=6\)R1Accept \(f(6-t)=f(6+t)\).
(c)
\(\displaystyle\int_{0}^{12}t^{2}f(t)\,\mathrm{d}t-6^{2}=40.70\ldots-36\)(M1)
\(\mathrm{Var}(T)=4.70\)A1\(4.70487\ldots\) (exact value \(12-\tfrac{72}{\pi^{2}}\), not required).
(d)
\(\sigma=2.169\ldots\); \(\displaystyle\int_{6-2.169}^{6+2.169}f(t)\,\mathrm{d}t\)(M1)
\(0.650\)A1\(0.650168\ldots\)
(e)
\(\mathrm{P}(T\gt9\mid T\gt6)=\dfrac{\mathrm{P}(T\gt9)}{\mathrm{P}(T\gt6)}\)(M1)
\(\mathrm{P}(T\gt9)=0.0908\ldots\) and \(\mathrm{P}(T\gt6)=0.5\)A1
\(0.182\)A1\(0.181690\ldots\)
(f)
\(\mathrm{E}(L)=40-3(6)=22\)A1
\(\sigma_{L}=|-3|\,\sigma_{T}\) or \(\mathrm{Var}(L)=9\,\mathrm{Var}(T)\)(M1)
\(\sigma_{L}=6.51\)A1\(6.50721\ldots\) Award A0 for \(-6.51\).

Answers: (b) 6 · (c) 4.70 · (d) 0.650 · (e) 0.182 · (f) 22, 6.51

112AAHL4-q01144.14 Variance, continuous random variables and linear transformations Paper 2Hard15 marks

A continuous random variable \(X\) has probability density function

\(f(x)=\begin{cases}\dfrac{k}{x^{2}}, & 1\le x\le a\\[4pt] 0, & \text{otherwise}\end{cases}\)

where \(a\gt1\) and \(k\) is a positive constant.

(a)

Show that \(k=\dfrac{a}{a-1}\).

(2)
(b)

Show that the median of \(X\) is \(\dfrac{2a}{a+1}\).

(3)
(c)

Show that \(\mathrm{E}(X)=\dfrac{a\ln a}{a-1}\).

(2)
(d)

Find the value of \(a\) for which \(\mathrm{E}(X)=2\).

(2)
(e)

For this value of \(a\), find \(\mathrm{Var}(X)\).

(2)
(f)

Prove that, for all \(a\gt1\), the mean of \(X\) is greater than the median of \(X\).

(4)
Show mark scheme
WorkingMarkNotes
(a)
\(\displaystyle\int_{1}^{a}\dfrac{k}{x^{2}}\,\mathrm{d}x=k\left[-\dfrac{1}{x}\right]_{1}^{a}=1\)M1
\(k\left(1-\dfrac{1}{a}\right)=k\,\dfrac{a-1}{a}=1\)A1
\(k=\dfrac{a}{a-1}\)AG
(b)
\(k\left(1-\dfrac{1}{m}\right)=\dfrac{1}{2}\)M1
\(1-\dfrac{1}{m}=\dfrac{a-1}{2a}\)A1
\(\dfrac{1}{m}=\dfrac{a+1}{2a}\)A1
\(m=\dfrac{2a}{a+1}\)AG
(c)
\(\mathrm{E}(X)=\displaystyle\int_{1}^{a}\dfrac{k}{x}\,\mathrm{d}x\)M1
\(=k\ln a\)A1
\(=\dfrac{a\ln a}{a-1}\)AG
(d)
solving \(\dfrac{a\ln a}{a-1}=2\) with GDC(M1)
\(a=4.92\)A1\(4.92155\ldots\)
(e)
\(\mathrm{E}(X^{2})=\displaystyle\int_{1}^{a}k\,\mathrm{d}x=k(a-1)=a\)M1
\(\mathrm{Var}(X)=a-4=0.922\)A1\(0.921553\ldots\) FT from (d).
(f)
\(\dfrac{a\ln a}{a-1}\gt\dfrac{2a}{a+1}\iff\ln a\gt\dfrac{2(a-1)}{a+1}\) (multiplying by \(\frac{a-1}{a}\gt0\))M1
let \(h(a)=\ln a-\dfrac{2(a-1)}{a+1}\), with \(h(1)=0\)M1
\(h'(a)=\dfrac{1}{a}-\dfrac{4}{(a+1)^{2}}=\dfrac{(a-1)^{2}}{a(a+1)^{2}}\)A1
\(h'(a)\gt0\) for \(a\gt1\), so \(h\) is increasing and \(h(a)\gt h(1)=0\); hence mean \(\gt\) medianR1
AG

Answers: (d) \(a=4.92\) · (e) 0.922

113AAHL4-q00324.7 Discrete random variables Paper 3Hard28 marks

This question investigates the largest score obtained when a fair \(n\)-sided die, with faces numbered \(1,2,\ldots,n\), is rolled several times. The rolls are independent. Let \(M_{r}\) be the largest score obtained when the die is rolled \(r\) times, where \(n,r\in\mathbb{Z}^{+}\) and \(n\ge2\).

(a)(i)

Consider \(n=4\) and \(r=2\).

Show that \(\mathrm{P}(M_{2}=k)=\dfrac{2k-1}{16}\) for \(k=1,2,3,4\).

(2)
(a)(ii)

Find \(\mathrm{E}(M_{2})\).

(2)
(b)(i)

Consider a general value of \(n\), with \(r=2\).

Show that \(\mathrm{P}(M_{2}=k)=\dfrac{2k-1}{n^{2}}\) for \(k=1,2,\ldots,n\).

(2)
(b)(ii)

Given that \(\displaystyle\sum_{k=1}^{n}k^{2}=\dfrac{n(n+1)(2n+1)}{6}\), show that \(\mathrm{E}(M_{2})=\dfrac{(n+1)(4n-1)}{6n}\).

(4)
(b)(iii)

Find \(\displaystyle\lim_{n\to\infty}\dfrac{\mathrm{E}(M_{2})}{n}\).

(2)
(c)(i)

Consider general values of \(n\) and \(r\).

Write down an expression for \(\mathrm{P}(M_{r}\le k)\), for \(k=0,1,\ldots,n\).

(1)
(c)(ii)

Show that \(\mathrm{E}(M_{r})=\displaystyle\sum_{k=0}^{n-1}\mathrm{P}(M_{r}\gt k)\).

(3)
(c)(iii)

Hence show that \(\mathrm{E}(M_{r})=n-\dfrac{1}{n^{r}}\displaystyle\sum_{k=1}^{n-1}k^{r}\).

(2)
(d)

For \(r=3\), use the result in part (c)(iii) to find the value of \(\dfrac{\mathrm{E}(M_{3})}{n}\) when \(n=10\) and when \(n=1000\).

(2)
(e)

Using your answers to parts (b)(iii) and (d), suggest an expression, in terms of \(r\), for \(\displaystyle\lim_{n\to\infty}\dfrac{\mathrm{E}(M_{r})}{n}\).

(1)
(f)

By considering rectangles of width 1 under and over the graph of \(y=x^{r}\), for \(x\ge0\), explain why \(\displaystyle\int_{0}^{n-1}x^{r}\,\mathrm{d}x\lt\sum_{k=1}^{n-1}k^{r}\lt\int_{1}^{n}x^{r}\,\mathrm{d}x\).

(3)
(g)

Hence prove your suggestion in part (e).

(4)
Show mark scheme
WorkingMarkNotes
(a)(i)
\(\mathrm{P}(M_{2}\le k)=\left(\dfrac{k}{4}\right)^{2}\), so \(\mathrm{P}(M_{2}=k)=\dfrac{k^{2}-(k-1)^{2}}{16}\)M1Or counting the 2k − 1 ordered pairs with largest value k in a 4 × 4 sample space.
\(=\dfrac{2k-1}{16}\)A1
AG
(a)(ii)
\(\dfrac{1(1)+2(3)+3(5)+4(7)}{16}=\dfrac{50}{16}\)M1
\(\dfrac{25}{8}\)A1\(3.125\)
(b)(i)
\(\mathrm{P}(M_{2}\le k)=\dfrac{k^{2}}{n^{2}}\) (both rolls at most \(k\), independently)M1
\(\mathrm{P}(M_{2}=k)=\dfrac{k^{2}-(k-1)^{2}}{n^{2}}=\dfrac{2k-1}{n^{2}}\)A1
AG
(b)(ii)
\(\mathrm{E}(M_{2})=\dfrac{1}{n^{2}}\displaystyle\sum_{k=1}^{n}k(2k-1)=\dfrac{1}{n^{2}}\left(2\sum k^{2}-\sum k\right)\)M1
\(=\dfrac{1}{n^{2}}\left(\dfrac{n(n+1)(2n+1)}{3}-\dfrac{n(n+1)}{2}\right)\)A1
\(=\dfrac{n+1}{n}\left(\dfrac{2n+1}{3}-\dfrac{1}{2}\right)\)M1Taking out the common factor.
\(=\dfrac{n+1}{n}\times\dfrac{4n-1}{6}\)A1
\(=\dfrac{(n+1)(4n-1)}{6n}\)AG
(b)(iii)
\(\dfrac{(n+1)(4n-1)}{6n^{2}}=\dfrac{4+\frac{3}{n}-\frac{1}{n^{2}}}{6}\)M1
\(\dfrac{2}{3}\)A1
(c)(i)
\(\left(\dfrac{k}{n}\right)^{r}\)A1
(c)(ii)
\(\mathrm{E}(M_{r})=\displaystyle\sum_{j=1}^{n}j\,\mathrm{P}(M_{r}=j)=\sum_{j=1}^{n}\sum_{k=0}^{j-1}\mathrm{P}(M_{r}=j)\)M1Writing \(j\) as a sum of \(j\) ones; or writing out \(\mathrm{P}(M=1)+\mathrm{P}(M=2)+\mathrm{P}(M=2)+\cdots\) in rows.
reversing the order of summation: \(\displaystyle\sum_{k=0}^{n-1}\sum_{j=k+1}^{n}\mathrm{P}(M_{r}=j)\)M1
\(\displaystyle\sum_{j=k+1}^{n}\mathrm{P}(M_{r}=j)=\mathrm{P}(M_{r}\gt k)\)A1
AG
(c)(iii)
\(\mathrm{P}(M_{r}\gt k)=1-\left(\dfrac{k}{n}\right)^{r}\)M1
\(\displaystyle\sum_{k=0}^{n-1}\left(1-\dfrac{k^{r}}{n^{r}}\right)=n-\dfrac{1}{n^{r}}\sum_{k=1}^{n-1}k^{r}\)A1The k = 0 term contributes 0 to the second sum.
AG
(d)
\(n=10\): \(0.7975\)A1\(\mathrm{E}(M_{3})=\tfrac{319}{40}=7.975\). Accept 0.798.
\(n=1000\): \(0.750\)A1\(0.7504997\ldots\) Accept 0.7505.
(e)
\(\dfrac{r}{r+1}\)A1
(f)
\(\displaystyle\sum_{k=1}^{n-1}k^{r}\) is the total area of \(n-1\) rectangles of width 1 and heights \(1^{r},2^{r},\ldots,(n-1)^{r}\)R1
placing the rectangle of height \(k^{r}\) on \([k,\,k+1]\): it lies under the curve because \(x^{r}\) is increasing, so the sum is less than \(\displaystyle\int_{1}^{n}x^{r}\,\mathrm{d}x\)R1
placing it on \([k-1,\,k]\): the curve lies under the rectangle, so the sum is greater than \(\displaystyle\int_{0}^{n-1}x^{r}\,\mathrm{d}x\)R1
(g)
\(\dfrac{(n-1)^{r+1}}{r+1}\lt\displaystyle\sum_{k=1}^{n-1}k^{r}\lt\dfrac{n^{r+1}-1}{r+1}\)M1
\(\dfrac{\mathrm{E}(M_{r})}{n}=1-\dfrac{1}{n^{r+1}}\displaystyle\sum_{k=1}^{n-1}k^{r}\)M1
\(\dfrac{1}{r+1}\left(1-\dfrac{1}{n}\right)^{r+1}\lt\dfrac{1}{n^{r+1}}\displaystyle\sum_{k=1}^{n-1}k^{r}\lt\dfrac{1}{r+1}\left(1-\dfrac{1}{n^{r+1}}\right)\)A1
both bounds tend to \(\dfrac{1}{r+1}\) as \(n\to\infty\), so \(\dfrac{\mathrm{E}(M_{r})}{n}\to1-\dfrac{1}{r+1}=\dfrac{r}{r+1}\)R1

Answers: (a)(ii) \(\tfrac{25}{8}\) · (b)(iii) \(\tfrac{2}{3}\) · (c)(i) \((k/n)^{r}\) · (d) 0.7975, 0.750 · (e) \(\tfrac{r}{r+1}\)

114AAHL4-q00774.13 Bayes’ theorem Paper 3Hard29 marks

This question investigates how the probability of the next toss being a head changes as more heads are observed.

A box contains three coins. Coin \(A\) is fair; coin \(B\) has a head on both sides; coin \(C\) is biased so that the probability of a head is \(\tfrac{1}{4}\). One coin is chosen at random from the box and is then tossed repeatedly. For the chosen coin, the tosses are independent.

(a)(i)

The chosen coin is tossed once.

Find the probability that it shows a head.

(2)
(a)(ii)

Given that it shows a head, find the probability that the coin is \(B\).

(2)
(b)

The chosen coin is tossed twice and shows two heads. Find the probability that the coin is \(B\).

(3)
(c)

Show that, given that the first \(n\) tosses are all heads, the probability that the coin is \(B\) is \(\dfrac{4^{n}}{4^{n}+2^{n}+1}\).

(3)
(d)

Find the least value of \(n\) for which this probability exceeds 0.999.

(3)
(e)(i)

Let \(q_{n}\) be the probability that toss \(n+1\) is a head, given that the first \(n\) tosses are all heads, for \(n\ge1\).

Show that \(q_{n}=\dfrac{4^{n+1}+2^{n+1}+1}{4\left(4^{n}+2^{n}+1\right)}\).

(3)
(e)(ii)

Find \(q_{1}\) and \(q_{2}\).

(2)
(e)(iii)

Write down \(\displaystyle\lim_{n\to\infty}q_{n}\).

(1)
(f)

By writing \(t=2^{n}\) and considering \(1-q_{n}\), prove that \(q_{n}\) increases as \(n\) increases.

(4)
(g)(i)

The investigation is generalized. A box contains two coins only, with probabilities of a head \(p\) and \(s\), where \(0\lt p\lt s\le1\). One coin is chosen at random and tossed repeatedly. Let \(q_{n}\) now be the probability that toss \(n+1\) is a head, given that the first \(n\) tosses are all heads, with \(q_{0}\) the probability that the first toss is a head.

Show that \(q_{n}=\dfrac{p^{n+1}+s^{n+1}}{p^{n}+s^{n}}\).

(2)
(g)(ii)

Prove that \(q_{n}\gt q_{n-1}\) for all \(n\in\mathbb{Z}^{+}\).

(4)
Show mark scheme
WorkingMarkNotes
(a)(i)
\(\dfrac{1}{3}\left(\dfrac{1}{2}+1+\dfrac{1}{4}\right)\)M1
\(\dfrac{7}{12}\)A1
(a)(ii)
\(\dfrac{\frac{1}{3}\times1}{\frac{7}{12}}\)M1
\(\dfrac{4}{7}\)A1
(b)
\(\mathrm{P}(HH)=\dfrac{1}{3}\left(\dfrac{1}{4}+1+\dfrac{1}{16}\right)=\dfrac{7}{16}\)M1
\(\mathrm{P}(B\mid HH)=\dfrac{1/3}{7/16}\)M1
\(\dfrac{16}{21}\)A1
(c)
\(\mathrm{P}(n\text{ heads})=\dfrac{1}{3}\left(\left(\dfrac{1}{2}\right)^{n}+1+\left(\dfrac{1}{4}\right)^{n}\right)\)M1
\(\mathrm{P}(B\mid n\text{ heads})=\dfrac{1}{1+2^{-n}+4^{-n}}\)M1Bayes’ theorem with the three coins.
multiplying numerator and denominator by \(4^{n}\): \(\dfrac{4^{n}}{4^{n}+2^{n}+1}\)A1
AG
(d)
\(\dfrac{4^{n}}{4^{n}+2^{n}+1}\gt0.999\)M1
\(n=9\): \(0.99805\); \(n=10\): \(0.99902\)(A1)
\(n=10\)A1
(e)(i)
\(q_{n}=\dfrac{\mathrm{P}(n+1\text{ heads})}{\mathrm{P}(n\text{ heads})}\)M1
\(=\dfrac{2^{-(n+1)}+1+4^{-(n+1)}}{2^{-n}+1+4^{-n}}\)A1
multiplying numerator and denominator by \(4^{n+1}\): \(\dfrac{2^{n+1}+4^{n+1}+1}{4\cdot2^{n}+4\cdot4^{n}+4}\)A1
AG
(e)(ii)
\(q_{1}=\dfrac{16+4+1}{4(4+2+1)}=\dfrac{3}{4}\)A1
\(q_{2}=\dfrac{64+8+1}{4(16+4+1)}=\dfrac{73}{84}\)A1
(e)(iii)
\(1\)A1
(f)
\(1-q_{n}=\dfrac{4(t^{2}+t+1)-(4t^{2}+2t+1)}{4(t^{2}+t+1)}=\dfrac{2t+3}{4(t^{2}+t+1)}\)M1
let \(g(t)=\dfrac{2t+3}{t^{2}+t+1}\); quotient ruleM1
\(g'(t)=\dfrac{2(t^{2}+t+1)-(2t+3)(2t+1)}{(t^{2}+t+1)^{2}}=\dfrac{-(2t^{2}+6t+1)}{(t^{2}+t+1)^{2}}\)A1
\(g'(t)\lt0\) for \(t\gt0\), and \(t=2^{n}\) increases with \(n\), so \(1-q_{n}\) decreases and \(q_{n}\) increasesR1
AG
(g)(i)
\(\mathrm{P}(n\text{ heads})=\dfrac{1}{2}\left(p^{n}+s^{n}\right)\)M1
\(q_{n}=\dfrac{\frac{1}{2}(p^{n+1}+s^{n+1})}{\frac{1}{2}(p^{n}+s^{n})}\)A1
AG
(g)(ii)
\(q_{n}-q_{n-1}=\dfrac{(p^{n+1}+s^{n+1})(p^{n-1}+s^{n-1})-(p^{n}+s^{n})^{2}}{(p^{n}+s^{n})(p^{n-1}+s^{n-1})}\)M1
numerator \(=p^{n+1}s^{n-1}+p^{n-1}s^{n+1}-2p^{n}s^{n}\)A1
\(=p^{n-1}s^{n-1}(s-p)^{2}\)A1
\(p,s\gt0\) and \(p\neq s\), so the numerator and the denominator are both positive; hence \(q_{n}\gt q_{n-1}\)R1
AG

Answers: (a) \(\tfrac{7}{12},\ \tfrac{4}{7}\) · (b) \(\tfrac{16}{21}\) · (d) \(n=10\) · (e)(ii) \(\tfrac{3}{4},\ \tfrac{73}{84}\) (iii) 1

115AAHL4-q01154.14 Variance, continuous random variables and linear transformations Paper 3Hard30 marks

This question investigates a family of continuous random variables \(X_{n}\), where \(n\in\mathbb{Z}^{+}\), with probability density functions

\(f_{n}(x)=\begin{cases}c_{n}x^{n}(1-x), & 0\le x\le 1\\ 0, & \text{otherwise}\end{cases}\)

and \(c_{n}\) is a positive constant.

(a)

Show that \(c_{n}=(n+1)(n+2)\).

(3)
(b)(i)

Consider \(n=3\).

Find \(\mathrm{E}(X_{3})\).

(2)
(b)(ii)

Find the median of \(X_{3}\).

(2)
(c)(i)

Consider a general value of \(n\).

Show that the mode of \(X_{n}\) is \(\dfrac{n}{n+1}\).

(2)
(c)(ii)

Show that \(\mathrm{E}(X_{n})=\dfrac{n+1}{n+3}\).

(3)
(c)(iii)

Prove that the mode of \(X_{n}\) is greater than or equal to \(\mathrm{E}(X_{n})\), with equality only when \(n=1\).

(3)
(d)(i)

Show that \(\mathrm{E}(X_{n}^{2})=\dfrac{(n+1)(n+2)}{(n+3)(n+4)}\).

(2)
(d)(ii)

Hence show that \(\mathrm{Var}(X_{n})=\dfrac{2(n+1)}{(n+3)^{2}(n+4)}\).

(3)
(d)(iii)

Find \(\displaystyle\lim_{n\to\infty}\mathrm{Var}(X_{n})\) and interpret this result.

(2)
(e)(i)

Let \(I(p,q)=\displaystyle\int_{0}^{1}x^{p}(1-x)^{q}\,\mathrm{d}x\), where \(p,q\in\mathbb{N}\).

For \(q\ge1\), use integration by parts to show that \(I(p,q)=\dfrac{q}{p+1}\,I(p+1,\,q-1)\).

(3)
(e)(ii)

Hence prove that \(I(p,q)=\dfrac{p!\,q!}{(p+q+1)!}\).

(4)
(e)(iii)

Write down, in terms of \(p\) and \(q\), the value of the constant \(c\) for which \(g(x)=c\,x^{p}(1-x)^{q}\), \(0\le x\le1\), is a probability density function.

(1)
Show mark scheme
WorkingMarkNotes
(a)
\(c_{n}\displaystyle\int_{0}^{1}(x^{n}-x^{n+1})\,\mathrm{d}x=1\)M1
\(c_{n}\left(\dfrac{1}{n+1}-\dfrac{1}{n+2}\right)=1\)A1
\(\dfrac{1}{n+1}-\dfrac{1}{n+2}=\dfrac{1}{(n+1)(n+2)}\)A1
\(c_{n}=(n+1)(n+2)\)AG
(b)(i)
\(20\displaystyle\int_{0}^{1}(x^{4}-x^{5})\,\mathrm{d}x=20\left(\dfrac{1}{5}-\dfrac{1}{6}\right)\)M1\(c_{3}=4\times5=20\) from (a).
\(\dfrac{2}{3}\)A1
(b)(ii)
\(20\displaystyle\int_{0}^{m}(x^{3}-x^{4})\,\mathrm{d}x=\dfrac{1}{2}\), ie \(5m^{4}-4m^{5}=\dfrac{1}{2}\)M1
\(m=0.686\)A1\(0.686189\ldots\) Must be in \([0,1]\).
(c)(i)
\(f_{n}'(x)=c_{n}\left(nx^{n-1}-(n+1)x^{n}\right)=c_{n}x^{n-1}\left(n-(n+1)x\right)=0\)M1
\(x=\dfrac{n}{n+1}\) (\(f_{n}\) increases before and decreases after this value; \(f_{n}(0)=f_{n}(1)=0\))A1
AG
(c)(ii)
\(\mathrm{E}(X_{n})=c_{n}\displaystyle\int_{0}^{1}(x^{n+1}-x^{n+2})\,\mathrm{d}x\)M1
\(=c_{n}\left(\dfrac{1}{n+2}-\dfrac{1}{n+3}\right)=\dfrac{c_{n}}{(n+2)(n+3)}\)A1
\(=\dfrac{(n+1)(n+2)}{(n+2)(n+3)}\)A1
\(=\dfrac{n+1}{n+3}\)AG
(c)(iii)
\(\dfrac{n}{n+1}-\dfrac{n+1}{n+3}=\dfrac{n(n+3)-(n+1)^{2}}{(n+1)(n+3)}\)M1
\(=\dfrac{n-1}{(n+1)(n+3)}\)A1
the denominator is positive and \(n-1\ge0\) for \(n\in\mathbb{Z}^{+}\), with \(n-1=0\) only when \(n=1\)R1
AG
(d)(i)
\(c_{n}\displaystyle\int_{0}^{1}(x^{n+2}-x^{n+3})\,\mathrm{d}x=\dfrac{c_{n}}{(n+3)(n+4)}\)M1
\(=\dfrac{(n+1)(n+2)}{(n+3)(n+4)}\)A1
AG
(d)(ii)
\(\mathrm{Var}(X_{n})=\dfrac{(n+1)(n+2)}{(n+3)(n+4)}-\dfrac{(n+1)^{2}}{(n+3)^{2}}\)M1
\(=\dfrac{(n+1)\left[(n+2)(n+3)-(n+1)(n+4)\right]}{(n+3)^{2}(n+4)}\)M1
\((n+2)(n+3)-(n+1)(n+4)=(n^{2}+5n+6)-(n^{2}+5n+4)=2\)A1
\(\mathrm{Var}(X_{n})=\dfrac{2(n+1)}{(n+3)^{2}(n+4)}\)AG
(d)(iii)
\(\displaystyle\lim_{n\to\infty}\mathrm{Var}(X_{n})=0\)A1
since \(\mathrm{E}(X_{n})\to1\) and the variance tends to 0, for large \(n\) the values of \(X_{n}\) are almost certainly very close to 1R1
(e)(i)
\(u=(1-x)^{q},\ \dfrac{\mathrm{d}v}{\mathrm{d}x}=x^{p}\Rightarrow v=\dfrac{x^{p+1}}{p+1}\)M1
\(I(p,q)=\left[\dfrac{x^{p+1}(1-x)^{q}}{p+1}\right]_{0}^{1}+\dfrac{q}{p+1}\displaystyle\int_{0}^{1}x^{p+1}(1-x)^{q-1}\,\mathrm{d}x\)A1
the bracket is 0 at both limits (since \(q\ge1\) and \(p+1\ge1\))A1
\(I(p,q)=\dfrac{q}{p+1}I(p+1,\,q-1)\)AG
(e)(ii)
applying the result \(q\) times: \(I(p,q)=\dfrac{q}{p+1}\cdot\dfrac{q-1}{p+2}\cdots\dfrac{1}{p+q}\,I(p+q,\,0)\)M1Or a proof by induction on q.
\(I(p+q,\,0)=\displaystyle\int_{0}^{1}x^{p+q}\,\mathrm{d}x=\dfrac{1}{p+q+1}\)A1
\(\dfrac{q!}{(p+1)(p+2)\cdots(p+q)}=\dfrac{q!\,p!}{(p+q)!}\)M1
\(I(p,q)=\dfrac{p!\,q!}{(p+q)!\,(p+q+1)}=\dfrac{p!\,q!}{(p+q+1)!}\)A1
AG
(e)(iii)
\(c=\dfrac{(p+q+1)!}{p!\,q!}\)A1Consistent with (a): \(q=1\) gives \(\dfrac{(p+2)!}{p!}=(p+1)(p+2)\).

Answers: (b)(i) \(\tfrac{2}{3}\) (ii) 0.686 · (d)(iii) 0 · (e)(iii) \(\dfrac{(p+q+1)!}{p!\,q!}\)