\documentclass[12pt,letterpaper, twoside]{article} %\usepackage[active]{srcltx}
\usepackage{amssymb,amsmath}
%\usepackage{graphicx}
%\usepackage{epsfig}
%\DeclareGraphicsExtensions{.eps} %\graphicspath{{images/}}
\usepackage{fancyhdr}
\usepackage{hyperref}
\renewcommand{\baselinestretch}{1.10}

\bibliographystyle{plain}

%%---------------------------------------------------------------------------
%%      Margins:
%%---------------------------------------------------------------------------
\oddsidemargin  0in
\evensidemargin 0in
\topmargin -0.5in
\headheight 0.25in
\headsep 0.25in
\textwidth   6.5in
\textheight 9in
%\marginparsep 0pt \marginparwidth 0pt
\parskip 1.5ex  \parindent 0ex \footskip 20pt

%%---------------------------------------------------------------------------
%%      Fonts:
%%---------------------------------------------------------------------------
\newfont{\bssten}{cmssbx10}
\newfont{\bssnine}{cmssbx10 scaled 900}
\newfont{\bssdoz}{cmssbx10 scaled 1200}

%%---------------------------------------------------------------------------
%%      header:
%%---------------------------------------------------------------------------
\pagestyle{fancy}  % use this?
\fancyhead{\bssnine MS\&E 337,  Lecture \#\arabic{lecture}}
\fancyhead[RE]{}
\fancyhead[LO]{}
\fancyhead[LE]{\bssnine \arabic{lecture}-\arabic{page}}
\fancyhead[RO]{\bssnine \arabic{lecture}-\arabic{page}} \lfoot{} \cfoot{} \rfoot{}

%%---------------------------------------------------------------------------
%%      "Alternate sectioning"
%%---------------------------------------------------------------------------

\newcounter{topic} \setcounter{topic}{0}
\newcommand{\topic}[1]{\par \refstepcounter{topic} \vs{2ex} {\bssdoz \arabic{topic}.~ #1} \par \vs{1ex}}
\newcounter{lecture} \setcounter{lecture}{0}


%%---------------------------------------------------------------------------
%%      Theorems and other environments:
%%---------------------------------------------------------------------------
\newtheorem{thm}{Theorem}[lecture] \newtheorem{prop}{Proposition}[lecture] \newtheorem{lemma}{Lemma}[lecture]
\newtheorem{result}{Result}[lecture] \newtheorem{cor}{Corollary}[lecture] \newtheorem{claim}{Claim}[lecture]
\newenvironment{proof}{{\bf Proof:}}{\hfill\rule{2mm}{2mm}}
\newcounter{example}
\newenvironment{example}[1][] {\refstepcounter{example}{\bf Example~\arabic{lecture}.\arabic{example}~#1}}{}
 \renewcommand{\theexample}{\arabic{lecture}.\arabic{example}}
\newcounter{problem}
\newenvironment{problem}[1][] {\refstepcounter{problem}{\bf Problem~\arabic{lecture}.\arabic{problem}~#1}}{}
 \renewcommand{\theproblem}{\arabic{lecture}.\arabic{problem}}
\newcounter{definition}
\newenvironment{definition}[1][] {\refstepcounter{definition}{\bf Definition~\arabic{lecture}.\arabic{definition}~#1}}{}
 \renewcommand{\thedefinition}{\arabic{lecture}.\arabic{definition}}


%%-----------------------------------------------------------------------------
%% Definitions and notation
%%-----------------------------------------------------------------------------

\newcommand{\REALS}{I \hspace*{-0.8ex} R}                      %%reals
\newcommand{\NATURALS}{I \hspace*{-0.8ex} N}            %%naturals
\newcommand{\INTEGERS}{\mathsf{Z} \hspace*{-0.95ex} \mathsf{Z}}   %%integers
\newcommand{\tdef}{\triangleq}        %%defined as (equal w/triangle)
\newcommand{\p}{\mathrm{Pr}}           %%probability
\newcommand{\E}{\mathrm{E}}           %%expectation
\newcommand{\ind}{\perp\!\!\!\!\perp} %%independent
\newcommand{\wconv}{\Longrightarrow}  %%weak convergence
\newcommand{\pconv}{\stackrel{p}{\longrightarrow}}  %%convergence in prob.
\newcommand{\cov}{\mathrm{cov}}       %%covariance
\newcommand{\var}{\mathrm{var}}       %%variance
\newcommand{\MSE}{\mathrm{MSE}}       %%mean square error
\newcommand{\eqdis}{\stackrel{\mathcal{D}}{=}} %%equal in distribution
\newcommand{\approxdis}{\stackrel{\mathcal{D}}{\approx}} %%``approximately equal in distribution''
\newcommand{\eps}{\varepsilon}   %%epsilon

\newcommand{\nti}{$n\to\infty$}
\newcommand{\vs}{\vspace*}
\newcommand{\hs}{\hspace*}
\newcommand{\comment}[1]{ {\em #1}}
\newcommand{\MC}{$X = (X_n \;\mbox{:}\;n\geq 0)$ }
\newcommand{\Bin}{\mbox{Binomial}}
%%-----------------------------------------------------------------------------
%%-----------------------------------------------------------------------------


%%-----------------------------------------------------------------------------
%% set the LECTURE NUMBER here:
%%-----------------------------------------------------------------------------
\setcounter{lecture}{1}

\begin{document}


%%-----------------------------------------------------------------------------
%% first page header:
\thispagestyle{empty} \vspace*{-0.75in} {\bssten MS\&E 337 \hfill
Lecture \#\arabic{lecture} Notes \\ Information Networks \hfill
Spring 2010
\\ Prof. Amin Saberi \hfill Page 1 of \pageref{totalpag} \\}

%%-----------------------------------------------------------------------------
%% Fill in date and your name:

\vs{5mm}
%%-----------------------------------------------------------------------------

Before  we start with the lecture, let us review two simple results in probability that will
be very useful in this and future lectures.

The first one is Chernoff bounds for binomial random variables:

\begin{prop}
If $X \in \Bin(n,p)$ and $0 \leq \epsilon \leq 1$,  then \[\p(x> np(1+\epsilon)) \leq
\exp\left(\frac{-\epsilon^2 np}{3}\right)\] and \[\p(x <
np(1-\epsilon))
\leq \exp\left(\frac{-\epsilon^2 np}{2}\right)\]
\label{cb}
\end{prop}
For proof, see \cite{motwani1995ra} Chapter 4, Section 1.

The second result is on branching processes. Let $X$ be a random variable that takes non-negative integer values.
The \emph{Galton-Watson branching process} $Y$ determined by $X$ is
defined as follows:  Set $Y_0 = 1$.  At step $i$,
set $Y_i = Y_{i-1} + Z_i - 1$, where $Z_i \eqdis
X$.  If $Y_i > 0$, increment $i$ and repeat from step 2,
otherwise set $Y_j = 0$ for all $j>i$.

 Denote the probability of
extinction as $\rho_X = \p(Z < \infty),$ where $Z=\sum_{i\geq 0} Z_i$
is the total number of offspring produced.  Then the following property of the branching
process defined by $X$ holds:

\begin{prop} \label{gwsize} For $\E X \leq 1$, we have $\rho_X=1$, unless $\p(X=1)=1$.
If $\E X >1$ and $\p(X=0) > 0$, then $\rho_X = x_0$, where $x_0$ is
the unique solution of the equation $f_X(x) = x$ which belongs to the
interval $(0,1)$, where $f_X: [0,1] \rightarrow \REALS$ is the probability
generating function of $X$.
\end{prop}


\topic{Evolution of Random Graphs}
The focus of this lecture is on the emergence of the giant
component in the Erd\"os-R\'enyi random graph model $G(n,p)$. In this
model, a graph $G \in G(n,p)$ on $n$ vertices is chosen by placing an
edge between each pair of vertices independently with probability $p$.
A series of seminal paper by Erd\"os and R\'enyi from 1959-61
\cite{er1,er2,er3} helped
to develop the theory behind this model.

One of the key observations about Erdos-Renyi graphs is that several important properties of the
graph had ``threshold values'', above which they are almost surely
true and below which they are almost surely false.  Properties with
threshold values are said to exhibit a ``phase transition'', due to
the analogous principal observed in physical systems.

One such property is the presence or absence of a ``giant component'', i.e. a
component that has $O(n)$ vertices.  We will show that there exists
such a threshold at $np=1$.

\begin{thm} Let $np=c$, where $c > 0$ is a constant.

\begin{itemize}
\item  If $c < 1$, then with high probability all connected components of  $G \in G(n,p)$ are of size $O(\log n)$. \label{thm1}

\item If $c>1$, with high probability, $G \in G(n,p)$ has a unique
giant connected component of size $(\beta + o(n))n$ for constant
$\beta = \beta(c)$.  The sizes of the rest of the components will be of
$O(\log n)$.
\end{itemize}
\end{thm}



\begin{proof}
We can construct each connected component of $G$ as a
variation of the Galton-Watson branching process as follows.
Pick a vertex $w
\in G$. Initialize the set of ``live'' vertices $L_0 \leftarrow \{w\}$, and
the set of ``saturated'' or ``dead'' vertices $D_0 \leftarrow \emptyset$.  At step
$i$, if $L_{i-1} \neq \emptyset$, pick a vertex $v_i \in L_{i-1}$.
Set $L_i \leftarrow L_{i-1} \slash v_i$.  Set $D_i \leftarrow D_{i-1}
\cup \{v_i\}$. Find all of the neighbors of $v_i$ in $G \slash
\{D_{i-1} \cup L\}$ add them to $L_i$.

Let $Y_i = |L_i|$.  Then $Y_0 = 1$, and $Y_i = Y_{i-1} + Z_{i} - 1$,
where $Z_i$ is the number of new neighbors added in step $i$.  If
$Y_{i-1} > 0$, then $Z_i$ is distributed according to $Bin(n-i+1-Y_i,
p)$.

Now, assume that $c < 1$.
We can bound $Z_i$ from above by $Z^+ = Bin(n,p)$.
The probability that $Y_k > 0$ is upper bounded   by
\begin{align}
\p(\sum_{i=1}^k Z_i \geq k-1) &\leq \p(\sum_{i=1}^k Z^+_i \geq k-1) \nonumber\\
&= \p(\sum_{i=1}^k Z^+_i \geq ck+(1-c)k-1)\nonumber\\
&\leq \exp \left(-\frac{((1-c)k-1)^2}{3 ck }\right)\nonumber\\
&\leq \exp \left(-\frac{(1-c)^2}{4}k\right),
\end{align}
where the second to last inequality is by Chernoff bound.  Plugging in $k = 5 \log n / (1-c)^2$ gives the
probability that any particular vertex is part of a component of size
$k$ or greater as $\leq n^{-5/4}$.  Applying the union bound gives
Theorem (\ref{thm1}).


Now let $c > 1$.  Let $k^- = \frac{16c}{(c-1)^2} \log n$ and $k^+ =
n^{2/3}$.
\begin{prop} For $k^- \leq k \leq k^+$, w.h.p. the process either dies
before time $k^-$ or reaches time $k$ with at least $k(c-1)/2$ live
nodes.
\end{prop}
We bound the $Z_i$'s from below by $Z^-_i \sim Bin(n-k^+,p)$.
So given the process reaches $k^-$, the probability of it having less
than $k(c-1)/2$ live nodes before step $k^+$ is at most
\begin{align}
\sum_{k=k^-}^{k^+} \p (\sum_{i=1}^k Z_i^- \leq k+ \frac{c-1}{2}k) &\leq
 \sum_{k=k^-}^{k^+} \exp \left(-(c-1)^2k^2/9ck\right) \\
&\leq k^+ \exp \left(-(c-1)^2k^-/9c\right) = O(1/n)
\end{align}
Taking the union bound gives the proposition.

So far, we know that, w.h.p., every connected component is either of size bigger than or equal to
$n^{2/3}$ or is smaller than $k^-$.  To show the uniqueness of
the giant component, suppose that processes started at node $u$ and
$w$ are both alive but have not intersected by step $k^+$.  Note that, w.h.p.,
each process has generated at least $k^+(c-1)/2$ live nodes. Therefore, the probability that in the next step the processes
do not intersect
is at most
\[(1-p)^{\left(k^+(c-1)/2\right)^2} = \left(1-c/n\right)^{\left((c-1)/2\right)^2n^{4/3}}
\leq exp \left(-\frac{c(c-1)^2}{4}n^{1/3}\right) = o(1/n^2).\]

To establish the existence of the giant connected component, we
estimate the number of vertices that are in small components.  Note
that the probability of extinction before $k^-$, $\rho(n,p)$, is
bounded from above by $\rho_+(n,p)$, where $\rho_+(n,p)$ is governed
by the branching process with new nodes added according to
$Bin(n-k^-,p)$.  $\rho(n,p)$ is bounded from below by the process
$\rho_-(n,p) + o(1)$,
governed by $Bin(n,p)$, where the extra term comes from the
probability the process has more than $k^-$ vertices.  It can be shown using Proposition \ref{gwsize}
(see \cite{janson2000rg} example 5.3 p.108)
that $\rho_-$ and $\rho_+$ converge to a constant $\beta_c = \beta(c)$, where
$\beta(c)$ is the unique solution to the equation
\[\beta + e^{-\beta c} = 1.\]
Therefore, the expectation of number of vertices $Y$ in small components is
$(1-\beta_c + o(1))n$. We can bound the variance of this process by
\[\E(Y(Y-1)) \leq n\rho(n,p)(k^-+n\rho(n-O(k^-),p)) = (1+o(1))(\E Y)^2.\]
From Chebyshev's inequality follows that the number of
vertices in small components is $(1 - \beta_c + o(1))n$, proving the
theorem.
\end{proof}

The above theorem statement and proof are adopted from section
5.2 of \cite{janson2000rg}.


\textbf{Remark} There is actually a double jump, or a double phase transition
happening here. One can observe yet another phase transition  by increasing $p$
more slowly. In that case the maximum component size jumps from $O(\log n)$ to $n ^ \frac{2}{3}$. For getting
a giant component of
size $n^\frac{2}{3}$, you can set $np = 1 + \frac{\lambda}{n^{(1/3)}}$ for some $\lambda > 0$.


%\bibliography{tmp}

\begin{thebibliography}{1}

\bibitem{er1}
P.~Erd\"os and A.~R\'enyi.
\newblock {On random graphs}.
\newblock {\em Publ. Math. Debrecen}, 6(290), 1959.

\bibitem{er2}
P.~Erd\"os and A.~R\'enyi.
\newblock {On the evolution of random graphs}.
\newblock {\em Publ. Math. Inst. Hung. Acad. Sci}, 5:17--61, 1960.

\bibitem{er3}
P.~Erd\"os and A.~R\'enyi.
\newblock {On the strength of connectedness of a random graph}.
\newblock {\em Acta Math. Acad. Sci. Hungar}, 12:261--267, 1961.

\bibitem{janson2000rg}
S.~Janson, T.~{\L}uczak, and A.~Ruci{\'n}ski.
\newblock {\em {Random graphs}}.
\newblock John Wiley New York, 2000.

\bibitem{motwani1995ra}
R.~Motwani and P.~Raghavan.
\newblock {\em {Randomized Algorithms}}.
\newblock Cambridge University Press, 1995.

\end{thebibliography}



\label{totalpag}
\end{document}
