
What Is Sample Space Definition Formula and Solved Examples
The concept of sample space in Maths plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. Understanding sample spaces is essential for solving probability questions, whether you are preparing for board exams, Olympiads, or competitive tests like JEE.
What Is Sample Space in Maths?
A sample space in maths is defined as the set of all possible outcomes of a random experiment. You’ll find this concept applied in areas such as probability theory, statistics, and even computer science. For example, when flipping a coin, the possible outcomes are {Head, Tail} and the sample space is written as S = {H, T}.
Key Formula for Sample Space in Maths
Here’s the standard formula: \( \text{Number of outcomes in sample space} = n_1 \times n_2 \times ... \times n_k \)
For certain cases like tossing n coins, the formula for sample space is \( 2^n \).
Properties and Types of Sample Space
| Type | Description | Example |
|---|---|---|
| Finite (Discrete) | Sample space with a countable number of outcomes | Tossing a die: S = {1, 2, 3, 4, 5, 6} |
| Infinite | Sample space with infinitely many outcomes | Measuring time until it rains: S = {all positive real numbers} |
| Continuous | Outcome takes values in a continuous interval | Length of a rod between 2 cm and 3 cm |
Sample Space Examples
- Flipping a single coin: S = {H, T}
- Tossing two coins: S = {HH, HT, TH, TT}
- Rolling a die: S = {1, 2, 3, 4, 5, 6}
- Rolling two dice: S = {(1,1), (1,2), ..., (6,6)} (36 outcomes)
- Drawing a card from a deck: S = {all 52 cards}
How to Find the Sample Space
- Identify the experiment (e.g., tossing coins, rolling dice).
- List every possible result. For n coins, use \( 2^n \); for two dice, use 6 × 6 = 36.
- Write the set S using curly brackets {} and separate outcomes by commas.
- For complex cases, use diagrams or tables if it helps to visualize.
Sample Space in Probability Calculations
In probability, the sample space forms the denominator in probability formulas. If the event is a subset of the sample space, then
\( P(\text{event}) = \frac{\text{Number of favourable outcomes}}{\text{Total outcomes in sample space}} \)
For example, the probability of rolling an even number on a die is \( P(\text{even}) = \frac{3}{6} = 0.5 \), since S = {1,2,3,4,5,6} and there are three even numbers (2,4,6).
Step-by-Step Illustration
Problem: What is the sample space when flipping three coins?
1. Start by noting each coin has 2 outcomes: H (Head), T (Tail)2. For 3 coins, total outcomes = \( 2^3 = 8 \)
3. List all possible results:
4. So, the sample space S = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}
Speed Trick or Vedic Shortcut
Here’s a quick trick: If you’re tossing n coins, use \( 2^n \) straight away to find the sample space size instead of listing each outcome. It saves time during board and competitive exams!
Example Trick: For 4 coins, number of outcomes = \( 2^4 = 16 \).
Tricks like these are taught in Vedantu’s live classes and used by toppers for fast calculation.
Try These Yourself
- Write the sample space for rolling two dice.
- List all outcomes for drawing a red card from a deck.
- If you toss a coin and pick a number from 1-3, what is the sample space?
- Find the number of outcomes when picking 2 balls from a bag of 5 colored balls.
Frequent Errors and Misunderstandings
- Confusing an event with the whole sample space (event is a subset; sample space is the entire set).
- Forgetting to count all combinations (like TT, HT, TH for two coins).
- Missing outcomes or duplicating them in sequences.
Relation to Other Concepts
The idea of sample space connects closely with topics such as Types of Events in Probability and Probability. Mastering sample space helps you solve all sorts of probability questions—whether in exams or while playing games involving chance.
Classroom Tip
A quick way to remember sample space: Always use curly brackets “{ }” and make your outcome lists or tables neat. For big experiments, draw a tree diagram or use smart formulas like \( 2^n \). Vedantu’s teachers often use Venn diagrams and color-coded tables to make learning visual and easy to remember in live classes.
We explored sample space in Maths—from definition, formula, examples, common mistakes, fast tricks, and how it connects with events and probability theory. Continue practicing sample space questions on Vedantu to become confident in solving all types of probability problems quickly and accurately.
- Probability and Statistics Symbols
- Sample Space Worksheet
- Probability Distribution
- Set Theory Symbols
FAQs on Understanding Sample Space in Probability
1. What is a sample space in probability?
A sample space is the set of all possible outcomes of a random experiment. It is usually denoted by S.
- If a coin is tossed, S = {H, T}
- If a die is rolled, S = {1, 2, 3, 4, 5, 6}
2. How do you write the sample space of an experiment?
To write a sample space, list all possible outcomes of the experiment without repetition.
- Coin toss → S = {H, T}
- Two coins → S = {HH, HT, TH, TT}
- Rolling two dice → S = {(1,1), (1,2), …, (6,6)}
3. What are the types of sample space in probability?
The two main types of sample space are discrete sample space and continuous sample space.
- Discrete sample space: Outcomes are countable (e.g., rolling a die).
- Continuous sample space: Outcomes are uncountable and lie in intervals (e.g., measuring height or time).
4. What is the formula for probability using sample space?
The probability of an event is calculated using P(E) = n(E) / n(S), where n(E) is the number of favorable outcomes and n(S) is the total number of outcomes in the sample space.
- If a die is rolled and E = getting an even number, then n(E) = 3 (2,4,6)
- n(S) = 6
- P(E) = 3/6 = 1/2
5. What is the difference between sample space and event?
A sample space is the set of all possible outcomes, while an event is a subset of the sample space.
- For a die roll, S = {1,2,3,4,5,6}
- Event A (even numbers) = {2,4,6}
6. How do you find the sample space when tossing two coins?
The sample space for tossing two coins is {HH, HT, TH, TT}.
- First coin: H or T
- Second coin: H or T
- Total outcomes = 2 × 2 = 4
7. What is the sample space of rolling two dice?
The sample space of rolling two dice consists of 36 ordered pairs from (1,1) to (6,6).
- Each die has 6 outcomes
- Total outcomes = 6 × 6 = 36
8. Why is sample space important in probability?
A sample space is important because it provides the complete set of outcomes needed to calculate probability accurately.
- It helps identify all possible events.
- It ensures no outcome is missed.
- It forms the denominator in the probability formula.
9. Can a sample space have infinite outcomes?
Yes, a sample space can have infinitely many outcomes, especially in continuous experiments.
- Measuring time taken to finish a race (any positive real number)
- Choosing a random number between 0 and 1
10. What are common mistakes when writing a sample space?
Common mistakes when writing a sample space include missing outcomes or listing duplicates.
- Not considering order in experiments like tossing two coins (HT ≠ TH).
- Forgetting combinations in multi-step experiments.
- Including impossible outcomes.

































