experiment sample space outcome and event

3.1 Sample Spaces, Events, and Their Probabilities

Learning objectives.

  • To learn the concept of the sample space associated with a random experiment.
  • To learn the concept of an event associated with a random experiment.
  • To learn the concept of the probability of an event.

Sample Spaces and Events

Rolling an ordinary six-sided die is a familiar example of 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 such a situation we wish to assign to each outcome, such as rolling a two, a number, called the probability of the outcome, that indicates how likely it is that the outcome will occur. Similarly, we would like to assign a probability to any event , or collection of outcomes, such as rolling an even number, which indicates how likely it is that the event will occur if the experiment is performed. This section provides a framework for discussing probability problems, using the terms just mentioned.

A random experiment is a mechanism that produces a definite outcome that cannot be predicted with certainty. The sample space The set of all possible outcomes of a random experiment. associated with a random experiment is the set of all possible outcomes. An event Any set of outcomes. is a subset of the sample space.

An event E is said to occur on a particular trial of the experiment if the outcome observed is an element of the set E .

Construct a sample space for the experiment that consists of tossing a single coin.

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

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

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

The outcomes that are even are 2, 4, and 6, so the event that corresponds to the phrase “an even number is rolled” is the set {2,4,6}, which it is natural to denote by the letter E . We write E = { 2,4,6 } .

Similarly the event that corresponds to the phrase “a number greater than two is rolled” is the set T = { 3,4,5,6 } , which we have denoted T .

A graphical representation of a sample space and events is a Venn diagram , as shown in Figure 3.1 "Venn Diagrams for Two Sample Spaces" for Note 3.6 "Example 1" and Note 3.7 "Example 2" . 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.

Figure 3.1 Venn Diagrams for Two Sample Spaces

experiment sample space outcome and event

A random experiment consists of tossing two coins.

  • Construct a sample space for the situation that the coins are indistinguishable, such as two brand new pennies.
  • Construct a sample space for the situation that the coins are distinguishable, such as one a penny and the other a nickel.
  • After the coins are tossed one sees either two heads, which could be labeled 2 h , two tails, which could be labeled 2 t , or coins that differ, which could be labeled d . Thus a sample space is S = { 2 h , 2 t , d } .
  • Since we can tell the coins apart, there are now two ways for the coins to differ: the penny heads and the nickel tails, or the penny tails and the nickel heads. We can label each outcome as a pair of letters, the first of which indicates how the penny landed and the second of which indicates how the nickel landed. A sample space is then S ′ = { h h , h t , t h , t t } .

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.

Construct a sample space that describes all three-child families according to the genders of the children with respect to birth order.

Two of the outcomes are “two boys then a girl,” which we might denote b b g , and “a girl then two boys,” which we would denote g b b . 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 shown in Figure 3.2 "Tree Diagram For Three-Child Families" , gives a systematic approach.

Figure 3.2 Tree Diagram For Three-Child Families

experiment sample space outcome and event

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,

Probability

The probability of an outcome A number that measures the likelihood of the outcome. e in a sample space S is a number p between 0 and 1 that measures the likelihood that e will occur on a single trial of the corresponding random experiment. The value p = 0 corresponds to the outcome e being impossible and the value p = 1 corresponds to the outcome e being certain.

The probability of an event A number that measures the likelihood of the event. A is the sum of the probabilities of the individual outcomes of which it is composed. It is denoted P ( A ) .

The following formula expresses the content of the definition of the probability of an event:

If an event E is E = { e 1 , e 2 , … , e k } , then

Figure 3.3 "Sample Spaces and Probability" graphically illustrates the definitions.

Figure 3.3 Sample Spaces and Probability

experiment sample space outcome and event

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%.

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.

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 1/2.

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” and T : “a number greater than two is rolled.”

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 } . Since there are six equally likely outcomes, which must add up to 1, each is assigned probability 1/6.

Since E = { 2,4,6 } , P ( E ) = 1 ∕ 6 + 1 ∕ 6 + 1 ∕ 6 = 3 ∕ 6 = 1 ∕ 2 .

Since T = { 3,4,5,6 } , P ( T ) = 4 ∕ 6 = 2 ∕ 3 .

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

In Note 3.8 "Example 3" we constructed the sample space S = { 2 h , 2 t , d } for the situation in which the coins are identical and the sample space S ′ = { h h , h t , t h , t t } for the situation in which the two coins can be told apart.

The theory of probability does not tell us how to assign probabilities to the outcomes, only what to do with them once they are assigned. Specifically, using sample space S , matching coins is the event M = { 2 h , 2 t } , which has probability P ( 2 h ) + P ( 2 t ) . Using sample space S ′ , matching coins is the event M ′ = { h h , t t } , which has probability P ( h h ) + P ( t t ) . In the physical world it should make no difference whether the coins are identical or not, and so we would like to assign probabilities to the outcomes so that the numbers P ( M ) and P ( M ′ ) are the same and best match what we observe when actual physical experiments are performed with coins that seem to be fair. Actual experience suggests that the outcomes in S ′ are equally likely, so we assign to each probability 1∕4, and then

