2.2 Probability Fundamentals

A generic candlestick chart.

2.2: Probability Fundamentals

Learning Objectives

Upon completion of this section, you should be able to

  • Define a sample space for a random experiment.
  • Identify events for a random experiment.
  • Compute theoretical and experimental probabilities for events.
  • Compute probabilities for events with equal likely outcomes.

Law of Large Numbers

Many events in the world around us exhibit random patterns, but by repeated observations of such events it can often be seen to predict long-term patterns (despite random, short-term fluctuations). Probability is simply the branch of mathematics devoted to the study of these events. The probability of a specified event or outcome is the chance or likelihood that it will occur.

Probability

The probability of any outcome (a particular result in an experiment) is the long-term relative frequency of that outcome.

A close up of a hand tossing a coin What is the probability of a Head in a coin toss? How do you know that?

There are several ways of answering that question above about probability. One approach is called theoretical in that we use logic or knowledge about the event of interest and assign a probability. For this coin example we could use logical reasoning to say that each side of the coin has the same chance of landing upright when flipped, so we would assign the probability as 12 for being a heads. This theoretical value comes with some assumptions typically (the coin is balanced equally throughout, the player is not attempting to manipulate the toss, etc…).

Another approach is called empirical (also called experimental). This is where we repeatedly conduct an experiment and assign the probability to be the ratio of times we observed the event to the number of trials in the experiment. Suppose we flipped that coin 1000 times and heads occurred 529 times. We could assign the probability of being a head on a flip as the ratio 5291000.

Theoretical and Empirical Probability

Theoretical Probability:

The expected ratio (relative frequency) of an event occurring, based on mathematical calculations or logical reasoning. It is determined by analyzing the possible outcomes of a situation without conducting experiments.

Empirical Probability:

The ratio (relative frequency) of an event occurring, based on actual experiments or collected data. It is calculated by dividing the number of times an event occurs by the total number of trials or observations.

In 1777, Georges-Louis Leclerc, Comte de Buffon, reported flipping a coin 4,040 times, resulting in 2,048 heads . This experiment, recorded in his “Essai d’Arithmétique Morale,” was one of the earliest large-scale empirical probability studies (Stigler, “The History of Statistics” 1986).

Let’s imagine following Buffon’s process, but with 1,000 coin flips instead of 4,040. After 10 flips, we might see 7 heads, giving an empirical probability of 70% for heads. This seems far from the expected 50% for a fair coin. But what happens as we continue flipping? As the number of flips increases, something interesting occurs. The percentage of heads tends to get closer and closer to 50%. After 100 flips, we might see 53 heads, or 53%. After 500 flips, perhaps 252 heads, or 50.4%. And after all 1,000 flips, we could end up with 503 heads, or 50.3%.

This phenomenon, where the empirical probability converges towards the theoretical probability as the number of trials increases, is called the law of large numbers. It suggests that with a large enough sample size, our observed results will approach the true probability.

Law of Large Numbers

The Law of Large Numbers states that as the number of repetitions of an experiment is increased, the ratio of an observed event obtained in the experiment tends to become closer and closer to the theoretical probability.

The law of large numbers doesn’t guarantee that we’ll get exactly 50% heads after 1,000 or even 4,040 flips, but it does tell us that we’re likely to get very close. This principle is crucial in many fields, from scientific research to opinion polling, where larger sample sizes generally lead to more accurate results.

Example 1

Suppose you took a fair six-sided die, with the numbers 1, 2, 3, 4, 5, and 6 on its faces, and rolled it 100 times. Those outcomes are summarized in the table below.

  1. Based on the table what is the probability of rolling a 5?
  2. If we were to roll the die 10,000 times instead what would we expect the ratio of observed 5’s to be close to?
Dice Outcome Frequency
1 21
2 14
3 18
4 11
5 24
6 12

Solution

  1. In the table we see that an outcome of 5 is rolled 24 times out of the 100 trials of the experiment of rolling that die. This tells us that the empirical probability of rolling a 5 is the ratio 24100or 24%.
  2. As we roll that die more often (10,000 instead of 100 times) we would expect the ratio of observed values of 5 to approach the theoretical probability of rolling a 5. If the die is fair we expect to see an equal number of 5’s rolled when comparing to any of the other number on the other faces of the die. There are six sides and the 5 side is just one of those 6, so that would mean our theoretical probability would be the ratio 16 or .

It is important to realize that in many situations, the outcomes are not equally likely. A coin or die may be unfair, or 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 material of a different color, but 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.

Sample Spaces and Events

