You have already studied probability in S4 and S5. This page and the upcoming sections (except for the last one) are mostly reminders of things you will have seen. The goal is to make sure the basic probabilistic formulas and concepts are clear before we extend them to the final topic of the year, discrete random variables.

Basic Definitions

We begin with the simplest definition, a sample space:

Definition (Sample Space): The sample space of an experiment is the set of all possible outcomes. Formally, it is denoted by the Greek letter Omega (\Omega) or the capital letter S, where every distinct, individual result of the experiment represents a single element within this comprehensive set.

    \[\Omega = \{ \text{all possible outcomes} \}\]

An element of this sample space is an outcome. Many elements of this sample space grouped together is called an event.

Example: Determine the sample space for tossing a coin twice, and express the event of getting “at least one Head” in different formats.

Notice how so far we are not talking about probabilities. Depending on the experiment, we can attribute different values to outcomes and events. For example, if the coin is fair (i.e.: every outcome is equally likely), then we have:

    \[\mathbb{P}(H,H)=\mathbb{P}(H,T)=\mathbb{P}(T,H)=\mathbb{P}(T,T)=\frac{1}{4}\]

Notice how we write this. We use \mathbb{P} to denote probabilities. We could say \mathbb{P}((H,H)) since the outcome “Heads twice” is (H,H) so we need two sets of brackets, but we typically favour a shorthand notation for simplicity.

A probability is simply a function that takes an outcome or event and returns a number between 0 and 1. More formally \mathbb{P}:\Omega\to[0,1]. Here we are saying that the function \mathbb{P} takes elements in \Omega and returns a number between 0 and 1, including. If the number is 0, the event cannot happen. If the number is 1, it will certainly happen.

Notice also that we do not repeat outcomes in our sample space and we also do not include outcomes whose probabilities are 0. We are trying to express and model a situation in the neatest possible way.

A sample space is an explicit way to write all the outcomes. Experiments that are repeated a lot can make this rather tedious. Therefore, you develop tools in S4 and S5 to represent outcomes more easily and save time.

In particular, you have seen that two events are called:

  • Disjoint if they have no outcomes in common.
  • Complementary if they have no outcomes in common and together they make the sample space.
  • Exhaustive if together (their union) makes the sample space.
  • Independent if one happening does not affect the likelihood of the other happening.

We will see some of these definitions more formally and more in detail in the coming pages.

Tree Diagrams

One of the easiest, most comfortable methods to represent outcomes is a tree diagram.

Definition (Tree Diagram): A tree diagram is a visual tool to map out all possible stages of a multi-step experiment. Each branch represents a single choice, action, or outcome at a specific step, creating hierarchical pathways that break down compound events from left to right.

1. Understanding Outcomes:
The full sample space (\Omega) is determined by tracing individual paths from the starting root node to the final outer tips. Each complete path from start to finish represents one unique, compound outcome in the global set.

2. Calculating Probabilities:
Conditional probabilities are written along each individual branch segment. Two fundamental rules apply when calculating numeric values from the visual system:

  • Along a Path (The Multiplication Rule): To find the probability of a single compound outcome, multiply the probabilities along its specific sequence of branches from left to right.
  • Across Multiple Paths (The Addition Rule): To find the probability of an event containing several distinct paths, calculate the value of each individual path first, then add those product values together.

The example below will show us how we use a tree diagram fully.

Example: A student tracks their morning commute weather and arrival status. The probability of rain on any given morning is 0.3. If it rains, the probability of being late to school is 0.6. If it does not rain, the probability of being late drops to 0.1. Draw a tree diagram and find the probability that the student arrives late.

Notice how we calculated the probability of being late. We covered all the scenarios, namely: “Rain and Late” and “No Rain and Late”. This is an example of the total probability formula, which we will learn on the last page. It is how we divide an event (Late) and calculate its probability by intersecting it with a condition and its complement.

