IB Applications and Interpretation SL · Discrete random variables and the binomial distribution · Section 3 of 3

The binomial distribution: probabilities, mean and variance

3 worked examples · By Álvaro López

Key idea

The binomial distribution models the number of successes in a series of repeated trials, such as a marksman's hits, the defective screws in a batch or the correct answers in a test answered at random. In the IB exam it is almost always solved with the graphic display calculator (GDC), but you must recognise when it is binomial, identify and , and translate the question into , or .

Bernoulli trials

A Bernoulli trial is a trial with only two possible outcomes, which we call success and failure. If the probability of success is , that of failure is . "Success" does not mean something good: it is simply the outcome we are counting (for example, that a part is faulty).

Tossing a coin and checking whether it lands heads, or checking whether a randomly chosen student wears glasses, are Bernoulli trials.

The binomial distribution

Conditions 3 and 4 are the ones most often broken. If you draw balls from an urn without returning them, the composition changes at each draw: the probability stops being constant and the trials stop being independent, so it is not binomial. With replacement, it is.

For example, if you toss a balanced coin 4 times, the probability of obtaining exactly 1 head is . The four results "one head and three tails" (HTTT, THTT, TTHT, TTTH) each have probability .

Mean and variance

These formulas also allow the reverse: if the question gives the mean and the variance, and can be found (see the method below).

Cumulative probabilities

Many questions ask not for a specific value but for a range ("at most 3", "at least 5", "between 2 and 4"). The calculator has two functions for the binomial: one gives (point probability) and the other gives (cumulative probability). With the second and the complement, everything can be solved.

Finding n or p

If only is known and the smallest that satisfies a condition is asked for (for example, that the probability of at least one success exceeds a value), set up an inequality with the complement, , and test values of on the calculator or use logarithms.

Worked examples

Example 1 Basic

Free throws

A basketball player scores 70% of her free throws, and each throw is independent of the others. She takes 6 free throws. Let be the number of throws she scores.

a) State the distribution of and calculate the probability that she scores exactly 4 throws.

b) Calculate the mean number of throws she is expected to score.

c) Calculate the standard deviation of .

d) Calculate the probability that she scores at most 3 throws.

Solution

a) There are independent trials with two outcomes and constant, so .

b) throws.

c) .

d) Using the cumulative function of the GDC, with , and :

Example 2 Medium

A test answered at random

A test has 12 questions and each one has 4 options, of which only one is correct. A student answers all of them at random. Let be the number of correct answers.

a) Show that is binomial and state its parameters. Calculate the probability of getting exactly 3 questions right.

b) Calculate the probability of getting at most 2 questions right.

c) Calculate the probability of getting at least 5 questions right.

d) Calculate the mean and the standard deviation of the number of correct answers.

Solution

a) Each question is a trial with two outcomes (correct or wrong), the trials are independent because they are answered at random, and the probability of a correct answer is always . There are trials, so .

b) With the cumulative function of the GDC (, , ):

c) "At least 5" is the complement of "at most 4":

d) and .

That is, guessing at random, one expects 3 correct answers out of 12.

Example 3 Hard

Finding the parameters of a binomial

In a bottling plant, the number of bottles with a defective cap in a box follows a binomial distribution. It is known that, per box, the mean of is 12 and its variance is 7.2.

a) Find the number of bottles per box and the probability that a bottle has a defective cap.

b) Calculate the probability that a box has exactly 10 defective bottles.

c) Calculate the probability that a box has more than 12 defective bottles.

d) Calculate the probability that the number of defective bottles is between 10 and 14, both included.

Solution

a) The two equations are set up: Dividing the second by the first: , so . Then . It satisfies and is an integer, so .

b) With the point function of the GDC (, , ):

c) . With the cumulative function, , so

d) As is a whole number, is equivalent to minus :

In the exam: marks are given for writing the two equations and the quotient that gives , and then for stating the model before using the calculator. In part d) the usual mistake is to subtract instead of , which leaves out the value 10. Use the GDC values without rounding, and round only the final answer.

Common mistakes

Summary

  • when the successes are counted in independent trials, each with two outcomes and a constant probability of success .
  • , for .
  • , and .
  • The GDC gives (point) and (cumulative). For the rest: , , and .
  • To find and from the mean and the variance: and .
  • In the exam, write the model and the probability you calculate, and round to 3 significant figures.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp