week 1: introduction to probability theorybrody/cs49/f15/slides/cs...week 1: introduction to...

Post on 19-Jun-2020

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

The Probabilistic Method

Joshua BrodyCS49/Math59

Fall 2015

Week 1: Introduction to Probability Theory

Clicker Question

(A) A probability distribution is a random variable.

(B) A probability distribution is a function.

(C) A probability distribution is an event.

(D) None of the above.

What is a probability distribution?

Clicker Question

(A) A probability distribution is a random variable.

(B) A probability distribution is a function.

(C) A probability distribution is an event.

(D) None of the above.

What is a probability distribution?

Probability Distributions

Let Ω be a finite, non-empty set. A probability distribution on Ω is a function P: Ω →{0,1} such that

∑ P(w) = 1w ∈ Ω

• Ω : sample space of P

• support of P: {w : P(w) > 0}

Clicker Question

(A) Pr[k] = 1/n.

(B) Pr[k] = k/n.

(C) Pr[k] = /2n

(D) Pr[k] = k2/2n.

binomial distribution: flip a coin n times and count # heads.

What is Pr[k]?

nk

⎛⎝⎜

⎞⎠⎟

Events

Events

Example Problem

Arithmetic Sequence:

list of numbers (a1, a2, ..., am) where ai = ai-1 + k for some k

Problem: show how to color numbers {1, 2, 3, 4, ..., 2015} using 4 colors so that no arithmetic sequence is monochromatic

Solution: color each number 1, 2, ..., 2015 randomly.

examples: (1, 5, 9, 13), (201, 402, 603, 804, 1005)

The Probabilistic Method

top related