lecture 13a: probabilistic method - hacettepe

27

Upload: others

Post on 14-Jan-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

BBM 205 Discrete MathematicsHacettepe University

Lecture 13a: Probabilistic Method

Lale Γ–zkahya

Resources:Kenneth Rosen, οΏ½Discrete Mathematics and App.οΏ½

http://www.math.caltech.edu/ 2015-16/2term/ma006b

2/4/2016

2

Independent Events

Two events 𝐴, 𝐡 βŠ‚ Ξ© are independent ifPr 𝐴 ∩ 𝐡 = Pr π‘Ž β‹… Pr 𝑏 .

Example. We flip two fair coins.

β—¦ Let πœ”π‘–,𝑗 be the elementary event that coin A

landed on 𝑖 and coin 𝐡 on 𝑗, where 𝑖, 𝑗 ∈ {β„Ž, 𝑑}. Each of the four events has a probability of 0.25.

β—¦ The event where coin 𝐴 lands on heads is

π‘Ž = πœ”β„Ž,𝑑, πœ”β„Ž,β„Ž . For 𝐡 it is 𝑏 = πœ”π‘‘,β„Ž, πœ”β„Ž,β„Ž .

β—¦ The events are independent since

Pr π‘Ž and 𝑏 = Pr πœ”β„Ž,β„Ž = 0.25 = Pr π‘Ž β‹… Pr 𝑏 .

(Discrete) Uniform Distribution

In a uniform distribution we have a set Ξ©of elementary events, each occurring with

probability 1

Ξ©.

β—¦ For example, when flipping a fair die, we have a uniform distribution over the six possible results.

2/4/2016

3

Union Bound

For any two events 𝐴, 𝐡, we havePr 𝐴 βˆͺ 𝐡 = Pr 𝐴 + Pr 𝐡 βˆ’ Pr 𝐴 ∩ 𝐡 .

This immediately implies that Pr 𝐴 βˆͺ 𝐡 ≀ Pr 𝐴 + Pr 𝐡 ,

where equality holds iff 𝐴, 𝐡 are disjoint.

Union bound. For any finite set of events 𝐴1, … , π΄π‘˜, we have

Pr βˆͺ𝑖 𝐴𝑖 ≀

𝑖

Pr 𝐴𝑖 .

Recall: Ramsey Numbers

𝑅 𝑝, 𝑝 is the smallest number 𝑛 such that each blue-red edge coloring of 𝐾𝑛contains a monochromatic 𝐾𝑝.

Theorem. 𝑅 𝑝, 𝑝 > 2𝑝/2.

β—¦ We proved this in a previous class.

β—¦ Now we provide another proof, using probability.

2/4/2016

4

Probabilistic Proof

For some 𝑛, we color the edges of 𝐾𝑛.

β—¦ Each edge is independently and uniformlycolored either red or blue.

β—¦ For any fixed set 𝑆 of 𝑝 vertices, the probability that it forms a monochromatic 𝐾𝑝

is 21βˆ’π‘2 .

β—¦ There are 𝑛𝑝 possible sets of 𝑝 vertices. By

the union bound, the probability that there is a monochromatic 𝐾𝑝 is at most

𝑆

21βˆ’π‘2 =𝑛𝑝 21βˆ’π‘2 .

Proof (cont.)

For some 𝑛, we color the edges of 𝐾𝑛.

β—¦ Each edge is colored blue with probability of 0.5, and otherwise red.

β—¦ The probability for a monochromatic 𝐾𝑝 is

≀𝑛𝑝 21βˆ’π‘2 .

β—¦ If 𝑛 ≀ 2𝑝/2, this probability is smaller than 1.

β—¦ In this case, the probability that we do not have any monochromatic 𝐾𝑝 is positive, so

there exists a coloring of 𝐾𝑛 with no such 𝐾𝑝.

2/4/2016

5

Non-Constructive Proofs