Similarly, from experience appropriate choices for the outcomes in S are:

which give the same final answer

The previous three 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.

The breakdown of the student body in a local high school according to race and ethnicity is 51% white, 27% black, 11% Hispanic, 6% Asian, and 5% for all others. A student is randomly selected from this high school. (To select “randomly” means that every student has the same chance of being selected.) Find the probabilities of the following events:

  • B : the student is black,
  • M : the student is minority (that is, not white),
  • N : the student is not black.

The experiment is the action of randomly selecting a student from the student population of the high school. An obvious sample space is S = { w , b , h , a , o } . Since 51% of the students are white and all students have the same chance of being selected, P ( w ) = 0.51 , and similarly for the other outcomes. This information is summarized in the following table:

  • Since B = { b } , P ( B ) = P ( b ) = 0.27 .
  • Since M = { b , h , a , o } , P ( M ) = P ( b ) + P ( h ) + P ( a ) + P ( o ) = 0.27 + 0.11 + 0.06 + 0.05 = 0.49
  • Since N = { w , h , a , o } , P ( N ) = P ( w ) + P ( h ) + P ( a ) + P ( o ) = 0.51 + 0.11 + 0.06 + 0.05 = 0.73

The student body in the high school considered in Note 3.18 "Example 8" may be broken down into ten categories as follows: 25% white male, 26% white female, 12% black male, 15% black 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:

  • M F : the student is minority female,
  • F N : the student is female and is not black.

Now the sample space is S = { w m , b m , h m , a m , o m , w f , b f , h f , a f , o f } . The information given in the example can be summarized in the following table, called a two-way contingency table :

Gender Race / Ethnicity
White Black 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
  • Since B = { b m , b f } , P ( B ) = P ( b m ) + P ( b f ) = 0.12 + 0.15 = 0.27 .
  • Since M F = { b f , h f , a f , o f } , P ( M ) = P ( b f ) + P ( h f ) + P ( a f ) + P ( o f ) = 0.15 + 0.05 + 0.03 + 0.04 = 0.27
  • Since F N = { w f , h f , a f , o f } , P ( F N ) = P ( w f ) + P ( h f ) + P ( a f ) + P ( o f ) = 0.26 + 0.05 + 0.03 + 0.04 = 0.38

Key Takeaways

  • The sample space of a random experiment is the collection of all possible outcomes.
  • An event associated with a random experiment is a subset of the sample space.
  • The probability of any outcome is a number between 0 and 1. The probabilities of all the outcomes add up to 1.
  • The probability of any event A is the sum of the probabilities of the outcomes in A .

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.)

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.)

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.

A box contains 6 red, 6 yellow, and 6 green marbles. Construct a sample space for the experiment of randomly drawing out, with replacement, three marbles in succession and noting the color each time.

In the situation of Exercise 1, list the outcomes that comprise each of the following events.

  • At least one marble of each color is drawn.
  • No white marble is drawn.

In the situation of Exercise 2, list the outcomes that comprise each of the following events.

  • More black than white marbles are drawn.

In the situation of Exercise 3, list the outcomes that comprise each of the following events.

  • No yellow marble is drawn.
  • The two marbles drawn have the same color.

In the situation of Exercise 4, list the outcomes that comprise each of the following events.

  • The three marbles drawn have the same color.

Assuming that each outcome is equally likely, find the probability of each event in Exercise 5.

Assuming that each outcome is equally likely, find the probability of each event in Exercise 6.

Assuming that each outcome is equally likely, find the probability of each event in Exercise 7.

Assuming that each outcome is equally likely, find the probability of each event in Exercise 8.

A sample space is S = { a , b , c , d , e } . Identify two events as U = { a , b , d } and V = { b , c , d } . Suppose P ( a ) and P ( b ) are each 0.2 and P ( c ) and P ( d ) are each 0.1.

  • Determine what P ( e ) must be.
  • Find P ( U ) .
  • Find P ( V ) .

A sample space is S = { u , v , w , x } . Identify two events as A = { v , w } and B = { u , w , x } . Suppose P ( u ) = 0.22 , P ( w ) = 0.36 , and P ( x ) = 0.27 .

  • Determine what P ( v ) must be.
  • Find P ( A ) .
  • Find P ( B ) .

A sample space is S = { m , n , q , r , s } . Identify two events as U = { m , q , s } and V = { n , q , r } . The probabilities of some of the outcomes are given by the following table:

  • Determine what P ( q ) must be.

A sample space is S = { d , e , f , g , h } . Identify two events as M = { e , f , g , h } and N = { d , g } . The probabilities of some of the outcomes are given by the following table:

  • Determine what P ( g ) must be.
  • Find P ( M ) .
  • Find P ( N ) .

