The Probabilistic Method Week 9: Random Graphs Joshua Brody - - PowerPoint PPT Presentation

the probabilistic method
SMART_READER_LITE
LIVE PREVIEW

The Probabilistic Method Week 9: Random Graphs Joshua Brody - - PowerPoint PPT Presentation

The Probabilistic Method Week 9: Random Graphs Joshua Brody CS49/Math59 Fall 2015 Reading Quiz What is a G(n,p) ? (A) a probability distribution (B) a random variable (C) a random graph (D) a probability space (E) multiple answers correct


slide-1
SLIDE 1

The Probabilistic Method

Joshua Brody CS49/Math59 Fall 2015

Week 9: Random Graphs

slide-2
SLIDE 2

Reading Quiz

(A) a probability distribution (B) a random variable (C) a random graph (D) a probability space (E) multiple answers correct

What is a G(n,p)?

slide-3
SLIDE 3

Reading Quiz

(A) a probability distribution (B) a random variable (C) a random graph (D) a probability space (E) multiple answers correct

What is a G(n,p)?

slide-4
SLIDE 4

Random Graphs

G ~ G(n,p) : random graph on n vertices V = {1, ..., n} each edge (i,j) ∈ E independently with prob. p

[Erdős-Rényi 60]

G(n,p) : probability distribution G : random variable

slide-5
SLIDE 5

Clicker Question

(A) S, T share at least one vertex (B) S, T share at least one edge (C) S, T share at least two vertices (D) (A) and (B) (E) (B) and (C)

When are AS and AT not independent?

slide-6
SLIDE 6

Clicker Question

(A) S, T share at least one vertex (B) S, T share at least one edge (C) S, T share at least two vertices (D) (A) and (B) (E) (B) and (C)

When are AS and AT not independent?

slide-7
SLIDE 7

Clicker Question

(A) p6 (B) p5 (C) p4 (D) p3 (E) 1

If |S ∩ T| = 2, what is Pr[AT|AS]?

slide-8
SLIDE 8

Clicker Question

(A) p6 (B) p5 (C) p4 (D) p3 (E) 1

If |S ∩ T| = 2, what is Pr[AT|AS]?

slide-9
SLIDE 9

Clicker Question

(A) n choose 4 (B) n choose 3 (C) n choose 2 (D) 4(n-4) (E) None of the above

How many T ⊆ V (|T|=4) such that |S ∩ T| = 3?

slide-10
SLIDE 10

Clicker Question

(A) n choose 4 (B) n choose 3 (C) n choose 2 (D) 4(n-4) (E) None of the above

How many T ⊆ V (|T|=4) such that |S ∩ T| = 3?

slide-11
SLIDE 11

Clique Threshold recap

slide-12
SLIDE 12

Clique Threshold recap

Theorem: If p >> n-2/3 then G almost surely has a 4-clique. proof: X := # 4-cliques in G

slide-13
SLIDE 13

Clique Threshold recap

Theorem: If p >> n-2/3 then G almost surely has a 4-clique. proof: X := # 4-cliques in G

  • E[X] ~ n4p6/24 →∞
  • Var[X] ≤ E[X] + ∑S~T Pr[AS ∩ AT]
slide-14
SLIDE 14

Clique Threshold recap

Theorem: If p >> n-2/3 then G almost surely has a 4-clique. proof: X := # 4-cliques in G

  • E[X] ~ n4p6/24 →∞
  • Var[X] ≤ E[X] + ∑S~T Pr[AS ∩ AT]
  • For any S:
  • O(n2) T with |S ∩ T| = 2; Pr[AT|AS] = p5
  • O(n) T with |S ∩ T| = 3; Pr[AT|AS] = p3
  • ∑T~S Pr[AS ∩ AT] = O(n2p5) + O(np3) = o(E[X])
slide-15
SLIDE 15

Clique Threshold recap

Theorem: If p >> n-2/3 then G almost surely has a 4-clique. proof: X := # 4-cliques in G

  • E[X] ~ n4p6/24 →∞
  • Var[X] ≤ E[X] + ∑S~T Pr[AS ∩ AT]
  • For any S:
  • O(n2) T with |S ∩ T| = 2; Pr[AT|AS] = p5
  • O(n) T with |S ∩ T| = 3; Pr[AT|AS] = p3
  • ∑T~S Pr[AS ∩ AT] = O(n2p5) + O(np3) = o(E[X])
  • ∑S~T Pr[AS ∩ AT] = ∑S Pr[AS] ∑T~S Pr[AT | AS]

= ∑S Pr[AS]o(E[X]) = o(E[X]2)

slide-16
SLIDE 16