If you roll a die, pick a card from deck of playing cards, or randomly select a person and observe their age, we say we are conducting a random experiment, an action for which all possible outcomes can be listed, but for which the actual outcome on any given trial of the experiment cannot be predicted with certainty. In probability, we look at the likelihood of an outcome or a collection of outcomes that we call an event in the random experiment.

We begin with some terminology.

Definitions

Random experiment: A process with an uncertain outcome that can be repeated under the same controlled conditions.
Sample space: The set of all possible outcomes of a random experiment.
Event: A subset of the sample space, representing a collection of possible outcomes.
Simple event: An event consisting of exactly one outcome from the sample space.

Example 2

Construct a sample space for the experiment that consists of tossing a single coin and observing which side is facing up when it lands.


Solution

The outcomes could be labeled h for heads and t for tails. The sample space is the set S={h,t}.

Whether the coin was fair or not does not factor into the creation of this sample space. It is purely a collection of all outcomes for flipping the coin and recording which side is showing up.

Example 3

Construct a sample space for the experiment that consists of rolling a standard single die. Find the events that correspond to the phrases “an even number is rolled” and “a number greater than two is rolled.”


Solution

The sample space is the set of all possible simple events: S={1,2,3,4,5,6}

The event “an even number is rolled” would be the collection of all even numbers. We will call this event E and would be: E={2,4,6}

The event “a number greater than two is rolled.” would be the collection of all numbers larger (greater) than 2. We will call this event F and would be: F={3,4,5,6}

The choice of the letter for an event is similar to the choice for a letter in a variable in an algebra application. We pick one that will hopefully help with the meaning of the event in terms of the application. The letter E was a natural choice for the event of an even number in the dice rolls, so it was used. The other event didn’t have a natural choice so we picked a letter close to E and didn’t have any inferred meaning in the application.

A graphical representation of a sample space and events is a Venn diagram, as shown below “Venn Diagrams for Two Sample Spaces”. In general the sample space S is represented by a rectangle, outcomes by points within the rectangle, and events by ovals that enclose the outcomes that compose them.

first rectangle labeled a illustrating the coin toss sample space with two dots inside with one labeled h and other labeled t. Second rectangle labeled b illustrating the sample space for a single dice roll with dots labeled 1, 2, 3, 4, 5, 6 and blue oval around dots 3, 4, 5, 6 and red oval around dots 2, 4, and 6.
Venn Diagrams for Two Sample Spaces

A device that can be helpful in identifying all possible outcomes of a random experiment, particularly one that can be viewed as proceeding in stages, is what is called a tree diagram. It is described in the following example.

Example 4

Construct a sample space that describes all three-child families according to the binary genders of the children with respect to birth order. For simplicity we are only using the binary genders, but recognize there are those who identify as nonbinary.


Solution

Two of the outcomes are “two boys then a girl,” which we might denote bbg, and “a girl then two boys,” which we would denote gbb. Clearly there are many outcomes, and when we try to list all of them it could be difficult to be sure that we have found them all unless we proceed systematically. The tree diagram below gives a systematic approach.

Tree diagram starting with b and g and each branching out to two choices of either b or g until we have branches that list out bbb, bbg, bgb, bgg, gbb, gbg, ggb, ggb, ggg.

The diagram was constructed as follows. There are two possibilities for the first child, boy or girl, so we draw two line segments coming out of a starting point, one ending in a b for “boy” and the other ending in a g for “girl.” For each of these two possibilities for the first child there are two possibilities for the second child, “boy” or “girl,” so from each of the b and g we draw two line segments, one segment ending in a b and one in a g. For each of the four ending points now in the diagram there are two possibilities for the third child, so we repeat the process once more.

The line segments are called branches of the tree. The right ending point of each branch is called a node. The nodes on the extreme right are the final nodes; to each one there corresponds an outcome, as shown in the figure.

From the tree it is easy to read off the eight outcomes of the experiment, so the sample space is, reading from the top to the bottom of the final nodes in the tree,

S={bbb,bbg,bgb,bgg,gbb,gbg,ggb,ggg}

Try it Now 1

A random experiment consists of tossing two coins. Write out the sample space assuming we can tell the difference between the two coins.

What outcomes make up the event there is at least one head showing?

Answer (click to Show/Hide)

Since we can tell the coins apart, there are two ways for the coins to differ we can label each outcome as a pair of letters, the first of which indicates how the first coin landed and the second coin landed. A sample space is then S={hh,ht,th,tt}.

The event “there is at least one head showing” can be made observed when there is one heads or two heads. We will call the event E and the outcomes are: E={hh,ht,th}

Probability

We have mentioned earlier for empirical probability that it represents a ratio of the number of times we observed an outcome over number of trials. With that in mind we will give a more formal definition along with properties that makes sense when we think of probabilities as a ratio.

Probability

Probability: A numerical measure of the likelihood of an event occurring, expressed as a number between 0 and 1 (or as a percentage between 0% and 100%).

The probability of an outcome:
When we perform a random experiment, each possible result is called an outcome. If e is an outcome we denote the probability of e as Pe. The probability of e, Pe, is a number between 0 and 1 that tells us how likely that outcome is to happen in a single trial of the experiment.

  • If the probability is 0, the outcome is impossible.
  • If the probability is 1, the outcome is certain to occur.

The probability of an event:
An event is a group of one or more outcomes. To find the probability of an event, we add up the probabilities of all the individual outcomes that make up that event. We write the probability of an event E as PE.

If E={e1,e2,,ek}, then P(E)=P(e1)+P(e2)+P(ek)

“Sample Spaces and Probability” graphically illustrates the definitions.

Sample space S with outcomes e1, e2, e3, e4, e5 with associated probabilities p1, p2, p3, p4, p5. The events A={e1,e2} and B={e2,e3,e4}. P(A)=p1+p2 and P(B)=p2+p3+p4
Sample Spaces and Probability

Since the whole sample space S is an event that is certain to occur, the sum of the probabilities of all the outcomes must be the number 1.

In ordinary language probabilities are frequently expressed as percentages. For example, we would say that there is a 70% chance of rain tomorrow, meaning that the probability of rain is 0.70. We will use this practice here, but in all the computational formulas that follow we will use the form 0.70 and not 70%.

It is relatively straight forward to find probability is when all the outcomes have the same chance of occurring. For example experiments where each outcome has the same chance of happening would include the roll of a fair dice, flipping a fair coin, or even the results of a simple random sample from a population. Finding probabilities in these situations is just a matter or counting (as shown in the definition below).

Probability for Equal Likely Outcomes

Given that all outcomes are equally likely, we can compute the probability of an event E using this
formula:

P(E)=Number of outcomes corresponding to the event ETotal number of equally-likely outcomes

Example 5

A coin is called “balanced” or “fair” if each side is equally likely to land up. Assign a probability to each outcome in the sample space for the experiment that consists of tossing a single fair coin.


Solution

With the outcomes labeled h for heads and t for tails, the sample space is the set S={h,t}. Since the outcomes have the same probabilities, which must add up to 1, each outcome is assigned probability 12.

We could write these as P(h)=12 and P(t)=12.

Example 6

A die is called “balanced” or “fair” if each side is equally likely to land on top. Assign a probability to each outcome in the sample space for the experiment that consists of tossing a single fair die.

Find the probabilities of the events:

E: “an even number is rolled”
T: “a number greater than two is rolled.”


Solution

With outcomes labeled according to the number of dots on the top face of the die, the sample space is the set S={1,2,3,4,5,6}.

List out all the even numbers into a collection for the event E: E={2,4,6}. This event is made up of 3 of the total 6 outcomes we have, so the probability is

P(E)=36P(E)=12

List out all the even numbers into a collection for the event T: T={3,4,5,6} This event is made up of 4 of the total 6 outcomes we have, so the probability is

P(T)=46P(T)=23

Probabilities are essentially fractions, and can be reduced to lower terms like fractions as you saw in the examples, however we may not always do this as the unsimplified fraction may contain more information when reading it then the simplified answer. For instance in the example above we know there was six outcomes on the dice roll and the probability of rolling a number greater than 2 was found to be 23. If we leave the answer as 46 we keep the information about how many outcomes out of the 6 made up the event rolling a number greater than 2.

Example 7

Let’s say you have a bag with 20 cherries where 14 are sweet and 6 are sour. If you pick a cherry at random, what is the probability that it will be sweet?


Solution

There are 20 possible cherries that could be picked, so the number of possible outcomes is 20. Of these 20 possible outcomes, 14 are favorable (sweet), so the probability that the cherry will be sweet is P(Sweet)=1420=710.

There is one potential complication to the cherry picking example, however. It must be assumed that the probability of picking any of the cherries is the same as the probability of picking any other. This wouldn’t be true if (let us imagine) the sweet cherries are smaller than the sour ones. (The sour cherries would come to hand more readily when you sampled from the bag.) Let us keep in mind, therefore, that when we assess probabilities in terms of the ratio of favorable to all potential cases, we rely heavily on the assumption of equal probability for all outcomes.

Example 8

A standard deck of 52 playing cards consists of four suits (hearts, spades, diamonds and clubs). Spades and clubs are black while hearts and diamonds are red. Each suit contains 13 cards, each of a different rank: an Ace (which in many games functions as both a low card and a high card), cards numbered 2 through 10, a Jack, a Queen and a King.

Cards
  1. Compute the probability of randomly drawing one card from a deck and getting an Ace.
  2. Compute the probability of randomly drawing one card from a deck and getting a Diamond.
  3. Compute the probability of randomly drawing one card from a deck and getting a black card.

Solution

  1. There are 52 cards in the deck and 4 Aces so P(Ace)=452=1130.0769
  2. There are 13 diamonds in the deck, so P(Diamond)=1352=14=0.25
  3. There are two suits that are black for a total of 26 cards, so P(Black)=2652=12=0.5

Try it Now 2

Two fair coins are tossed. Find the probability that the coins match, i.e., either both land heads or both land tails.

Hint 1 (click to Show/Hide)

We constructed the sample space in the first Try It Now for this chapter. That sample space was S={hh,ht,th,tt}. What outcomes make up the event in question?

Answer (click to Show/Hide)

We constructed the sample space in the first Try It Now for this chapter. That sample space was S={hh,ht,th,tt}. We are interested in finding the probability of the event M={hh,tt}.

Now since the coin was fair we can safely assume each of the paired outcomes of the two coins will also be equally likely. This gives us that

P(M)=24P(M)=12

Probability Using Counting Techniques

This is really a continuation of finding probabilities from experiments with equal likely outcomes (if the outcomes are not equal likely this method will not work). In these problems we will be using the counting techniques (Fundamental Theorem of Counting, Permutations, and Combinations) to find the number of outcomes in an event and the number of outcomes possible to answer probability questions.

Example 9

In a classroom there are 13 girls and 15 boys. The class is to elect a President, Vice President, and a Treasurer. What is the probability if students were elected at random that all three positions were filled by boys?


Solution

To find the probability we would need to find the ratio of selecting the 3 boys to fill the positions over the number of ways to fill the positions in general. Let E be the event that all 3 boys are selected, then we can say the probability of E is

P(E)=n(E)n(S)=Number of outcomes in ENumber of outcomes in Sample Space, S

Start with finding the n(E), number of ways to select the three boys from 15 to fill the positions. We are selecting without replacement (no person can be in more than one position this way). We can count how many ways to select 3 from 15 where order does matter by using permutations.

n(E)=15P3=15!(153)!=15!12!=15141312!12!=151413

Next find the number of outcomes in the sample space (that is selecting three from the total class of 28 students for the three positions)

n(S)=28P3=28!(283)!=28!25!=28272625!25!=282726

Now take the ratio to find the probability of E

P(E)=n(E)n(S)=151413282726=536

Video Solution Example (4 mins 12 secs – CC)

Example 10

A 4 digit PIN number is selected.  What is the probability that there are no repeated digits?


Solution

The probability will be the ratio of number of ways to select the 4 digit pin with no repeated digits over the total number of ways to select a 4 digit pin in general.

There are 10 possible values for each digit of the PIN (namely:  0, 1, 2, 3, 4, 5, 6, 7, 8, 9), so there are 10101010=104=10000 total possible PIN numbers.

To have no repeated digits, all four digits would have to be different, which is selecting without replacement.  We could either compute 10987, or notice that this is the same as the permutation 10P4= 5040.

The probability of no repeated digits is the number of 4 digit PIN numbers with no repeated digits divided by the total number of 4 digit PIN numbers.  This probability is 10P4104=504010000=0.504

Video Solution Example (1 min 47 secs – CC) Another example starts after 1:47 mark on the video.

Example 11

Use combinations to calculate the probability of winning the lottery jackpot when 4 numbers are chosen from 1-29. In the lottery selection the order of the numbers that are picked does not matter.


Solution

Key thing to notice on this problem for start is that the selection of 4 numbers the order doesn’t matter. This means we can use combinations for the counting as we have selection without replacement and the order does not matter.

Start with finding the number of ways we can select the 4 winning numbers. You may not be surprised to find out that there is one one way for that to happen, but with combinations we would write it as 4C4, which when evaluated is equal to 1.

4C4=4!4!(44)!=4!4!0!=10!=11=1

Next find how many ways to select four numbers from the 29. This is found by finding 29C4.

29C4=29!4!(294)!=2928272625!(4321)25!=292827264321=23751

The probability of winning is the ratio of the number of ways to select the 4 winning numbers from the 4 drawn over the number of ways to select 4 numbers from 29.

P(W)=123571.000042

Video Solution Example (4 mins 44 secs – CC)

Example 12

In a certain state’s lottery, 48 balls numbered 1 through 48 are placed in a machine and six of them are drawn at random. If the six numbers drawn match the numbers that a player had chosen, the player wins $1,000,000.    In this lottery, the order the number are drawn in doesn’t matter.  Compute the probability that you win the million-dollar prize if you purchase a single lottery ticket.


Solution

In order to compute the probability, we need to count the total number of ways six numbers can be drawn, and the number of ways the six numbers on the player’s ticket could match the six numbers drawn from the machine. Since there is no stipulation that the numbers be in any particular order, the number of possible outcomes of the lottery drawing is 48C6= 12,271,512.  Of these possible outcomes, only one would match all six numbers on the player’s ticket, so the probability of winning the grand prize is: 6C648C6=1122715120.0000000815

Video Solution Example (3 mins 5 secs – CC) Another example starts after the 3:05 mark on the video.

Example 13

In the state lottery from the previous example, if five of the six numbers drawn match the numbers that a player has chosen, the player wins a second prize of $1,000. Compute the probability that you win the second prize if you purchase a single lottery ticket.


Solution

As above, the number of possible outcomes of the lottery drawing is 48C6= 12,271,512.

In order to win the second prize, five of the six numbers on the ticket must match five of the six winning numbers; in other words, we must have chosen five of the six winning numbers and one of the 42 losing numbers. The number of ways to choose 5 out of the 6 winning numbers is given by 6C5= 6 and the number of ways to choose 1 out of the 42 losing numbers is given by 42C1= 42. Thus the number of favorable outcomes is then given by the Basic Counting Rule: 6C542C1= 642=252.

The probability of winning the second prize is.

6C542C148C6=252122715120.0000205

Video Solution Example (1 mins 40 secs – CC)

Try it Now 3

A multiple-choice question on an economics quiz contains 10 questions with five possible answers each. Compute the probability of randomly guessing the answers and getting 9 questions correct.

Hint 1 (click to Show/Hide)

To find the probability that exactly nine of the ten questions were answered correctly we need to count the number of ways nine of the ten are answered correctly and one is answered incorrect over the number of ways to in general answer ten questions.

If we start with the denominator it is usually easier to find. In this case we can use the fundamental counting principle and think of ten slots need to be filled. Each slot is the answer choices (which there are five), so if we take the product of all those choices we get 510.

For the numerator you need to find how many ways can we answer one question incorrect out of the ten.

Answer (click to Show/Hide)

Lets continue the discussion from the hint to find the solution.

For the numerator we again use the fundamental counting principle, but in this case we need to think about how to count getting one question incorrect times how many ways can we get it incorrect. In this counting the order does matter if we look at how many ways can we get one incorrect. Since order matters we use a permutation and see that 10P1 gives the number of ways for the one incorrect out of the ten questions. The fundamental counting principle comes into play here as for each incorrect question there are 4P1 ways to answer that question incorrect (picking one of the four incorrect responses).

Now you may be wondering about those 9 questions answered correctly. Since we already looked at how many ways to mark that incorrect spot all nine correct ones are forced into the other spots. Each correct answer\ only has one choice for marking a correct answer (it is marked correct assuming only one answer gives full credit). So if we were to multiply by the choices for getting the correct answer correct for each correct answer it would be times one nine times, which is just one.

Lets put together the numerator and denominator information together to find the probability of getting nine questions correct and one incorrect on this multiple choice quiz.

P(nine correct and one incorrect)=n(one incorrect)n(choose an inccorect answer)n(answering ten questions)P(nine correct and one incorrect)=10P14P1510P(nine correct and one incorrect)=(10)(4)9765625P(nine correct and one incorrect)=409765625.0000041

Example 14

In a box there are 25 parts in which 3 are known to be defective. If we were to randomly pick 3 from this box what is the probability that none of the 3 would be defective?


Solution

Let E be the event that we select 3 non defective parts from the box. To find the probability of E we take the n(E) and divide it by n(S)).

To find n(E) we are counting where order does not matter and without replacement, so we can use combinations. We know 3 are defective, so that means the remaining 22 are non defective and we want the number of ways to select 3 of these non defective parts.

n(E)=22C3=22!3!(223)!=22212019!32119!=222120321=1540

Next find n(S) where we need the number of ways to select 3 parts from the total 25.

n(S)=25C3=25!3!(253)!=25242322!32122!=252423321=2300

The probability of E is the ratio of n(E) and n(S) P(E)=n(E)n(S)=15402300=77115

Video Solution Example (5 mins 52 secs – CC)

In the next example we will need to use both the Multiplication Rule for probability and Combinations.

Example 15

Compute the probability of randomly drawing five cards from a deck and getting exactly one Ace.


Solution

In many card games (such as poker) the order in which the cards are drawn is not important (since the player may rearrange the cards in his hand any way he chooses); in the problems that follow, we will assume that this is the case unless otherwise stated. Thus we use combinations to compute the possible number of 5-card hands, 52C5.  This number will go in the denominator of our probability formula, since it is the number of possible outcomes.

For the numerator, we need the number of ways to draw one Ace and four other cards (none of them Aces) from the deck.  Since there are four Aces and we want exactly one of them, there will be 4C1 ways to select one Ace; since there are 48 non-Aces and we want 4 of them, there will be 48C4 ways to select the four non-Aces.  Now we use the Multiplication Principle to calculate that there will be 4C148C4 ways to choose one ace and four non-Aces.

Putting this all together, we have Pone Ace=4C148C452C5=77832025989600.299

Video Solution Example (2 mins 2 secs – CC) Next example starts after 2:02 mark on the video.

Example 16

Compute the probability of randomly drawing five cards from a deck and getting exactly two Aces.


Solution

The solution is similar to the previous example, except now we are choosing 2 Aces out of 4 and 3 non-Aces out of 48; the denominator remains the same:

P two Aces = 4C2 48C3 52C5 = 103776 2598960 0.0399

Video Solution Example (58 secs – CC)

It is useful to note that these card problems are remarkably similar to the lottery problems discussed earlier.

Try it Now 4

Compute the probability of randomly drawing five cards from a deck of cards and getting three Aces and two Kings.

Hint 1 (click to Show/Hide)

The probability is going to be the number of ways we can get the three aces and two kings over the total number of ways we can get five cards in general. For both the numerator and denominator we are going to have to count how many ways each is possible. If we are counting we need a strategy for doing so, the denominator is easiest to set up typically. How many ways can we get five cards from a deck of 52 cards? Is this a permutation or a combination counting problem?

Hint 2 (click to Show/Hide)

The number of ways we can get five cards out of 52 is a combination counting problem since the order of those five cards do not matter. We can find this number by taking 52C5.

For the numerator we have to think of this as a fundamental counting principle question as we need to figure out how many ways we get three aces times how many ways to get two kings to find all the ways we get three aces and two kings together. For each of those it again is a counting problem where order does not matter, so we will use combinations to find those numbers.

There are four aces in a deck, so the number of ways to select three of those four aces is going to be 4C3.

There are four kings in a deck, so the number of ways to select two kings out of four is going to be 4C2.

The fundamental counting principle tells us that the number of ways both will happen is going to be the product.

Answer (click to Show/Hide)

The probability of getting two kings and three aces in a five card hand is going to be the number of ways we can have two kings and three aces over the number of ways we can select five cards from a 52 card deck.

P(three aces and two kings)=n(three aces and two kings)n(five cards from 52 card deck)P(three aces and two kings)=4C34C252C5P(three aces and two kings)=(4)(6)2598960P(three aces and two kings)=242598960.0000092

Probability when things are not equally likely

The previous examples illustrate how probabilities can be computed simply by counting when the sample space consists of a finite number of equally likely outcomes. In some situations the individual outcomes of any sample space that represents the experiment are unavoidably unequally likely, in which case probabilities cannot be computed merely by counting, but the computational formula given in the definition of the probability of an event must be used.

Probability of an Event (general)

The probability of an event E is the sum of the probabilities of the individual outcomes of which it is composed. It is denoted P(E).

If E={e1,e2,,ek}, then P(E)=P(e1)+P(e2)+P(ek)

Example 17

The breakdown of the student body Race and Ethnicity at Pima Community College in Fall 2020 was 37.33% white, 4.93% black or african american, 47.16% Hispanic, 3.12% Asian, and 1.97% American Indian or Alaskan Native, 5.49% for all others (including undeclared). A student is randomly selected from Fall 2020. (To select “randomly” means that every student has the same chance of being selected.) Find the probabilities of the following events:

  1. H: the student is Hispanic,
  2. M: the student is a minority (that is, not white),

Solution

The student body’s race and ethnicity is broken down into 6 different outcomes. We can write this out as a sample space of S={w,b,h,a,ai,o}. The experiment is the action of randomly selecting a student from the student population at Pima. Since 47.16% of the students are Hispanic and all students have the same chance of being selected, P(h)=0.4716, and similarly for the other outcomes. This information is summarized below:

