DoAssignment.ca

SL 4.8 · Model repeated independent trials with the binomial distribution

Learn to model repeated independent trials with the binomial distribution through clear examples and targeted practice.

International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL

Statistics and Probability

IB Mathematics: Analysis and Approaches SL — Study topic SL 4.8

A multiple-choice question, a quality check, or a repeated game can be described as a sequence of trials. When each trial has two possible outcomes and the conditions remain consistent, the binomial distribution provides a model for counting successes. The key is to check the situation before choosing a formula: a calculation can be accurate but still use the wrong model if the trials are not independent or the success probability changes.

What you will learn

1. Prior knowledge: describing one trial

A trial is one repetition of an activity. For a binomial model, choose one outcome to call a success; the other outcome is a failure. These names are labels, not judgements. For example, if a seed germinates, that may be the success. Let pp be the probability of success on one trial. Then the probability of failure is 1−p1-p, because the two outcomes cover all possibilities.
A sequence of trials is independent when the result of one trial does not change the probabilities on another. The success probability must also be the same on every trial. These conditions are part of the model, not details to ignore. A fixed number of trials, two outcomes per trial, independence, and constant probability are the checks for using a binomial distribution.
P(failure)=1−pP(\text{failure})=1-p

2. The binomial model and its formula

If there are nn independent trials, each with success probability pp, let XX be the number of successes. We write X∼B(n,p)X\sim B(n,p) to identify a binomial random variable. Here, nn is a positive whole number and 0≤p≤10\leq p\leq1.
To have exactly kk successes, first consider one particular arrangement: its probability is pk(1−p)n−kp^k(1-p)^{n-k}. There are (nk){n\choose k} arrangements of kk successes among nn trials. Multiplying gives the probability of exactly kk successes. The combination (nk){n\choose k} counts selections without regard to order; it can be evaluated with a calculator’s combination function.
The possible values of XX are the whole numbers from 00 to nn. “At least” and “at most” probabilities collect several of these values. For instance, “at least one” can often be found more efficiently by subtracting the probability of zero successes from 11. This works because “zero successes” and “at least one success” are complementary events.
P(X=k)=(nk)pk(1−p)n−kP(X=k)={n\choose k}p^k(1-p)^{n-k}

3. Numerical, graphical, and contextual representations

A probability table lists P(X=k)P(X=k) for each possible number of successes. Its entries are non-negative and add to 11, since one of the possible counts must occur. A bar graph of the same distribution places the values of kk along the horizontal axis and their probabilities on the vertical axis. Each bar represents one exact count, not a range.
A graphing calculator can evaluate a single binomial probability using a binomial probability function, often called a probability mass function or `binompdf`. A cumulative function, often called `binomcdf`, gives the probability of a count up to a chosen value. Names and menu paths vary by calculator, so check what the function returns before using it. For example, a cumulative value at kk means P(X≤k)P(X\leq k); subtracting the cumulative value at a−1a-1 from that at bb gives P(a≤X≤b)P(a\leq X\leq b).
Technology is useful for accurate evaluation and for viewing how probability is distributed over possible counts. It does not decide whether the binomial assumptions are appropriate. State the model, identify the event, and explain whether the calculator output is exact-count or cumulative.
P(a≤X≤b)=P(X≤b)−P(X≤a−1)P(a≤ X≤ b)=P(X≤ b)-P(X≤ a-1)

4. A reliable problem-solving routine

Begin by defining success and writing the values of nn and pp. Check the model conditions in the context. Translate the wording into an event such as X=3X=3, X≥1X\geq1, or 2≤X≤52\leq X\leq5. Then choose the exact-probability formula, a sum, or a complement. Keep unrounded values during intermediate calculations and round the final answer as requested.
A useful technology check is to calculate a probability both from the formula and from a calculator function on a manageable example. Agreement helps catch a mistaken parameter or event. In an exam-style response, include enough working to show what the output represents; a calculator number alone may not communicate the reasoning.

Worked example

Exactly two successes

A player makes each penalty shot with probability 0.30.3. Assume shot outcomes are independent. In 88 shots, find the probability of exactly 22 successful shots.
  1. Set up the model
    A success is a made shot. There are a fixed 88 shots, the success probability is 0.30.3 each time, and the outcomes are assumed independent, so the binomial model applies.
    X∼B(8,0.3)X\sim B(8,0.3)
  2. Substitute the exact count
    Exactly two successes can occur in (82){8\choose2} arrangements. Each such arrangement has two successes and six failures.
    P(X=2)=(82)(0.3)2(0.7)6P(X=2)={8\choose2}(0.3)^2(0.7)^6
  3. Evaluate
    Evaluating the expression gives the probability. A calculator can check the arithmetic using a single-value binomial function.
    P(X=2)=0.29647548P(X=2)=0.29647548