Applications

The sample space that describes all three-child families according to the genders of the children with respect to birth order was constructed in Note 3.9 "Example 4" . Identify the outcomes that comprise each of the following events in the experiment of selecting a three-child family at random.

  • At least one child is a girl.
  • At most one child is a girl.
  • All of the children are girls.
  • Exactly two of the children are girls.
  • The first born is a girl.

The sample space that describes three tosses of a coin is the same as the one constructed in Note 3.9 "Example 4" with “boy” replaced by “heads” and “girl” replaced by “tails.” Identify the outcomes that comprise each of the following events in the experiment of tossing a coin three times.

  • The coin lands heads more often than tails.
  • The coin lands heads the same number of times as it lands tails.
  • The coin lands heads at least twice.
  • The coin lands heads on the last toss.

Assuming that the outcomes are equally likely, find the probability of each event in Exercise 17.

Assuming that the outcomes are equally likely, find the probability of each event in Exercise 18.

Additional Exercises

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

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

  • The person is a smoker.
  • The person is under 30.
  • The person is a smoker who is under 30.

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
0.12 0.09 0.07
0.16 0.12 0.14
0.04 0.03 0.06
0.08 0.06 0.03
  • The person is affiliated with party B .
  • The person is affiliated with some party.
  • The person is in favor of the bond issue.
  • The person has no party affiliation and is undecided about the bond issue.

The following two-way contingency table gives the breakdown of the population of married or previously married women beyond child-bearing age in a particular locale according to age at first marriage and number of children:

Age Number of Children
0 1 or 2 3 or More
Under 20 0.02 0.14 0.08
20–29 0.07 0.37 0.11
30 and above 0.10 0.10 0.01

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

  • The woman was in her twenties at her first marriage.
  • The woman was 20 or older at her first marriage.
  • The woman had no children.
  • The woman was in her twenties at her first marriage and had at least three children.

The following two-way contingency table gives the breakdown of the population of adults in a particular locale according to highest level of education and whether or not the individual regularly takes dietary supplements:

Education Use of Supplements
Takes Does Not Take
No High School Diploma 0.04 0.06
High School Diploma 0.06 0.44
Undergraduate Degree 0.09 0.28
Graduate Degree 0.01 0.02

An adult is selected at random. Find the probability of each of the following events.

  • The person has a high school diploma and takes dietary supplements regularly.
  • The person has an undergraduate degree and takes dietary supplements regularly.
  • The person takes dietary supplements regularly.
  • The person does not take dietary supplements regularly.

Large Data Set Exercises

Note: These data sets are missing, but the questions are provided here for reference.

Large Data Sets 4 and 4A record the results of 500 tosses of a coin. Find the relative frequency of each outcome 1, 2, 3, 4, 5, and 6. Does the coin appear to be “balanced” or “fair”?

Large Data Sets 6, 6A, and 6B record results of a random survey of 200 voters in each of two regions, in which they were asked to express whether they prefer Candidate A for a U.S. Senate seat or prefer some other candidate.

  • Find the probability that a randomly selected voter among these 400 prefers Candidate A .
  • Find the probability that a randomly selected voter among the 200 who live in Region 1 prefers Candidate A (separately recorded in Large Data Set 6A).
  • Find the probability that a randomly selected voter among the 200 who live in Region 2 prefers Candidate A (separately recorded in Large Data Set 6B).

S = { b b , b w , w b , w w }

S = { r r , r y , r g , y r , y y , y g , g r , g y , g g }

  • { b w , w b }
  • { r r , r g , g r , g g }
  • { r r , y y , g g }
  • { b b g , b g b , b g g , g b b , g b g , g g b , g g g }
  • { b b b , b b g , b g b , g b b }
  • { b g g , g b g , g g b }
  • { g b b , g b g , g g b , g g g }

The relative frequencies for 1 through 6 are 0.16, 0.194, 0.162, 0.164, 0.154 and 0.166. It would appear that the die is not balanced.

CS202: Discrete Structures

Sample spaces, events, and their probabilities.

Next, we learn about the sample spaces associated with random experiments, about the events that can occur from random experiments, and have a look at a specific event's probability of occurrence.

3.1 Sample Spaces, Events, and Their Probabilities

Learning objectives.

  • To learn the concept of the sample space associated with a random experiment.
  • To learn the concept of an event associated with a random experiment.
  • To learn the concept of the probability of an event.

Sample Spaces and Events

Rolling an ordinary six-sided die is a familiar example of 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 such a situation we wish to assign to each outcome, such as rolling a two, a number, called the  probability  of the outcome, that indicates how likely it is that the outcome will occur. Similarly, we would like to assign a probability to any  event , or collection of outcomes, such as rolling an even number, which indicates how likely it is that the event will occur if the experiment is performed. This section provides a framework for discussing probability problems, using the terms just mentioned.

