Sections
Introduction

Introduction

Introduction

Probability is a measure that is associated with how certain we are of results, or outcomes, of a particular activity. When the activity is a planned operation carried out under controlled conditions, it is called an experiment. If the result is not predetermined, then the experiment is said to be a chance experiment. Each time the experiment is attempted is called a trial.

Examples of chance experiments include the following:

  • flipping a fair coin
  • spinning a spinner
  • drawing a marble at random from a bag
  • rolling a pair of dice

A result of an experiment is called an outcome. The sample space of an experiment is the set, or collection, of all possible outcomes.

There are four main ways to represent a sample space.

  Flipping a Fair Coin Flipping Two Fair Coins
Systematic List of Outcomes heads (H)

 
tails (T)
HH

 
HT

 
TH

 
TT
Tree Diagram*
338af2eaeec383a3051027bf9449d7448ee8ec79
Figure 3.2
e565bab541fe9493628b8cbe535cd0292a8740bd
Figure 3.3
Venn Diagram*
e6a1f399f79be6f5169e2b98d5cf0d989da815bd
Figure 3.4
25c26adee9586c0242e7f1af91a2700b84f7b442
Figure 3.5
Set Notation S= {H, T}S= {H, T} S= {HH, HT, TH, TT}S= {HH, HT, TH, TT}
Table 3.1
 

*We will investigate tree diagrams and Venn diagrams in Section 3.5.

Note—When represented as a set, the sample space is denoted with an uppercase S.

An event is any combination of outcomes. It is a subset of the sample space, so uppercase letters like A and B are commonly used to represent events. For example, if the experiment is to flip three fair coins, event A might be getting at most one head.

The probability of an event A is written P(A), and

 0  P(A)  1.P(A) = 0 0  P(A)  1.

means the event A can never happen. P(A) = 1 means the event A always happens.

 

P(A) = .5 means the event A is equally likely to occur or not to occur.

Image shows a number line from zero to one with a tick and label at one half. Tick zero represents the probability of an impossible event. Tick one represents the probability of a certain event. Tick one half represents the probability of an event that is equally likely to happen or not. Above the number line, an arrow points from one half toward zero showing that as probability moves closer to zero events are less likely. An arrow points from one half toward one showing that as probability moves closer t
Figure 3.6

If two outcomes or events are equally likely, then they have equal probability. For example, if you toss a fair, six-sided die, each face (1, 2, 3, 4, 5, or 6) is as likely to occur as any other face. If you toss a fair coin, a Head (H) and a Tail (T) are equally likely to occur. If you randomly guess the answer to a true/false question on an exam, you are equally likely to select a correct answer or an incorrect answer.

To calculate the probability of an event A when all outcomes in the sample space are equally likely, count the number of outcomes for event A and divide by the total number of outcomes in the sample space. This is known as the theoretical probability of A.

Theoretical Probability of Event A

P(A)=Number of outcomes in event ATotal number of possible outcomesP(A)=Number of outcomes in event ATotal number of possible outcomes

For example, if you toss a fair dime and a fair nickel, the sample space is {HH, TH, HT, TT} where T = tails and H = heads. The sample space has four outcomes. Let A represent the outcome getting one head. There are two outcomes that meet this condition {HT, TH}, so: P(A)=24=12=.5.P(A)=24=12=.5.

Theoretical probability is not sufficient in all situations, however. Suppose we want to calculate the probability that a randomly selected car will run a red light at a given intersection. In this case, we need to look at events that have occurred, not theoretical possibilities. We could install a traffic camera and count the number of times that cars failed to stop when the light was red and the total number of cars that passed through the intersection for a period of time. These data will allow us to calculate the experimental, or empirical, probability that a car runs the red light.

Experimental Probability of Event A

P(A)=Number of times event A occursTotal number of trialsP(A)=Number of times event A occursTotal number of trials

