Random experiments and sample spaces
A random experiment (or just experiment) is a procedure with the following properties:
- It can be repeated under essentially identical conditions.
- The outcome on any single trial cannot be predicted with certainty.
- All possible outcomes are known in advance.
Tossing a coin, rolling a die, drawing a card , all classic examples. The act of asking "who will win the football match?" is not a random experiment in the technical sense (it's not repeatable under identical conditions); but tossing a balanced coin to start the match is.
Sample space
The sample space of a random experiment is the set of all possible outcomes. We always start by writing explicitly.
Some standard examples:
- Coin toss. .
- Two coin tosses. .
- Roll a die. .
- Roll two dice. , .
- Draw a card from a deck. .
- Toss a coin until heads. , infinite but countable.
Outcomes vs events
A sample point is a single element of , one outcome.
An event is a subset of . The event "even number on a die" is . The event "at least one head in two tosses" is .
Equally likely outcomes
We often assume each outcome in is equally likely (a fair coin, a balanced die, a well-shuffled deck). This assumption is crucial for the classical probability formula.
If outcomes are not equally likely (a loaded die, a biased coin), we must assign probabilities to individual outcomes (next subtopic).
Worked examples
Example 1. Write the sample space for tossing three coins.
. .
Example 2. Write the sample space for the experiment: roll a die and toss a coin.
. .
Example 3. A bag contains red and blue balls. Draw two without replacement. Write the sample space.
Label balls . = all unordered pairs: .
.
If order matters (drawing one at a time), ordered pairs.
Example 4. Roll two dice. Describe the events: (a) sum = . (b) doubles. (c) sum > .
(a) . outcomes. (b) . outcomes. (c) . outcomes.
Example 5. A coin is tossed repeatedly until either heads appears or it has been tossed times. Sample space?
. .
Try it yourself
- Sample space for two coin tosses.
- Sample space for rolling a die and noting whether the result is even or odd.
- Sample space for drawing two cards from a deck (with replacement vs without).
- Sample space when a fair coin is tossed and then a die rolled.
- Three students sit for an exam; each either passes (P) or fails (F). Write the sample space.
- Sample space for rolling three dice and noting the sum.
- List the event "exactly one head" in three coin tosses.
- List the event "both even" when two dice are rolled.
- A card is drawn from a deck and its suit recorded. ?
- A box has white and black balls. Two balls are drawn together. ?
- Toss four coins. List the event "exactly two heads".
- A die is rolled times. .
Pitfalls / Tricks
- For ordered outcomes use tuples ; for unordered use sets .
- "Equally likely" is a modelling assumption , verify it applies.
- For sequential experiments, sample points are sequences.
- Insight. A well-defined sample space is the most important step. If is wrong, every subsequent calculation is wrong.