Laws of probability PP

📚 Laws of probability PP.pdf

Brief overview

This document introduces fundamental concepts of probability, essential for understanding data analysis and decision-making in various fields. It covers basic probability calculations, the analysis of data through tables, and the critical concept of event independence.

Key points

  • Overview of basic probability questions involving dice, students, and sports preferences.
  • How to determine the independence of events using probability calculations.
  • Analyzing data tables to compute probabilities, including conditional probabilities.
  • Exploring complex probability scenarios based on score products and differences.
  • Solving probability problems with multiple conditions and data interpretations.

1. Basic probability questions en Independence of events

1.1 Understanding independent events

Events are independent if the outcome of one event does not affect the outcome of another. This means that the occurrence of one event does not change the probability of the other event occurring.

For two events, A and B, to be independent, the following condition must hold: P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B) This equation states that the probability of both events A and B happening is equal to the product of their individual probabilities. If this condition is met, the events are independent.

🔑 Important: If P(A∩B)≠P(A)×P(B)P(A \cap B) \neq P(A) \times P(B), then events A and B are dependent.

1.2 Calculating probabilities of independent events

When dealing with independent events, you can calculate the probability of both events occurring by multiplying their individual probabilities.

Consider the example of throwing two fair dice. Let event A be 'the first die shows a 4' and event B be 'the second die shows a 6'.

Since the outcome of the first die does not affect the outcome of the second die, these events are independent.

  • The probability of event A is P(A)=16P(A) = \frac{1}{6}.
  • The probability of event B is P(B)=16P(B) = \frac{1}{6}.
  • The probability of both A and B occurring is P(A∩B)=P(A)×P(B)=16×16=136P(A \cap B) = P(A) \times P(B) = \frac{1}{6} \times \frac{1}{6} = \frac{1}{36}.

This principle applies to any scenario where events are independent, such as coin tosses or drawing cards with replacement.

1.3 Determining independence in practice

To determine if two events are independent, you need to compare the probability of their intersection with the product of their individual probabilities.

Here is a step-by-step process:

  1. Calculate P(A)P(A): Find the probability of the first event.
  2. Calculate P(B)P(B): Find the probability of the second event.
  3. Calculate P(A∩B)P(A \cap B): Find the probability of both events occurring together.
  4. Compare: Check if P(A∩B)P(A \cap B) is equal to P(A)×P(B)P(A) \times P(B).

1.3.1 Example: Dice product and parity

Ashfaq throws two fair dice. Event R is 'the product of the two numbers is 12'.

Event T is 'one of the numbers is odd and one is even'. Are R and T independent?

First, list all possible outcomes when throwing two dice (36 outcomes).

Event R (Product is 12): The pairs that give a product of 12 are (2, 6), (3, 4), (4, 3), (6, 2). So, P(R)=436=19P(R) = \frac{4}{36} = \frac{1}{9}.

Event T (One odd, one even): This occurs when one die shows an odd number (1, 3, 5) and the other shows an even number (2, 4, 6).

  • (Odd, Even): 3 options for odd ×\times 3 options for even = 9 outcomes.
  • (Even, Odd): 3 options for even ×\times 3 options for odd = 9 outcomes. Total outcomes for T = 9 + 9 = 18. So, P(T)=1836=12P(T) = \frac{18}{36} = \frac{1}{2}.

Event R∩TR \cap T (Product is 12 AND one odd, one even): From the pairs for R:

  • (2, 6): Even, Even (not in T)
  • (3, 4): Odd, Even (in T)
  • (4, 3): Even, Odd (in T)
  • (6, 2): Even, Even (not in T) The pairs that satisfy both R and T are (3, 4) and (4, 3). So, P(R∩T)=236=118P(R \cap T) = \frac{2}{36} = \frac{1}{18}.

Comparison: Calculate P(R)×P(T)=19×12=118P(R) \times P(T) = \frac{1}{9} \times \frac{1}{2} = \frac{1}{18}. Since P(R∩T)=P(R)×P(T)P(R \cap T) = P(R) \times P(T), events R and T are independent.

