m1 Paper1 Eng
m1 Paper1 Eng
m1 Paper1 Eng
Solution:
(a) 0.3 − P (A ∩ B) + 0.6 − P (A ∩ B) = 0.4
P (A ∩ B) = 0.25
P (A′ ∩ B)
(c) No, P (A)P (B) ̸= P (A ∩ B) or P (B|A′ ) = ̸= P (B).
P (A or B but not both)
Page 1 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
2. The independent random variables X and Y have distributions N (40, σ 2 ) and N (30, σ 2 )
respectively. The random variable aX +bY , where a and b are constants, has the distribution
N (570, 130σ 2 ).
(a) (4 marks) Given that a and b are integers, find the value of a and the value of b.
(b) (4 marks) Given that P (X > Y ) = 0.966, find σ.
Solution:
(a) 40a + 30b = 570
a2 + b2 = 130
30b = 570 − 40a
2
2 57 − 4a
a + = 130
3
a = 9, b = 7
X − Y ∼ N 10, 2σ 2
(b)
P (X > Y ) = 0.966
P (X − Y > 0) = 0.966
X −Y
√ = Φ (0.966)
2σ 2
0 − 10
√ = −1.825
σ 2
−10
σ= √
−1.825 2
σ = 3.875
Page 2 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
3. (a) (5 marks) By using the probability distribution function of standard normal distribu-
tion, or otherwise, to evaluate the Gaussian integral
Z ∞
2
e−x dx.
−∞
(b) (9 marks) By using the probability distribution function of normal distribution, which
2
1 − x−µ
√
is f (x) = √ e 2σ , or using result from (a), or otherwise, to evaluate
σ 2π
Z ∞
(x+7)2
e− 4 dx.
0
Solution:
Z ∞
1 x2
(a) Consider that √ e− 2 dx = 1, we have
−∞ 2π
Z ∞
1 x2
√ e− 2 dx = 1
−∞ 2π
Z ∞
x2 √
e− 2 dx = 2π
Z ∞ −∞ √ √
2
e−u 2du = 2π
−∞
Z ∞
2 √
e−u du = π.
−∞
Z ∞ 2
1
x−µ
− √
(b) Using the fact that √ e 2σ dx = 1, we have
−∞ σ 2π
Z ∞ 2
1
− x−µ√
√ e 2σ dx = 1
−∞ σ 2π
Z ∞ 2
1
− x−µ
√
√ e 2σ dx = 0.5
0 σ 2π
Z ∞ 2
− x−µ
√
√
e 2σ dx = 0.5σ 2π
0
√
by comparing coefficient, we have µ = −7 and 2σ 2 = 4 which gives σ = 2. Then,
we have
Z ∞
− √x+7
√
2
√ √
e 2 2 dx = 0.5 2 2π
0
∞
) dx = √π
Z
x+7 2
e−( 2
Z0 ∞
(x+7)2 √
e− 4 dx = π.
0
Page 3 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
ex − e−x ex + e−x d
4. (3 marks) Provide that sinh(x) = and cosh(x) = . Show that sinh x =
2 2 dx
d
cosh x and cosh x = sinh x.
dx
Solution:
ex − e−x
d d
sinh x =
dx dx 2
d e−x
x
d e
= −
dx 2 dx 2
ex + e−x
=
2
= cosh x
d ex + e−x
d
cosh x =
dx dx 2
d ex d e−x
= +
dx 2 dx 2
ex − e−x
=
2
= sinh x
Page 4 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
Solution:
(a) (i) 30
P (X = 20) = × 0.820 × 0.210
20
= 0.0355
(ii) P (X ≤ 27)
= 1 − P (X > 27)
= 1 − [P (X = 28) + P (X = 29) + P (X = 30)]
= 1 − 0.230
= 0.0355
Page 5 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
(c) P (Z1 + Z2 + Z3 + Z4 ≤ 2)
= 1 − P (Z1 + Z2 + Z3 + Z4 > 2)
= 1 − P (Z1 + Z2 + Z3 + Z4 = 3) − P (Z1 + Z2 + Z3 + Z4 = 4)
= 1 − P (Z1 or Z2 or Z3 or Z4 = 0) − P (Z1 = Z2 = Z3 = Z4 = 1)
= 1 − 0.34 − 0.74
= 0.7518
Page 6 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
6. A new computer was bought by a local council to search council records and was tested by
an employee. She searched a random sample of 500 records and the sample mean search
time was found to be 2.18 milliseconds and an unbiased estimate of variance was 1.5822
milliseconds2 .
(a) (3 marks) Calculate a 99% confidence interval for the population mean search time n
milliseconds.
(b) (4 marks) It is required to obtain a sample mean time that differs from n by less than
0.05 milliseconds with probability 0.95. Estimate the sample size required.
Solution:
(a) The 99.9% confidence interval is
1.582
2.18 ± 3.29 √
500
= (1.95, 2.41) seconds
Page 7 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
7. Each year Jack enters a ballot for a concert ticket. The probability that Jack will win a
ticket in any particular year is 0.31. Let X denotes that Jack wins a ticket for the first time
at x-th attempt.
(a) (3 marks) Find the cumulative distribution function of X, i.e. the probability that he
wins a ticket for the first time before or on his n-th attempt, in terms of n. (You are
allowed to use the formula of the geometric series directly without proving it.)
(b) (2 marks) Find the probability that he wins the a ticket for the first time after or on
his n-th attempt, in terms of n.
(c) Find the probability that the first time Jack wins a ticket is
(i) (2 marks) on his 4th attempt,
(ii) (2 marks) after his 8th attempt.
(d) (3 marks) Write down an expression for the probability that Jack wins a ticket on
exactly 3 of his first 10 attempts, and evaluate this expression.
(e) (4 marks) Find the probability that Jack wins his 5th ticket on his 11th attempt and
his 7th ticket on his 14th attempt.
Solution:
(a) X ∼ Geo (0.31)
n
X
P (X ≤ n) = P (X = i)
i=1
n
X
= 0.69i−1 × 0.31
i=1
n−1
X
= 0.69i × 0.31
i=0
1 − 0.69n
= 0.31 ×
0.31
= 1 − 0.69n
(b) P (X ≥ n) = 1 − P (X < n)
= 1 − P (X ≤ n − 1)
= 1 − (1 − 0.69n−1 )
= 0.69n−1
Page 8 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
(d) Let Yn denotes the number of times that he wins tickets in the first 10 attempts,
and Yn ∼ Bin (n, 0.31).
10
P (Y10 = 3) = × 0.313 × 0.697
3
= 0.266
(e) Let Zi denotes that Jack wins a ticket for the i-th time at zi -th attempt.
Page 9 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
8. (a) The manufacturer of electronic components uses the following process to test the pro-
portion of defective items produced.
A random sample of 30 is taken from a large batch of components.
If no defective item is found, the batch is accepted.
If three or more defective items are found, the batch is rejected.
If one defective item is found, a second random sample of 30 is taken. If two or more
defective items are found in this second sample, the batch is rejected, otherwise
the batch is accepted.
If two defective items are found, a second random sample of 30 is taken. If two
or more defective items are found in this second sample, the batch is rejected,
otherwise the batch is accepted.
The proportion of defective items in the batch is denoted by p, and q = 1 − p.
(i) (2 marks) Show that the probability that a batch is accepted is
(b) The manufacturer has decided to use a slightly different process to test the proportion
of defective items produced.
A random sample of 20 is taken from a large batch of components.
If no defective item is found, the batch is accepted.
If two or more defective items are found, the batch is rejected.
If one defective item is found, a second random sample of 30 is taken. If two or more
defective items are found in this second sample, the batch is rejected, otherwise
the batch is accepted.
The proportion of defective items in the batch is denoted by p, and q = 1 − p. You are
given that the probability that a batch is accepted is
Page 10 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
(i) (3 marks) Given that a batch is accepted, find the probability that it is accepted
as a result of the first sample.
(ii) (1 mark) Calculate the probability that a randomly chosen defective component is
accepted.
(c) (1 mark) Explain briefly whether the manufacturer should follow the testing process
in (a) or (b).
Solution:
(a) (i) 30 29 30 29
30 28 2 30
q + 30q p q + 30q p + q pq
2
= q 30 + 30q 58 p (q + 30p) + 435q 58 p2
= 0.02267
= 0.18438
P (batch is rejected)
= 1 − q 30 + 30q 58 p (q + 30p) + 435q 58 p2
= 0.24445
P batch is rejected in the second samplebatch is rejected
Page 11 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
We can see that the testing process in (b) has a lower chance to have defective
components accepted, and therefore the testing process in (b) should be used.
(Or you can argue that the manufacturer should decide to use the process in (a) as
it is likely to be less costly, or any reasonable reason would get the second mark.)
Page 12 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
9. Suppose that n balls are drawn without replacement from a bag containing m balls, k of
which are red, where k > n, with the remaining m − k balls being black. Let X be the
random variable denoting the number of red balls in the selected sample.
(a) (12 marks) Show that the probability function for X is given by
k m−k
x n−x
P (X = x) = m
x = 0, 1, ..., n.
n
nk
E[X] = .
m
(b) (10 marks) Show directly (using the usual definition of expectation for a discrete ran-
dom variable) that
nk
E[X] = .
m
Pn−1 (k−1 m−k
x )(n−1−x)
(Hint: x=0 m−1 = 1.)
( n−1 )
(c) (10 marks) Let Xi be a random variable which takes the value 1 if the i-th ball selected
is red with probability p, and zero otherwise, for i = 1, . . . , n, i.e. X ∼ Bern (p). Then
the number of red balls in the selected sample is
X = X1 + X2 + · · · + Xn .
By calculating the expectation of Xi and using the known result for the expectation of
a sum of random variables, to show that
nk
E[X] = .
m
Solution: Suppose that n balls are drawn without replacement from a bag containing
m balls, k of which are red, where k > n, with the remaining m − k balls being black.
Let X be the random variable denoting the number of red balls in the selected sample.
(a) If the sample is to contain x red balls then there are xk possible selections of the
Page 13 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
x red balls is the number of such samples, divided by the total number of possible
ways of choosing a sample of n from m, i.e. m
n
. Therefore
k m−k
x n−x
P (X = x) = m
x = 0, 1, . . . , n.
n
(b) n
X k
m−k
x n−x
E[X] = x m
x=0 n
k! m−k
n
x!(k−x)! n−x
X
= x m
x=1 n
k! m−k
n
(x−1)!(k−x)! n−x
X
= m
x=1 n
k! m−k
n−1
y!(k−y−1)! n−1−y
X
= m
y=0 n
k−1 m−k
n−1
X y n−1−y
= k m!
y=0 n!(m−n)!
k−1 m−k
n−1
X y n−1−y
= k m!
y=0 n!(m−n)!
k−1 m−k
n−1
X y n−1−y
= k m (m−1)!
y=0 n (n−1)!(m−n)!
k−1 m−k
n−1
X kn y n−1−y
= (m−1)!
y=0
m
(n−1)!(m−n)!
k−1 m−k
n−1
kn X y n−1−y
= (m−1)!
m y=0
(n−1)!(m−n)!
kn
=
m
Page 14 of 15
Mock Paper #1 Solution M1 (Calculus & Statistics)
(c) If Xi be a random variable taking the value 1 if the i-th ball selected is red with
probability p, and zero otherwise, for i = 1, . . . , n, then
k
P (Xi = 1) = , i = 1, . . . , n,
m
as for each of the balls in our selected sample there are m possible choices, k of
which are red. Hence
k
E[Xi ] = , i = 1, . . . , n.
m
Now, the number of red balls in the selected sample is X = X1 + X2 + · · · + Xn .
Hence
E[X] = E[X1 + X2 + · · · + Xn ]
= E[X1 ] + E[X2 ] + · · · + E[Xn ]
k k k
= + + ··· +
m m m
nk
=
m
Page 15 of 15
End of solutions