Home › IB Maths AA SL › Exam practice › Discrete Random Variables

IB Maths AA SL · Unit 4

Discrete Random Variables: AA SL exam practice with markscheme

Covers binomial distribution; discrete random variables & E(X); variance and standard deviation of X. Work through the 10 questions on paper as if it were the exam, then open each solution and mark your work against the markscheme.

10 questions · 50 marks · about 56 minutes · 4 Paper 1 style, 6 Paper 2 style

Download the PDF 7 pages, worked solutions after the questions

Question 1

4 marks · Paper 2 style · calculator

A basketball player scores from a free throw with probability 0.2, independently each time.

Find the least number of free throws she must take so that the probability of scoring at least once is greater than 0.95. [4]

Show solution

P(X≥1)=1−0.8n (M1)

1−0.8n>0.95 M1

n>13.4… (A1)

n=14 A1

Answer: 14

Question 2

4 marks · Paper 2 style · calculator

A fair coin is tossed 20 times and the number of times it lands heads up is recorded as the random variable X.

  1. Find the expected number of times that the coin will land heads up.

  2. Use your graphic display calculator to find the probability that the coin lands heads up exactly 15 times.

[4]

Show solution

Let X be the number of heads. X∼B(20,0.5). (M1)

  1. Expected value E(X)=np=20×0.5=10. A1

  2. CG50: STAT -> DIST -> BINOMIAL -> Bpd.
    Set x=15, Numtrial=20, p=0.5. (M1)
    P(X=15)=0.014785...⟹0.0148 (3sf). A1

Answer: (a) 10; (b) 0.0148

Question 3

4 marks · Paper 2 style · calculator

The random variable X is binomially distributed such that X∼B(40,0.15). Find the values of:

  1. P(3≤X<14)

  2. Var(X)

[4]

Show solution
  1. P(3≤X<14) is equivalent to P(3≤X≤13) since X is discrete. (M1)
    CG50: STAT -> DIST -> BINOMIAL -> Bcd.
    Set Lower=3, Upper=13, Numtrial=40, p=0.15. (M1)
    P=0.9500...⟹0.950 (3sf). A1

  2. Var(X)=np(1−p)=40(0.15)(0.85).
    Var(X)=6×0.85=5.1. A1

Answer: (a) 0.950; (b) 5.1

Question 4

5 marks · Paper 1 style · no calculator

A discrete random variable X can take the values 1,2,3, and 4. The probabilities are given as follows: P(X=1)=0.2, P(X=2)=0.3, P(X=3)=a, and P(X=4)=b. The expected value of the distribution is E(X)=2.6.

Find the exact values of a and b.

[5]

Show solution

Sum of the probabilities equals 1: 0.2+0.3+a+b=1⟹a+b=0.5. M1
Set up the expected value equation: 1(0.2)+2(0.3)+3a+4b=2.6. M1
Simplify: 0.8+3a+4b=2.6⟹3a+4b=1.8. A1
Solve simultaneously, e.g. 3(0.5−b)+4b=1.8⟹1.5+b=1.8. M1
b=0.3 and a=0.2. A1

Answer: a=0.2; b=0.3

Question 5

5 marks · Paper 1 style · no calculator

The probability distribution of a discrete random variable X is given by the formula: P(X=x)=xkfor x∈{1,2,3,4} where k is a positive constant.

  1. Find the exact value of k.

  2. Find the expected value, E(X).

[5]

Show solution
  1. Sum of probabilities =1.
    1k+2k+3k+4k=1. (M1)
    10k=1⟹k=10. A1

  2. E(X)=∑xP(X=x)=1(110)+2(210)+3(310)+4(410). (M1)
    E(X)=1+4+9+1610. (A1)
    E(X)=3010=3. A1

Answer: (a) k=10; (b) 3

Question 6

6 marks · Paper 2 style · calculator