We proved that there exists a coloring of 𝐾𝑛 with no monochromatic 𝐾𝑝, but we

have no idea how to find this coloring.

Such a proof is called non-constructive.

The probabilistic method often proves the existence of objects with surprising properties, but we still have no idea how they look like.

A Tournament

We have 𝑛 people competing in thumb wrestling.

β—¦ Every pair of contestants compete once.

β—¦ How can we decide who the overall winner is?

We build a directed graph:

β—¦ A vertex for every participant.

β—¦ An edge between every two vertices, directed from the winner to the loser.

β—¦ An orientation of 𝐾𝑛 is called a tournament.

2/4/2016

6

The King of the Tournament

The winner can be the vertex with the maximum outdegree (the contestant winning the largest number of matches), but it might not be unique.

A king is a contestant π‘₯ such that for every other contestant 𝑦 either π‘₯ β†’ 𝑦 or there exists 𝑧 such that π‘₯ β†’ 𝑧 β†’ 𝑦.

Theorem. Every tournament has a king.

Proof

𝐷+(𝑣) – the number of vertices reachable from 𝑣 by a path of length ≀ 2.

Let 𝑣 be a vertex that maximizes 𝐷+ 𝑣 .

β—¦ Assume for contradiction that 𝑣 is not a king.

β—¦ Then there exists 𝑒 such that 𝑒 β†’ 𝑣 and there is no path of length two from 𝑣 to 𝑒.

β—¦ That is, for every 𝑀 such that 𝑣 β†’ 𝑀, we also have 𝑒 β†’ 𝑀.

β—¦ But this implies that 𝐷+ 𝑒 β‰₯ 𝐷+ 𝑣 + 1, contradicting the maximality of 𝑣!

2/4/2016

7

The π‘†π‘˜ Property

We say that a tournament 𝑇 has the π‘†π‘˜property if for every subset 𝑆 of π‘˜participants, there exists a participant that won against everyone in 𝑆.

β—¦ Formally, this is an orientation of 𝐾𝑛, such that for every subset 𝑆 of π‘˜ vertices there exists a vertex 𝑣 ∈ 𝑉 βˆ– 𝑆 with an edge from 𝑣to every vertex of 𝑆.

Example. A tournament with the 𝑆1 property.

Tournaments with the π‘†π‘˜ Property

Theorem. If π‘›π‘˜1 βˆ’ 2βˆ’π‘˜

π‘›βˆ’π‘˜< 1 then

there is a tournament on 𝑛 vertices with the π‘†π‘˜ property.

Proof.

β—¦ For some 𝑛 satisfying the above, we randomly orient 𝐾𝑛 = 𝑉, 𝐸 , such that the orientation of every 𝑒 ∈ 𝐸 is chosen uniformly.

β—¦ Consider a subset 𝑆 βŠ‚ 𝑉 of π‘˜ vertices. The probability that a given vertex 𝑣 ∈ 𝑉 βˆ– 𝑆 does not beat all of 𝑆 is 1 βˆ’ 2βˆ’π‘˜.

2/4/2016

8

Proof (cont.)

Consider a subset 𝑆 βŠ‚ 𝑉 of π‘˜ vertices. The probability that a specific vertex 𝑣 ∈ 𝑉 βˆ– 𝑆 does not beat all of 𝑆 is 1 βˆ’ 2βˆ’π‘˜.

𝐴𝑆 – the event of 𝑆 not being beat by any vertex of 𝑉 βˆ– 𝑆.

We have Pr 𝐴𝑆 = 1 βˆ’ 2βˆ’π‘˜ π‘›βˆ’π‘˜, since we ask

for 𝑛 βˆ’ π‘˜ independent events to hold.

By the union bound, we have

Pr π‘†βŠ‚π‘‰π‘† =π‘˜

𝐴𝑠 ≀ π‘†βŠ‚π‘‰π‘† =π‘˜