A   random experiment   is a mechanism that produces a definite outcome that cannot be predicted with certainty. The  sample space  associated with a random experiment is the set of all possible outcomes. An  event  is a subset of the sample space.

An event   E   is said to   occur   on a particular trial of the experiment if the outcome observed is an element of the set   E .

Construct a sample space for the experiment that consists of tossing a single coin.

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

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

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

The outcomes that are even are 2, 4, and 6, so the event that corresponds to the phrase "an even number is rolled" is the set {2,4,6}, which it is natural to denote by the letter  E . We write  E = { 2,4,6 } . "> E = {2, 4, 6}.

Similarly the event that corresponds to the phrase "a number greater than two is rolled" is the set  T = { 3,4,5,6 } "> T = {3, 4, 5, 6} , which we have denoted  T .

A graphical representation of a sample space and events is a  Venn diagram , as shown in Figure 3.1 "Venn Diagrams for Two Sample Spaces" for Note 3.6 "Example 1" and Note 3.7 "Example 2". 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.

Figure 3.1 Venn Diagrams for Two Sample Spaces

experiment sample space outcome and event

A random experiment consists of tossing two coins.

  • Construct a sample space for the situation that the coins are indistinguishable, such as two brand new pennies.
  • Construct a sample space for the situation that the coins are distinguishable, such as one a penny and the other a nickel.
  • After the coins are tossed one sees either two heads, which could be labeled  2 h ">2h , two tails, which could be labeled  2 t ">2t , or coins that differ, which could be labeled  d . Thus a sample space is  S = { 2 h , 2 t , d } . "> S  = {2h, 2t,d}.
  • Since we can tell the coins apart, there are now two ways for the coins to differ: the penny heads and the nickel tails, or the penny tails and the nickel heads. We can label each outcome as a pair of letters, the first of which indicates how the penny landed and the second of which indicates how the nickel landed. A sample space is then  S ′ = { h h , h t , t h , t t } . "> S ′={hh, ht, th, tt}.

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.

Construct a sample space that describes all three-child families according to the genders of the children with respect to birth order.

Two of the outcomes are "two boys then a girl", which we might denote  b b g ">bbg , and "a girl then two boys", which we would denote  g b b . ">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 shown in Figure 3.2 "Tree Diagram For Three-Child Families", gives a systematic approach.

Figure 3.2 Tree Diagram For Three-Child Families

experiment sample space outcome and event

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 = { b b b , b b g , b g b , b g g , g b b , g b g , g g b , g g g } ">S = {bbb, bbg, bgb, bgg, gbb, gbg, ggb, ggg}

Probability

The  probability of an outcome  e   in a sample space   S   is a number   p   between 0 and 1 that measures the likelihood that   e   will occur on a single trial of the corresponding random experiment. The value   p  = 0  corresponds to the outcome   e   being impossible and the value   p  = 1  corresponds to the outcome   e   being certain.

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

The following formula expresses the content of the definition of the probability of an event:

If an event  E  is  E = { e 1 , e 2 , … , e k } "> E  = {e 1 , e 2 , …, e k } , then

P ( E ) = P ( e 1 ) + P ( e 2 ) +  · · ·  + P ( e k ) "> P ( E )= P (e 1 ) + P (e 2 ) + ⋅ ⋅ ⋅ + P (e k ) P(E)=P(e1)+P(e2)+ · · · +P(ek)

Figure 3.3 "Sample Spaces and Probability" graphically illustrates the definitions.

Figure 3.3 Sample Spaces and Probability

experiment sample space outcome and event

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%.

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.

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

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" and  T : "a number greater than two is rolled".

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 } . "> S  = {1, 2, 3, 4, 5, 6}.  Since there are six equally likely outcomes, which must add up to 1, each is assigned probability 1/6.

Since  E = { 2,4,6 } "> E  = {2, 4 ,6} , P ( E ) = 1 ∕ 6 + 1 ∕ 6 + 1 ∕ 6 = 3 ∕ 6 = 1 ∕ 2 . "> P ( E ) = 1/6 + 1/6 + 1/6 = 3/6 = 1/2.

Since  T = { 3,4,5,6 } "> T  = {3, 4, 5, 6} , P ( T ) = 4 ∕ 6 = 2 ∕ 3 . "> P ( T ) = 4/6 = 2/3.

P ( T ) = 4 ∕ 6 = 2 ∕ 3 . "> 

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

In Note 3.8 "Example 3" we constructed the sample space  S = { 2 h , 2 t , d } "> S  = {2h, 2t, d}  for the situation in which the coins are identical and the sample space  S ′ = { h h , h t , t h , t t } "> S ′ = {hh, ht, th, tt}  for the situation in which the two coins can be told apart.

