Open Mathhh

Mean, variance and cumulative probabilities of a binomial variable

Statistics · worksheets 19 to 24 · 2 min read

I can

  • find E(X) and Var(X) for X ~ B(n, p)
  • find probabilities such as P(X ≤ 2) and P(X ≥ 4) by adding
  • give exact answers as fractions

Key idea

For X ~ B(n, p), the mean is E(X) = np and the variance is Var(X) = npq, where q = 1 − p.

To find P(X ≤ 2), add P(X = 0), P(X = 1) and P(X = 2). To find P(X ≥ 5) in B(6, 1/2), add P(X = 5) and P(X = 6). Use P(X = r) = nCr × p^r × q^(n − r) for each part. When p = 1/2, every part has the same bottom: 2^n.

Worked examples

Example 1: X ~ B(20, 0.3), find E(X) and Var(X)

Watch it: X ~ B(20, 0.3): E(X) and Var(X), step by step:

  1. E(X) = n × p = 20 × 0.3 = 6.
  2. q = 1 − 0.3 = 0.7.
  3. Var(X) = n × p × q = 20 × 0.3 × 0.7 = 4.2.
  4. Both answers.
  1. E(X) = 20 × 0.3 = 6.
  2. q = 0.7, so Var(X) = 20 × 0.3 × 0.7 = 4.2.

E(X) = 6, Var(X) = 4.2

Example 2: X ~ B(6, 1/2), find P(X ≤ 1)

Watch it: X ~ B(6, 1/2): P(X ≤ 1), step by step:

  1. The binomial formula gives each one.
  2. Add: 1/64 + 6/64 = 7/64.
  3. The answer is 7/64.
  4. P(X ≤ 1) is the sum of the two green bars.
  1. P(X = 0) = 1/64.
  2. P(X = 1) = 6/64.
  3. Add: 7/64.

P(X ≤ 1) = 7/64

Example 3: X ~ B(6, 1/2), find P(X ≥ 4)

Watch it: X ~ B(6, 1/2): P(X ≥ 4), step by step:

  1. The binomial formula gives each one.
  2. Add the three: 22/64.
  3. Divide the top and bottom by 2.
  4. The answer is 11/32.
  5. P(X ≥ 4) is the sum of the three green bars.
  1. P(X = 4) = 15/64, P(X = 5) = 6/64, P(X = 6) = 1/64.
  2. Add: 22/64.

P(X ≥ 4) = 11/32

Try it

X ~ B(40, 0.5). Find E(X).
Show answer20
X ~ B(10, 0.6). Find Var(X).
Show answer2.4
X ~ B(20, 0.1). Find Var(X).
Show answer1.8
X ~ B(5, 1/2). Find P(X ≤ 1). Give your answer as a fraction.
Show answer3/16
X ~ B(6, 1/2). Find P(X ≥ 5). Give your answer as a fraction.
Show answer7/64

Common mistakes

  • Using npq for the mean. The mean is np; npq is the variance.
  • Forgetting a term. P(X ≤ 2) includes X = 0.
  • Using q = p for the variance. Take p away from 1 first.

Remember

  • E(X) = np and Var(X) = np(1 − p).
  • At most means add from 0 upward; at least means add to the top.

Practise this

Worksheets 19 to 24 of Statistics practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Statistics notes

Keep learning

All Statistics notes · All study notes