Moreover, if we look at the branch Late at the very top, this is not the outcome “Late”. This is the outcome “Late assuming that it rained”. This is an example of conditional probability, which we will discuss in the next page.

Example: A soccer team plays 3 sequential tournament matches. The probability that they win any given match is 0.6, and the probability that they lose is 0.4 (assume no draws occur and the matches are independent). Find the probability that the team:

  1. Wins exactly two out of the three matches.
  2. Wins at least one match.

For the last probability, we used the concept of complementary events, which you have seen extensively in S4 and S5. Two events are complementary if one happens if and only if the other does not.

Venn Diagrams

These diagrams group elements into different categories using circles. Two circles intersect if there is an element that belongs to both categories. For example:

Rendered by QuickLaTeX.com

The most important part of an exercise involving Venn diagrams is understanding what each section represent and paying special attention to the wording. If a word is there or not it will make a big difference. To be specific, we can think of each section as:

Rendered by QuickLaTeX.com

With this in consideration, we can create our own diagrams from instructions by starting from the most specific category to the least specific.

Example: A survey asked 35 people which subjects they prefer. The results are as follows:

  • 10 people like Mathematics (M).
  • 14 people like Biology (B).
  • 18 people like Physics (P).
  • 5 people like both Mathematics and Physics.
  • 3 people like both Mathematics and Biology.
  • 6 people like both Biology and Physics.
  • 2 people like all three subjects.
  • 5 people dislike all three subjects.

Tasks:
1. Classify this information using a step-by-step Venn diagram.
2. Calculate the probability that a student chosen at random:

  1. Likes mathematics and biology, but does not like physics.
  2. Likes physics assuming that they like biology.
  3. Does not like biology.
  4. Likes mathematics assuming that they do not like physics.

Two-Way Tables

Our final method of representation is a two-way table. This is particularly useful when we have two categories and we want to organise the information from each category and combine them.

Example: An electronics repair shop tracks the devices repaired last month by type (Smartphone, Laptop, Tablet) and the primary repair category (Screen, Battery, Software). Below is the incomplete tracking sheet:

Rendered by QuickLaTeX.com

Tasks:
1. Complete the table showing how many devices were repaired in each category last month.
2. If a device repaired last month is chosen at random, what is the likelihood that the device was:

  1. A screen repair.
  2. A laptop.
  3. A software repair on a smartphone.
  4. A screen repair, assuming it was a tablet.
  5. A laptop, assuming it required a battery repair.
  6. A software repair, assuming it was either a smartphone or a laptop.

Exercise

A box contains 3 red cards and 2 blue cards. Three cards are drawn sequentially one after another without replacement. Construct a tree diagram with changing conditional branch probabilities to find the probability of drawing exactly two red cards.

A diagnostic laboratory evaluates samples. A random sample has a 0.15 probability of containing a specific marker. If the marker is present, the test has a 0.9 probability of returning positive. If the marker is missing, the test has a 0.05 probability of returning a false positive. Build a two-stage tree diagram to find the total probability that a randomly chosen sample tests positive.

A basketball player attempts three successive free throws. The probability of making any single shot is 0.7, and missing is 0.3. Use a tree diagram to represent the sample space \Omega and find the probability that the player misses at most one shot.

A manufacturing line tests three independent electronic components. The probability that an individual component passes inspection is 0.8, and the probability it fails is 0.2. Draw a tree diagram to map out all pathways and calculate the probability that exactly two components pass.

A marketing survey tracked the streaming subscriptions of 50 individuals. The data collected is as follows:

  • 25 people subscribe to Movie Channel (M).
  • 20 people subscribe to Sports Network (S).
  • 22 people subscribe to Documentary Library (D).
  • 8 people subscribe to both Movie Channel and Sports Network.
  • 7 people subscribe to both Movie Channel and Documentary Library.
  • 9 people subscribe to both Sports Network and Documentary Library.
  • 4 people subscribe to all three platforms.
  • 3 people subscribe to none of these platforms.