Answer: The probability is approximately 0.29650.2965, or 29.65% to two decimal places as a percentage.
Check: The answer is between 00 and 11. The factor (0.7)6(0.7)^6 represents the six missed shots.

Worked example

At least one success

An electronic component passes an inspection with probability 0.80.8. For a batch of 66 independently inspected components, find the probability that at least one fails.
  1. Define the count
    Let XX count the components that fail. The failure probability on one inspection is 1−0.8=0.21-0.8=0.2, so the number of failures follows a binomial model.
    X∼B(6,0.2)X\sim B(6,0.2)
  2. Use the complement
    At least one failure is the complement of no failures. No failures means that all six components pass, which has probability (0.8)6(0.8)^6 by independence.
    P(X≥1)=1−P(X=0)=1−(0.8)6P(X\geq1)=1-P(X=0)=1-(0.8)^6
  3. Calculate
    Subtracting the probability of no failures from 11 gives the required probability.
    P(X≥1)=0.737856P(X\geq1)=0.737856
Answer: The probability that at least one component fails is approximately 0.73790.7379.
Check: The complementary event is exactly zero failures, not exactly one failure.

Worked example

A range of success counts

A plant produces a flower with probability 0.40.4 in each of 1010 independent growing trials. Find the probability of between 33 and 55 flowers, inclusive.
  1. Model and translate
    Let XX be the number of flowers. “Between 33 and 55, inclusive” includes the three counts 33, 44, and 55.
    X∼B(10,0.4),P(3≤X≤5)X\sim B(10,0.4), P(3≤ X\leq5)
  2. Add the exact-count probabilities
    These possible counts do not overlap, so their probabilities can be added. Use the binomial formula once for each count.
    P(3≤X≤5)=P(X=3)+P(X=4)+P(X=5)P(3≤ X\leq5)=P(X=3)+P(X=4)+P(X=5)
  3. Evaluate or check with technology
    The three terms evaluate to 0.2149908480.214990848, 0.2508226560.250822656, and 0.20065812480.2006581248. A cumulative calculator function can also find the range by subtracting P(X≤2)P(X\leq2) from P(X≤5)P(X\leq5).
    P(3≤X≤5)=0.6664716288P(3≤ X\leq5)=0.6664716288
Answer: The probability is approximately 0.66650.6665 to four decimal places.
Check: The inclusive endpoints are handled by including both P(X=3)P(X=3) and P(X=5)P(X=5).

Common mistakes and how to avoid them

Using pp as the probability of failure in the formula.
Correction: Define success first. Use pp for success and 1−p1-p for failure throughout.
Applying a binomial model when the success probability changes or trials affect one another.
Correction: Check independence and constant probability in the context before calculating.
Interpreting “at most kk” as “less than kk.”
Correction: At most kk means X≤kX\leq k, so the count kk is included.
Using a cumulative calculator output as though it were the probability of exactly one count.
Correction: Check the function’s meaning: cumulative output includes all counts up to its input.

Lesson summary

Check your understanding

Question 1

A fair coin is tossed 55 times independently. If XX is the number of heads, what is P(X=0)P(X=0)?
  1. 132\frac{1}{32}
  2. 532\frac{5}{32}
  3. 12\frac{1}{2}
  4. 3132\frac{31}{32}
Show answer and explanation
132\frac{1}{32}
Zero heads means five tails, so the probability is (0.5)5=132(0.5)^5=\frac{1}{32}.

Question 2

For a binomial random variable with n=7n=7, what does “at most 22 successes” mean?
  1. X<2X<2
  2. X≤2X\leq2
  3. X≥2X\geq2
  4. X=2X=2
Show answer and explanation
X≤2X\leq2
At most 22 includes 00, 11, and 22 successes, so the event is X≤2X\leq2.

Question 3

A binomial model has n=4n=4 and success probability p=0.25p=0.25. What is the probability of exactly one success?
  1. 0.10550.1055
  2. 0.31640.3164
  3. 0.42190.4219
  4. 0.75000.7500
Show answer and explanation
0.31640.3164
Use (41)(0.25)(0.75)3=0.31640625{4\choose1}(0.25)(0.75)^3=0.31640625, which rounds to 0.31640.3164.

Key terms

Trial
One repetition of an activity with two outcomes in the binomial model.
Success
The chosen outcome being counted; it is a label for one of the two outcomes.
Independent trials
Trials for which one result does not change the probabilities on the others.
Binomial distribution
A probability model for the number of successes in a fixed number of independent trials with a constant success probability.
Cumulative probability
The probability of a count being at or below a specified value, such as P(X≤k)P(X\leq k).

Continue through IB AA SL

View the complete IB AA SL International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL, study topic SL 4.8. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question