Pr 𝐴𝑠 =π‘›π‘˜ 1 βˆ’ 2

βˆ’π‘˜ π‘›βˆ’π‘˜ < 1.

Completing the Proof

𝐴𝑆 – the event of 𝑆 not being beat by any vertex of 𝑉 βˆ– 𝑆.

we have

Pr π‘†βŠ‚π‘‰π‘† =π‘˜

𝐴𝑠 < 1.

That is, there is a positive probability that every subset 𝑆 βŠ‚ 𝑉 of size π‘˜ is beat by some vertex of 𝑉 βˆ– 𝑆. So such a tournament exists.

2/4/2016

9

Which NBA Player is Related to Mathematics?

Michael Jordan

LeBron James

Shaquille O'Neal

Random Variables

A random variable is a function from the set of possible events to ℝ.

Example. Say that we flip five coins.

β—¦ We can define the random variable 𝑋 to be the number of coins that landed on heads.

β—¦ We can define the random variable π‘Œ to be the percentage of heads in the tosses.

β—¦ Notice that π‘Œ = 20𝑋.

2/4/2016

10

Indicator Random Variables

An indicator random variable is a random variable 𝑋 that is either 0 or 1, according to whether some event happens or not.

Example. We toss a fair die.

β—¦ We can define the six indicator variable 𝑋1, … , 𝑋6 such that 𝑋𝑖 = 1 iff the result of the roll is 𝑖.

Expectation

The expectation of a random variable 𝑋 is

𝐸 𝑋 =

πœ”βˆˆΞ©

𝑋 πœ” Pr πœ” .

β—¦ Intuitively, 𝐸 𝑋 is the expected value of 𝑋 in the long-run average value when repeating the experiment 𝑋 represents.

2/4/2016

11

Expectation Example

We roll a fair six-sided die.

β—¦ Let 𝑋 be a random variable that represents the outcome of the roll.

𝐸 𝑋 =

πœ”βˆˆΞ©

𝑋 πœ” Pr πœ” =

π‘–βˆˆ{1,…,6}

𝑖 β‹…1

6= 3.5

2/4/2016

12

Linearity of Expectation

If 𝑋 is a random variable, then 5𝑋 is a random variable with a value five times that of 𝑋

Lemma. Let 𝑋1, 𝑋2, … , π‘‹π‘˜ be a collection set of random variables over the same discrete probability. Let 𝑐1, … , π‘π‘˜ be constants. Then

𝐸 𝑐1𝑋1 + 𝑐2𝑋2 +β‹―+ π‘π‘˜π‘‹π‘˜ =

𝑖=1

π‘˜

𝑐𝑖𝐸 𝑋𝑖 .

Fixed Elements in Permutations

Let 𝜎 be a uniformly chosen permutation of 1,2, … , 𝑛 .

β—¦ For 1 ≀ 𝑖 ≀ 𝑛, let 𝑋𝑖 be an indicator variable that is 1 if 𝑖 is fixed by 𝜎.

β—¦ 𝐸 𝑋𝑖 = Pr 𝜎 𝑖 = 𝑖 =π‘›βˆ’1 !

𝑛!=1

𝑛.

β—¦ Let 𝑋 be the number of fixed elements in 𝜎.

β—¦ We have 𝑋 = 𝑋1 +β‹―+ 𝑋𝑛.

β—¦ By linearity of expectation

𝐸 𝑋 =

𝑖

𝐸 𝑋𝑖 = 𝑛 β‹…1

𝑛= 1.

2/4/2016

13

Hamiltonian Paths

Given a directed graph 𝐺 = 𝑉, 𝐸 , a Hamiltonian path is a path that visits every vertex of 𝑉 exactly once.

β—¦ Major problem in theoretical computer science: Does there exist a polynomial-time algorithm for finding whether a Hamiltonian path exists in a given graph.

Undirected Hamiltonian paths