The theory of probability does not tell us  how  to assign probabilities to the outcomes, only what to do with them once they are assigned. Specifically, using sample space  S , matching coins is the event M = { 2 h , 2 t } "> M  = {2h, 2t} , which has probability  P ( 2 h ) + P ( 2 t ) . "> P (2h) + P (2t).  Using sample space  S ′ "> S ′ , matching coins is the event  M ′ = { h h , t t } "> M ′ = {hh, tt} , which has probability  P ( h h ) + P ( t t ) . "> P (hh) + P (tt).  In the physical world it should make no difference whether the coins are identical or not, and so we would like to assign probabilities to the outcomes so that the numbers  P ( M ) "> P ( M )  and P ( M ′ ) "> P ( M ′)  are the same and best match what we observe when actual physical experiments are performed with coins that seem to be fair. Actual experience suggests that the outcomes in  S ′ "> S ′  are equally likely, so we assign to each probability 1∕4, and then

P ( M ′ ) = P ( h h ) + P ( t t ) = 1 4 + 1 4 = 1 2 "> P ( M ′) = P (hh) + P (tt) = 1/4 + 1/4 = 1/2

Similarly, from experience appropriate choices for the outcomes in  S  are:

P (2h) = 1/4  P (2t) = 1/4  P (d) = 1/2 

which give the same final answer

P ( M ) = P (2h) + P (2t) = 1/4 + 1/4 = 1/2

The previous three 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.

The breakdown of the student body in a local high school according to race and ethnicity is 51% white, 27% black, 11% Hispanic, 6% Asian, and 5% for all others. A student is randomly selected from this high school. (To select "randomly" means that every student has the same chance of being selected.) Find the probabilities of the following events:

  • B : the student is black,
  • M : the student is minority (that is, not white),
  • N : the student is not black.

The experiment is the action of randomly selecting a student from the student population of the high school. An obvious sample space is  S = { w , b , h , a , o } . "> S  = {w, b, h, a, o}.  Since 51% of the students are white and all students have the same chance of being selected,  P ( w ) = 0.51 "> P (w) = 0.51 , and similarly for the other outcomes. This information is summarized in the following table:

experiment sample space outcome and event

  • Since  B = { b } "> B  = {b} ,  P ( B ) = P ( b ) = 0.27 . "> P ( B ) = P (b) = 0.27.
  • Since  M = { b , h , a , o } "> M  = {b, h, a, o},  P ( M ) = P ( b ) + P ( h ) + P ( a ) + P ( o ) = 0.27 + 0.11 + 0.06 + 0.05 = 0.49 "> P ( M ) = P (b) + P (h) + P (a) + P (o) = 0.27 + 0.11 + 0.06 + 0.05 = 0.49
  • Since  N = { w , h , a , o } "> N  = {w, h ,a, o},  P ( N ) = P ( w ) + P ( h ) + P ( a ) + P ( o ) = 0.51 + 0.11 + 0.06 + 0.05 = 0.73 "> P ( N ) = P (w) + P (h) + P (a) + P (o) = 0.51 + 0.11 + 0.06 + 0.05 = 0.73

The student body in the high school considered in Note 3.18 "Example 8" may be broken down into ten categories as follows: 25% white male, 26% white female, 12% black male, 15% black 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:

  • M F "> MF : the student is minority female,
  • F N "> FN : the student is female and is not black.

Now the sample space is  S = { w m , b m , h m , a m , o m , w f , b f , h f , a f , o f } . "> 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 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
  • Since  B = { b m , b f } "> B  = {bm, bf} , P ( B ) = P ( b m ) + P ( b f ) = 0.12 + 0.15 = 0.27 . "> P ( B ) = P (bm) + P (bf) = 0.12 + 0.15 = 0.27.
  • Since  M F = { b f , h f , a f , o f } "> MF  = {bf, hf, af, of} ,  P ( M ) = P ( b f ) + P ( h f ) + P ( a f ) + P ( o f ) = 0.15 + 0.05 + 0.03 + 0.04 = 0.27 "> P ( M ) = P (bf) + P (hf) + P (af) + P (of) = 0.15 + 0.05 + 0.03 + 0.04 = 0.27
  • Since  F N = { w f , h f , a f , o f } "> FN  = {wf, hf, af, of} , P ( F N ) = P ( w f ) + P ( h f ) + P ( a f ) + P ( o f ) = 0.26 + 0.05 + 0.03 + 0.04 = 0.38 "> P ( FN ) = P (wf) + P (hf) + P (af) + P (of) = 0.26 + 0.05 + 0.03 + 0.04 = 0.38 

Key Takeaways

  • The sample space of a random experiment is the collection of all possible outcomes.
  • An event associated with a random experiment is a subset of the sample space.
  • The probability of any outcome is a number between 0 and 1. The probabilities of all the outcomes add up to 1.
  • The probability of any event  A  is the sum of the probabilities of the outcomes in A .

Creative Commons License

  • FOR INSTRUCTOR
  • FOR INSTRUCTORS

