Think about what can happen.
Think about all the things that can happen.
If you flip a coin, you get heads or tails. These are the two choices. 
Sometimes there are many more choices. A die has six sides. You can roll a one or a six.
One choice cannot happen at the same time as another. Also, one thing must always happen.
You can use these lists to guess what might come next.
Imagine you are playing a game. You want to know all the things that could happen. 
If you flip a coin, there are two results. You get heads or tails.
Some sample spaces are very big. A sample space can have numbers, words, or even letters. It can even be infinite, which means it never ends. For example, a light bulb could last for any amount of time.
In a sample space, outcomes must follow two rules. First, only one thing can happen at a time. You cannot get both heads and tails on one coin flip. Second, something must always happen.
Sometimes, every result has the same chance of happening. We call these equally likely outcomes. But this is not always true. 
We can also look at parts of a sample space. These parts are called events. An event is just a group of results. For example, an event could be rolling an even number on a die.
Imagine you are playing a game of chance. You want to know every possible thing that could happen. 
To be a real sample space, certain rules must be met. First, the outcomes must be mutually exclusive. This means if one thing happens, no other thing can happen at the same time. For instance, a single coin cannot be both heads and tails. Second, the outcomes must be collectively exhaustive. This means that when you do the experiment, something from the list must happen. You cannot have a result that is not in your space. The space must also have the right level of detail for your goal. You should remove information that does not matter to your experiment.


In probability theory, we often try to predict what might happen during a random trial. To do this, we must first identify every possible result that could occur. This complete collection of all possible outcomes is called a sample space. You might also hear it called a possibility space, an outcome space, or a sample description space. Scientists and mathematicians use the sample space to build a mathematical model of an experiment. 
To be a valid sample space, a set must follow three specific rules. First, the outcomes must be mutually exclusive. This means that if one specific outcome occurs, no other outcome can happen at that same moment. For example, a single coin cannot land as both heads and tails simultaneously. Second, the outcomes must be collectively exhaustive. This rule ensures that when the experiment is finished, one of the listed outcomes must have actually happened. There can be no "missing" results that were not included in your list. Finally, the space must have the correct granularity, or level of detail. An experimenter must choose the right level of abstraction by removing irrelevant information.
There are different types of sample spaces based on how many outcomes they contain. A space can be finite, meaning it has a limited number of results. It can also be countably infinite, which means the outcomes can be listed in a sequence that never ends. Some spaces are uncountably infinite, which often happens in continuous measurements. For instance, if you measure the lifetime of a light bulb, the time could be any value in the range from zero to infinity. In these continuous cases, we use a more precise definition for events. We call these measurable subsets a σ-algebra to ensure the math remains accurate.
An event is a specific subset of the sample space. If the result of an experiment is contained within that subset, we say the event has occurred. 
Different experiments can have multiple plausible sample spaces depending on the goal. If you draw one card from a standard deck of fifty-two cards, your focus determines your space. You might only care about the suits, such as clubs, diamonds, hearts, or spades. Alternatively, you might only care about the ranks, from Ace through King. A more complete sample space would use a Cartesian product to list every individual card. This would combine both suit and rank to create fifty-two distinct outcomes. You could even create a space for whether a card is right-side up or upside down.
Many mathematical models assume that all outcomes in a sample space are equally likely. When this is true, calculating the probability of an event is very straightforward. You simply take the number of outcomes in the event and divide it by the total number of outcomes in the sample space. For example, if you roll two fair six-sided dice, there are 36 possible ordered pairs. The probability of the sum being five is 4/36, because four pairs sum to five. However, not all physical experiments are perfectly symmetrical. 
Understanding the sample space is a vital part of a larger probabilistic model. A complete model, known as a probability space, requires three distinct components. The first is the well-defined sample space we have discussed. The second is the event space, which is a collection of all possible events. In discrete cases, this is usually the power set of the sample space. In continuous cases, it is a σ-algebra. The third component is the probability measure function. This function assigns a specific numerical probability to each event. Together, these elements allow us to use math to study everything from simple dice to complex statistics.
🖼️ Images & Media (3)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.