<meta http-equiv="refresh" content="1; url=/nojavascript/"> Events, Sample Spaces, and Probability | CK-12 Foundation
Dismiss
Skip Navigation
You are reading an older version of this FlexBook® textbook: CK-12 Probability and Statistics - Advanced Go to the latest version.

3.1: Events, Sample Spaces, and Probability

Created by: CK-12

Learning Objectives

  • Know basic statistical terminology.
  • List simple events and sample space.
  • Know the basic rules of probability.

An event is something that occurs or happens. Flipping a coin is an event. Walking in the park and passing by a bench is an event. Anything that could possibly happen is an event.

Every event has one or more possible outcomes. Tossing a coin is an event but getting a tail is the outcome of the event. Walking in the park is an event and finding your friend sitting on a bench is an outcome of the event.

In statistics, the process of taking a measurement or making an observation is called an experiment. For example, tossing a coin and recording the up face in a table of data is an experiment because a measurement is taken.

Experiment

The process of taking a measurement or making an observation.

Keep in mind that the definition of an experiment in statistics is broader than the one used in science. A scientific experiment involves scientific instrumentations such as thermometers, microscopes, telescopes and tubes. A statistical experiment may involve all these items but it mainly involves recording data and measurements. For example, we may conduct an experiment to learn which brand of coffee a customer may prefer among three brands, recording a voter’s opinion on a particular political issue, or measuring the amount of carbon monoxide present in a certain environment. Any kind of observation, measuring, and recording that you may conduct can be considered a statistical experiment.

Suppose a coin is tossed once. There are two possible outcomes, either a head (H) or a tail (T). Notice that if the experiment is conducted only once, you will observe only one of the two possible outcomes. These individual outcomes for an experiment are each called simple events. Here is another example: a die has six possible outcomes: 1, 2, 3, 4, 5, 6. When we toss it once, only one of the six outcomes of this experiment will occur. The one that does occur is called a simple event.

Simple Event

The simplest outcome of an experiment.

Example:

Suppose that two pennies are tossed simultaneously. We could have both pennies land heads up (which we write as HH), or the first penny could land heads up and the second one tails up (which we write as HT), etc. We will see that there are four possible outcomes for each toss. In other words, the simple events are HH, HT, TH, and TT. The table below shows all the possible outcomes.

&& H && T\\H && HH && HT\\T && TH && TT

Figure: The possible outcomes of flipping two coins.

What we have accomplished so far is a listing of all the possible simple events of an experiment. This collection is called the sample space of an experiment.

Sample Space

The set of all possible outcomes of an experiment, or the collection of all the possible simple events of an experiment. We will denote a sample space by S.

Example:

Experiment: We want to investigate the sample space of throwing a die and the sample space of tossing a coin.

Solution:

As we know, there are 6 possible outcomes for throwing a die. We may get 1, 2, 3, 4, 5, or 6. So we write the sample space as the set of all possible outcomes:

S = \left \{1, 2, 3, 4, 5, 6 \right \}

Similarly, the sample space of tossing a coin is either head (H) or tail (T) so we write S = \left \{ H, T \right \}.

Example:

Experiment: Suppose a box contains three balls, one red, one blue and one white. One ball is selected, its color is observed, and then the ball is placed back in the box. The balls are scrambled and again a ball is selected and its color is observed. What is the sample space of the experiment?

Solution:

It is probably best if we draw a diagram to illustrate all the possible drawings.

As you can see from the diagram, it is possible that you will get the red ball R on the first drawing and then another red one on the second, RR. You can also get a red one on the first and a blue on the second and so on. From the diagram above, we can see that the sample space is:

S = \left \{RR, RB, RW, BR, BB, BW, WR, WR, WW \right \}

Each pair in the set above gives the first and second drawings, respectively. That is, \underline{RW \;\mathrm{is\ different\ from} \ WR.}

We can also represent all the possible drawings by a table or a matrix:

&& R && B && W \\R && RR && RB && RW\\B && BR && BB && BW\\W && WR && WB && WW

Figure: Table representing the possible outcomes diagrammed in the previous figure

Where the first column represents the first drawing and the first row represents the second drawing.

Example:

Experiment: Consider the same experiment as in the example before last but this time we will draw one ball and record its color but we will not place it back into the box. We will then select another ball from the box and record its color. What is the sample space in this case?

Solution:

The diagram below illustrates this case:

You can clearly notice that when we draw, say, a red ball, there will remain blue and white balls. So on the second selection, we will either get a blue or a while ball. The sample space in this case is:

S = \left \{ RB, RW, BR, BW, WR, WB \right \}

Now let us return to the concept of probability and relate it to the concepts that we have just studied. You may be familiar with the meaning of probability and may have used the term as a synonym with informal words like “chance” and “odds.” For the time being, we will begin our treatment of probability using these informal concepts and then later, we will solidify these meanings into formal mathematical definitions.

As you probably know from your previous math courses, if you toss a fair coin, the chance of getting a tail (T) is the same as the chance of getting a head (H). Thus we say that the probability of observing a head is 50 \% (or 0.5) and the probability of observing a tail is also 50 \%. We also say sometimes “the odds are 50-50.”

The probability, P, of an outcome, A, always falls somewhere between two extremes: 0 (or 0 \%), which means the outcome is an impossible event and 1 (or 100 \%) represents an outcome that is guaranteed to happen. These two extremes are generally not seen in real life situations. Most outcomes have probabilities somewhere in between.

Property 1

0\ \le P\ (A)\ \le \ 1 For any event A

The probability of an event A ranges between 0 (impossible) and 1 (always).

In addition, the probabilities of possible outcomes of an event must all add up to 1. This 1 represents a certainty that one of the outcomes must happen. For example, tossing a coin will produce either a head or a tail. Each of these two outcomes has a probability of 50 \%, or 1/2. However, the total probabilities of the coin to land head or tail is 1/2 + 1/2 = 1.

Property 2

\sum_{\text{all outcomes}} P(A) = 1

The sum of the probabilities of all possible outcomes must add up to 1.

Notice that tossing a coin or throwing a dice results in outcomes that are all equally probable, that is, each outcome has the same probability as the other outcome in the same sample space. Getting a head or a tail from tossing a coin produces equal probability for each outcome, 50 \%. Throwing a die also has 6 possible outcomes but they all have the same probability, 1/6. We refer to this kind of probability as the classical probability. It is the simplest kind of probability. Later in this lesson, we will deal with situations where each outcome in a given sample space has different probability.

Probability is usually denoted by P and the respective elements of the sample space (the outcomes) are denoted by A, B, C, etc. The mathematical notation that indicates that the outcome A happens is P(A). We use the following formula to calculate the probability of an outcome to occur:

P(A) = \frac{\text{The number of outcomes for A to occur}}{\text{The size of the sample space}}

The following examples show you how to use this formula.

Example:

When tossing two coins, what is the probability of getting head-head (HH)? Is the probability classical?

Solution:

Since there are 4 elements (outcomes) in the set of sample space: \left \{HH, HT, TH, TT \right \}, its size then is 4. Further, there is only 1 HH outcome to occur. Using the formula above,

P(A)= \frac{\text{The number of outcomes for HH to occur}}{\text{The size of the sample space}} = \frac{1}{4} = 25 \%

Notice that each of these 4 outcomes is equally probable, namely, the probability of each is 1/4. Thus it is a classical probability. Notice also that the total probabilities of all possible outcomes add up to one: 1/4 + 1/4 + 1/4 + 1/4 = 1

Example:

What is the probability of throwing a dice and getting either 2, 3, or 4?

Solution:

The sample space for a fair dice has a total of 6 possible outcomes. However, the total number of outcomes for our case is 3 hence,