While theoretical and experimental methods provide two different ways to calculate probability, these methods are closely related. If you flip one fair coin, there is one way to obtain heads and two possible outcomes. So, the theoretical probability of heads is 1212. Probability does not predict short-term results, however. If an experiment involves flipping a coin 10 times, you should not expect exactly five heads and five tails. The probabilityof any outcome measures the long-term relative frequency of that outcome. If you continue to flip the coin (from 20 to 2,000 to 20,000 times) the relative frequency of heads approaches .5 (the probability of heads).This important characteristic of probability experiments is known as the law of large numbers, which states that as the number of repetitions of an experiment is increased, the relative frequency obtained in the experiment tends to become closer and closer to the theoretical probability. Even though the outcomes do not happen according to any set pattern or order, overall, the long-term observed, or empirical, relative frequency will approach the theoretical probability.

Suppose you roll one fair, six-sided die with the numbers {1, 2, 3, 4, 5, 6} on its faces. Let event E = rolling a number that is at least five. There are two outcomes {5, 6}. P(E)=26.P(E)=26 If you were to roll the die only a few times, you would not be surprised if your observed results did not match the probability. If you were to roll the die a very large number of times, you would expect that, overall, 2626 of the rolls would result in an outcome of at least five. You would not expect exactly 2626, but the long-term relative frequency of obtaining this result would approach the theoretical probability of 2626 as the number of repetitions grows larger and larger.

It is important to realize that in many situations, the outcomes are not equally likely. A coin or die may be unfair, or biased. Two math professors in Europe had their statistics students test the Belgian one-euro coin and discovered that in 250 trials, a head was obtained 56 percent of the time and a tail was obtained 44 percent of the time. The data seem to show that the coin is not a fair coin; more repetitions would be helpful to draw a more accurate conclusion about such bias. Some dice may be biased. Look at the dice in a game you have at home; the spots on each face are usually small holes carved out and then painted to make the spots visible. Your dice may or may not be biased; it is possible that the outcomes may be affected by the slight weight differences due to the different numbers of holes in the faces. Gambling casinos make a lot of money depending on outcomes from rolling dice, so casino dice are made differently to eliminate bias. Casino dice have flat faces; the holes are completely filled with paint having the same density as the material that the dice are made out of so that each face is equally likely to occur. Later we will learn techniques to use to work with probabilities for events that are not equally likely.




 

OR EventAn outcome is in the event A OR B if the outcome is in A or is in B or is in both A and B. For example, let A = {1, 2, 3, 4, 5} and B = {4, 5, 6, 7, 8}. A OR B = {1, 2, 3, 4, 5, 6, 7, 8}. Notice that 4 and 5 are not listed twice.




 

AND EventAn outcome is in the event A AND B if the outcome is in both A and B at the same time. For example, let A and B be {1, 2, 3, 4, 5} and {4, 5, 6, 7, 8}, respectively.

Then A AND B = {4, 5}.

The complement of event A is denoted A′ (read "A prime"). A′ consists of all outcomes that are not in A. Notice that P(A) + P(A′) = 1.

For example, let S = {1, 2, 3, 4, 5, 6} and let A = {1, 2, 3, 4}. Then, A′ = {5, 6}. P(A) = 4646, P(A′) = 2626, and P(A) + P(A′) = 46 + 2646 + 26 = 1.

The conditional probability of A given B is written P(A|B), read "the probability of A, given B." P(A|B) is the probability that event A will occur given that the event B has already occurred. A conditional probability reduces the sample space. We calculate the probability of A from the reduced sample space B. The formula to calculate P(A|B) is P(A|B) = P(A AND B)P(B)P(A AND B)P(B) where P(B) is greater than zero.

For example, suppose we toss one fair, six-sided die. The sample space S = {1, 2, 3, 4, 5, 6}. Let A = {2, 3} and B = {2, 4, 6}. P(A|B) represents the probability that a randomly selected outcome is in A given that it is in B. We know that the outcome must lie in B, so there are three possible outcomes. There is only one outcome in B that also lies in A, so P(A|B) = 1313.

