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#

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#

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.

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:

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#

ConceptNotationExample
Union
Intersection
ComplementIf , then
Permutation
Combination
Factorial