IB Mathematics AA Binomial distribution, its mean and variance Study Notes
IB Mathematics AA Binomial distribution, its mean and variance Study Notes
IB Mathematics AA Binomial distribution, its mean and variance Notes Offer a clear explanation of Binomial distribution, its mean and variance, including various formula, rules, exam style questions as example to explain the topics. Worked Out examples and common problem types provided here will be sufficient to cover for topic Binomial distribution, its mean and variance.
Binomial Distribution
Introduction
The binomial distribution is a discrete probability distribution that models the number of successes in a fixed number of independent trials, each with the same probability of success. It is widely used in statistics to analyze binary outcomes.
Key Concepts
1. Definition of Binomial Distribution
- A random variable \( X \) follows a binomial distribution if:
- There are \( n \) independent trials.
- Each trial results in either success or failure.
- The probability of success in each trial is \( p \), and the probability of failure is \( 1 – p \).
- The probability of exactly \( k \) successes is given by:
\( P(X = k) = \binom{n}{k} p^k (1-p)^{n-k} \)
where \( \binom{n}{k} \) is the binomial coefficient: \( \binom{n}{k} = \frac{n!}{k!(n-k)!} \).
2. Mean and Variance
- Mean (\( \mu \)): The expected value of \( X \) is:
\( \mu = E(X) = np \)
- Variance (\( \sigma^2 \)): The variance of \( X \) is:
\( \sigma^2 = np(1-p) \)
- The standard deviation (\( \sigma \)) is:
\( \sigma = \sqrt{np(1-p)} \)
3. Situations Where the Binomial Distribution Is Appropriate
- The binomial distribution is used when:
- Each trial is independent.
- Each trial has exactly two outcomes (success or failure).
- The probability of success remains constant across trials.
4. Technology in Examinations
- In exams, binomial probabilities are typically calculated using available technology, such as graphing calculators, statistical software, or online tools.
Solved Examples
Example 1: Calculating Binomial Probability
Problem: A die is rolled 5 times. What is the probability of rolling a 6 exactly twice?
Solution:
- Here, \( n = 5 \), \( k = 2 \), \( p = \frac{1}{6} \).
- Using the formula:
\( P(X = 2) = \binom{5}{2} \left(\frac{1}{6}\right)^2 \left(\frac{5}{6}\right)^3 \)
\( P(X = 2) = 10 \cdot \frac{1}{36} \cdot \frac{125}{216} \)
\( P(X = 2) = \frac{1250}{7776} \approx 0.161 \)
Answer: The probability is approximately 0.161.
Example 2: Mean and Variance
Problem: In a factory, 20% of products are defective. If 50 products are selected at random, find the mean and variance of the number of defective products.
Solution:
- Here, \( n = 50 \), \( p = 0.2 \), \( 1-p = 0.8 \).
- Mean:
\( \mu = np = 50 \cdot 0.2 = 10 \)
- Variance:
\( \sigma^2 = np(1-p) = 50 \cdot 0.2 \cdot 0.8 = 8 \)
Answer: Mean = 10, Variance = 8.
Connections and Extensions
1. Links to Other Concepts
- SL 4.5: The expected number of occurrences in a probability experiment is linked to the mean of the binomial distribution.
2. Historical and Cultural Perspectives
- Aim 8: The binomial coefficients in “Pascal’s triangle” were first documented by the Chinese mathematician Yang Hui, predating Pascal by centuries.
- International-Mindedness: Recognizing contributions from diverse cultures enhances our understanding of mathematical history.
3. Theory of Knowledge (TOK)
- Discussion: What criteria can we use to decide between different models in mathematics? When is the binomial distribution the best model to use?
4. Enrichment
- Hypothesis Testing: The binomial distribution can be used to perform hypothesis tests, such as testing whether the proportion of successes in a sample differs from a specified value.
IB Mathematics AA SL Binomial distribution, its mean and variance Exam Style Worked Out Questions
Question
A biased coin is weighted such that the probability of obtaining a head is \(\frac{4}{7}\). The coin is tossed 6 times and X denotes the number of heads observed. Find the value of the ratio \(\frac{{{\text{P}}(X = 3)}}{{{\text{P}}(X = 2)}}\).
▶️Answer/Explanation
Markscheme
recognition of \(X \sim {\text{B}}\left( {6,\frac{4}{7}} \right)\) (M1)
\({\text{P}}(X = 3) = \left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right){\left( {\frac{4}{7}} \right)^3}{\left( {\frac{3}{7}} \right)^3}\left( { = 20 \times \frac{{{4^3} \times {3^3}}}{{{7^6}}}} \right)\) A1
\({\text{P}}(X = 2) = \left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right){\left( {\frac{4}{7}} \right)^2}{\left( {\frac{3}{7}} \right)^4}\left( { = 15 \times \frac{{{4^2} \times 34}}{{{7^6}}}} \right)\) A1
\(\frac{{{\text{P}}(X = 3)}}{{{\text{P}}(X = 2)}} = \frac{{80}}{{45}}\left( { = \frac{{16}}{9}} \right)\) A1
[4 marks]
Examiners report
Many correct answers were seen to this and the majority of candidates recognised the need to use a Binomial distribution. A number of candidates, although finding the correct expressions for \({\text{P}}(X = 3)\) and \({\text{P}}(X = 4)\), were unable to perform the required simplification.
Question
On Saturday, Alfred and Beatrice play 6 different games against each other. In each game, one of the two wins. The probability that Alfred wins any one of these games is \(\frac{2}{3}\).
Show that the probability that Alfred wins exactly 4 of the games is \(\frac{{80}}{{243}}\).
(i) Explain why the total number of possible outcomes for the results of the 6 games is 64.
(ii) By expanding \({(1 + x)^6}\) and choosing a suitable value for x, prove
\[64 = \left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)\]
(iii) State the meaning of this equality in the context of the 6 games played.
The following day Alfred and Beatrice play the 6 games again. Assume that the probability that Alfred wins any one of these games is still \(\frac{2}{3}\).
(i) Find an expression for the probability Alfred wins 4 games on the first day and 2 on the second day. Give your answer in the form \({\left( {\begin{array}{*{20}{c}}
6 \\
r
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^s}{\left( {\frac{1}{3}} \right)^t}\) where the values of r, s and t are to be found.
(ii) Using your answer to (c) (i) and 6 similar expressions write down the probability that Alfred wins a total of 6 games over the two days as the sum of 7 probabilities.
(iii) Hence prove that \(\left( {\begin{array}{*{20}{c}}
{12} \\
6
\end{array}} \right) = {\left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)^2}\).
Alfred and Beatrice play n games. Let A denote the number of games Alfred wins. The expected value of A can be written as \({\text{E}}(A) = \sum\limits_{r = 0}^n {r\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} \frac{{{a^r}}}{{{b^n}}}\).
(i) Find the values of a and b.
(ii) By differentiating the expansion of \({(1 + x)^n}\), prove that the expected number of games Alfred wins is \(\frac{{2n}}{3}\).
▶️Answer/Explanation
Markscheme
\(B\left( {6,\frac{2}{3}} \right)\) (M1)
\(p(4) = \left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right){\left( {\frac{2}{3}} \right)^4}{\left( {\frac{1}{3}} \right)^2}\) A1
\(\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right) = 15\) A1
\( = 15 \times \frac{{{2^4}}}{{{3^6}}} = \frac{{80}}{{243}}\) AG
[3 marks]
(i) 2 outcomes for each of the 6 games or \({2^6} = 64\) R1
(ii) \({(1 + x)^6} = \left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)x + \left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right){x^2} + \left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right){x^3} + \left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right){x^4} + \left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right){x^5} + \left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right){x^6}\) A1
Note: Accept \(^n{C_r}\) notation or \(1 + 6x + 15{x^2} + 20{x^3} + 15{x^4} + 6{x^5} + {x^6}\)
setting x = 1 in both sides of the expression R1
Note: Do not award R1 if the right hand side is not in the correct form.
\(64 = \left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right) + \left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)\) AG
(iii) the total number of outcomes = number of ways Alfred can win no games, plus the number of ways he can win one game etc. R1
[4 marks]
(i) Let \({\text{P}}(x,{\text{ }}y)\) be the probability that Alfred wins x games on the first day and y on the second.
\({\text{P(4, 2)}} = \left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right) \times {\left( {\frac{2}{3}} \right)^4} \times {\left( {\frac{1}{3}} \right)^2} \times \left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right) \times {\left( {\frac{2}{3}} \right)^2} \times {\left( {\frac{1}{3}} \right)^4}\) M1A1
\({\left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^6}{\left( {\frac{1}{3}} \right)^6}\) or \({\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^6}{\left( {\frac{1}{3}} \right)^6}\) A1
r = 2 or 4, s = t = 6
(ii) P(Total = 6) =
P(0, 6) + P(1, 5) + P(2, 4) + P(3, 3) + P(4, 2) + P(5, 1) + P(6, 0) (M1)
\( = {\left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^6}{\left( {\frac{1}{3}} \right)^6} + {\left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^6}{\left( {\frac{1}{3}} \right)^6} + … + {\left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)^2}{\left( {\frac{2}{3}} \right)^6}{\left( {\frac{1}{3}} \right)^6}\) A2
\( = \frac{{{2^6}}}{{{3^{12}}}}\left( {{{\left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)}^2}} \right)\)
Note: Accept any valid sum of 7 probabilities.
(iii) use of \(\left( {\begin{array}{*{20}{c}}
6 \\
i
\end{array}} \right) = \left( {\begin{array}{*{20}{l}}
6 \\
{6 – i}
\end{array}} \right)\) (M1)
(can be used either here or in (c)(ii))
P(wins 6 out of 12) \( = \left( {\begin{array}{*{20}{c}}
{12} \\
6
\end{array}} \right) \times {\left( {\frac{2}{3}} \right)^6} \times {\left( {\frac{1}{3}} \right)^6} = \frac{{{2^6}}}{{{3^{12}}}}\left( {\begin{array}{*{20}{c}}
{12} \\
6
\end{array}} \right)\) A1
\( = \frac{{{2^6}}}{{{3^{12}}}}\left( {{{\left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right)}^2} + {{\left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)}^2}} \right) = \frac{{{2^6}}}{{{3^{12}}}}\left( {\begin{array}{*{20}{c}}
{12} \\
6
\end{array}} \right)\) A1
therefore \({\left( {\begin{array}{*{20}{c}}
6 \\
0
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
1
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
2
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
3
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
4
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
5
\end{array}} \right)^2} + {\left( {\begin{array}{*{20}{c}}
6 \\
6
\end{array}} \right)^2} = \left( {\begin{array}{*{20}{c}}
{12} \\
6
\end{array}} \right)\) AG
[9 marks]
(i) \({\text{E}}(A) = \sum\limits_{r = 0}^n {r\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} {\left( {\frac{2}{3}} \right)^r}{\left( {\frac{1}{3}} \right)^{n – r}} = \sum\limits_{r = 0}^n {r\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} \frac{{{2^r}}}{{{3^n}}}\)
(a = 2, b = 3) M1A1
Note: M0A0 for a = 2, b = 3 without any method.
(ii) \(n{(1 + x)^{n – 1}} = \sum\limits_{r = 1}^n {\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} r{x^{r – 1}}\) A1A1
(sigma notation not necessary)
(if sigma notation used also allow lower limit to be r = 0)
let x = 2 M1
\(n{3^{n – 1}} = \sum\limits_{r = 1}^n {\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} r{2^{r – 1}}\)
multiply by 2 and divide by \({3^n}\) (M1)
\(\frac{{2n}}{3} = \sum\limits_{r = 1}^n {\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} r\frac{{{2^r}}}{{{3^n}}}\left( { = \sum\limits_{r = 0}^n {\left( {\begin{array}{*{20}{c}}
n \\
r
\end{array}} \right)} \frac{{{2^r}}}{{{3^n}}}} \right)\) AG
[6 marks]
Examiners report
This question linked the binomial distribution with binomial expansion and coefficients and was generally well done.
(a) Candidates need to be aware how to work out binomial coefficients without a calculator
This question linked the binomial distribution with binomial expansion and coefficients and was generally well done.
(b) (ii) A surprising number of candidates chose to work out the values of all the binomial coefficients (or use Pascal’s triangle) to make a total of 64 rather than simply putting 1 into the left hand side of the expression.
This question linked the binomial distribution with binomial expansion and coefficients and was generally well done.
This question linked the binomial distribution with binomial expansion and coefficients and was generally well done.
(d) This was poorly done. Candidates were not able to manipulate expressions given using sigma notation.