Hamiltonian Paths in Tournaments

Theorem. There exists a tournament 𝑇with 𝑛 players that contains at least

𝑛! 2βˆ’(π‘›βˆ’1) Hamiltonian paths.

2/4/2016

14

Proof

We uniformly choose an orientation of the edges of 𝐾𝑛 to obtain a tournament 𝑇.

β—¦ There is a bijection between the possible Hamiltonian paths and the permutations of 1,2,… , 𝑛 . Every possible path defines a

unique permutation, according to the order in which it visits the vertices.

β—¦ For a permutation 𝜎, let π‘‹πœŽ be an indicator variable that is 1 if the path corresponding to 𝜎 exists in 𝑇.

β—¦ We have 𝐸 π‘‹πœŽ = Pr π‘‹πœŽ = 1 = 2βˆ’ π‘›βˆ’1 .

We uniformly choose an orientation of the edges of 𝐾𝑛 to obtain a tournament 𝑇.

β—¦ For a permutation 𝜎, let π‘‹πœŽ be an indicator variable that is 1 if the path corresponding to 𝜎 exists 𝑇.

β—¦ We have 𝐸 π‘‹πœŽ = Pr π‘‹πœŽ = 1 = 2βˆ’π‘›+1 .

β—¦ Let 𝑋 be a random variable of the number of Hamiltonian paths in 𝑇. Then 𝑋 = πœŽπ‘‹πœŽ.

𝐸 𝑋 = 𝐸

𝜎

π‘‹πœŽ =

𝜎

𝐸 π‘‹πœŽ = 𝑛! 2βˆ’π‘›+1.

β—¦ Since this is the expected number of paths in a uniformly chosen tournament, there must is a orientation with at least as many paths.

2/9/2016

2

Reminder: Indicator Random Variables An indicator random variable is a random

variable 𝑋 that is either 0 or 1, according to whether some event happens or not.

Example. We toss a die.

β—¦ We can define the six indicator variable 𝑋1, … , 𝑋6 such that 𝑋𝑖 = 1 iff the result of the roll is 𝑖.

Reminder: Expectation

The expectation of a random variable 𝑋 is

𝐸 𝑋 =

πœ”βˆˆΞ©

𝑋 πœ” Pr πœ” .

β—¦ Intuitively, 𝐸 𝑋 is the expected value of 𝑋 in the long-run average value of repetitions of the experiment it represents.

2/9/2016

3

Reminder: Expectation Example

We roll a fair six-sided die.

β—¦ Let 𝑋 be a random variable that represents the outcome of the roll.

𝐸 𝑋 =

πœ”βˆˆΞ©

𝑋 πœ” Pr πœ” =

π‘–βˆˆ{1,…,6}

𝑖 β‹…1

6= 3.5

Reminder: Linearity of Expectation

If 𝑋 is a random variable, then 5𝑋 is a random variable with a value five times that of 𝑋

Lemma. Let 𝑋1, 𝑋2, … , π‘‹π‘˜ be a collection set of random variables over the same discrete probability. Let 𝑐1, … , π‘π‘˜ be constants. Then

𝐸 𝑐1𝑋1 + 𝑐2𝑋2 +β‹―+ π‘π‘˜π‘‹π‘˜ =

𝑖=1

π‘˜

𝑐𝑖𝐸 𝑋𝑖 .

2/9/2016

4

Independent Sets

Consider a graph 𝐺 = 𝑉, 𝐸 . An independent set in 𝐺 is a subset 𝑉′ βŠ‚ 𝑉such that there is no edge between any two vertices of 𝑉′.

Finding a maximum independent set in a graph is a major problem in theoretical computer science.

β—¦ No polynomial-time algorithm is known.

Warm Up

What are the sizes of the maximum independent sets in:

2 4

2/9/2016

5

Large Independent Sets

Theorem. A graph 𝐺 = (𝑉, 𝐸) has an independent set of size at least

