0.2 β Mathematical Prerequisites
0.2 β Mathematical Prerequisites#
Before diving into probability theory, we need to establish the mathematical foundations. This lesson reviews essential concepts from set theory and combinatorics that weβll use throughout the series.
Set Theory Basics#
A set is a collection of distinct objects. Sets are fundamental to probability because events are sets of outcomes. Learn more: Set Theory
Set Notation#
- Elements: Objects in a set are called elements
- Membership: means βa is an element of set Aβ
- Empty Set: or is the set with no elements
- Universal Set: (omega) is the set of all possible outcomes
Set Operations#
Union (): All elements in A or B (or both)
Intersection (): Elements in both A and B
Complement ( or ): All elements not in A (relative to universal set)
If and , then:
Difference (): Elements in A but not in B
Set Properties#
- Disjoint Sets: (no common elements)
- Subset: means all elements of A are in B
- Cardinality: is the number of elements in set A
Combinatorics#
Combinatorics is the study of counting arrangements and selections. Itβs essential for calculating probabilities in discrete settings. Learn more: Combinatorics
Multiplication Principle#
If you can do task A in ways and task B in ways, you can do both in ways.
Example: If you have 3 shirts and 4 pants, you have outfits.
Permutations#
A permutation is an ordered arrangement of objects. Learn more: Permutation
Permutations of n distinct objects:
Permutations of r objects from n:
Combinations#
A combination is an unordered selection of objects (order doesnβt matter). Learn more: Combination
Combinations of r objects from n:
Key Formula: (choosing r is same as excluding n-r)
Binomial Theorem#
This will be important when we study the binomial distribution! Learn more: Binomial Theorem
Summation and Product Notation#
Summation ():
Product ():
Key Formulas:
Functions and Limits#
Functions#
A function maps each element of set A to an element of set B.
- Domain: Set A (inputs)
- Range/Codomain: Set B (outputs)
Limits#
The limit of as approaches is : . Learn more: Limit (Mathematics)
Important for continuous probability distributions!
Continuity#
A function is continuous if small changes in input cause small changes in output. Probability density functions are continuous.
Basic Calculus#
Derivatives#
The derivative measures the rate of change:
Learn more: Derivative
Common Derivatives:
Integrals#
The integral measures the area under the curve. Learn more: Integral
Fundamental Theorem of Calculus: . Learn more: Fundamental Theorem of Calculus
Common Integrals:
Series#
Geometric Series#
For :
For finite:
Learn more: Geometric Series
Taylor Series#
Important for moment generating functions! Learn more: Taylor Series
Why This Matters#
These mathematical tools are essential because:
- Set Theory: Events in probability are sets of outcomes
- Combinatorics: Counts outcomes in discrete probability
- Calculus: Needed for continuous distributions and expectations
- Series: Used in moment generating functions and infinite sums
Next Steps#
In the next lesson, weβll set up Python and the scientific computing libraries (NumPy, SciPy) that weβll use throughout this series to implement probability concepts.
Quick Reference#
| Concept | Notation | Example |
|---|---|---|
| Union | ||
| Intersection | ||
| Complement | If , then | |
| Permutation | ||
| Combination | ||
| Factorial |