📝 Example: Events R and T are independent because P(R∩T)=118P(R \cap T) = \frac{1}{18}, and P(R)×P(T)=19×12=118P(R) \times P(T) = \frac{1}{9} \times \frac{1}{2} = \frac{1}{18}.

1.3.2 Example: Student preferences and independence

In a group of students, 30% are male. 60% of male students like hot curry, and 50% of female students like hot curry.

Determine if 'being male' and 'liking hot curry' are independent events.

Let M be the event 'the student is male'. Let F be the event 'the student is female'.

Let H be the event 'the student likes hot curry'.

We are given:

  • P(M)=0.30P(M) = 0.30
  • P(F)=1−P(M)=1−0.30=0.70P(F) = 1 - P(M) = 1 - 0.30 = 0.70
  • P(H∣M)=0.60P(H|M) = 0.60 (Probability of liking hot curry given the student is male)
  • P(H∣F)=0.50P(H|F) = 0.50 (Probability of liking hot curry given the student is female)

To check for independence between M and H, we need P(M∩H)P(M \cap H) and P(M)×P(H)P(M) \times P(H).

Calculate P(M∩H)P(M \cap H): We know P(H∣M)=P(M∩H)P(M)P(H|M) = \frac{P(M \cap H)}{P(M)}. So, P(M∩H)=P(H∣M)×P(M)=0.60×0.30=0.18P(M \cap H) = P(H|M) \times P(M) = 0.60 \times 0.30 = 0.18.

Calculate P(H)P(H): Using the law of total probability: P(H)=P(H∣M)P(M)+P(H∣F)P(F)P(H) = P(H|M)P(M) + P(H|F)P(F) P(H)=(0.60×0.30)+(0.50×0.70)P(H) = (0.60 \times 0.30) + (0.50 \times 0.70) P(H)=0.18+0.35=0.53P(H) = 0.18 + 0.35 = 0.53.

Compare P(M∩H)P(M \cap H) and P(M)×P(H)P(M) \times P(H): P(M)×P(H)=0.30×0.53=0.159P(M) \times P(H) = 0.30 \times 0.53 = 0.159.

Since P(M∩H)=0.18P(M \cap H) = 0.18 and P(M)×P(H)=0.159P(M) \times P(H) = 0.159, they are not equal.

🔑 Important: The events ‘the student chosen is male’ and ‘the student chosen likes their curry hot’ are not independent.

1.3.3 Example: Music college student independence

There are 300 students at a music college. Numbers of male and female students playing guitar, piano, or flute are given.

Determine if 'a student is male' and 'a student does not play the piano' are independent.

GuitarPianoFluteTotal
Female623543140
Male784042160
Total1407585300

Let M be the event 'the student is male'. Let NP be the event 'the student does not play the piano'.

Calculate P(M)P(M): Total male students = 160. Total students = 300.

P(M)=160300=1630=815P(M) = \frac{160}{300} = \frac{16}{30} = \frac{8}{15}.

Calculate P(NP)P(NP): Students who do not play piano are those who play guitar or flute. Number of students not playing piano = (Guitar total) + (Flute total) = 140 + 85 = 225.

P(NP)=225300=225÷75300÷75=34P(NP) = \frac{225}{300} = \frac{225 \div 75}{300 \div 75} = \frac{3}{4}.

Calculate P(M∩NP)P(M \cap NP): This is the event that a student is male AND does not play the piano. These are male students who play guitar or flute.

Number of male students playing guitar = 78. Number of male students playing flute = 42.

Number of male students not playing piano = 78 + 42 = 120. P(M∩NP)=120300=1230=25P(M \cap NP) = \frac{120}{300} = \frac{12}{30} = \frac{2}{5}.

Compare P(M∩NP)P(M \cap NP) and P(M)×P(NP)P(M) \times P(NP): P(M)×P(NP)=815×34=8×315×4=2460=25P(M) \times P(NP) = \frac{8}{15} \times \frac{3}{4} = \frac{8 \times 3}{15 \times 4} = \frac{24}{60} = \frac{2}{5}.

Since P(M∩NP)=25P(M \cap NP) = \frac{2}{5} and P(M)×P(NP)=25P(M) \times P(NP) = \frac{2}{5}, the events are independent.

