3.4 Basic Probability, Sets & Descriptive Statistics

Key Takeaways

  • Complementary probability P(E') = 1 - P(E) solves 'at least one' and 'not' questions much faster than listing every favorable outcome

  • When sampling without replacement, subtract each drawn item from the available total and recalculate the favourable count from what remains.

  • The size of a two-set union equals the sum of the set sizes minus the overlap. Subtract the 'neither' count from the whole cohort to find the union if needed.

  • Always sort a dataset in ascending order before locating the median; for an even count n, average the two middle values

Last updated: November 2026

Data interpretation, set logic, and basic probability measure a candidate's ability to reason under uncertainty and summarize numerical reports accurately. In this final section of the chapter, you will master the formulas that govern likelihood, overlapping cohorts, and summary statistics.

Sample Space & Single-Event Probability

The sample space SS contains all possible outcomes of an experiment. An event EE is a subset of those outcomes. If the sample space is finite and its outcomes are equally likely, calculate the probability by counting:

P(E)=n(E)n(S),0≤P(E)≤1P(E) = \frac{n(E)}{n(S)}, \qquad 0 \le P(E) \le 1

An impossible event has probability 00, while a certain event has probability 11. The complement E′E' (the event that EE does not occur) satisfies:

P(E′)=1−P(E)P(E') = 1 - P(E)

For instance, when rolling a fair six-sided die, P(number>4)=26=13P(\text{number} > 4) = \frac{2}{6} = \frac{1}{3} (outcomes 55 and 66), so P(number≤4)=1−13=23P(\text{number} \le 4) = 1 - \frac{1}{3} = \frac{2}{3}.


Mutually Exclusive, Independent & Without-Replacement Events

First decide what the question asks for. Use addition with an overlap correction to count a union. Use multiplication with the appropriate conditional probability to count outcomes satisfying both conditions.

  • Mutually exclusive events cannot occur simultaneously (A∩B=∅A \cap B = \emptyset). For "A or B", add: P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).
  • Independent events have no effect on each other (such as independent coin tosses, or independent random draws with replacement). For "A and B", multiply: P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B).
  • Dependent events (without replacement): Once the first item is removed and kept aside, the total drops by 11. Recount matching outcomes from the remaining items. For events in sequence, multiply the probability of the first event by the probability of the second given the first.

Worked Example 1: Drawing Counters With and Without Replacement

A box holds 55 red counters and 33 green counters (88 in total). Draw two counters in order, choosing uniformly from those available on each draw. Find the probability that both are red.

  • Without replacement: First red draw has probability 58\frac{5}{8}. With 44 red counters left out of 77 remaining counters, the second red draw has probability 47\frac{4}{7}. Multiply:
P(both red)=58×47=2056=514P(\text{both red}) = \frac{5}{8} \times \frac{4}{7} = \frac{20}{56} = \frac{5}{14}
  • With replacement: The first counter goes back into the box, and the second draw is made independently. Each draw has probability 58\frac{5}{8}, giving 58×58=2564\frac{5}{8} \times \frac{5}{8} = \frac{25}{64}.

Multi-Stage Coins & Two-Dice Sample Spaces

When tossing nn fair coins independently, there are 2n2^n equally likely outcomes (for example, 23=82^3 = 8 outcomes for three coins). To find the probability of getting at least one head in 33 tosses, use the complement rule instead of listing 77 outcomes: the only failure is all three tails (TTT\text{TTT}), which has probability (12)3=18\left(\frac{1}{2}\right)^3 = \frac{1}{8}, so P(at least one head)=1−18=78P(\text{at least one head}) = 1 - \frac{1}{8} = \frac{7}{8}.

Similarly, rolling two independent fair six-sided dice produces 6×6=366 \times 6 = 36 ordered pairs. If asked for the probability that the sum equals 77, list the matching ordered pairs carefully—(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)—giving 66 favorable outcomes out of 3636, or 636=16\frac{6}{36} = \frac{1}{6}.


Two-Set Venn Diagrams & Inclusion–Exclusion

When two groups overlap (for example, learners who passed a reading exercise and learners who passed a numeracy exercise), simply adding n(A)+n(B)n(A) + n(B) double-counts the intersection n(A∩B)n(A \cap B). The inclusion–exclusion principle corrects for this:

n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)