We get the same result by using the formula. Remember that S has six outcomes.

P(A|B) = P(A AND B)P(B)=(the number of outcomes that are 2 or 3 and even in S)6(the number of outcomes that are even in S)6=1636=13P(A AND B)P(B)=(the number of outcomes that are 2 or 3 and even in S)6(the number of outcomes that are even in S)6=1636=13

Understanding Terminology and SymbolsIt is important to read each problem carefully to think about and understand what the events are. Understanding the wording is the first very important step in solving probability problems. Reread the problem several times if necessary. Clearly identify the event of interest. Determine whether there is a condition stated in the wording that would indicate that the probability is conditional; carefully identify the condition, if any.

Example 3.1

The sample space S is the whole numbers starting at one and less than 20.

  1. S = ________

    Let event A = the even numbers and event B = numbers greater than 13.

  2. A = ________, B = ________
  3. P(A) = ________, P(B) = ________
  4. A AND B = ________, A OR B = ________
  5. P(A AND B) = ________, P(A OR B) = ________
  6. A′ = ________, P(A′) = ________
  7. P(A) + P(A′) = ________
  8. P(A|B) = ________, P(B|A) = ________; are the probabilities equal?
Solution 3.1
  1. S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}
  2. A = {2, 4, 6, 8, 10, 12, 14, 16, 18}, B = {14, 15, 16, 17, 18, 19}
  3. P(A) = number of outcomes in Anumber of outcomes in Snumber of outcomes in Anumber of outcomes in S = 919919, P(B) = P(A) = number of outcomes in Bnumber of outcomes in Snumber of outcomes in Bnumber of outcomes in S = 619619
  4. The set A AND B contains all outcomes that lie in both sets A and B, so A AND B = {14,16,18}, The set A OR B contains all outcomes that lie either of the sets A or B, so A OR B = {2, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19}.
  5. P(A AND B) = 319,319,P(A OR B) = 12191219
  6. A' consists of all outcomes in the sample space, S, that DO NOT lie in A, so A′ = 1, 3, 5, 7, 9, 11, 13, 15, 17, 19; P(A′) = 10191019.
  7. P(A) + P(A′) = 919919 + 10191019 = 1
  8. P(A|B) = P(A AND B)P(B)P(A AND B)P(B)=319619=319619 = 3636, P(B|A) = P(A AND B)P(A)P(A AND B)P(A)=319919=319919 = 3939, No, the probabilities are not equal.
Try It 3.1

The sample space S is all the ordered pairs of two whole numbers, the first from one to three and the second from one to four (Example: (1, 4)).

  1. S = ________

     
    Let event A = the sum is even and event B = the first number is prime.
  2. A = ________, B = ________
  3. P(A) = ________, P(B) = ________
  4. A AND B = ________, A OR B = ________
  5. P(A AND B) = ________, P(A OR B) = ________
  6. B′ = ________, P(B′) = ________
  7. P(A) + P(A′) = ________
  8. P(A|B) = ________, P(B|A) = ________; are the probabilities equal?

Example 3.2

A fair, six-sided die is rolled. The sample space, S, is {1, 2, 3, 4, 5, 6}. Describe each event and calculate its probability.

  1. Event T = the outcome is two.
  2. Event A = the outcome is an even number.
  3. Event B = the outcome is less than four.
  4. The complement of A
  5. A GIVEN B
  6. B GIVEN A
  7. A AND B
  8. A OR B
  9. A OR B′
  10. Event N = the outcome is a prime number.
  11. Event I = the outcome is seven.