Tasks:
1. Complete the Venn diagram step by step to represent the distribution.
2. Calculate the probability that a person chosen at random:

  1. Subscribes to Movie Channel and Documentary Library, but does not subscribe to Sports Network.
  2. Subscribes to Sports Network assuming that they subscribe to Documentary Library.
  3. Does not subscribe to Movie Channel.
  4. Subscribes to Documentary Library assuming that they do not subscribe to Movie Channel.

Step-by-Step Solution Layout:

Part 1: Venn Diagram Steps

• Step 1 (Center): All three platforms = 4.

Rendered by QuickLaTeX.com

• Step 2 (Double Intersections): Subtract the center value (4) from the paired sets:
• M and S only = 8 - 4 = 4
• M and D only = 7 - 4 = 3
• S and D only = 9 - 4 = 5

Rendered by QuickLaTeX.com

• Step 3 (Single Regions & Exterior): Subtract values inside each circle from its main total:
• Only M = 25 - (4 + 4 + 3) = 14
• Only S = 20 - (4 + 4 + 5) = 7
• Only D = 22 - (3 + 4 + 5) = 10
• Exterior (None) = 3

Rendered by QuickLaTeX.com

Part 2: Probability Calculations

The total population size is |\Omega| = 50. Using the completed fields:

a. Movie Channel and Documentary, but not Sports Network:
Matches the region M \cap D \cap S'. From the diagram, this equals 3.

    \[\mathbb{P}(M \cap D \cap S') = \frac{3}{50} = 0.06\]

b. Subscribes to Sports Network assuming that they subscribe to Documentary Library:
Condition pool is limited to D (22 people total). Out of these, 4 + 5 = 9 also subscribe to S.

    \[\mathbb{P}(S \mid D) = \frac{|S \cap D|}{|D|} = \frac{9}{22}\]

c. Does not subscribe to Movie Channel:
Determined via complement of M (25 people):

    \[\mathbb{P}(M') = 1 - \mathbb{P}(M) = 1 - \frac{25}{50} = \frac{25}{50} = \frac{1}{2} = 0.5\]

d. Subscribes to Documentary Library assuming that they do not subscribe to Movie Channel:
Condition pool is limited to individuals outside M, which is |\Omega| - |M| = 50 - 25 = 25 people. Out of these, those in D belong to “Only D” (10) and “Only S and D” (5):

    \[\mathbb{P}(D \mid M') = \frac{|D \cap M'|}{|M'|} = \frac{10 + 5}{25} = \frac{15}{25} = \frac{3}{5} = 0.6\]

At a fitness studio, 50 members attend specialized classes. 40 members do Yoga, 21 members do Pilates, and each member attends at least one of these two activities. Represent this information using a Venn diagram and find the likelihood that a randomly-selected member:

  1. Does both activities.
  2. Does Yoga but not Pilates.

In a team of 24 software engineers at a tech startup, 10 use Python, 12 use JavaScript, and 5 use neither language. Find the probability that a randomly-selected engineer:

  1. Uses Python but not JavaScript.
  2. Uses both Python and JavaScript.

A school library categorizes a sample of newly acquired books by genre (Fiction, Non-Fiction, Biography) and format (Hardcover, Paperback, Audiobook). Complete the following data matrix:

Rendered by QuickLaTeX.com

If a book from this tracking set is selected at random, find the likelihood that it was:

  1. A non-fiction book.
  2. A paperback biography.
  3. An audiobook, assuming it is a fiction book.
  4. A hardcover book, assuming it is either a non-fiction book or a biography.

A local gym analyzes member registration profiles across different age bands (Youth, Adult, Senior) and preferred training environments (Weights, Cardio, Classes). Solve for the empty cells below:

Rendered by QuickLaTeX.com

If a registration file is drawn at random from this group, find the probability that the member is:

  1. Primarily focused on cardio training.
  2. A senior, assuming they focus on group classes.
  3. An adult or a senior, assuming they do not focus on weight training.
error: Content is protected!