Video Available

1.3.1 Random Experiments

  • Random experiment: toss a coin; sample space: $S=\{heads, tails\}$ or as we usually write it, $\{H,T\}$.
  • Random experiment: roll a die; sample space: $S=\{1, 2, 3, 4, 5, 6\}$.
  • Random experiment: observe the number of iPhones sold by an Apple store in Boston in $2015$; sample space: $S=\{0, 1, 2, 3, \cdots \}$.
  • Random experiment: observe the number of goals in a soccer match; sample space: $S=\{0, 1, 2, 3, \cdots \}$.

When we repeat a random experiment several times, we call each one of them a trial . Thus, a trial is a particular performance of a random experiment. In the example of tossing a coin, each trial will result in either heads or tails. Note that the sample space is defined based on how you define your random experiment. For example,

Example We toss a coin three times and observe the sequence of heads/tails. The sample space here may be defined as $$S = \{(H,H,H), (H,H,T), (H,T,H), (T,H,H), (H,T,T),(T,H,T),(T,T,H),(T,T,T)\}.$$

Our goal is to assign probability to certain events . For example, suppose that we would like to know the probability that the outcome of rolling a fair die is an even number. In this case, our event is the set $E=\{2, 4, 6\}$. If the result of our random experiment belongs to the set $E$, we say that the event $E$ has occurred. Thus an event is a collection of possible outcomes. In other words, an event is a subset of the sample space to which we assign a probability. Although we have not yet discussed how to find the probability of an event, you might be able to guess that the probability of $\{2, 4, 6 \}$ is $50$ percent which is the same as $\frac{1}{2}$ in the probability theory convention.

Outcome: A result of a random experiment. Sample Space: The set of all possible outcomes. Event: A subset of the sample space.

Union and Intersection: If $A$ and $B$ are events, then $A \cup B$ and $A \cap B$ are also events. By remembering the definition of union and intersection, we observe that $A \cup B$ occurs if $A$ or $B$ occur. Similarly, $A \cap B$ occurs if both $A$ and $B$ occur. Similarly, if $A_1, A_2,\cdots, A_n$ are events, then the event $A_1 \cup A_2 \cup A_3 \cdots \cup A_n$ occurs if at least one of $A_1, A_2,\cdots, A_n$ occurs. The event $A_1 \cap A_2 \cap A_3 \cdots \cap A_n$ occurs if all of $A_1, A_2,\cdots, A_n$ occur. It can be helpful to remember that the key words "or" and "at least" correspond to unions and the key words "and" and "all of" correspond to intersections.

The print version of the book is available on .


Sample Space In Probability

In these lessons, we will learn simple probability, experiments, outcomes, sample space and probability of an event.

Related Pages More Lessons On Probability Probability Tree Diagrams Dependent Events

The following diagram shows how the sample space for an experiment can be represented by a list, a table, and a tree diagram. Scroll down the page for examples and solutions.

Sample Space

Sample Space

In the study of probability, an experiment is a process or investigation from which results are observed or recorded.

An outcome is a possible result of an experiment.

A sample space is the set of all possible outcomes in the experiment. It is usually denoted by the letter S . Sample space can be written using the set notation , { }.

Experiment 1: Tossing a coin Possible outcomes are head or tail. Sample space, S = {head, tail}

Experiment 2: Tossing a die Possible outcomes are the numbers 1, 2, 3, 4, 5, and 6 Sample space, S = {1, 2, 3, 4, 5, 6}

Experiment 3: Picking a card In an experiment, a card is picked from a stack of six cards, which spell the word PASCAL . Possible outcomes are P, A 1 , S, C, A 2 and L. Sample space, S = {P, A 1 , S, C, A 2 L}. There are 2 cards with the letter ‘A’

Experiment 4: Picking 2 marbles, one at a time, from a bag that contains many blue and red marbles. Possible outcomes are: (Blue, Blue), (Blue, Red), (Red, Blue) and (Red, Red). Sample space, S = {(B,B), (B,R), (R,B), (R,R)}.

A simple explanation of Sample Spaces for Probability

Sample Space Of An Event

Sample space is all the possible outcomes of an event. Sometimes the sample space is easy to determine. For example, if you roll a dice, 6 things could happen. You could roll a 1, 2, 3, 4, 5, or 6.

Sometimes sample space is more difficult to determine, so you can make a tree diagram or a list to help you figure out all the possible outcomes.

Example 1: You are ordering pizza. You can choose a small, medium or large pizza and you can choose cheese or pepperoni. What are the possible ways that you could could order a pizza? How many combinations could you have?

Example 2: Daisy has 3 pairs of shorts, 2 pairs of shoes and 5 t-shirts. How many outfits can she make?

This lesson is on finding simple probabilities and sample spaces.

Example: When you roll a die,

  • what is the sample space?

