Linearity of Expectation in Combinatorics

Master linearity of expectation in combinatorics with applications in probability and combinatorics.

23 min read
Advanced

Introduction

Learning Objectives:

  • Apply linearity of expectation
  • Solve MAX-CUT and other problems
  • Use indicator variables

Indicator Method

Define indicators Xi=mathbb1exteventiX_i = mathbb{1}_{ ext{event } i}, then:

E[X1+cdots+Xn]=E[X1]+cdots+E[Xn]=P(E1)+cdots+P(En)E[X_1 + cdots + X_n] = E[X_1] + cdots + E[X_n] = P(E_1) + cdots + P(E_n)

Power: Works even when events are dependent!

Applications

Apply these concepts to solve real-world problems in probability and statistics.

python
import numpy as np
import matplotlib.pyplot as plt

# Example implementation
print("Apply concepts from Linearity of Expectation in Combinatorics")

Key Takeaways

Master these advanced concepts to complete your probability and combinatorics journey!