Clique Threshold recap

Theorem: If p >> n-2/3 then G almost surely has a 4-clique. proof: X := # 4-cliques in G

  • E[X] ~ n4p6/24 →∞
  • Var[X] ≤ E[X] + ∑S~T Pr[AS ∩ AT]
  • For any S:
  • O(n2) T with |S ∩ T| = 2; Pr[AT|AS] = p5
  • O(n) T with |S ∩ T| = 3; Pr[AT|AS] = p3
  • ∑T~S Pr[AS ∩ AT] = O(n2p5) + O(np3) = o(E[X])
  • ∑S~T Pr[AS ∩ AT] = ∑S Pr[AS] ∑T~S Pr[AT | AS]

= ∑S Pr[AS]o(E[X]) = o(E[X]2)

  • Var[X] ≤ E[X] + o(E[X]2) = o(E[X]2)
  • Therefore X ~ E[X] >> 0 almost always.
slide-17
SLIDE 17

Threshold Functions

Definition: r(n) is a threshold function for graph property P if (1) If p << r(n) then G(n,p) almost never has P (2) If p >> r(n) then G(n,p) almost always has P

slide-18
SLIDE 18

Threshold Functions

Definition: r(n) is a threshold function for graph property P if (1) If p << r(n) then G(n,p) almost never has P (2) If p >> r(n) then G(n,p) almost always has P Examples:

  • CL(G) ≥ 4 has threshold function r(n) = n-2/3
  • Connected has threshold function r(n) = ln(n)/n
slide-19
SLIDE 19

Threshold Functions

Definition: r(n) is a threshold function for graph property P if (1) If p << r(n) then G(n,p) almost never has P (2) If p >> r(n) then G(n,p) almost always has P Examples:

  • CL(G) ≥ 4 has threshold function r(n) = n-2/3
  • Connected has threshold function r(n) = ln(n)/n
  • Largest Component:

★ p < (1-c)/n then largest component is O(log n) ★ p = 1/n then largest component is n2/3 ★ p > (1+c)/n then largest component is > n/2

slide-20
SLIDE 20

Concentration of Measure

slide-21
SLIDE 21

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
slide-22
SLIDE 22

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always
slide-23
SLIDE 23

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

slide-24
SLIDE 24

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

  • chromatic number: 𝝍(G) = # colors needed to color G
slide-25
SLIDE 25

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

  • chromatic number: 𝝍(G) = # colors needed to color G

★ 𝝍(G) ~ n log(1/1-p) / 2log(n) almost always

slide-26
SLIDE 26

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

  • chromatic number: 𝝍(G) = # colors needed to color G

★ 𝝍(G) ~ n log(1/1-p) / 2log(n) almost always

  • diameter: max distance between nodes
slide-27
SLIDE 27

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

  • chromatic number: 𝝍(G) = # colors needed to color G

★ 𝝍(G) ~ n log(1/1-p) / 2log(n) almost always

  • diameter: max distance between nodes

★ diam(G) ~ log(n)/log(pn) almost always (if p >> 1/n)

slide-28
SLIDE 28

Concentration of Measure

Examples:

  • degrees: deg(v) ~ pn almost always (Chernoff Bounds)
  • clique number: CL(G) ~ 2log(n) almost always

★ there is r ~2log(n)/log(1/p) s.t. CL(G) = r or r+1 almost always

  • chromatic number: 𝝍(G) = # colors needed to color G

★ 𝝍(G) ~ n log(1/1-p) / 2log(n) almost always

  • diameter: max distance between nodes

★ diam(G) ~ log(n)/log(pn) almost always (if p >> 1/n) ★ if p = Ω(log(n)/n) then concentration is on O(1) values

slide-29
SLIDE 29

Zero-One Laws

Definition: fix 0 < p < 1. Property P obeys 0-1 law if limn→∞ Pr[G(n,p) has P] = 0 or 1.

slide-30
SLIDE 30

Zero-One Laws

Definition: fix 0 < p < 1. Property P obeys 0-1 law if limn→∞ Pr[G(n,p) has P] = 0 or 1. Examples:

  • G has triangle
  • G has no isolated vertex
  • G has diameter < 2
slide-31
SLIDE 31

Zero-One Laws

Definition: fix 0 < p < 1. Property P obeys 0-1 law if limn→∞ Pr[G(n,p) has P] = 0 or 1. Examples:

  • G has triangle
  • G has no isolated vertex
  • G has diameter < 2

Theorem: fix 0 < p < 1. Any property expressed in first-order theory of graphs obeys 0-1 law.

slide-32
SLIDE 32

The Probabilistic Method