If a universal set UU also includes elements in neither set, then n(U)=n(A∪B)+n(neither)n(U) = n(A \cup B) + n(\text{neither}).

Worked Example 2: Overlapping Practice Results

In a group of 5050 learners, 3232 passed reading (RR), 2828 passed numeracy (NN), and 55 passed neither. How many passed both exercises, and how many passed only reading?

  1. Find the union (those who passed at least one test): n(R∪N)=50−5=45n(R \cup N) = 50 - 5 = 45.
  2. Apply inclusion–exclusion to find the overlap:
45=32+28−n(R∩N)  ⟹  n(R∩N)=60−45=1545 = 32 + 28 - n(R \cap N) \implies n(R \cap N) = 60 - 45 = 15
  1. Subtract the overlap to find the "only" regions: Only reading=32−15=17\text{Only reading} = 32 - 15 = 17, and Only numeracy=28−15=13\text{Only numeracy} = 28 - 15 = 13.
  2. Verify all four disjoint regions sum to the total: 17+15+13+5=5017 + 15 + 13 + 5 = 50.

Descriptive Statistics: Mean, Median, Mode & Range

MeasureDefinitionKey Exam Trap
Mean (xˉ\bar{x})Sum of all valuesNumber of values (n)\frac{\text{Sum of all values}}{\text{Number of values } (n)}Use group counts as weights when combining means
MedianMiddle value after sorting data from smallest to largestFinding the middle of an unsorted list; forgetting to average the two middle values when nn is even
ModeMost frequently occurring valueWhen repeated values tie for the highest frequency, each can be a mode. A list with no repeats is commonly described as having no mode.
RangeMaximum−Minimum\text{Maximum} - \text{Minimum}Computing mean or median instead of spread

Worked Example 3: Median of an Even Unsorted Dataset

Find the median of the ferry journey times (in minutes): 18,12,25,14,21,1618, 12, 25, 14, 21, 16.

Warning

Never read the middle terms directly from an unsorted list! In the raw order above, the middle pair (25,14)(25, 14) gives 19.519.5, which is completely wrong.

  1. Sort in ascending order: 12,14,16,18,21,2512, 14, 16, 18, 21, 25.
  2. Because n=6n = 6 (even), locate the 3rd3\text{rd} and 4th4\text{th} values (1616 and 1818) and average them:
Median=16+182=17 minutes\text{Median} = \frac{16 + 18}{2} = 17\text{ minutes}

For an odd number of values (say n=7n = 7), the median is simply the single value at position n+12=4\frac{n + 1}{2} = 4 after sorting.

Worked Example 4: Reading a Frequency Table

A frequency counts how many observations have a particular value. The sum of the frequencies is the dataset size. Use the frequencies as weights for the arithmetic mean and as running counts when locating the median in order.

When data is summarized in a frequency table—for example, 22 cadets scored 6060, 55 cadets scored 7070, and 33 cadets scored 8080—multiply each score xx by its frequency ff to obtain the sum: ∑fx=2(60)+5(70)+3(80)=120+350+240=710\sum fx = 2(60) + 5(70) + 3(80) = 120 + 350 + 240 = 710, divided by n=2+5+3=10n = 2 + 5 + 3 = 10 cadets, giving a mean of 7171, a mode of 7070 (highest frequency 55), a range of 80−60=2080 - 60 = 20, and a median of 70+702=70\frac{70 + 70}{2} = 70 (average of the 5th5\text{th} and 6th6\text{th} sorted scores).

OpenStax Introductory Statistics, probability terminology · Addition and multiplication rules · Measures of centre

Loading diagram...
Reading and Numeracy Results for 50 Learners
Test Your Knowledge

A pouch contains 4 blue tokens and 6 white tokens. Two tokens are drawn one after the other without replacement, with every remaining token equally likely at each draw. What is the probability both tokens are blue?

A

3/25

B

4/25

C

2/15

D

1/5

Test Your Knowledge

In an independent practice group of 60 learners, 38 passed a numeracy exercise, 34 passed an English exercise, and 6 passed neither. How many passed both exercises?

A

12

B

18

C

20

D

24

Test Your Knowledge

A squad of 8 recruits records the following push-up counts: 29, 34, 24, 38, 29, 31, 46, 25. What is the median of this dataset?

A

29

B

32

C

33.5

D

30

Sections you finish are checked off in the contents.