UNIHIVE

Study Hub UNIPORT STA 160

STA 160 · Descriptive Statistics

Basic probability

Sample space, events, and the addition and multiplication rules, including independent and mutually exclusive events.

Our notes

2 min read

Terms

  • Experiment: an action with uncertain outcomes (tossing a coin, rolling a die).
  • Sample space (S): the set of all possible outcomes. Rolling a die: S = {1, 2, 3, 4, 5, 6}.
  • Event (E): a subset of outcomes ("an even number" = {2, 4, 6}).
  • Equally likely outcomes: each has the same chance.

Definition

For equally likely outcomes: P(E) = n(E)/n(S) = favourable outcomes / total outcomes.

  • 0 ≤ P(E) ≤ 1: 0 = impossible, 1 = certain.
  • Complement: P(not E) = 1 − P(E).

Worked example. P(an even number on a die) = 3/6 = 1/2.
Worked example. A card is drawn from a pack of 52. P(a king) = 4/52 = 1/13; P(a heart) = 13/52 = 1/4.

Addition rule ("or")

P(A or B) = P(A) + P(B) − P(A and B)

  • Mutually exclusive events cannot happen together: P(A and B) = 0, so P(A or B) = P(A) + P(B).

Worked example. P(a king or a heart) = 4/52 + 13/52 − 1/52 = 16/52 = 4/13 (the king of hearts is counted once).

Multiplication rule ("and")

  • Independent events (one does not affect the other): P(A and B) = P(A) × P(B).

Worked example. Two coins: P(two heads) = 1/2 × 1/2 = 1/4.

  • Dependent events (without replacement): P(A and B) = P(A) × P(B | A).

Worked example. A bag has 5 red and 3 blue balls. Two are drawn without replacement. P(both red) = 5/8 × 4/7 = 20/56 = 5/14.

Conditional probability

P(A | B) = P(A and B) / P(B): the probability of A given that B has happened.
Worked example. In a class, 60% study Maths, and 24% study both Maths and Physics. P(Physics | Maths) = 0.24/0.60 = 0.4.

Tree diagrams and tables

Use tree diagrams for events in stages: multiply along branches, add across the final outcomes you want. Use a two-way table for two dice (36 outcomes).
Worked example. Two dice: P(total = 7) = 6/36 = 1/6 (pairs (1,6), (2,5), (3,4), (4,3), (5,2), (6,1)).

Relative frequency (experimental probability)

P(E) ≈ (number of times E occurred)/(number of trials). As trials increase, it approaches the theoretical probability (the law of large numbers).

Counting helps

For larger problems, use permutations and combinations (see MTH 110): P(choosing 2 girls in a committee of 2 from 4 boys and 3 girls) = ³C₂/⁷C₂ = 3/21 = 1/7.

Exams usually ask: define the terms; simple probabilities with dice, coins and cards; addition and multiplication rules; mutually exclusive and independent events; conditional probability; tree diagrams; problems with and without replacement.

Common mistake: adding probabilities of events that are not mutually exclusive without subtracting the overlap.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

Practise

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All STA 160 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.