🔑 Important: The events ‘a randomly chosen student is male’ and ‘a randomly chosen student does not play the piano’ are independent.

1.3.4 Example: Sports preference and college independence

500 students were asked about college attended and preference for soccer or hockey. Determine if 'student prefers hockey' and 'student is at Amos college or Benn college' are independent.

SoccerHockeyTotal
Amos543286
Benn8472156
Canton225678
Devar12060180
Total280220500

Let H be the event 'the student prefers hockey'. Let AB be the event 'the student is at Amos college or Benn college'.

Calculate P(H)P(H): Total students who prefer hockey = 220. Total students = 500.

P(H)=220500=2250=1125P(H) = \frac{220}{500} = \frac{22}{50} = \frac{11}{25}.

Calculate P(AB)P(AB): Students at Amos or Benn college = (Amos total) + (Benn total) = 86 + 156 = 242. P(AB)=242500=121250P(AB) = \frac{242}{500} = \frac{121}{250}.

Calculate P(H∩AB)P(H \cap AB): This is the event that a student prefers hockey AND is at Amos or Benn college. Number of hockey fans at Amos = 32.

Number of hockey fans at Benn = 72. Number of students who prefer hockey and are at Amos or Benn = 32 + 72 = 104.

P(H∩AB)=104500=26125P(H \cap AB) = \frac{104}{500} = \frac{26}{125}.

Compare P(H∩AB)P(H \cap AB) and P(H)×P(AB)P(H) \times P(AB): P(H)×P(AB)=1125×121250=13316250P(H) \times P(AB) = \frac{11}{25} \times \frac{121}{250} = \frac{1331}{6250}.

Convert to decimals for easier comparison: P(H∩AB)=104500=0.208P(H \cap AB) = \frac{104}{500} = 0.208. P(H)×P(AB)=13316250≈0.213P(H) \times P(AB) = \frac{1331}{6250} \approx 0.213.

Since 0.208≠0.2130.208 \neq 0.213, the events are not independent.

🔑 Important: The events ‘the student prefers hockey’ and ‘the student is at Amos college or Benn college’ are not independent.

1.3.5 Example: Guitar playing and gender independence

180 students play piano, guitar, or drums. Numbers of male and female students for each instrument are given.

Determine if 'student plays guitar' and 'student is female' are independent.

PianoGuitarDrumsTotal
Male25441180
Female423820100
Total678231180

Let G be the event 'the student plays the guitar'. Let F be the event 'the student is female'.

Calculate P(G)P(G): Total students playing guitar = 82. Total students = 180.

P(G)=82180=4190P(G) = \frac{82}{180} = \frac{41}{90}.

Calculate P(F)P(F): Total female students = 100. Total students = 180.

P(F)=100180=1018=59P(F) = \frac{100}{180} = \frac{10}{18} = \frac{5}{9}.

Calculate P(G∩F)P(G \cap F): This is the event that a student plays guitar AND is female. Number of female students playing guitar = 38.

P(G∩F)=38180=1990P(G \cap F) = \frac{38}{180} = \frac{19}{90}.

Compare P(G∩F)P(G \cap F) and P(G)×P(F)P(G) \times P(F): P(G)×P(F)=4190×59=205810P(G) \times P(F) = \frac{41}{90} \times \frac{5}{9} = \frac{205}{810}.

Simplify 205810\frac{205}{810} by dividing by 5: 41162\frac{41}{162}. Simplify P(G∩F)=1990P(G \cap F) = \frac{19}{90}.

To compare 1990\frac{19}{90} and 41162\frac{41}{162}, find a common denominator or convert to decimals. Common denominator for 90 and 162 is 810.

1990=19×990×9=171810\frac{19}{90} = \frac{19 \times 9}{90 \times 9} = \frac{171}{810}. 41162=41×5162×5=205810\frac{41}{162} = \frac{41 \times 5}{162 \times 5} = \frac{205}{810}.

Since 171810≠205810\frac{171}{810} \neq \frac{205}{810}, the events are not independent.

🔑 Important: The events ‘the student plays the guitar’ and ‘the student is female’ are not independent.

