Erdos-Renyi, small-world, and scale-free networks
Random graphs are fundamental models for understanding complex networks in the real world. From social networks to the internet, random graph theory helps us understand how networks form and what properties emerge.
In this section, you'll explore three foundational models: Erdős-Rényi random graphs, Watts-Strogatz small-world networks, and Barabási-Albert scale-free networks.
The Erdős-Rényi model G(n,p) creates a random graph on n vertices where each possible edge exists independently with probability p. Adjust the parameters and generate!
The Watts-Strogatz model shows how a regular network becomes a small-world with random rewiring. Adjust β to see the transition from regular → small-world → random!
The Barabási-Albert model demonstrates preferential attachment: new vertices connect to existing vertices with probability proportional to their degree. The rich get richer!
Compare key properties across different network models. Each model has distinct characteristics in clustering, path length, and degree distribution.
1. Erdős-Rényi Random Graphs: The simplest random graph model where each edge exists independently with probability p. Shows a sharp transition to connectivity at p = ln(n)/n.
2. Small-World Networks: The Watts-Strogatz model shows how adding a few random "shortcut" edges to a regular lattice dramatically reduces average path length while maintaining high clustering — explaining "six degrees of separation."
3. Scale-Free Networks: The Barabási-Albert model demonstrates preferential attachment where "the rich get richer." This creates hub vertices and a power-law degree distribution found in the web, social networks, and biology.
4. Network Properties: Different network models have characteristic clustering coefficients, average path lengths, and degree distributions that reveal their underlying structure.
Next Up: You've completed the main Graph Theory curriculum! Head to the Playground to explore freely and test your knowledge with quizzes.