📚 Applied Finite Mathematics
⇩ Download ▾

8.1 More Probability

Chapter Overview

In this chapter, you will learn to:

  1. Find the probability of a binomial experiment.
  2. Find probabilities using Bayes' Formula.
  3. Find the expected value or payoff in a game of chance.
  4. Find probabilities using tree diagrams.

Binomial Probability

In this section, we will consider types of problems that involve a sequence of trials, where each trial has only two outcomes, a success or a failure. These trials are independent, that is, the outcome of one does not affect the outcome of any other trial. Furthermore, the probability of success, p size 12{p} {}, and the probability of failure, (1p) size 12{ left (1 - p right )} {}, remains the same throughout the experiment. These problems are called binomial probability problems. Since these problems were researched by a Swiss mathematician named Jacques Bernoulli around 1700, they are also referred to as Bernoulli trials.

We give the following definition:

Binomial Experiment A binomial experiment satisfies the following four conditions:

  1. There are only two outcomes, a success or a failure, for each trial.
  2. The same experiment is repeated several times.
  3. The trials are independent; that is, the outcome of a particular trial does not affect the outcome of any other trial.
  4. The probability of success remains the same for every trial.

The probability model that we are about to investigate will give us the tools to solve many real-life problems like the ones given below.

  1. If a coin is flipped 10 times, what is the probability that it will fall heads 3 times?
  2. If a basketball player makes 3 out of every 4 free throws, what is the probability that he will make 7 out of 10 free throws in a game?
  3. If a medicine cures 80% of the people who take it, what is the probability that among the ten people who take the medicine, 6 will be cured?
  4. If a microchip manufacturer claims that only 4% of his chips are defective, what is the probability that among the 60 chips chosen, exactly three are defective?
  5. If a telemarketing executive has determined that 15% of the people contacted will purchase the product, what is the probability that among the 12 people who are contacted, 2 will buy the product?

We now consider the following example to develop a formula for finding the probability of k size 12{k} {} successes in n Bernoulli trials.

This gives us the following theorem:

We use the above formula to solve the following examples.

Bayes' Formula

In this section, we will develop and use Bayes' Formula to solve an important type of probability problem. Bayes' formula is a method of calculating the conditional probability P(FE) size 12{P left (F \lline E right )} {} from P(EF) size 12{P left (E \lline F right )} {}. The ideas involved here are not new, and most of these problems can be solved using a tree diagram. However, Bayes' formula does provide us with a tool with which we can solve these problems without a tree diagram.

We begin with an example.

We will soon discover that this is a statement of Bayes' formula.

Let us first visualize the problem.

We are given a sample space S size 12{S} {} and two mutually exclusive events JI size 12{J`I} {} and JII size 12{J` ital "II"} {}. That is, the two events, JI size 12{J`I} {} and JII size 12{J` ital "II"} {}, divide the sample space into two parts such that JIJII=S size 12{J`I union J` ital "II"=S} {}. Furthermore, we are given an event B size 12{B} {} that has elements in both JI size 12{J`I} {} and JII size 12{J` ital "II"} {}, as shown in the tree diagram below.

Tree diagram with two first-stage branches, Jar I and Jar II. Each jar branches to a black marble B or a white marble W. The black-marble outcomes are labeled B = P(J I)P(B | J I) for Jar I and B = P(J II)P(B | J II) for Jar II.
Figure 8.3

From the Venn diagram, we can see that

B = ( B J I ) ( B J II ) size 12{B= left (B intersection J`I right ) union left (B intersection J` ital "II" right )} {}

and

P (B ) = P ( B J I ) + P ( B J II ) size 12{P left (B right )=P left (B intersection J`I right )+P left (B intersection J` ital "II" right )} {}

But the product rule in the related section gives us

P ( B J I ) = P ( J I ) P ( B J I ) size 12{P left (B intersection J`I right )=P left (J`I right ) cdot P left (B \lline J`I right )} {}       P ( B J II ) = P ( J II ) P ( B J II ) size 12{P left (B intersection J` ital "II" right )=P left (J` ital "II" right ) cdot P left (B \lline J` ital "II" right )} {}

Substituting in, we get

P (B ) = P ( J I ) P ( B J I ) + P ( J II ) P ( B J II ) size 12{P left (B right )=P left (J`I right ) cdot P left (B \lline J`I right )+P left (J` ital "II" right ) cdot P left (B \lline J` ital "II" right )} {}