1.3.6 Example: Car color and type independence

160 cars were observed for color (red, silver, other) and type (saloon, hatchback, estate). Determine if 'car is hatchback' and 'car is red' are independent.

SaloonHatchbackEstateTotal
Red20401272
Silver14261050
Other624838
Total409030160

Let H be the event 'the car is a hatchback car'. Let R be the event 'the car is red'.

Calculate P(H)P(H): Total hatchback cars = 90. Total cars = 160.

P(H)=90160=916P(H) = \frac{90}{160} = \frac{9}{16}.

Calculate P(R)P(R): Total red cars = 72. Total cars = 160.

P(R)=72160=72÷8160÷8=920P(R) = \frac{72}{160} = \frac{72 \div 8}{160 \div 8} = \frac{9}{20}.

Calculate P(H∩R)P(H \cap R): This is the event that a car is a hatchback AND is red. Number of red hatchback cars = 40.

P(H∩R)=40160=416=14P(H \cap R) = \frac{40}{160} = \frac{4}{16} = \frac{1}{4}.

Compare P(H∩R)P(H \cap R) and P(H)×P(R)P(H) \times P(R): P(H)×P(R)=916×920=81320P(H) \times P(R) = \frac{9}{16} \times \frac{9}{20} = \frac{81}{320}.

Convert to decimals for comparison: P(H∩R)=14=0.25P(H \cap R) = \frac{1}{4} = 0.25. P(H)×P(R)=81320=0.253125P(H) \times P(R) = \frac{81}{320} = 0.253125.

Since 0.25≠0.2531250.25 \neq 0.253125, the events are not independent.

🔑 Important: The events ‘the car is a hatchback car’ and ‘the car is red’ are not independent.

🔑 Belangrijk: To determine independence, always compare P(A∩B)P(A \cap B) with P(A)×P(B)P(A) \times P(B). If they are equal, the events are independent.

2. Data tables and probability calculations

2.1 Probabilities from data tables

Data tables organize information, making it easier to calculate probabilities. You can find the probability of an event by dividing the number of favorable outcomes by the total number of outcomes.

This is often done by summing relevant cells in a contingency table.

  • Simple probability: The chance of a specific event happening. Calculated as (Number of ways the event can occur) / (Total number of possible outcomes).

    📝 Example: In a college of 300 students, 78 are female guitar players. The probability of picking a female guitar player is 78/30078/300.

  • Conditional probability: The probability of an event happening given that another event has already occurred. This is written as P(A∣B)P(A|B), the probability of A given B.

P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

*   The notation $P(A \cap B)$ represents the probability of both A and B happening.
*   $P(B)$ is the probability of event B happening.

> **📝 Example:** The probability that a student prefers hockey given they are from Amos college. First, find the total number of students from Amos. Then find the number of Amos students who prefer hockey. The probability is $32/86$  .
  • Independence of events: Two events are independent if the occurrence of one does not affect the probability of the other.

    🔑 Important: Events A and B are independent if P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B).

To check for independence: * Calculate P(A∩B)P(A \cap B) (probability of both A and B). * Calculate P(A)×P(B)P(A) \times P(B) (product of individual probabilities). * If the values are equal, the events are independent.

> **📝 Example:** Are "student is male" and "student does not play the piano" independent?
*   Total students: 300.
*   Male students: $78 + 40 + 42 = 160$. So $P(\text{Male}) = 160/300$.
*   Students not playing piano: $62 + 78 + 43 = 183$. So $P(\text{Not Piano}) = 183/300$.
*   Male students not playing piano: $78 + 43 = 121$. So $P(\text{Male} \cap \text{Not Piano}) = 121/300$.
*   Check: Is $121/300 = (160/300) \times (183/300)$? No, they are not independent.

2.1.1 Calculating probabilities from specific scenarios