Solution 3.2
  1. T = {2}, P(T) = number of outcomes in Tnumber of outcomes in Snumber of outcomes in Tnumber of outcomes in S = 1616
  2. A = {2, 4, 6}, P(A) = 3636 = 1212
  3. B = {1, 2, 3}, P(B) = 3636 = 1212
  4. A′ = {1, 3, 5}, P(A′) = 3636 = 1212
  5. A|B = {2}, There are three outcomes in B, and only 1 of these lies in A, so P(A|B) = 1313.
  6. B|A = {2}, There are three outcomes in A, and only 1 of these lies in B, so P(B|A) = 1313.
  7. A AND B = {2}, P(A AND B) = 1616
  8. A OR B = {1, 2, 3, 4, 6}, P(A OR B) = 5656
  9. A OR B′ = {2, 4, 5, 6}, P(A OR B′) = 4646 = 2323
  10. N = {2, 3, 5}, P(N) = 1212
  11. It is impossible to roll a die and get an outcome of 7, so P(7) = 0.

Example 3.3

Table 3.2 describes the distribution of a random sample S of 100 individuals, organized by gender and whether they are right- or left-handed.

  Right-Handed Left-Handed
Males 43 9
Females 44 4
Table 3.2

Let’s denote the events M = the subject is male, F = the subject is female, R = the subject is right-handed, L = the subject is left-handed. Compute the following probabilities:

  1. P(M)
  2. P(F)
  3. P(R)
  4. P(L)
  5. P(M AND R)
  6. P(F AND L)
  7. P(M OR F)
  8. P(M OR R)
  9. P(F OR L)
  10. P(M')
  11. P(R|M)
  12. P(F|L)
  13. P(L|F)
Solution 3.3
  1. P(M)=number of malestotal number of subjects=43+943+9+44+4=52100=.52P(M)=number of malestotal number of subjects=43+943+9+44+4=52100=.52
  2. P(F)=number of femalestotal number of subjects=44+443+9+44+4=48100=.48P(F)=number of femalestotal number of subjects=44+443+9+44+4=48100=.48
  3. P(R)=number of right-handed subjectstotal number of subjects=43+4443+9+44+4=87100=.87P(R)=number of right-handed subjectstotal number of subjects=43+4443+9+44+4=87100=.87
  4. P(L)=number of left-handed subjectstotal number of subjects=9+443+9+44+4=13100=.13P(L)=number of left-handed subjectstotal number of subjects=9+443+9+44+4=13100=.13
  5. P(M and R)=number of male, right-handed subjectstotal number of subjects=43100=.43P(M and R)=number of male, right-handed subjectstotal number of subjects=43100=.43
  6. P(F and L)=number of female, left-handed subjectstotal number of subjects=4100=.04P(F and L)=number of female, left-handed subjectstotal number of subjects=4100=.04
  7. P(M or F)=number of subjects that are male or femaletotal number of subjects=52+48100=100100=1P(M or F)=number of subjects that are male or femaletotal number of subjects=52+48100=100100=1
  8. P(M or R)=number of subjects that are male or right-handedtotal number of subjects=43+9+44100=96100=.96P(M or R)=number of subjects that are male or right-handedtotal number of subjects=43+9+44100=96100=.96
  9. P(F or L)=number of subjects that are female or left-handedtotal number of subjects=44+4+9100=57100=.57P(F or L)=number of subjects that are female or left-handedtotal number of subjects=44+4+9100=57100=.57
  10. P(M')=number of subjects who are not maletotal number of subjects=44+443+9+44+4=48100=.48P(M')=number of subjects who are not maletotal number of subjects=44+443+9+44+4=48100=.48
  11. P(R|M)=P(R and M)P(M)=0.430.52˜=.8269P(R|M)=P(R and M)P(M)=0.430.52˜=.8269 (rounded to four decimal places)
  12. P(F|L)=P(F and L)P(L)=0.040.13˜=.3077P(F|L)=P(F and L)P(L)=0.040.13˜=.3077 (rounded to four decimal places)
  13. P(L|F)=P(L and F)P(F)=0.040.48˜=.0833P(L|F)=P(L and F)P(F)=0.040.48˜=.0833 (rounded to four decimal places)