P(A) = \frac{\text{The number of outcomes for} \left \{2, 3, 4\right \} \text{to occur}} {\text{The size of the sample space}} = \frac{3} {6} = \frac{1} {2} = 50 \%

So, there is a probability of 50 \% that we will get 2, 3, or 4.

Example:

Consider an experiment of tossing two coins. Assume the coins are not balanced. The design of the coins is to produce the following probabilities shown in the table:

Sample Space Probability
HH 4/9
HT 2/9
TH 2/9
TT 1/9

Figure: Probability table for flipping two weighted coins.

What is the probability of observing exactly one head and the probability of observing at least one head?

Solution:

Notice that the simple events HT and TH contain only one head. Thus, we can easily calculate the probability of observing exactly one head by simply adding the probabilities of the two simple events:

P & = P(HT) + P(TH) \\& = \frac{2} {9} + \frac{2} {9} \\& = \frac{4} {9}

Similarly, the probability of observing at least one head is:

P & = P(HH) + P(HT) + P(TH) \\& = \frac{4}{9} + \frac{2}{9} + \frac{2}{9} = \frac{8}{9}

Lesson Summary

  1. An event is something that occurs or happens with one or more outcomes.
  2. An experiment is the process of taking a measurement or making an observation.
  3. A simple event is the simplest outcome of an experiment.
  4. The sample space is the set of all possible outcomes of an experiment, typically denoted by S.

Review Questions

  1. Consider an experiment composed of throwing a die followed by throwing a coin.
    1. List the simple events and assign a probability for each simple event.
    2. What are the probabilities of observing the following events?

    & \text{A:} \left \{ 2\;\mathrm{on\ the\ die,\ H\ on\ the\ coin} \right \} \\& \text{B:} \left \{ \mathrm{Even\ number\ on\ the\ die,\ T\ on\ the\ coin} \right \} \\& \text{C:} \left \{ \mathrm{Even\ number\ on\ the\ die} \right \} \\& \text{D:} \left \{ \mathrm{T \ on\ the\ coin} \right \}

  2. The Venn diagram below shows an experiment with six simple events. Events A and B are also shown. The probabilities of the simple events are: P(1) = P(2) = P(4) = 2/9 \\P(3) = P(5) = P(6) = 1/9
    1. Find P(A)
    2. Find P(B)
  3. A box contains two blue marbles and three red ones. Two marbles are drawn randomly without replacement.
    1. Refer to the blue marbles as B1 and B2 and the red ones as R1, R2, and R3. List the outcomes in the sample space.
    2. Determine the probability of observing each of the following events:

    & \text{A:} \left \{ 2 \;\mathrm{blue\ marbles\ are\ drawn} \right \} \\& \text{B:} \left \{ 1 \;\mathrm{red\ and\ 1\ blue\ are\ drawn}  \right \} \\& \text{C:} \left \{ 2 \;\mathrm{red\ marbles\ are\ drawn}  \right \}

Review Answers

  1. \left \{ 1T, 1H, 2T, 2H, 3T, 3H, 4T, 4H, 5T, 5H, 6T, 6H \right \}
  2. A: 1/12 B: 1/4 C: 1/2 D: 1/2
  1. 4/9
  2. 1/3
  1. \big\{B1B2, B1R1, B1R2, B1R3, \\B2B1, B2R1, B2R2, B2R3, \\R1B1, R1B2, R1R2, R1R3,\\R2B1, R2B2, R2R1, R2R3,\\R3B1, R3B2, R3R1, R3R2 \big\}
  2. A: 1/10 B: 3/5 C: 3/10

Image Attributions

Files can only be attached to the latest version of None

Reviews

Please wait...
You need to be signed in to perform this action. Please sign-in and try again.
Please wait...
Image Detail
Sizes: Medium | Original
 
CK.MAT.ENG.SE.1.Prob-&-Stats-Adv.3.1

Original text