Data tables can represent various scenarios, including scores from dice rolls or student preferences.

  • Dice scores: When rolling dice, consider all possible outcomes to find probabilities. For two dice, there are 6×6=366 \times 6 = 36 possible combinations.

    📝 Example: Event X: sum of two dice scores is 4. Possible outcomes are (1,3), (2,2), (3,1). So P(X)=3/36P(X) = 3/36. Event Y: first score is 2 or 5. Possible outcomes for the first roll are (2,1-6) or (5,1-6). So P(Y)=12/36P(Y) = 12/36.

    🔑 Important: When checking independence for dice rolls, list all possible pairs of scores.

  • Event definitions: Events can be defined by sums, differences, or products of scores.

    📝 Example: Event R: one score is exactly 3 greater than the other. Possible pairs are (1,4), (2,5), (3,6), (4,1), (5,2), (6,3). P(R)=6/36P(R) = 6/36. Event S: product of scores is more than 19. Pairs include (4,5), (5,4), (4,6), (6,4), (5,5), (5,6), (6,5), (6,6). P(S)=8/36P(S) = 8/36.

To check independence for R and S: * P(R∩S)P(R \cap S): Pairs where the difference is 3 AND the product is > 19. These are (4,1) is not in S, (5,2) is not in S, (6,3) is not in S. Pairs are (4,5), (5,4), (4,6), (6,4), (5,5), (5,6), (6,5), (6,6). None of these have a difference of 3. So P(R∩S)=0P(R \cap S) = 0. * P(R)×P(S)=(6/36)×(8/36)=48/1296P(R) \times P(S) = (6/36) \times (8/36) = 48/1296. * Since 0≠48/12960 \neq 48/1296, R and S are not independent.

> **🔑 Important:** When calculating probabilities for events with multiple conditions, list all outcomes that satisfy *all* conditions.

2.1.2 Combined events and independence checks

When events involve multiple criteria, carefully enumerate possibilities and check for independence using the formula P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B).

  • Composite events: These combine multiple conditions. For example, "prefers hockey" AND ("at Amos college" OR "at Benn college").

    • To find P(Hockey∩(Amos∪Benn))P(\text{Hockey} \cap (\text{Amos} \cup \text{Benn})):

      • Students at Amos preferring hockey: 32.
      • Students at Benn preferring hockey: 72.
      • Total students preferring hockey and at Amos or Benn: 32+72=10432 + 72 = 104.
      • Total students: 500.
      • P(Hockey∩(Amos∪Benn))=104/500P(\text{Hockey} \cap (\text{Amos} \cup \text{Benn})) = 104/500.
    • To find P(Hockey)P(\text{Hockey}): Total hockey fans are 220. So P(Hockey)=220/500P(\text{Hockey}) = 220/500.

    • To find P(Amos∪Benn)P(\text{Amos} \cup \text{Benn}): Total students at Amos or Benn are 86+156=24286 + 156 = 242. So P(Amos∪Benn)=242/500P(\text{Amos} \cup \text{Benn}) = 242/500.

    • Check independence: Is 104/500=(220/500)×(242/500)104/500 = (220/500) \times (242/500)? Calculate and compare.

    EventProbability
    Hockey220/500220/500
    Amos or Benn college242/500242/500
    Hockey AND (Amos or Benn)104/500104/500
    P(Hockey)×P(Amos∪Benn)P(\text{Hockey}) \times P(\text{Amos} \cup \text{Benn})(220/500)×(242/500)=53240/250000(220/500) \times (242/500) = 53240/250000
    • Since 104/500≠53240/250000104/500 \neq 53240/250000, the events are not independent.

🔑 Important: When events are defined by "OR" conditions, sum the counts for those separate categories before calculating the probability.

Data CategoriesCountProbability
Male students160160/300160/300
Female students140140/300140/300
Guitar players104104/300104/300
Piano players7575/30075/300
Flute players8585/30085/300
Male and Guitar7878/30078/300
Male and Piano4040/30040/300
Male and Flute4242/30042/300
Female and Guitar6262/30062/300
Female and Piano3535/30035/300
Female and Flute4343/30043/300
Student is male OR plays piano217217/300217/300
Student is male AND does not play piano120120/300120/300

🔑 Important: Always justify your answer when determining independence by showing the comparison of P(A∩B)P(A \cap B) and P(A)×P(B)P(A) \times P(B).

