Giant components are a prominent feature of the Erdős–Rényi model of random graphs, in which each possible edge connecting pairs of a given set of vertices is present, independently of the other edges, with probability. In this model, if for any constant, then with high probability all connected components of the graph have size, and there is no giant component. However, for there is with high probability a single giant component, with all other components having size. For, intermediate between these two possibilities, the number of vertices in the largest component of the graph is with high probability proportional to. Giant component is also important in percolation theory. When a fraction of nodes,, is removed randomly from an ER network of degree, there exists a critical threshold,. Above there exists a giant component of size,. fulfills,. For the solution of this equation is, i.e., there is no giant component. At, the distribution of cluster sizes behaves as a power law, ~ which is a feature of phase transition. Giant component appears also in percolation of lattice networks. Alternatively, if one adds randomly selected edges one at a time, starting with an empty graph, then it is not until approximately edges have been added that the graph contains a large component, and soon after that the component becomes giant. More precisely, when edges have been added, for values of close to but larger than, the size of the giant component is approximately. However, according to the coupon collector's problem, edges are needed in order to have high probability that the whole random graph is connected.
Consider for simplicity two ER networks with same number of nodes and same degree. Each node in one network depend on a node in the other network and vice versa through bi-directional links. This system is called interdependent networks. In order for system to survive removals, both networks should have giant components where each node in one depend on a node in the other. This is called the mutual giant component. This example can be generalized to n ER networks connected in a tree like structure. Interestingly for any tree of n ER networks the mutual giant component is given by, which is a natural generalization of the formula for a single network.
Graphs with arbitrary degree distributions
A similar sharp threshold between parameters that lead to graphs with all components small and parameters that lead to a giant component also occurs in random graphs with non-uniform degree distributions. The degree distribution does not define a graph uniquely. However under assumption that in all respects other than their degree distribution, the graphs are treated as entirely random, many results on finite/infinite-component sizes are known. In this model, the existence of the giant component depends only on the first two moments of the degree distribution. Let a randomly chosen vertex has degree, then the giant component exists if and only if which is also written in the form of is the mean degree of the network. Similar expressions are also valid for directed graphs, in which case the degree distribution is two-dimensional. There are three types of connected components in directed graphs. For a randomly chosen vertex:
out-component is a set of vertices that can be reached by recursively following all out-edges forward;
in-component is a set of vertices that can be reached by recursively following all in-edges backward;
weak component is a set of vertices that can be reached by recursively following all edges regardless of their direction.
Criteria for giant component existence in directed and undirected configuration graphs
Let a randomly chosen vertex has in-edges and out edges. By definition, the average number of in- and out-edges coincides so that. If is the generating function of the degree distribution for an undirected network, then can be defined as. For directed networks, generating function assigned to the joint probability distribution can be written with two valuables and as:, then one can define and. The criteria for giant component existence in directed and undirected random graphs are given in the table below: For other properties of the giant component and its relation to percolation theory and critical phenomena, see references.