M
Math Coach Amy
Amy Ferguson Moncure

IB AA · 8A Discrete Random Variables

A Formula for the Probability

The probability is given by a formula. Use the values X can take, and make the probabilities add to 1.

Jump to section:

The probabilities add to 1.

E(X) = Σ x P(X = x)

What to Remember

Substitute each value

The formula gives one probability for each allowed value. Write those probabilities out.

The constant

If the formula still has k or c, the probabilities add to 1. That equation finds the constant.

A probability from the formula

Add the probabilities for the values in the event.

Expected value

E(X) = Σ x P(X = x), using the probabilities you just found.

Easy

Easy

The constant is already in the formula. Find one probability and the expected value.

Example
A discrete random variable X has P(X = x) = 110(x + 1) for x = 1, 2, 4. Write down P(X = 4). Then find E(X).

P(X = x) = 110(x + 1)

P(X = 4) = 110(4 + 1)

P(X = 4) = 110 × 5

P(X = 4) = 510

P(X = 4) = 12

E(X) = Σ x P(X = x)

E(X) = 1 × 15 + 2 × 310 + 4 × 12

E(X) = 15 + 35 + 105

E(X) = 145

Answer: P(X = 4) = 12, E(X) = 145

1
A discrete random variable X has P(X = x) = 112(x + 2) for x = 1, 2, 3. Write down P(X = 3). Then find E(X).
Show Answer

P(X = x) = 112(x + 2)

P(X = 3) = 112(3 + 2)

P(X = 3) = 112 × 5

P(X = 3) = 512

E(X) = Σ x P(X = x)

E(X) = 1 × 14 + 2 × 13 + 3 × 512

E(X) = 312 + 812 + 1512

E(X) = 2612

E(X) = 136

Answer: P(X = 3) = 512, E(X) = 136

2
A discrete random variable Y has P(Y = y) = 110(y + 2) for y = 0, 1, 3. Write down P(Y = 1). Then find E(Y).
Show Answer

P(Y = y) = 110(y + 2)

P(Y = 1) = 110(1 + 2)

P(Y = 1) = 110 × 3

P(Y = 1) = 310

E(Y) = Σ y P(Y = y)

E(Y) = 0 × 15 + 1 × 310 + 3 × 12

E(Y) = 010 + 310 + 1510

E(Y) = 1810

E(Y) = 95

Answer: P(Y = 1) = 310, E(Y) = 95

3
A discrete random variable X has P(X = x) = 112(x + 1) for x = 2, 3, 4. Write down P(X = 2). Then find E(X).
Show Answer

P(X = x) = 112(x + 1)

P(X = 2) = 112(2 + 1)

P(X = 2) = 112 × 3

P(X = 2) = 312

P(X = 2) = 14

E(X) = Σ x P(X = x)

E(X) = 2 × 14 + 3 × 13 + 4 × 512

E(X) = 36 + 66 + 106

E(X) = 196

Answer: P(X = 2) = 14, E(X) = 196

4
A discrete random variable Z has P(Z = z) = 112(z + 1) for z = 1, 3, 5. Write down P(Z = 5). Then find E(Z).
Show Answer

P(Z = z) = 112(z + 1)

P(Z = 5) = 112(5 + 1)

P(Z = 5) = 112 × 6

P(Z = 5) = 612

P(Z = 5) = 12

E(Z) = Σ z P(Z = z)

E(Z) = 1 × 16 + 3 × 13 + 5 × 12

E(Z) = 16 + 66 + 156

E(Z) = 226

E(Z) = 113

Answer: P(Z = 5) = 12, E(Z) = 113

5
A discrete random variable X has P(X = x) = 114(x + 3) for x = 0, 2, 3. Write down P(X = 0). Then find E(X).
Show Answer

P(X = x) = 114(x + 3)

P(X = 0) = 114(0 + 3)

P(X = 0) = 114 × 3

P(X = 0) = 314

E(X) = Σ x P(X = x)

E(X) = 0 × 314 + 2 × 514 + 3 × 37

E(X) = 07 + 57 + 97

E(X) = 147

E(X) = 2

Answer: P(X = 0) = 314, E(X) = 2

Medium

Medium

Find k. Then find a probability and the expected value.

