← Teaching

CMPT 210 - Probability and Computing

Course overview

The course introduces the foundational concepts in probability as required by many modern applications in computing. It will give the students in Computing Science experience in: 1. Understanding the combinatorial nature of many computational problems. 2. Working knowledge of probability theory, with applications to computing (algorithms, machine learning, data analysis, etc.)

Prerequisites

MACM 101, MATH 152 and MATH 232/MATH 240

Topics

  • Combinatorics: Permutations, Binomial coefficients, Inclusion-Exclusion
  • Basic probability theory: Independence, Conditional probability, Bayes' Theorem
  • Basic probability theory: Random variables, Expectation, Linearity of Expectation, Variance
  • Discrete distributions: Binomial and Geometric, Joint distributions
  • Tail inequalities: Markov’s Inequality, Chebyshev’s Inequality, Chernoff Bound
  • Applications: Verifying matrix multiplication, Max-Cut, Machine Learning, Randomized QuickSelect, Voter Poll

Lecture slides and readings

TopicSlidesReferences
Sets, FunctionsLecture 1LLM (4.1, 4.2, 4.5)
Sequences, Counting, PermutationsLecture 2LLM (14.1 - 14.4)
Combinations, Binomial TheoremLecture 3LLM (14.5)
Generalization to Multinomials, Inclusion ExclusionLecture 4LLM (14.6-14.10)
Pigeonhole principle, Introduction to ProbabilityLecture 5R (3.1-3.5), LLM (16.5)
Axioms and Rules of ProbabilityLecture 6R (3.6), LLM (16.4, 17.2)
Birthday Paradox, Introduction to Conditional ProbabilityLecture 7R (3.6), LLM (17.2)
Conditional Probability, Monty Hall Problem, Tree DiagramsLecture 8LLM (16.1-16.3, 17.1, 17.3, 17.4)
Tree Diagrams, Bayes RuleLecture 9R (3.7, 3.8), LLM (17.5, 17.6)
Law of Total Probability, Independent Events, Frievald's AlgorithmLecture 10LLM (17.7)
Frievald's AlgorithmLecture 11O'Donnell (1)
Probability Amplification, Random VariablesLecture 12R (4.1), LLM (18.1)
Random Variables, Distribution FunctionsLecture 13R (5.1), LLM (18.1, 18.3)
Discrete DistributionsLecture 14
Expectation of random variablesLecture 15R (4.4, 4.5), LLM (18.4.1-18.4.3)
Expectation of random variables, Linearity of expectation, Coupon Collector ProblemLecture 16LLM (18.5.1-18.5.4)
Conditional Expectation, Law of Total Expectation, Independence of random variablesLecture 17LLM (18.4.5, 18.2)
Max Cut, Randomized Quick SelectLecture 18H (5.2), H (16.1)
VarianceLecture 19R (4.6), LLM (19.3.1)
Properties of VarianceLecture 20LLM (19.3.2 19.3)
Covariance, Correlation, Matching BirthdaysLecture 21R (4.7), LLM (19.4.2)
Tail Inequalities (Markov, Chebyshev)Lecture 22LLM (19.1, 19.2)
Voter Poll, Weak Law of Large NumbersLecture 23LLM (19.4, 19.6)
Chernoff Bound, Randomized Load BalancingLecture 24LLM (19.6)

Books and references

Related courses