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) 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), 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)=61.
- The probability of event B is P(B)=61.
- The probability of both A and B occurring is P(A∩B)=P(A)×P(B)=61×61=361.
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:
- Calculate P(A): Find the probability of the first event.
- Calculate P(B): Find the probability of the second event.
- Calculate P(A∩B): Find the probability of both events occurring together.
- Compare: Check if P(A∩B) is equal to P(A)×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)=364=91.
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 × 3 options for even = 9 outcomes.
- (Even, Odd): 3 options for even × 3 options for odd = 9 outcomes. Total outcomes for T = 9 + 9 = 18. So, P(T)=3618=21.
Event R∩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)=362=181.
Comparison: Calculate P(R)×P(T)=91×21=181. Since P(R∩T)=P(R)×P(T), events R and T are independent.
📝 Example: Events R and T are independent because P(R∩T)=181, and P(R)×P(T)=91×21=181.
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.30
- P(F)=1−P(M)=1−0.30=0.70
- P(H∣M)=0.60 (Probability of liking hot curry given the student is male)
- P(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) and P(M)×P(H).
Calculate P(M∩H): We know P(H∣M)=P(M)P(M∩H). So, P(M∩H)=P(H∣M)×P(M)=0.60×0.30=0.18.
Calculate P(H): Using the law of total probability: 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.18+0.35=0.53.
Compare P(M∩H) and P(M)×P(H): P(M)×P(H)=0.30×0.53=0.159.
Since P(M∩H)=0.18 and P(M)×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.
| Guitar | Piano | Flute | Total | |
|---|---|---|---|---|
| Female | 62 | 35 | 43 | 140 |
| Male | 78 | 40 | 42 | 160 |
| Total | 140 | 75 | 85 | 300 |
Let M be the event 'the student is male'. Let NP be the event 'the student does not play the piano'.
Calculate P(M): Total male students = 160. Total students = 300.
P(M)=300160=3016=158.
Calculate 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)=300225=300÷75225÷75=43.
Calculate P(M∩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)=300120=3012=52.
Compare P(M∩NP) and P(M)×P(NP): P(M)×P(NP)=158×43=15×48×3=6024=52.
Since P(M∩NP)=52 and P(M)×P(NP)=52, 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.
| Soccer | Hockey | Total | |
|---|---|---|---|
| Amos | 54 | 32 | 86 |
| Benn | 84 | 72 | 156 |
| Canton | 22 | 56 | 78 |
| Devar | 120 | 60 | 180 |
| Total | 280 | 220 | 500 |
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): Total students who prefer hockey = 220. Total students = 500.
P(H)=500220=5022=2511.
Calculate P(AB): Students at Amos or Benn college = (Amos total) + (Benn total) = 86 + 156 = 242. P(AB)=500242=250121.
Calculate P(H∩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)=500104=12526.
Compare P(H∩AB) and P(H)×P(AB): P(H)×P(AB)=2511×250121=62501331.
Convert to decimals for easier comparison: P(H∩AB)=500104=0.208. P(H)×P(AB)=62501331≈0.213.
Since 0.208=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.
| Piano | Guitar | Drums | Total | |
|---|---|---|---|---|
| Male | 25 | 44 | 11 | 80 |
| Female | 42 | 38 | 20 | 100 |
| Total | 67 | 82 | 31 | 180 |
Let G be the event 'the student plays the guitar'. Let F be the event 'the student is female'.
Calculate P(G): Total students playing guitar = 82. Total students = 180.
P(G)=18082=9041.
Calculate P(F): Total female students = 100. Total students = 180.
P(F)=180100=1810=95.
Calculate P(G∩F): This is the event that a student plays guitar AND is female. Number of female students playing guitar = 38.
P(G∩F)=18038=9019.
Compare P(G∩F) and P(G)×P(F): P(G)×P(F)=9041×95=810205.
Simplify 810205 by dividing by 5: 16241. Simplify P(G∩F)=9019.
To compare 9019 and 16241, find a common denominator or convert to decimals. Common denominator for 90 and 162 is 810.
9019=90×919×9=810171. 16241=162×541×5=810205.
Since 810171=810205, 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.
| Saloon | Hatchback | Estate | Total | |
|---|---|---|---|---|
| Red | 20 | 40 | 12 | 72 |
| Silver | 14 | 26 | 10 | 50 |
| Other | 6 | 24 | 8 | 38 |
| Total | 40 | 90 | 30 | 160 |
Let H be the event 'the car is a hatchback car'. Let R be the event 'the car is red'.
Calculate P(H): Total hatchback cars = 90. Total cars = 160.
P(H)=16090=169.
Calculate P(R): Total red cars = 72. Total cars = 160.
P(R)=16072=160÷872÷8=209.
Calculate P(H∩R): This is the event that a car is a hatchback AND is red. Number of red hatchback cars = 40.
P(H∩R)=16040=164=41.
Compare P(H∩R) and P(H)×P(R): P(H)×P(R)=169×209=32081.
Convert to decimals for comparison: P(H∩R)=41=0.25. P(H)×P(R)=32081=0.253125.
Since 0.25=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) with P(A)×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/300.
-
Conditional probability: The probability of an event happening given that another event has already occurred. This is written as P(A∣B), the probability of A given B.
P(A∣B)=P(B)P(A∩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).
To check for independence: * Calculate P(A∩B) (probability of both A and B). * Calculate P(A)×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=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/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/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/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/36.
To check independence for R and S: * P(R∩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)=0. * P(R)×P(S)=(6/36)×(8/36)=48/1296. * Since 0=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).
-
Composite events: These combine multiple conditions. For example, "prefers hockey" AND ("at Amos college" OR "at Benn college").
-
To find P(Hockey∩(Amos∪Benn)):
- Students at Amos preferring hockey: 32.
- Students at Benn preferring hockey: 72.
- Total students preferring hockey and at Amos or Benn: 32+72=104.
- Total students: 500.
- P(Hockey∩(Amos∪Benn))=104/500.
-
To find P(Hockey): Total hockey fans are 220. So P(Hockey)=220/500.
-
To find P(Amos∪Benn): Total students at Amos or Benn are 86+156=242. So P(Amos∪Benn)=242/500.
-
Check independence: Is 104/500=(220/500)×(242/500)? Calculate and compare.
Event Probability Hockey 220/500 Amos or Benn college 242/500 Hockey AND (Amos or Benn) 104/500 P(Hockey)×P(Amos∪Benn) (220/500)×(242/500)=53240/250000 - Since 104/500=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 Categories | Count | Probability |
|---|---|---|
| Male students | 160 | 160/300 |
| Female students | 140 | 140/300 |
| Guitar players | 104 | 104/300 |
| Piano players | 75 | 75/300 |
| Flute players | 85 | 85/300 |
| Male and Guitar | 78 | 78/300 |
| Male and Piano | 40 | 40/300 |
| Male and Flute | 42 | 42/300 |
| Female and Guitar | 62 | 62/300 |
| Female and Piano | 35 | 35/300 |
| Female and Flute | 43 | 43/300 |
| Student is male OR plays piano | 217 | 217/300 |
| Student is male AND does not play piano | 120 | 120/300 |
🔑 Important: Always justify your answer when determining independence by showing the comparison of P(A∩B) and P(A)×P(B).
| Event Type | Calculation for Independence |
|---|---|
| Simple Independence | P(A∩B)=P(A)×P(B) |
| Conditional Probability | $P(A |
| Combined "OR" Events for Independence | P(A∩(B∪C))=P(A)×P(B∪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)=Total number of possible outcomesNumber of favorable 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 85.
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).
📝 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×61=121.
- 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).
📝 Example: The probability of rolling a 2 or a 5 on a single die roll is 61+61=62=31.
- 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). Here, 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 524×513.
3.3 Conditional probability
- Conditional probability: the probability of an event occurring given that another event has already occurred.
- Formula: P(A∣B)=P(B)P(A and B).
📝 Example: Given that a student passed the exam (B), what is the probability they also attended all lectures (A)? This is 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.
| Color | Automatic | Manual |
|---|---|---|
| Red | 50 | 30 |
| Blue | 40 | 20 |
- To find the probability of a car being red and automatic, sum the cells and divide by the total: 14050.
3.5 Event independence
- Two events A and B are independent if P(A∣B)=P(A) and 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 Type | Condition | Formula | Use Case |
|---|---|---|---|
| Addition Rule | Mutually Exclusive Events | P(A or B)=P(A)+P(B) | Probability of either A or B happening |
| Addition Rule | Non-Mutually Exclusive Events | P(A or B)=P(A)+P(B)−P(A and B) | Avoids double-counting shared outcomes |
| Multiplication Rule | Independent Events | P(A and B)=P(A)×P(B) | Probability of both A and B happening |
| Multiplication Rule | Dependent Events | $P(A \text{ and } B) = P(A) \times P(B | A)$ |
| Conditional Probability | Probability of A given B | $P(A | B) = \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.