The conditional probability formula gives us

P ( J I B ) = P ( J I B ) P (B ) size 12{P left (J`I \lline B right )= { {P left (J`I intersection B right )} over {P left (B right )} } } {}

Therefore,

P ( J I B ) = P ( J I P ( B J I ) ) P (B ) size 12{P left (J`I \lline B right )= { {P left (J`I cdot P left (B \lline J`I right ) right )} over {P left (B right )} } } {}

or,

P ( J I B ) = P ( J I ) P ( B J I ) P ( J I ) P ( B J I ) + P ( J II ) P ( B J II ) size 12{P left (J`I \lline B right )= { {P left (J`I right ) cdot P left (B \lline J`I right )} over {P left (J`I right ) cdot P left (B \lline J`I right )+P left (J` ital "II" right ) cdot P left (B \lline J` ital "II" right )} } } {}

The last statement is Bayes' Formula for the case where the sample space is divided into two partitions. The following is the generalization of this formula for n partitions.

We begin with the following example.

Expected Value

An expected gain or loss in a game of chance is called Expected Value. The concept of expected value is closely related to a weighted average. Consider the following situations.

  1. Suppose you and your friend play a game that consists of rolling a die. Your friend offers you the following deal: If the die shows any number from 1 to 5, he will pay you the face value of the die in dollars, that is, if the die shows a 4, he will pay you $4. But if the die shows a 6, you will have to pay him $18.

    Before you play the game you decide to find the expected value. You analyze as follows.

    Since a die will show a number from 1 to 6, with an equal probability of 1/6 size 12{1/6} {}, your chance of winning $1 is 1/6 size 12{1/6} {}, winning $2 is 1/6 size 12{1/6} {}, and so on up to the face value of 5. But if the die shows a 6, you will lose $18. You write the expected value.

    E = $ 1 ( 1 / 6 ) + $ 2 ( 1 / 6 ) + $ 3 ( 1 / 6 ) + $ 4 ( 1 / 6 ) + $ 5 ( 1 / 6 ) $ 18 ( 1 / 6 ) = $ . 50 size 12{E=$1 left (1/6 right )+$2 left (1/6 right )+$3 left (1/6 right )+$4 left (1/6 right )+$5 left (1/6 right ) - $"18" left (1/6 right )= - $ "." "50"} {}

    This means that every time you play this game, you can expect to lose 50 cents. In other words, if you play this game 100 times, theoretically you will lose $50. Obviously, it is not to your interest to play.

  2. Suppose of the ten quizzes you took in a course, on eight quizzes you scored 80, and on two you scored 90. You wish to find the average of the ten quizzes. The average is

    A = (80 ) (8 ) + (90 ) (2 ) 10 = (80 ) 8 10 + (90 ) 2 10 = 82 size 12{A= { { left ("80" right ) left (8 right )+ left ("90" right ) left (2 right )} over {"10"} } = left ("80" right ) { {8} over {"10"} } + left ("90" right ) { {2} over {"10"} } ="82"} {}

    It should be observed that it will be incorrect to take the average of 80 and 90 because you scored 80 on eight quizzes, and 90 on only two of them. Therefore, you take a "weighted average" of 80 and 90. That is, the average of 8 parts of 80 and 2 parts of 90, which is 82.

In the first situation, to find the expected value, we multiplied each payoff by the probability of its occurrence, and then added up the amounts calculated for all possible cases. In the second part of, if we consider our test score a payoff, we did the same. This leads us to the following definition.

Probability Using Tree Diagrams

As we have already seen, tree diagrams play an important role in solving probability problems. A tree diagram helps us not only visualize, but also list all possible outcomes in a systematic fashion. Furthermore, when we list various outcomes of an experiment and their corresponding probabilities on a tree diagram, we gain a better understanding of when probabilities are multiplied and when they are added. The meanings of the words and and or become clear when we learn to multiply probabilities horizontally across branches, and add probabilities vertically down the tree.

Although tree diagrams are not practical in situations where the possible outcomes become large, they are a significant tool in breaking the problem down in a schematic way. We consider some examples that may seem difficult at first, but with the help of a tree diagram, they can easily be solved.

Adapted from Applied Finite Mathematics by Rupinder Sekhon (De Anza College), originally published by OpenStax CNX (cnx.org, collection col10613), licensed under CC BY 3.0. Changes were made. License: CC-BY-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.