Neural Sync Active
Week 7: Probability Foundations & Properties
Registry Synced
Week 7: Probability Foundations & Properties
3779 words
19 min read
2026-09-12
Reading compass
Now · TL;DR
Statistics for Data Science I — Week 7: Probability Foundations & Properties
IITM’s Week 7 covers probability, basic definitions of probability, events, and properties of probability.
The syllabus gives the topic headings rather than every sub-result, so the detailed notes below are a standard expansion of those listed concepts.
TL;DR
Probability formalizes uncertainty.
The basic objects are:
Core rules:
and:
For mutually exclusive events:
1. Random experiment
A random experiment is a process whose exact outcome is uncertain before it occurs.
Examples:
- toss a coin
- roll a die
- draw a card
- record whether a customer buys a product
- observe tomorrow's rainfall
The experiment may have known possible outcomes even though we do not know which one will occur.
2. Outcome
An outcome is one possible result of an experiment.
For a die roll:
are individual outcomes.
3. Sample space
The sample space is the set of all possible outcomes.
Usually denoted:
or:
For one die:
4. Coin toss sample space
For one coin toss:
For two coin tosses:
Notice:
The order of tosses matters.
5. Event
An event is a subset of the sample space.
Formally:
Example:
Roll a die.
Let:
Then:
6. Elementary event
An event containing exactly one outcome is an elementary or simple event.
Example:
It represents:
the die shows exactly 4.
7. Compound event
An event containing more than one outcome is a compound event.
Example:
This represents:
an even number occurs.
8. Certain event
The entire sample space represents an event that must happen:
Therefore:
9. Impossible event
The empty set:
represents an event that cannot occur.
Therefore:
10. Probability as a number
For an event A:
Interpretation:
means impossible in a basic finite model.
means certain.
Values nearer 1 indicate greater likelihood.
11. Percentage interpretation
Probability may also be written as a percentage.
For example:
means:
But probability calculations are usually cleaner in fractions or decimals.
12. Classical probability
If all outcomes in a finite sample space are equally likely:
where:
- ∣A∣ = number of favorable outcomes
- ∣S∣ = number of possible outcomes
This is exactly why Weeks 5–6 counting matter.
13. Example: die
Sample space:
Event:
Therefore:
14. Example: two coins
For two fair coin tosses:
Let:
Then:
Therefore:
15. Equal likelihood matters
The formula:
only works directly if outcomes are equally likely.
Suppose a biased coin has:
There are two outcomes, but:
So simply counting outcomes is insufficient.
16. Probability distribution over outcomes
For a finite sample space:
we may assign probabilities:
They must satisfy:
and:
17. Probability of an event from outcome probabilities
If event:
then:
when those elementary outcomes are mutually exclusive.
18. Set-theory connection
Probability is deeply built on set theory.
Recall from Maths 1:
- union
- intersection
- complement
- subset
- empty set
Probability translates these directly into event language.
This is why Week 1 Maths becomes useful again.
19. Union of events
For events:
and:
the union:
means:
A occurs or B occurs or both occur.
Important:
In probability, "or" is normally inclusive OR.
20. Example of union
Roll a die.
Let:
Let:
Then:
21. Intersection of events
A∩Bmeans:
A and B both occur.
Using the previous example:
Then:
22. Complement
The complement:
means:
A does not occur.
If:
and:
then:
23. Complement probability rule
Because exactly one of:
or:
must happen:
Therefore:
24. Why complement is powerful
Suppose you need:
probability of at least one success.
Direct counting may require many cases.
Instead:
This is one of the most useful probability strategies.
25. Example: at least one head
Toss two fair coins.
Probability of at least one head:
Instead of counting:
use complement.
No heads means:
So:
Thus:
26. Mutually exclusive events
Two events are mutually exclusive or disjoint if they cannot occur simultaneously.
Formally:
Example from one die roll:
They cannot both happen on one roll.
27. Not mutually exclusive
Suppose:
and:
Their intersection:
is not empty.
So they are not mutually exclusive.
28. Addition rule for mutually exclusive events
If:
then:
because there is no overlap to double-count.
29. Example
Roll a die.
Let:
They are mutually exclusive.
Therefore:
30. General addition rule
If events may overlap:
This is the probability version of inclusion-exclusion.
31. Why subtract the intersection?
When we calculate:
outcomes in:
are counted twice.
Subtract:
once.
32. Example
Suppose:
Then:
33. Useful rearrangement
From:
we can solve:
Useful when the intersection is unknown.
34. Example
Suppose:
and:
Then:
35. Event difference
A−Bor:
means:
A occurs but B does not.
Set-theoretically:
36. Probability of A but not B
Since:
with disjoint pieces:
Therefore:
37. Example
Suppose:
and:
Then:
38. De Morgan's laws
From set theory:
and:
These become very useful in probability.
39. Probability interpretation of De Morgan
"Neither A nor B":
"Not both":
Language translation matters a lot.
40. At least one
For two events:
means at least one occurs.
Its complement:
means neither occurs.
Thus:
41. Exactly one of A and B
Exactly one means:
The two parts are disjoint.
Therefore:
42. Exactly one formula
We can rewrite:
and:
Therefore:
43. Neither A nor B
P(neither)=1−P(A∪B)Using the addition rule:
44. Three-event union
The inclusion-exclusion rule extends to three events:
So:
45. Why the triple intersection is added back
An outcome lying in all three events is initially counted:
times.
Then pairwise subtraction removes it:
times.
So it becomes counted:
times.
We add it once to obtain the correct count:
46. Probability axioms
A standard probability model rests on three fundamental axioms.
Non-negativity
P(A)≥0Normalization
P(S)=1Additivity for disjoint events
If:
then:
Many other probability rules follow from these.
47. Why P(∅)=0
Since:
and they are disjoint:
Subtract:
from both sides:
48. Monotonicity
If:
then:
Why?
Because B contains every outcome in A plus possibly more.
49. Example
Let:
and:
Since:
we expect:
Indeed:
50. Bounds on intersections
For two events:
cannot exceed either individual probability.
Therefore:
51. Lower bound on intersection
From:
we get:
Therefore:
Since probability cannot be negative:
This is a useful consistency check.
52. Bounds on union
Clearly:
And:
with maximum probability capped at 1.
So:
53. Uniform finite sample spaces
If:
and all outcomes are equally likely, then each elementary outcome has probability:
If event A contains k outcomes:
54. Example using combinations
Suppose 2 people are chosen at random from 5 people.
Total possible unordered pairs:
Suppose A and B are two specific people.
Probability they are chosen together:
Favorable selections:
Thus:
This is the direct bridge from Week 6 to Week 7.
55. Example: card selection
A standard deck has:
cards.
There are:
hearts.
If one card is drawn uniformly:
56. Example: face card
There are:
- Jack
- Queen
- King
in each of 4 suits.
So:
face cards.
Therefore:
57. Example: heart or king
Let:
and:
Then:
But the king of hearts belongs to both:
Thus:
Common mistake: adding overlapping probabilities
Wrong:
for arbitrary events.
Correct:
Only drop the intersection when events are mutually exclusive.
Common mistake: mutually exclusive = independent
These are completely different concepts.
Mutually exclusive
Cannot occur together:
Independent
Knowing one occurred does not change the probability of the other.
Independence is officially part of Week 8, so keep the distinction ready.
If two nonzero-probability events are mutually exclusive, they are actually not independent.
60. Example of why
Suppose:
and:
If A happens, then B becomes impossible.
So knowing A occurred strongly affects B.
Hence mutual exclusivity does not mean independence.
Common mistake: "or" means exactly one
In probability:
usually means:
A or B or both.
If the question means exactly one, the intersection must be excluded.
Common mistake: complement of "A and B"
The complement of:
is not:
Correct:
This means:
at least one of A or B fails.
Common mistake: complement of "A or B"
means neither happens:
Common mistake: probability greater than 1
A result like:
cannot be a probability.
Immediately recheck the calculation.
Valid range:
Common mistake: negative probability
Similarly:
is invalid in ordinary probability.
If algebra gives a negative result, some supplied values or calculation are inconsistent.
Common mistake: counting unequally likely outcomes equally
Suppose one event representation contains three labels and another one label.
That does not automatically mean probability:
unless the elementary outcomes are equally likely.
Always verify the model.
Common mistake: incorrect sample space
Suppose two coins are tossed.
Wrong:
if you're trying to treat these three as equally likely outcomes.
They are not equally likely:
The more fundamental equally likely sample space is:
68. Granularity matters
A sample space can sometimes be represented at different levels.
For two coins:
Detailed
{HH,HT,TH,TT}Number of heads
{0,1,2}Both can be useful.
But only the first has equal probabilities under fair independent tosses.
So do not automatically assume all elements of any written sample space are equally likely.
69. Venn-diagram mental model
Think of the sample space as a rectangle:
text+---------------------------+ | S | | ______ | | / A \____ | | / / B \ | | \ / / | | \____/_____/ | | | +---------------------------+
Areas conceptually represent probabilities.
Then:
- overlap = A∩B
- combined region = A∪B
- outside A = Ac
This is useful for translating wording.
70. Probability-from-table example
Suppose 100 students are classified:
| Pass | Fail | Total | |
|---|---|---|---|
| Group A | 40 | 10 | 50 |
| Group B | 30 | 20 | 50 |
| Total | 70 | 30 | 100 |
Choose one student uniformly.
Probability student passed:
Probability student is Group A:
Probability student is Group A and passed:
71. Union from a contingency table
Using the same table:
Let:
Then:
So:
72. Empirical probability
Probability can also be estimated from observed relative frequency.
Suppose an event occurs:
times in:
trials.
Estimated probability:
As trials accumulate, relative frequency may stabilize around an underlying probability.
This connects descriptive statistics to probability.
73. Theoretical vs empirical probability
Theoretical
Derived from a probability model.
Example fair die:
Empirical
Estimated from actual observations.
Example:
They need not match exactly in a finite experiment.
74. Long-run frequency intuition
If a fair coin is tossed only 4 times, you might observe:
That does not prove:
Probability is not a guarantee about small samples.
Instead, it describes long-run uncertainty.
75. Probability language translation
| Wording | Mathematical event |
|---|---|
| A or B | A∪B |
| A and B | A∩B |
| not A | Ac |
| neither A nor B | Ac∩Bc |
| at least one | union / complement of none |
| exactly one | (A∩Bc)∪(Ac∩B) |
| A but not B | A∩Bc |
| both | A∩B |
This table is worth learning.
76. Full worked example
Suppose:
and:
A or B
P(A∪B)=0.45+0.50−0.20=0.75.Neither
1−0.75=0.25.A but not B
0.45−0.20=0.25.B but not A
0.50−0.20=0.30.Exactly one
0.25+0.30=0.55.Check:
Everything partitions the sample space correctly.
77. Partition intuition
Events:
form four mutually exclusive regions covering the entire sample space.
Therefore their probabilities add to:
This becomes very useful next week.
78. Counting + probability example
Suppose a committee of 3 is chosen uniformly from 8 people.
Total committees:
Suppose Alice must be on the committee for event A.
Fix Alice and choose 2 of remaining 7:
Thus:
79. Why this simplifies
There is also an intuitive answer.
Three of the eight committee positions are occupied by three randomly selected people.
By symmetry, Alice has probability:
of being included.
Counting confirms it.
80. At least one special item example
Suppose 3 objects are chosen from 10:
- 4 special
- 6 ordinary
Find probability of at least one special object.
Total:
Complement: all 3 ordinary:
Therefore:
Since:
and:
This combines Weeks 6 and 7 cleanly.
81. Core formula sheet
Probability range
0≤P(A)≤1Certain event
P(S)=1Impossible event
P(∅)=0Complement
P(Ac)=1−P(A)Addition rule
P(A∪B)=P(A)+P(B)−P(A∩B)Mutually exclusive events
If:
then:
Equally likely finite outcomes
P(A)=∣S∣∣A∣82. Week 7 conceptual map
textRandom experiment ↓ Sample space S ↓ Events A, B, ... ↓ Set operations ├── union A ∪ B ├── intersection A ∩ B └── complement Aᶜ ↓ Probability measure ├── 0 ≤ P(A) ≤ 1 ├── P(S) = 1 ├── P(Aᶜ) = 1-P(A) └── P(A∪B) = P(A)+P(B)-P(A∩B)
83. Weeks 5–7 as one story
textWeek 5 How many outcomes exist? ↓ Week 6 How many selections/arrangements exist? ↓ Week 7 How likely are events?
In equally likely models:
So combinatorics is not a separate random topic. It feeds directly into probability.
84. What you should actually master
By the end of Stats 1 Week 7, you should be able to:
- Define a random experiment.
- Construct a sample space.
- Define an event as a subset of the sample space.
- Distinguish simple and compound events.
- Use: 0≤P(A)≤1.
- Know: P(S)=1,P(∅)=0.
- Compute classical probability for equally likely outcomes.
- Use complements: P(Ac)=1−P(A).
- Translate "or" into union.
- Translate "and" into intersection.
- Recognize mutually exclusive events.
- Apply:
- Solve "at least one" using complements.
- Solve "neither," "exactly one," and "A but not B."
- Use combinatorics inside probability problems.
- Avoid assuming arbitrary sample-space outcomes are equally likely.
- Distinguish mutually exclusive events from the idea of independence.
If those are comfortable, Stats 1 Week 7 is under control.
Quick Recall & Flashcards
Test your active recall before proceeding to practice problems. Format:
Question :: Answer.- Week 7 Diagnostic: Two fair 6-sided dice are rolled. What is the probability that the sum of the faces equals 7? :: Answer: A — Total outcomes = 36. Outcomes with sum 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) -> 6 outcomes. Probability = 6/36 = 1/6.
- Week 7 Diagnostic: If events A and B are mutually exclusive with P(A) = 0.3 and P(B) = 0.4, what is P(A or B)? :: Answer: 0.7 — For mutually exclusive events, P(A or B) = P(A) + P(B) = 0.3 + 0.4 = 0.7.
Practice & Self-Check
Attempt these diagnostic questions to verify your operational understanding.
1
Question 1
Two fair 6-sided dice are rolled. What is the probability that the sum of the faces equals 7?
MCQ
3 Unit Assessment
A. 1/6
B. 7/36
C. 5/36
D. 1/12
2
Question 2
If events A and B are mutually exclusive with P(A) = 0.3 and P(B) = 0.4, what is P(A or B)?
NAT
3 Unit Assessment