π‘£βˆˆπ‘‰

1

1 + deg 𝑣.

Proof. We uniformly choose an ordering for the vertices of 𝑉 = 𝑣1, … , 𝑣𝑛 .

β—¦ The set of vertices that appear before all of their neighbors is an independent set.

We uniformly choose an ordering for the vertices of 𝑉 = 𝑣1, … , 𝑣𝑛 .

β—¦ The set 𝑆 of vertices that appear before all of their neighbors is an independent set.

β—¦ 𝑋𝑖 - indicator that is 1 if 𝑣𝑖 ∈ 𝑆.

𝐸 𝑋𝑖 = Pr 𝑋𝑖 = 1 =1

1 + deg𝑣𝑖.

β—¦ 𝑋 – the random variable of the size of 𝑆.

𝐸 𝑋 = 𝐸

𝑖=1

𝑛

𝑋𝑖 =

𝑖=1

𝑛

𝐸 𝑋𝑖 =

𝑖=1

𝑛1

1 + deg 𝑣𝑖.

β—¦ There must exist an ordering for which |𝑆| has at least this value.

2/9/2016

6

Sum-free Sets

Consider a set 𝐴 of positive integers. We say that 𝐴 is sum-free if for every π‘₯, 𝑦 ∈ 𝐴, we have that π‘₯ + 𝑦 βˆ‰ 𝐴(including the case where π‘₯ = 𝑦).

What are large sum-free subsets of 𝑆 = 1,2, … ,𝑁 ?

β—¦ We can take all of the odd numbers in 𝑆.

β—¦ We can take all of the numbers in 𝑆 of size larger than 𝑁/2.

Large Sum-Free Sets Always Exist

Theorem. For any set of positive integers 𝐴, there is a sum-free subset 𝐡 βŠ† 𝐴 of

size |𝐡| β‰₯1

3|𝐴|.

Proof. Consider a prime 𝑝 such that 𝑝 > π‘Žfor every π‘Ž ∈ 𝐴.

β—¦ From now on, calculations are π‘šπ‘œπ‘‘ 𝑝.

β—¦ Notice that if 𝐡 is sum-free π‘šπ‘œπ‘‘ 𝑝, it is also sum-free under standard addition.

β—¦ Thus, it suffices to find a large set that is sum-free π‘šπ‘œπ‘‘ 𝑝.

2/9/2016

7

Proof (cont.)

The calculations are π‘šπ‘œπ‘‘ 𝑝.

The set 𝑆 = 𝑝/3 ,… , 2𝑝/3 is sum-free and 𝑆 β‰₯ 𝑝 βˆ’ 1 /3.

We uniformly choose π‘₯ ∈ 1,2,… , 𝑝 βˆ’ 1 and set 𝐴π‘₯ = π‘Ž ∈ 𝐴 | π‘Žπ‘₯ ∈ 𝑆 .

Consider 𝑏, 𝑐 ∈ 𝐴π‘₯. Since 𝑏π‘₯, 𝑐π‘₯ ∈ 𝑆, we have that 𝑏 + 𝑐 π‘₯ = 𝑏π‘₯ + 𝑐π‘₯ βˆ‰ 𝑆. Thus, 𝑏 + 𝑐 βˆ‰ 𝐴π‘₯, and 𝐴π‘₯ is sum-free.

π‘‹π‘Ž – indicator that is 1 if π‘Ž ∈ 𝐴π‘₯.

𝐸 𝐴π‘₯ = 𝐸

π‘Žβˆˆπ΄

π‘‹π‘Ž =

π‘Žβˆˆπ΄

𝐸 π‘‹π‘Ž =

π‘Žβˆˆπ΄

Pr π‘‹π‘Ž = 1 .

The set 𝑆 = 𝑝/3 ,… , 2𝑝/3 is sum-free and 𝑆 β‰₯ 𝑝 βˆ’ 1 /3.