Outcomes w b h a ai o
Probability 0.3733 0.0493 0.4716 0.0312 0.0197 0.0549
  1. Look at the outcomes that make up the event: H={h}. Since there is only one outcome we can find the probability: P(H)=P(h)=0.4716
  2. Start with looking at all the outcomes that make up the event: M={b,h,a,ai,o}. To find the probability we can add up each probability of the outcomes to find the probability of the event M:

    P(M)=P(b)+P(h)+P(a)+P(ai)+P(o)P(M)=0.0493+0.4716+0.0312+0.0197+0.0549P(M)=0.6267

In the last example the process for adding the probabilities together worked as the classifications of race/ethnicity didn’t allow for any of the students to fall into more than one classification as well as all students would be captured into just one of them. If there were overlaps between two classifications we could not treat the probability question in the same way.

Try it Now 5

The student body in a local high school may be broken down into ten categories as follows: 25% white male, 26% white female, 12% black or african american male, 15% black or african american female, 6% Hispanic male, 5% Hispanic female, 3% Asian male, 3% Asian female, 1% male of other minorities combined, and 4% female of other minorities combined. A student is randomly selected from this high school. Find the probabilities of the following events:
  1. B: the student is black or african american,
  2. MF: the student is a minority female,
  3. F: the student is female.
Hint 1 (click to Show/Hide)

It may be helpful to organize the data into a table and convert the outcomes in the sample space into probabilities. The sample space would be S={wm,bm,hm,am,om,wf,bf,hf,af,of}

Answer (click to Show/Hide)

The sample space would be S={wm,bm,hm,am,om,wf,bf,hf,af,of}.

The information given in the example can be summarized in the following table, called a two-way contingency table:

Gender Race / Ethnicity
White Black or african american Hispanic Asian Others
Male 0.25 0.12 0.06 0.03 0.01
Female 0.26 0.15 0.05 0.03 0.04
  1. Since B={bm,bf}:

    P(B)=P(bm)+P(bf)P(B)=0.12+0.15P(B)=0.27

  2. Since MF={bf,hf,af,of}:

    P(MF)=P(bf)+P(hf)+P(af)+P(of)P(MF)=0.15+0.05+0.03+0.04P(MF)=0.27

  3. Since F={wf,hf,af,of}:

    P(F)=P(wf)+P(bf)+P(hf)+P(af)+P(of)P(FN)=0.26+0.15+0.05+0.03+0.04P(FN)=0.53