Example: Use the spinner below to answer the following questions:

  • What is the sample space?
  • P(Orange or Green)

The following video explains simple probability, experiments, outcomes, sample space and probability of an event. It also gives an example of a simple probability problem.

Example: A jar contains five balls that are numbered 1 to 5. Also, two of the balls are yellow and the others are red. They are numbered and colored as shown below.

  • Find the probability of randomly selecting a red ball.
  • Find the probability of randomly selecting an even number ball.

Lists and Sample Spaces - Probability

Example: Entrees - Ribs, Chicken Sides - Mac and Cheese, Veggies, Mashed Potatoes Drinks - Water, Coffee, Milk What are the different possibilities for the menu?

Explains three methods for listing the sample space of an event and introduces conditional probability: List, Table, Tree Diagram.

Mathway Calculator Widget

We welcome your feedback, comments and questions about this site or page. Please submit your feedback or enquiries via our Feedback page.

IMAGES

  1. Experiment, Outcomes, Event, Sample Space and Sample Point (Probability)

    experiment sample space outcome and event

  2. Experiment And Sample Space

    experiment sample space outcome and event

  3. Experiment, Outcomes, Sample Space and Events

    experiment sample space outcome and event

  4. EXPERIMENT, OUTCOME, SAMPLE SPACE AND EVENT MATH 8 QUARTER 4 WEEK 5

    experiment sample space outcome and event

  5. Experiment, Sample Space & Events in Probability|Introduction to Probability|AS/A Level Maths (9709)

    experiment sample space outcome and event

  6. Probability Vocabulary Explained : "Experiment", "Outcome", "Sample Space", "Event" and an Example

    experiment sample space outcome and event