We uniformly choose π‘₯ ∈ 1,2,… , 𝑝 βˆ’ 1 and set 𝐴π‘₯ = π‘Ž ∈ 𝐴 | π‘Žπ‘₯ ∈ 𝑆 . 𝐴π‘₯ is sum-free.

π‘‹π‘Ž – indicator that is 1 if π‘Ž ∈ 𝐴π‘₯.

𝐸 𝐴π‘₯ = π‘Žβˆˆπ΄ Pr π‘‹π‘Ž = 1 .

Recall: If π‘₯β‰’π‘₯β€² π‘šπ‘œπ‘‘ 𝑝 then π‘Žπ‘₯β‰’π‘Žπ‘₯β€² π‘šπ‘œπ‘‘ 𝑝.

We thus have Pr π‘‹π‘Ž = 1 = |𝑆|/(𝑝 βˆ’ 1).

𝐸 𝐴π‘₯ =

π‘Žβˆˆπ΄

Pr π‘‹π‘Ž = 1 =𝐴 𝑆

𝑝 βˆ’ 1β‰₯ 𝐴1

3.

Thus, there exists an π‘₯ for which 𝐴π‘₯ β‰₯ 𝐴1

3.

2/9/2016

8

Which Super Villain is a Mathematician?

Austin Powers’Dr. Evil

Sherlock Holmes’Professor Moriarty

Spiderman’sDr. Octopus

More Ramsey Numbers

In the previous class, we used a basic probabilistic argument to prove

𝑅 𝑝, 𝑝 > 2𝑝/2.

Theorem. For any integer 𝑛 > 0, we have

𝑅 𝑝, 𝑝 > 𝑛 βˆ’π‘›π‘ 21βˆ’π‘2 .

2/9/2016

9

Proof

Consider a random red-blue coloring of 𝐾𝑛 = (𝑉, 𝐸). The color of each edge is chosen uniformly and independently.

For every subset 𝑆 βŠ‚ 𝑉 of size 𝑝, we denote by 𝑋𝑆 the indicator that 𝑆 induces a monochromatic 𝐾𝑝. We set 𝑋 = 𝑆 =𝑝𝑋𝑆 .

𝐸 𝑋𝑆 = Pr 𝑋𝑆 = 1 = 21βˆ’π‘2

By linearity of expectation, we have

𝐸 𝑋 =

𝑆 =𝑝

𝐸 𝑋𝑆 =𝑛𝑝 21βˆ’π‘2 .

Completing the Proof

We proved that the in a random red-bluecoloring of 𝐾𝑛 the expected number of monochromatic copies of 𝐾𝑝 is

π‘š =𝑛𝑝 21βˆ’π‘2 .

There exist a coloring with at mostπ‘šmonochromatic 𝐾𝑝’s.

By removing a vertex from each of these copies, we obtain a coloring of πΎπ‘›βˆ’π‘š with no monochromatic 𝐾𝑝.

2/9/2016

10

Recap

How we used the probabilistic method:

β—¦ Our first applications were simply about making random choices and showing that we obtain some property with non-zero probability.

β—¦ We moved to more involved proofs, where we use linearity of expectation to talk about the β€œexpected” result.

β—¦ In the previous proof, we used a two step method – first we randomly choose an object, and then we alter it. This method is called the alternation method.

Transmission Towers

Problem. A company wants to establish transmission towers in its large compound.

β—¦ Each tower must be on top of a building and each building must be covered by at least one tower.

β—¦ We are given the pairs of buildings such that a tower on one covers the other.

β—¦ We wish to minimize the number of towers.

2/9/2016

11

Building a graph

We build a graph 𝐺 = 𝑉, 𝐸 .

β—¦ A vertex for every building.

β—¦ An edge between every pair of buildings that can cover each other.

β—¦ We need to find the minimum subset of vertices 𝑉′ βŠ‚ 𝑉 such that every vertex of 𝑉has at least one vertex of 𝑉′ as a neighbor.