Example
P(Y = y) = k(y − 1) for y = 2, 3, 5. Find k. Then find P(Y ≥ 3). Then find E(Y).

P(Y = y) = k(y − 1)

The probabilities add to 1.

k(2 − 1) + k(3 − 1) + k(5 − 1) = 1

k(1) + k(2) + k(4) = 1

k + 2k + 4k = 1

7k = 1

k = 17

P(Y = 3) = 17 × 2

P(Y = 3) = 27

P(Y = 5) = 17 × 4

P(Y = 5) = 47

P(Y ≥ 3) = 27 + 47

P(Y ≥ 3) = 67

E(Y) = Σ y P(Y = y)

E(Y) = 2 × 17 + 3 × 27 + 5 × 47

E(Y) = 287

E(Y) = 4

Answer: k = 17, P(Y ≥ 3) = 67, E(Y) = 4

1
P(X = x) = k(x + 1) for x = 1, 2, 4. Find k. Then find P(X ≥ 2). Then find E(X).
Show Answer

P(X = x) = k(x + 1)

The probabilities add to 1.

k(1 + 1) + k(2 + 1) + k(4 + 1) = 1

k(2) + k(3) + k(5) = 1

2k + 3k + 5k = 1

10k = 1

k = 110

P(X = 2) = 110 × 3

P(X = 2) = 310

P(X = 4) = 110 × 5

P(X = 4) = 510

P(X = 4) = 12

P(X ≥ 2) = 310 + 12

P(X ≥ 2) = 45

E(X) = Σ x P(X = x)

E(X) = 1 × 15 + 2 × 310 + 4 × 12

E(X) = 15 + 35 + 105

E(X) = 145

Answer: k = 110, P(X ≥ 2) = 45, E(X) = 145

2
P(Y = y) = k(y − 2) for y = 3, 4, 6. Find k. Then find P(Y ≥ 4). Then find E(Y).
Show Answer

P(Y = y) = k(y − 2)

The probabilities add to 1.

k(3 − 2) + k(4 − 2) + k(6 − 2) = 1

k(1) + k(2) + k(4) = 1

k + 2k + 4k = 1

7k = 1

k = 17

P(Y = 4) = 17 × 2

P(Y = 4) = 27

P(Y = 6) = 17 × 4

P(Y = 6) = 47

P(Y ≥ 4) = 27 + 47

P(Y ≥ 4) = 67

E(Y) = Σ y P(Y = y)

E(Y) = 3 × 17 + 4 × 27 + 6 × 47

E(Y) = 357

E(Y) = 5

Answer: k = 17, P(Y ≥ 4) = 67, E(Y) = 5

3
P(X = x) = k(x) for x = 1, 2, 3, 4. Find k. Then find P(X ≥ 3). Then find E(X).
Show Answer

P(X = x) = k(x)

The probabilities add to 1.

k(1) + k(2) + k(3) + k(4) = 1

k + 2k + 3k + 4k = 1

10k = 1

k = 110

P(X = 3) = 110 × 3

P(X = 3) = 310

P(X = 4) = 110 × 4

P(X = 4) = 410

P(X = 4) = 25

P(X ≥ 3) = 310 + 25

P(X ≥ 3) = 710

E(X) = Σ x P(X = x)

E(X) = 1 × 110 + 2 × 15 + 3 × 310 + 4 × 25

E(X) = 110 + 410 + 910 + 1610

E(X) = 3010

E(X) = 3

Answer: k = 110, P(X ≥ 3) = 710, E(X) = 3

4
P(Z = z) = k(z + 1) for z = 2, 4, 5. Find k. Then find P(Z ≥ 4). Then find E(Z).
Show Answer

P(Z = z) = k(z + 1)

The probabilities add to 1.

k(2 + 1) + k(4 + 1) + k(5 + 1) = 1

k(3) + k(5) + k(6) = 1

3k + 5k + 6k = 1

14k = 1

k = 114

P(Z = 4) = 114 × 5

P(Z = 4) = 514

P(Z = 5) = 114 × 6

P(Z = 5) = 614

P(Z = 5) = 37

P(Z ≥ 4) = 514 + 37

P(Z ≥ 4) = 1114

E(Z) = Σ z P(Z = z)

E(Z) = 2 × 314 + 4 × 514 + 5 × 37

E(Z) = 287

E(Z) = 4

Answer: k = 114, P(Z ≥ 4) = 1114, E(Z) = 4

5
P(X = x) = k(x + 2) for x = 0, 1, 2, 3. Find k. Then find P(X ≥ 2). Then find E(X).
Show Answer

P(X = x) = k(x + 2)

The probabilities add to 1.

k(0 + 2) + k(1 + 2) + k(2 + 2) + k(3 + 2) = 1

k(2) + k(3) + k(4) + k(5) = 1

2k + 3k + 4k + 5k = 1

14k = 1

k = 114

P(X = 2) = 114 × 4

P(X = 2) = 414

P(X = 2) = 27

P(X = 3) = 114 × 5

P(X = 3) = 514

P(X ≥ 2) = 27 + 514

P(X ≥ 2) = 914

E(X) = Σ x P(X = x)

E(X) = 0 × 17 + 1 × 314 + 2 × 27 + 3 × 514

E(X) = 014 + 314 + 814 + 1514

E(X) = 2614

E(X) = 137

Answer: k = 114, P(X ≥ 2) = 914, E(X) = 137

Hard

Hard

The probability is c divided by x. Find c, a conditional probability, and the expected value.

Example
P(X = x) = cx for x = 1, 2, 3. Find c. Then find P(X = 2 | X ≤ 2). Then find E(X).

P(X = x) = cx

The probabilities add to 1.

c1 + c2 + c3 = 1

6c6 + 3c6 + 2c6 = 1

11c6 = 1

c = 611

P(X = 1) = 611 × 11

P(X = 1) = 611

P(X = 2) = 611 × 12

P(X = 2) = 622

P(X = 2) = 311

P(X = 3) = 611 × 13

P(X = 3) = 633

P(X = 3) = 211

P(X = 2 | X ≤ 2) = P(X = 2)P(X ≤ 2)

P(X ≤ 2) = 611 + 311

P(X ≤ 2) = 911

P(X = 2 | X ≤ 2) = 311 × 119

P(X = 2 | X ≤ 2) = 3399

P(X = 2 | X ≤ 2) = 13

E(X) = Σ x P(X = x)

E(X) = 1 × 611 + 2 × 311 + 3 × 211

E(X) = 1811

Answer: c = 611, P(X = 2 | X ≤ 2) = 13, E(X) = 1811

1
P(X = x) = cx for x = 1, 2, 4. Find c. Then find P(X = 2 | X ≤ 2). Then find E(X).
Show Answer

P(X = x) = cx

The probabilities add to 1.

c1 + c2 + c4 = 1

4c4 + 2c4 + 1c4 = 1

7c4 = 1

c = 47

P(X = 1) = 47 × 11

P(X = 1) = 47

P(X = 2) = 47 × 12

P(X = 2) = 414

P(X = 2) = 27

P(X = 4) = 47 × 14

P(X = 4) = 428

P(X = 4) = 17

P(X = 2 | X ≤ 2) = P(X = 2)P(X ≤ 2)

P(X ≤ 2) = 47 + 27

P(X ≤ 2) = 67

P(X = 2 | X ≤ 2) = 27 × 76

P(X = 2 | X ≤ 2) = 1442

P(X = 2 | X ≤ 2) = 13

E(X) = Σ x P(X = x)

E(X) = 1 × 47 + 2 × 27 + 4 × 17

E(X) = 127

Answer: c = 47, P(X = 2 | X ≤ 2) = 13, E(X) = 127

2
P(Y = y) = cy for y = 1, 2, 3, 6. Find c. Then find P(Y = 2 | Y ≤ 3). Then find E(Y).
Show Answer

P(Y = y) = cy

The probabilities add to 1.

c1 + c2 + c3 + c6 = 1

6c6 + 3c6 + 2c6 + 1c6 = 1

12c6 = 1

c = 612

c = 12

P(Y = 1) = 12 × 11

P(Y = 1) = 12

P(Y = 2) = 12 × 12

P(Y = 2) = 14

P(Y = 3) = 12 × 13

P(Y = 3) = 16

P(Y = 6) = 12 × 16

P(Y = 6) = 112

