📘 CodingMarble Learn

Introduction to Probability: Scale, Experiments, Sample Spaces and Trees

Probability is a number from 0 to 1 that tells how likely something is. 0 means it can never happen, 1 means it will surely happen. We can find it by doing an experiment many times (empirical probability), or by listing every possible result (the sample space) and counting the ones we want. Tree diagrams and tables help us list results when two things happen together.

🎬 Step-by-step story

  1. Every event gets a place on a line from 0 to 1. Rolling a 7 on one die: 0 (impossible). Heads on a coin: ½ (even chance). The sun rising tomorrow: 1 (certain).
  2. Toss a coin 40 times and count the heads. Heads ÷ total tosses is the experimental probability. The more tosses, the closer it gets to ½.
  3. For two coins, every possible result is HH, HT, TH or TT. This full list is the sample space. The event "at least one head" has 3 of the 4 results, so its probability is 3/4.
  4. A tree diagram draws the first coin's 2 choices, then 2 more from each. The 4 ends are the 4 outcomes. Multiply along a path: P(HH) = ½ × ½ = ¼.
  5. For two dice, a 6 × 6 table shows all 36 results. Sum 7 appears in 6 cells, so P(sum 7) = 6/36 = 1/6.
  6. Free play: pick a sum, roll two dice 60 times, and compare what you got with the theory.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why can probability not be more than 1?

An event cannot happen more often than the number of trials. The largest fraction is trials ÷ trials = 1, which means certain.

I tossed 10 times and got 7 heads. Is the probability of heads 0.7?

That is the empirical probability for your 10 tosses. With more tosses the fraction usually moves towards ½, as the bars show.

Why are HT and TH different outcomes?

The first coin and the second coin are different coins. Head on the first and tail on the second is not the same as tail on the first and head on the second. Counting them separately makes all 4 outcomes equally likely.

Why do we multiply along the branches of a tree?

Half the time the first coin is H, and of those, half the time the second is H. Half of a half is a quarter: ½ × ½ = ¼.

Why is 7 the most common sum with two dice?

In the 6 × 6 table, sum 7 lies on the longest diagonal: 6 cells. Sums 2 and 12 have only 1 cell each.

Randomness and the probability scale

A random experiment is one where we know all the things that could happen, but we cannot say for sure which one will happen next. Tossing a coin and rolling a die are random.

Probability measures how likely an event is, on a scale from 0 to 1:

It can be written as a fraction, a decimal or a percentage: ½ = 0.5 = 50%.

Empirical (experimental) probability

Do an experiment many times (each time is a trial) and count how often the event happens.

Empirical probability P(E) = number of trials in which E happened ÷ total number of trials.

Example: 200 tosses, 108 heads → P(H) = 108 ÷ 200 = 0.54. The answer changes a little each time you repeat the experiment, but with more trials it settles near the true value.

We can use it to predict: if 2% of tested bulbs are faulty, about 2% of 5000 bulbs (100 bulbs) will be faulty.

Sample spaces and events

An outcome is one possible result. The sample space S is the list of all outcomes. An event is a group of outcomes we are interested in.

When all outcomes are equally likely: P(E) = number of outcomes in E ÷ number of outcomes in S.

P(not E) = 1 − P(E). The probabilities of all outcomes add up to 1.

Tree diagrams and tables

When two things happen (two coins, two dice, two picks), list the outcomes neatly:

Counting rule: if the first stage has m outcomes and the second has n, together there are m × n outcomes.

Board exam pattern

Statistics and Probability carries 10 marks in CBSE Class 9 (2026-27). Expect: place events on the probability scale, find empirical probability from a table of results, write a sample space, use a tree or a dice table, and MCQs such as "probability can never be…".

Try it at home

Toss a coin 20 times and write H or T each time. Find P(H). Now join your results with 4 friends' results (100 tosses). Is the answer closer to ½? Then roll two dice 36 times and tally the sums. Which sum came most often? Compare with the table: sum 7 should be the most common.

Key formulas and definitions

Worked examples

1. Place on the probability scale: (a) picking a red ball from a bag of only red balls, (b) a newborn baby being a girl, (c) getting 0 on a normal die.

(a) certain → 1. (b) about even chance → ½. (c) impossible → 0.

2. A coin is tossed 200 times and shows heads 108 times. Find the empirical probability of heads and of tails.

P(H) = 108 ÷ 200 = 0.54. Tails came 92 times, so P(T) = 92 ÷ 200 = 0.46. Check: 0.54 + 0.46 = 1.

3. Out of 1000 bulbs tested, 20 were faulty. Find the probability that a bulb is faulty. About how many faulty bulbs are expected in 5000?

P(faulty) = 20 ÷ 1000 = 0.02. Expected = 0.02 × 5000 = 100 bulbs.

4. A die is rolled. Write the sample space and find P(even) and P(not a 6).

S = {1, 2, 3, 4, 5, 6}. Even = {2, 4, 6} → 3/6 = ½. P(6) = 1/6, so P(not 6) = 1 − 1/6 = 5/6.

5. Two coins are tossed. Use a tree diagram to find P(at least one head).

Branches: H or T, then H or T → HH, HT, TH, TT, each ½ × ½ = ¼. At least one head: HH, HT, TH → ¼ + ¼ + ¼ = 3/4. Or: 1 − P(TT) = 1 − ¼ = 3/4.

6. Two dice are rolled. Find P(sum is 7) and P(sum is 10 or more).

36 outcomes. Sum 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) → 6/36 = 1/6. Sum ≥ 10: (4,6), (5,5), (6,4), (5,6), (6,5), (6,6) → 6/36 = 1/6.

7. A bag has 3 red and 2 blue balls. A ball is picked, put back, and a second ball is picked. Find P(both red).

P(red) = 3/5 each time (the ball is put back). Tree path red → red: 3/5 × 3/5 = 9/25 = 0.36.

Common mistakes

Practice quiz

1. Which cannot be a probability?
2. The sample space for tossing two coins has how many outcomes?
3. A die shows 6 on 25 out of 100 rolls. The empirical probability of a 6 is:
4. P(sum 7) with two dice is:
5. If P(E) = 0.3, then P(not E) is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is empirical probability?

The probability found from an experiment: the number of times an event happened divided by the total number of trials.

What is a sample space in probability?

The set of all possible outcomes of an experiment. For one die it is {1, 2, 3, 4, 5, 6}.

How do you use a tree diagram in probability?

Draw branches for each stage with their probabilities, multiply along each path to get an outcome's probability, and add the paths that make up your event.

Where this is taught

Canada (Ontario)Grade 8D. Data
Canada (Ontario)Grade 12A. Reasoning with Data
ItalyScuola secondaria di primo grado – classe 3ªData and prediction
PolandSzkoła podstawowa, klasa VIIIIntroduction to combinatorics and probability
CBSE (India)Class 9Statistics and Probability
England (GCSE, A level)Year 9Probability
Japan中学2年Using data
Germany (Bavaria)Jahrgangsstufe 8Laplace experiments (equally likely outcomes)
Russia7 классRandom events
Russia8 классProbability
China九年级(初三)Probability and statistics (standard, placement varies)
China高一Ch.10 Probability

Learn first

Learn next

Related lessons

All Maths lessons