Dominating Sets

Consider a graph 𝐺 = 𝑉, 𝐸 . A dominating set of 𝐺 is a subset 𝑉′ βŠ‚ 𝑉such that every vertex of 𝑉 has at least one neighbor in 𝑉′.

It is not known whether there exists a polynomial-time algorithm for fining a minimum dominating set in a graph.

2/9/2016

12

Warm Up

Problem. Let 𝐺 = 𝑉, 𝐸 be a graph with maximum degree π‘˜. Give a lower bound for the size of any dominating set of 𝐺.

Answer.

β—¦ Every vertex covers itself and at most π‘š other vertices, so any dominating set is of size at least

𝑉

π‘˜ + 1.

The Case of a Minimum Degree

Theorem. Let 𝐺 = 𝑉, 𝐸 be a graph with minimum degree π‘˜. Then there exists a

dominating set of size at most 𝑛 β‹…1+lg π‘˜

π‘˜+1.

Proof. We consider a random subset 𝑆 βŠ‚ 𝑉 by independently taking each

vertex of 𝑉 with probability 𝑝 =lg π‘˜

π‘˜+1.

Let 𝑇 βŠ‚ 𝑉 βˆ– 𝑆 be the vertices that have no neighbors in 𝑆.

β—¦ 𝑆 βˆͺ 𝑇 is a dominating set.

2/9/2016

13

𝑆 βŠ‚ 𝑉 – a random subset formed by independently taking each vertex of 𝑉 with

probability 𝑝 =lg π‘˜+1

π‘˜+1.

𝑇 βŠ‚ 𝑉 βˆ– 𝑆 – the vertices with no neighbors in 𝑆.

β—¦ 𝑆 βˆͺ 𝑇 is a dominating set.

𝐸 𝑆 = π‘£βˆˆπ‘‰ Pr[𝑣 ∈ 𝑆] = 𝑣 𝑝 = 𝑝 𝑉 .

A vertex is in 𝑇 if it is not in 𝑆 and none of its neighbors are in 𝑆. The probability for this is at most 1 βˆ’ 𝑝 π‘˜+1.

𝐸 𝑇 = π‘£βˆˆπ‘‰ Pr[𝑣 ∈ 𝑇] ≀ 𝑣 1 βˆ’ π‘π‘˜+1

= 1 βˆ’ 𝑝 π‘˜+1 𝑉 .

Proof (cont.)

Completing the Proof

𝑝 =lg π‘˜+1

π‘˜+1.

Famous inequality. 1 βˆ’ 𝑝 ≀ π‘’βˆ’π‘ for any positive 𝑝.

Thus, 1 βˆ’ 𝑝 π‘˜+1 ≀ π‘’βˆ’π‘ π‘˜+1 =1

π‘˜+1.

We proved𝐸 𝑆| + |𝑇 = 𝐸 𝑆 + 𝐸 |𝑇|

≀ 𝑝 + 1 βˆ’ 𝑝 π‘˜+1 𝑉 =lg π‘˜ + 1 + 1

π‘˜ + 1|𝑉|.

There must exist a dominating set of size.

2/9/2016

14

How to Choose the Probability?

In the previous problem, we knew to

choose 𝑝 =lg(π‘˜+1)

π‘˜+1. But how?

β—¦ When you solve a question and the choice is not uniform, first mark the probability as 𝑝.

β—¦ At the end of the analysis you will obtain some expression with 𝑝 in it. Choose the value of 𝑝 that optimizes the expression.

The End: Professor Moriarty

Professor Moriarty is a mathematician.

β—¦ β€œAt the age of twenty-one he wrote a treatise upon the binomial theorem”.

β—¦ So a combinatorist?!

β—¦ Dr. Octopus is a nuclear physicist.

β—¦ Dr. Evil is a medical doctor.