title: Evolution of a random network
text: # Evolution of a random network
  
  Evolution of a random network is a dynamical process, usually leading to emergence of giant component accompanied with striking consequences on the network topology. To quantify this process, there is a need of inspection on how the size of the largest connected cluster within the network, ${N_{G}}$, varies with the average degree ${\left\langle k\right\rangle }$. Networks change their topology as they evolve, undergoing phase transitions. Phase transitions are generally known from physics, where it occurs as matter changes state according to its thermal energy level, or when ferromagnetic properties emerge in some materials as they are cooling down. Such phase transitions take place in matter because it is a network of particles, and as such, rules of network phase transition directly apply to it. Phase transitions in networks happen as links are added to a network, meaning that having N nodes, in each time increment, a link is placed between a randomly chosen pair of them. The transformation from a set of disconnected nodes to a fully connected network is called the evolution of a network.
  
  If we begin with a network having N totally disconnected nodes (number of links is zero), and start adding links between randomly selected pairs of nodes, the evolution of the network begins. For some time we will just create pairs of nodes. After a while some of these pairs will connect, forming little trees. As we continue adding more links to the network, there comes a point when a giant component emerges in the network as some of these isolated trees connect to each other. This is called the critical point. In our natural example, this point corresponds to temperatures where materials change their state. Further adding nodes to the system, the giant component becomes even larger, as more and more nodes get a link to another node which is already part of the giant component. The other special moment in this transition is when the network becomes fully connected, that is, when all nodes belong to the one giant component, which is effectively the network itself at that point.
  
  ## Conditions for emergence of a giant component
  
  In the Erdős–Rényi model, the average degree $\langle k\rangle$ of a graph with n vertices and N edges is given by $\langle k\rangle ={\frac {2N}{n}}$. The condition for the emergence of a giant component is:
  
  ${\left\langle k\right\rangle =1}$.
  
  Thus, one link is sufficient for its emergence of the giant component. If expressing the condition in terms of ${p}$, one obtains:
  
  ${P_{c}={\frac {1}{N-1}}\approx {\frac {1}{N}}}$ (1)
  
  Where ${N}$ is the number of nodes, ${P_{c}}$ is the probability of clustering.
  
  Therefore, the larger a network, the smaller ${p}$ is sufficient for the giant component.
  
  ## Regimes of evolution of a random network
  
  Three topological regimes with its unique characteristics can be distinguished in network science: subcritical, supercritical and connected regimes.
  
  ### Subcritical regime
  
  The subcritical phase is characterised by small isolated clusters, as the number of links is much less than the number of nodes. A giant component can be designated any time to be the largest isolated small component, but the difference in cluster sizes is effectively negligible in this phase.
  
  ${0<\left\langle k\right\rangle <1}$, ${\left(p<{\frac {1}{n}}\right)}$
  
  For ${\left\langle k\right\rangle =0}$ the network consists of ${N}$ isolated nodes. Increasing ${\left\langle k\right\rangle }$ means adding ${N\left\langle k\right\rangle =pN(N-1)/2}$ links to the network. Yet, given that ${\left\langle k\right\rangle <1}$, there is only a small number of links in this regime, hence mainly tiny clusters could be observed. At any moment the largest cluster can be designated to be the giant component. Yet in this regime the relative size of the largest cluster, ${\frac {N_{G}}{N}}$, remains zero. The reason is that for ${\left\langle k\right\rangle <1}$ the largest cluster is a tree with size ${N_{G}\sim lnN}$, hence its size increases much slower than the size of the network. Therefore, ${N_{G}/N=lnN/N\rightarrow 0}$ in the ${N\rightarrow \infty }$ limit. In summary, in the subcritical regime the network consists of numerous tiny components, whose size follows the exponential distribution. Hence, these components have comparable sizes, lacking a clear winner that we could designate as a giant.
  
  ### Critical point
  
  As we keep connecting nodes, the pairs joining together will form small trees, and if we keep connecting nodes, a distinguishable giant component emerges at critical point ${\left\langle k\right\rangle <1}$.
  
  This means that at the moment that each component has on average 1 link, a giant component emerges. This point corresponds to probability p = 1 / (N - 1), as the probability of having a link between two nodes is the ratio of the one case when that one link connect the two randomly chosen nodes, divided by all the other possibilities how that one connection can connect one of the nodes to another node, which is N - 1, as a node can connect to all other nodes but itself (excluding the possibility of a self loop in this model).
  
  This also has the implication, that the larger a network is, the smaller p it needs to have a giant component emerging.
  
  ${0<\left\langle k\right\rangle =1}$, ${\left(p={\frac {1}{n}}\right)}$.
  
  The critical point separates the regime where there is not yet a giant component ( ${0<\left\langle k\right\rangle <1}$ ) from the regime where there is one ( ${\left\langle k\right\rangle >1}$ ). At this point, the relative size of the largest component is still zero. Indeed, the size of the largest component is ${N_{G}\sim N^{\tfrac {2}{3}}}$. Consequently, ${N_{G}}$ grows much slower than the network's size, so its relative size decreases as ${{\frac {N_{G}}{N}}\sim N^{-{\tfrac {1}{3}}}}$ in the ${N\rightarrow \infty }$ limit. Note, however, that in absolute terms there is a significant jump in the size of the largest component at ${\left\langle k\right\rangle =1}$. For example, for a random network with ${N=7\ast 109}$ nodes, comparable to the globe's social network, for ${0<\left\langle k\right\rangle <1}$ the largest cluster is of the order of ${N_{G}\simeq lnN=ln(7\ast 109)\simeq 22.7}$. In contrast at ${\left\langle k\right\rangle =1}$ we expect ${N_{G}\simeq N^{\tfrac {2}{3}}=(7\ast 109){\tfrac {2}{3}}\sim 3\ast 106}$, a jump of about five orders of magnitude. Yet, both in the subcritical regime and at the critical point the largest component contains only a vanishing fraction of the total number of nodes in the network.
  
  In summary, at the critical point most nodes are located in numerous small components, whose size distribution follows. The power law form indicates that components of rather different sizes coexist. These numerous small components are mainly trees, while the giant component may contain loops. Note that many properties of the network at the critical point resemble the properties of a physical system undergoing a phase.
  
  ### Supercritical regime
  
  Once the giant component had emerged upon passing the critical point, as we add more connections, the network will consist of a growing giant component, and less and less smaller isolated clusters and nodes. Most real networks belong to this regime. The size of the giant component is described as follows ${N_{G}=(p-p_{c})N}.$
  
  ${\left\langle k\right\rangle >1}$, ${\left(p>{\frac {1}{n}}\right)}$.
  
  This regime has the most relevance to real systems, as for the first time we have a giant component that looks like a network. In the vicinity of the critical point the size of the giant component varies as:
  
  ${N_{G}/N\sim \left\langle k\right\rangle -1}$
  
  or
  
  ${N_{G}\sim (p-p_{c})N}$ (2)
  
  where pc is given by (1). In other words, the giant component contains a finite fraction of the nodes. The further we move from the critical point, a larger fraction of nodes will belong to it. Note that (2) is valid only in the vicinity of ${\left\langle k\right\rangle =1}$. For large ${\left\langle k\right\rangle }$ the dependence between ${N_{G}}$ and ${\left\langle k\right\rangle }$ is nonlinear. In summary in the supercritical regime numerous isolated components coexist with the giant component, their size distribution following exponential distribution. These small components are trees, while the giant component contains Loops and cycles. The supercritical regime lasts until all nodes are absorbed by the giant.
  
  ### Connected regime
  
  As connections are added to a network, there comes a point when $\langle k\rangle =lnN$, and the giant component absorbs all nodes, so there are no isolated nodes or unconnected components.
  
  ${\left\langle k\right\rangle >\ln N}$, ${\left(p>{\frac {\ln N}{N}}\right)}$.
  
  For sufficiently large p the giant component absorbs all nodes and components, hence ${N_{G}\simeq N}$. In the absence of isolated nodes the network becomes connected. The average degree at which this happens depends on ${N}$ as ${\left({\frac {\ln N}{N}}\right)\rightarrow 0}$. Note that when we enter the connected regime the network is still relatively sparse, as ${\left({\frac {\ln N}{N}}\right)\rightarrow 0}$ for large N. The network turns into a complete graph only at ${\left\langle k\right\rangle =N-1}$. In summary, the random network model predicts that the emergence of a network is not a smooth, gradual process: The isolated nodes and tiny components observed for small $\langle k\rangle$ collapse into a giant component through a phase.
  
  ## Examples for occurrences in nature
  
  ### Water-ice transition
  
  Phase transitions take place in matter, as it can be considered as a network of particles. When water is frozen, upon reaching 0 degree (the critical point) the crystalline structure of ice emerges according to the phase transitions of random networks: As cooling continues, each water molecule binds strongly to four others, forming the ice lattice, which is the emerging network.
  
  ### Magnetic phase transition
  
  Similarly, magnetic phase transition in ferromagnetic materials also follow the pattern of network evolution: Above a certain temperature, spins of individual atoms can point in two different directions. However, upon cooling the material down, upon reaching a certain critical temperature, spins start to point in the same direction, creating the magnetic field. The emergence of magnetic properties in the structure of the material resemble to the evolution of a random network.
  
  ## Applications
  
  ### Physics and chemistry
  
  As we could see in the above examples, network theory applies to the structure of materials, therefore it is also applied in research related to materials and their properties in physics and chemistry.
  
  Particularly important areas are polymers, gels, and other material development such as cellulose with tunable properties.
  
  ### Biology and medicine
  
  Phase transitions are used in research related to the functioning of proteins or emergence of diabetes on the cell-level. Neuroscience also extensively makes use of the model of the evolution of networks as phase-transition occur in neuron-networks.
  
  ### Network science, statistics and machine learning
  
  Phase transition of a network is naturally a building block of more advanced models within its own discipline too. It comes back in research examining clustering and percolation in networks, or prediction of node properties.
  
  