Event TypeCalculation for Independence
Simple IndependenceP(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)
Conditional Probability$P(A
Combined "OR" Events for IndependenceP(A∩(B∪C))=P(A)×P(B∪C)P(A \cap (B \cup C)) = P(A) \times P(B \cup C)

🔑 Important: Probabilities of events defined by differences or sums of scores from dice rolls require careful enumeration of all possible outcomes satisfying the condition.

🔑 Important: The calculation of probabilities for events involving multiple conditions, such as combinations of preferences and locations, relies on summing appropriate counts from contingency tables.

3. Probability problem sets

3.1 Basic probability calculations

  • Probability: the chance of a specific event occurring. It's calculated as the ratio of favorable outcomes to the total possible outcomes.
  • Formula: P(E)=Number of favorable outcomesTotal number of possible outcomesP(E) = \frac{\text{Number of favorable outcomes}}{\text{Total number of possible outcomes}}.
  • Values range from 0 (impossible event) to 1 (certain event).

📝 Example: If a bag has 5 red marbles and 3 blue marbles, the probability of drawing a red marble is 58\frac{5}{8}.

3.2 Compound events

  • Compound event: an event that is a combination of two or more simpler events.
  • Independent events: the outcome of one event does not affect the outcome of another.
  • For independent events A and B, the probability of both occurring is P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B).

📝 Example: The probability of flipping a coin and getting heads (0.5) and rolling a die and getting a 4 (1/6) is 0.5×16=1120.5 \times \frac{1}{6} = \frac{1}{12}.

  • Mutually exclusive events: events that cannot happen at the same time.
  • For mutually exclusive events A and B, the probability of either occurring is P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).

📝 Example: The probability of rolling a 2 or a 5 on a single die roll is 16+16=26=13\frac{1}{6} + \frac{1}{6} = \frac{2}{6} = \frac{1}{3}.

  • Dependent events: the outcome of one event affects the outcome of another.
  • For dependent events A and B, the probability of both occurring is P(A and B)=P(A)×P(B∣A)P(A \text{ and } B) = P(A) \times P(B|A). Here, P(B∣A)P(B|A) is the conditional probability of B given A has occurred 14.

📝 Example: If you draw two cards from a deck without replacement, the probability of drawing two aces is 452×351\frac{4}{52} \times \frac{3}{51}.

3.3 Conditional probability

  • Conditional probability: the probability of an event occurring given that another event has already occurred.
  • Formula: P(A∣B)=P(A and B)P(B)P(A|B) = \frac{P(A \text{ and } B)}{P(B)}.

📝 Example: Given that a student passed the exam (BB), what is the probability they also attended all lectures (AA)? This is P(A∣B)P(A|B).

3.4 Using tables to solve probability problems

  • Tables can organize outcomes and help visualize probabilities, especially for compound and conditional events.

📝 Example: A table showing car colors and transmission types can help calculate the probability of a car being red AND automatic.

ColorAutomaticManual
Red5030
Blue4020
  • To find the probability of a car being red and automatic, sum the cells and divide by the total: 50140\frac{50}{140}.

3.5 Event independence

  • Two events A and B are independent if P(A∣B)=P(A)P(A|B) = P(A) and P(B∣A)=P(B)P(B|A) = P(B).
  • This means the occurrence of one event does not change the probability of the other.

🔑 Important: Always check for independence before multiplying probabilities for compound events. If events are not independent, use conditional probability.

3.6 Probability rules summary

Rule TypeConditionFormulaUse Case
Addition RuleMutually Exclusive EventsP(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)Probability of either A or B happening
Addition RuleNon-Mutually Exclusive EventsP(A or B)=P(A)+P(B)−P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)Avoids double-counting shared outcomes
Multiplication RuleIndependent EventsP(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B)Probability of both A and B happening
Multiplication RuleDependent Events$P(A \text{ and } B) = P(A) \times P(BA)$
Conditional ProbabilityProbability of A given B$P(AB) = \frac{P(A \text{ and } B)}{P(B)}$

🔑 Important: Understanding the difference between independent/dependent and mutually exclusive/non-mutually exclusive events is crucial for applying the correct formula 15.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also