VIDEO

  1. Probability

  2. Space bullet experiment reveals surprising outcome 🚀

  3. Experiment, Sample Space (S) and Event

  4. Lecture 1

  5. GRADE 8 MATH (Q4

  6. Lecture 02 (Applying Set Theory to Probability)

COMMENTS

  1. 3.1: Sample Spaces, Events, and Their Probabilities

    The sample space of a random experiment is the collection of all possible outcomes. An event associated with a random experiment is a subset of the sample space. The probability of any outcome is a number between \(0\) and \(1\). The probabilities of all the outcomes add up to \(1\).

  2. 4.1: Probability Experiments and Sample Spaces

    A result of an experiment is called an outcome. The sample space of an experiment is the set of all possible outcomes. Three ways to represent a sample space are: to list the possible outcomes, to create a tree diagram, or to create a Venn diagram. The uppercase letter S is used to denote the sample space. For example, if you flip one fair coin ...

  3. Basic Concepts of Probability: Sample Spaces, Events, and Their

    The sample space associated with a random experiment is the set of all possible outcomes. An event is a subset of the sample space. Definition. An event is said to occur on a particular trial of the experiment if the outcome observed is an element of the set . EXAMPLE 1. Construct a sample space for the experiment that consists of tossing a ...

  4. 3.1 Sample Spaces, Events, and Their Probabilities

    Sample Spaces and Events. Rolling an ordinary six-sided die is a familiar example of 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 such a situation we wish to assign to each outcome, such as rolling a two, a number, called the probability of the outcome ...

  5. Experiments, Sample Spaces, Events, and Probability Laws

    A sample space is defined for an experiment, and it is a set consisting of all the possible outcomes of an experiment. Event. A sample space is a set, and it has subsets. A subset of a sample space is called an event. A discrete sample space, i.e., a countable sample space, consisting of N outcomes, or simple events, has 2 N events, i.e., subsets.

  6. Sample space

    In probability theory, the sample space (also called sample description space, [1] possibility space, [2] or outcome space [3]) of an experiment or random trial is the set of all possible outcomes or results of that experiment. [4] A sample space is usually denoted using set notation, and the possible ordered outcomes, or sample points, [5] are listed as elements in the set.

  7. PDF 1 Sample spaces and events

    Sample spaces and events. To treat probability rigorously, we define a sample space S whose elements are the possible outcomes of some process or experiment. For example, the sample space might be the outcomes of the roll of a die, or flips of a coin. To each element x of the sample space, we assign a probability, which

  8. PDF Random experiments, sample spaces, and events

    random experiments, sample spaces, and events 7 •The sample space is a set containing all outcomes and is typically denoted by S. •We say that event E1 is a subset of event E2 if all outcomes of event E1 are included in event E2 9. 9 In English, this also implies that event E 1 happening immediately signals that

  9. What is a Sample Space? Definition & Examples

    The sample space of an experiment is the set of all possible outcomes of the experiment. For example, suppose we roll a dice one time. ... This principle states that if event A has n distinct outcomes and event B has m distinct outcomes, then the total number of potential outcomes can be calculated as:

  10. PDF Math 111, section 7.1 Experiments, Sample Spaces, and Events

    A sample space S must contain all possible outcomes for an experiment. A sample space is a set. The elements in a sample space are the outcomes of the experiment, and are called sample points. Using a concept from chapter 6, the sample space is the universe U for a given experiment. Elements of a set (as we learned in chapter 6) must be distinct.

  11. PDF Probability Theory 1 Sample spaces and events

    1 Sample spaces and events To treat probability rigorously, we de ne a sample space Swhose elements are the possible outcomes of some process or experiment. For example, the sample space might be the outcomes of the roll of a die, or ips of a coin. To each element xof the sample space, we assign a probability, which

  12. CS202: Sample Spaces, Events, and Their Probabilities

    The sample space of a random experiment is the collection of all possible outcomes. An event associated with a random experiment is a subset of the sample space. The probability of any outcome is a number between 0 and 1. The probabilities of all the outcomes add up to 1. The probability of any event A is the sum of the probabilities of the ...

  13. 2.1 Experiment, Sample Space, and Events

    Call the first point x 1 and the second x 2. Since we are given no information about x 1 and x 2 other than that each is between 0 and 1, the sample space is the collection of points in the unit square shown in Figure 2.1. b. The event indicated, call it E 1, corresponds to (x 1 > x 2 ). This set of points lies in the triangular region of the ...

  14. PDF Experiment, Sample Space, and Event

    Experiment, Sample Space, and Event Experiment: the process of obtaining observations. Sample space: all possible outcomes of an experiment. Event: certain outcomes of an experiment. Toy example 1: Coin flips. Experiment: Flip a coin twice. Sample space: {hh,ht,th,tt}. Event description {hh} two heads {hh,ht,th} at least one head {hh,tt} two ...

  15. PDF Experiments, Sample Spaces, Events, and Probability Laws

    A sample space is defined for an experiment, and it is a set consisting of all the possible outcomes of an experiment. Event A sample space is a set, and it has subsets. A subset of a sample space is called an event. A discrete sample space, i.e., a countable sample space, consisting of Noutcomes, or simple events, has 2N events, i.e., subsets.

  16. 1.1: Sample Spaces and Events

    Definition 1.1.3 1.1. 3. An event is a particular subset of the sample space. Continuing in the context of Example 1.1.1, define A A to be the event that at least one heads is recorded. We can write event A A as the following subset of the sample space: A = {hh, ht, th}. A = {h h, h t, t h}.

  17. Random Experiments

    The set of all possible outcomes is called the sample space. Thus in the context of a random experiment, the sample space is our universal set. Here are some examples of random experiments and their sample spaces: Random experiment: toss a coin; sample space: S = {heads, tails} S = {h e a d s, t a i l s} or as we usually write it, {H, T} {H, T}.

  18. 6.1: Sample Spaces and Probability

    For a sample space S, and an event A, P(A) = number of ways A appears in S total number of outcomes in S. 0 ≤ P(A) ≤ 1. The sum of the probabilities of all the outcomes in S equals 1. The probability P(A) of an event A describes the chance or likelihood of that event occurring.

  19. PDF Experiments, Sample Spaces, and Events An A

    An experiment is an activity with observable results (outcomes). A sample point is an outcome of an experiment. A sample space is a set consisting of all possible sample points of an experiment. An event is a subset of a sample space of an experiment. Example 1: Experiment: Roll a die and observe the number shown on the uppermost face. Possible ...

  20. Sample Space In Probability

    A sample space is the set of all possible outcomes in the experiment. It is usually denoted by the letter S. Sample space can be written using the set notation, { }. Experiment 1: Tossing a coin. Possible outcomes are head or tail. Sample space, S = {head, tail} Experiment 2: Tossing a die.

  21. PDF 2.1 Sample Space

    2.1 Sample SpaceA probability model consists of the sample space and the way to assi. e & sample pointThe sample space S, is the set of all possible outcomes of a statis. ical experiment.Each outcome in a sample space is calle. a sample point. It is also called an element or a member of. For example, there are only two outcomes for tossing a ...

  22. PDF Section 6.1: Experiments, Events, and Sample Spaces

    Math 1313 Section 6.1 1 Section 6.1: Experiments, Events, and Sample Spaces An experiment is an activity with observable results (outcomes). A sample point is an outcome of an experiment. A sample space is a set consisting of all possible sample points of an experiment. A Finite Sample Space is a sample space with finitely many outcomes. An event is a subset of a sample space of an experiment.

  23. 4.1: Sample Spaces, Events, and Their Probabilities

    The sample space of a random experiment is the collection of all possible outcomes. An event associated with a random experiment is a subset of the sample space. The probability of any outcome is a number between \(0\) and \(1\). The probabilities of all the outcomes add up to \(1\).

  24. Probability of Simple Events

    @MathTeacherGon will demonstrate the definition of simple event and the different terminologies in probability. SAMPLE SPACE, OUTCOMES, EVENTSHe will also d...