In a fairground game a player loses €2 with probability 0.5, wins €1 with probability 0.3 and wins €10 with probability 0.2. Let X be the player's gain, in euros, in one game.

  1. Find E(X). [2]

  2. Find Var(X). [3]

  3. Find the standard deviation of X. [1]

Show solution
  1. −2×0.5+1×0.3+10×0.2 (M1)
    1.3 A1

  2. E(X2)=4×0.5+1×0.3+100×0.2=22.3 M1A1
    22.3−1.32=20.61 A1

  3. 20.61=4.54 A1

Answer: (a) 1.3; (b) 20.61; (c) 4.54

Question 7

6 marks · Paper 1 style · no calculator

The random variable X has probability distribution P(X=x)=k(x2+1), for x∈{0,1,2,3}.

(a) Find the value of k. [2]

(b) Find E(X). [2]

(c) Find P(X≥2). [2]

Show solution

(a)

k(1+2+5+10)=1 M1

k=118 A1

(b)

0×1+1×2+2×5+3×1018 (M1)

4218=73 A1

(c)

5+1018 (M1)

56 A1

Answer: (a) 118; (b) 73; (c) 56

Question 8

6 marks · Paper 2 style · calculator

In a large school, 30% of students walk to school. A random sample of 12 students is chosen, and X is the number who walk to school.

(a) Write down the distribution of X. [1]

(b) Find P(X=4). [2]

(c) Find the probability that at least 4 of the students walk to school. [2]

(d) Find the expected number of students who walk. [1]

Show solution

(a)

X∼B(12, 0.3) A1

(b)

binomial pdf (M1)

0.231 A1

(c)

1−P(X≤3) (M1)

0.507 A1

(d)

12×0.3=3.6 A1

Answer: (b) 0.231; (c) 0.507; (d) 3.6

Question 9

5 marks · Paper 2 style · calculator

A company manufactures computer chips. It is known that 12% of the chips produced are defective. A quality control inspector takes a random sample of 50 chips. Let the random variable D represent the number of defective chips in the sample.

  1. Find the probability that the inspector finds fewer than 8 defective chips.

  2. Given that the inspector finds fewer than 8 defective chips, find the conditional probability that they found exactly 5 defective chips.

[5]

Show solution

D∼B(50,0.12).

  1. "Fewer than 8" means P(D≤7). (M1)
    CG50: Bcd with Lower=0,Upper=7,Numtrial=50,p=0.12.
    P(D≤7)=0.75325...⟹0.753 (3 s.f.). A1

  2. Conditional probability: P(D=5∣D≤7)=P(D=5∩D≤7)P(D≤7). (M1)
    Since the event D=5 is contained in D≤7, the intersection is just D=5:
    P(D=5∣D≤7)=P(D=5)P(D≤7). (M1)
    CG50: Bpd with x=5: P(D=5)=0.16738...
    Probability =0.16738...0.75325...=0.22221...⟹0.222 (3 s.f.). A1

Answer: (a) 0.753; (b) 0.222

Question 10

5 marks · Paper 1 style · no calculator

In a game, a player rolls two fair six-sided dice. The player wins €30 if both dice show a six, wins €6 if exactly one die shows a six, and wins nothing otherwise.

(a) Find the probability that exactly one die shows a six. [2]

(b) Find the expected amount won in one game. [2]

(c) The player pays €c to play. Find the value of c that makes the game fair. [1]

Show solution

(a)

2×16×56 (M1)

1036=518 A1

(b)

30×136+6×1036 (M1)

€2.50 A1

(c)

c=2.50 A1

Answer: (a) 518; (b) €2.50; (c) c=2.50

How the marks work: M marks are for a correct method, A marks for an accurate answer that follows it, R marks for a reason, and AG means the answer is given in the question. A mark in brackets, like (M1), can be implied by later correct work.

Notes, worked examples and more questions on this topic: AA SL Discrete Random Variables. Previous topic: Bivariate Data and Correlation. Next topic: Measures of Central Tendency. Every AA SL topic.

Revise first with the AA SL revision notes, then finish on real papers: IB Maths AA SL past papers.