Exercises


  1. Which of the following can be a probability value?

    1,1.2,.2,1π,2,57,75,0

    Answer (click to Show/Hide)

    1,1π,57,0

  2. A box contains 10 white and 10 black marbles. Construct a sample space for the experiment of randomly drawing out, with replacement, two marbles in succession and noting the color each time. (To draw “with replacement” means that the first marble is put back before the second marble is drawn.)

    For each event listed below write out the outcomes that make up the event. If we assume each outcome is equal likely find the probability of each event.

    1. At least one marble of each color is drawn.
    2. No white marble is drawn.
    Answer (click to Show/Hide)

    S={ww,wb,bw,bb}

    1. E={wb,bw} : P(E)=24=12
    2. NW={bb} : P(NW)=14
  3. A box contains 16 white and 16 black marbles. Construct a sample space for the experiment of randomly drawing out, with replacement, three marbles in succession and noting the color each time. (To draw “with replacement” means that each marble is put back before the next marble is drawn.)

    For each event listed below write out the outcomes that make up the event. If we assume each outcome is equal likely find the probability of each event.

    1. At least one marble of each color is drawn.
    2. No white marble is drawn.
    3. More black than white marbles are drawn.
    Answer (click to Show/Hide)

    S={www,wwb,wbw,bww,wbb,bwb,bbw,bbb}

    1. E={wwb,wbw,bww,wbb,bwb,bbw} : P(E)=68=34
    2. NW={bbb} : P(NW)=18
    3. F={wbb,bwb,bbw,bbb} : P(F)=48=12
  4. A box contains 8 red, 8 yellow, and 8 green marbles. Construct a sample space for the experiment of randomly drawing out, with replacement, two marbles in succession and noting the color each time.
    1. No yellow marble is drawn.
    2. The two marbles drawn have the same color.
    3. At least one marble of each color is drawn.
    Answer (click to Show/Hide)

    S={rr,ry,yr,rg,gr,yy,yg,gy,gg}

    1. NY={rr,rg,gr,gg} : P(NW)=49
    2. B={rr,yy,gg} : P(B)=39=13
    3. This event has no outcomes as it is not possible to draw all three colors when selecting only two marbles. We would say the probability is 0.
  5. Your sock drawer is a mess. Twelve black socks and six red socks are mixed together. What are the chances that, without looking, you pick out a red sock?
    Answer (click to Show/Hide)

    P(R)=618=13

  6. A ball is drawn randomly from a jar that contains 6 red balls, 2 white balls, and 5 yellow balls. Find the probability of the given event.
    1. A red ball is drawn
    2. A white ball is drawn
    Answer (click to Show/Hide)
    1. P(R)=613
    2. P(W)=213
  7. Suppose you write each letter of the alphabet on a different slip of paper and put the slips into a hat. What is the probability of drawing one slip of paper from the hat at random and getting (assume y is a consonant for this exercise):
    1. A consonant
    2. A vowel
    Answer (click to Show/Hide)
    1. P(C)=2126
    2. P(V)=526
  8. A group of people were asked if they had run a red light in the last year. 150 responded “yes”, and 185 responded “no”. Find the probability that if a person is chosen at random, they have run a red light in the last year.
    Answer (click to Show/Hide)

    P(R)=150335

  9. In a survey, 205 people indicated they prefer cats, 160 indicated they prefer dogs, and 40 indicated they don’t enjoy either pet. Find the probability that if a person is chosen at random, they prefer cats.
    Answer (click to Show/Hide)
    P(C)=205405
  10. Compute the probability of tossing a six-sided die (with sides numbered 1 through 6) and getting a 5.
    Answer (click to Show/Hide)

    P(Roll a 5)=16

  11. Compute the probability of tossing a standard six-sided die and getting a 7.
    Answer (click to Show/Hide)

    P(Roll a 7)=0

    as it is not possible to roll a 7 with a single standard six-sided die.

  12. Compute the probability of tossing a six-sided die and getting an even number.
    Answer (click to Show/Hide)

    P(E)=36

  13. Compute the probability of tossing a six-sided die and getting a number less than 3.
    Answer (click to Show/Hide)

    P(Less than 3)=26

  14. If you pick one card at random from a standard deck of cards, what is the probability it will be a King?
    Answer (click to Show/Hide)

    P(K)=452

  15. If you pick one card at random from a standard deck of cards, what is the probability it will be a Diamond?
    Answer (click to Show/Hide)

    P(D)=1352

  16. A group consists of nine men and ten women. Find the probability that if four people are selected at random that all four are women.
  17. You own 16 CDs. You want to randomly arrange 5 of them in a CD rack. What is the probability that the rack ends up in alphabetical order?
  18. A jury pool consists of 27 people, 14 men and 13 women. Compute the probability that a randomly selected jury of 12 people is all male.
  19. In a lottery game, a player picks six numbers from 1 to 48.  If 5 of the 6 numbers match those drawn, they player wins second prize.  What is the probability of winning this prize?
  20. In a lottery game, a player picks six numbers from 1 to 48.  If 4 of the 6 numbers match those drawn, they player wins third prize.  What is the probability of winning this prize when purchasing a single lotteryticket?
  21. Compute the probability that a 5-card poker hand is dealt to you that contains all hearts.
  22. Compute the probability that a 5-card poker hand is dealt to you that contains four Aces.
  23. What is the probability of being dealt 6 cards that are all red from a 52 card deck?
  24. The following two-way contingency table gives the breakdown of the population in a particular locale according to age and tobacco usage:
    Age Tobacco Use
    Smoker Non-smoker
    Under 30 0.05 0.20
    Over 30 0.20 0.55
    1. The person is a smoker.
    2. The person is under 30.
    3. The person is a smoker who is under 30.
    Answer (click to Show/Hide)
    1. P(Smoker)=0.05+0.20=0.25
    2. P(Under 30)=0.05+0.20=0.25
    3. P(Smoker Under 30)=0.05
  25. The following two-way contingency table gives the breakdown of the population in a particular locale according to party affiliation (A, B, C, or None) and opinion on a bond issue:
    Affiliation Opinion
    Favors Opposes Undecided
    A 0.12 0.09 0.07
    B 0.16 0.12 0.14
    C 0.04 0.03 0.06
    None 0.08 0.06 0.03

    A person is selected at random. Find the probability of each of the following events.

    1. The person is affiliated with party B.
    2. The person is affiliated with some party.
    3. The person is in favor of the bond issue.
    4. The person has no party affiliation and is undecided about the bond issue.
    Answer (click to Show/Hide)
    1. P(B)=0.16+0.12+0.14=0.42
    2. P(Some Party)=0.12+0.09+0.07+0.16+0.12+0.14+0.04+0.03+0.06=0.83
    3. P(In Favor)=0.12+0.16+0.04+0.08=0.40
    4. P(No Party and Undecided)=0.03.

Attributions

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Topics in Mathematics Copyright © by Robert Foth is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book