P(Y = 2 | Y ≤ 3) = P(Y = 2)P(Y ≤ 3)

P(Y ≤ 3) = 12 + 14 + 16

P(Y ≤ 3) = 1112

P(Y = 2 | Y ≤ 3) = 14 × 1211

P(Y = 2 | Y ≤ 3) = 1244

P(Y = 2 | Y ≤ 3) = 311

E(Y) = Σ y P(Y = y)

E(Y) = 1 × 12 + 2 × 14 + 3 × 16 + 6 × 112

E(Y) = 42

E(Y) = 2

Answer: c = 12, P(Y = 2 | Y ≤ 3) = 311, E(Y) = 2

3
P(X = x) = cx for x = 2, 3, 6. Find c. Then find P(X = 3 | X ≤ 3). Then find E(X).
Show Answer

P(X = x) = cx

The probabilities add to 1.

c2 + c3 + c6 = 1

3c6 + 2c6 + 1c6 = 1

6c6 = 1

c = 66

c = 1

P(X = 2) = 1 × 12

P(X = 2) = 12

P(X = 3) = 1 × 13

P(X = 3) = 13

P(X = 6) = 1 × 16

P(X = 6) = 16

P(X = 3 | X ≤ 3) = P(X = 3)P(X ≤ 3)

P(X ≤ 3) = 12 + 13

P(X ≤ 3) = 56

P(X = 3 | X ≤ 3) = 13 × 65

P(X = 3 | X ≤ 3) = 615

P(X = 3 | X ≤ 3) = 25

E(X) = Σ x P(X = x)

E(X) = 2 × 12 + 3 × 13 + 6 × 16

E(X) = 3

Answer: c = 1, P(X = 3 | X ≤ 3) = 25, E(X) = 3

4
P(Z = z) = cz for z = 1, 2, 5. Find c. Then find P(Z = 1 | Z ≤ 2). Then find E(Z).
Show Answer

P(Z = z) = cz

The probabilities add to 1.

c1 + c2 + c5 = 1

10c10 + 5c10 + 2c10 = 1

17c10 = 1

c = 1017

P(Z = 1) = 1017 × 11

P(Z = 1) = 1017

P(Z = 2) = 1017 × 12

P(Z = 2) = 1034

P(Z = 2) = 517

P(Z = 5) = 1017 × 15

P(Z = 5) = 1085

P(Z = 5) = 217

P(Z = 1 | Z ≤ 2) = P(Z = 1)P(Z ≤ 2)

P(Z ≤ 2) = 1017 + 517

P(Z ≤ 2) = 1517

P(Z = 1 | Z ≤ 2) = 1017 × 1715

P(Z = 1 | Z ≤ 2) = 170255

P(Z = 1 | Z ≤ 2) = 23

E(Z) = Σ z P(Z = z)

E(Z) = 1 × 1017 + 2 × 517 + 5 × 217

E(Z) = 3017

Answer: c = 1017, P(Z = 1 | Z ≤ 2) = 23, E(Z) = 3017

5
P(X = x) = cx for x = 1, 3, 4. Find c. Then find P(X = 3 | X ≤ 3). Then find E(X).
Show Answer

P(X = x) = cx

The probabilities add to 1.

c1 + c3 + c4 = 1

12c12 + 4c12 + 3c12 = 1

19c12 = 1

c = 1219

P(X = 1) = 1219 × 11

P(X = 1) = 1219

P(X = 3) = 1219 × 13

P(X = 3) = 1257

P(X = 3) = 419

P(X = 4) = 1219 × 14

P(X = 4) = 1276

P(X = 4) = 319

P(X = 3 | X ≤ 3) = P(X = 3)P(X ≤ 3)

P(X ≤ 3) = 1219 + 419

P(X ≤ 3) = 1619

P(X = 3 | X ≤ 3) = 419 × 1916

P(X = 3 | X ≤ 3) = 76304

P(X = 3 | X ≤ 3) = 14

E(X) = Σ x P(X = x)

E(X) = 1 × 1219 + 3 × 419 + 4 × 319

E(X) = 3619

Answer: c = 1219, P(X = 3 | X ≤ 3) = 14, E(X) = 3619

Want to go over a random variable together?

Book a Session with Amy