Cheatsheet

Complex Systems Theory

All topics on one page

4modules
12articles
2definitions
9formulas

01

Introduction to Complex Systems Theory

Core concepts, emergence, and nonlinear dynamics

What Is a Complex System: Definition, Properties, Examples

Definition of a Complex System → Key Properties of Complex Systems → Examples of Complex Systems → Tools of Study → Numerical Example: Schelling's Model

Why is the economy not amenable to exact forecasting? Why do ants build intricate colonies without architects? Why can small changes in climate bring about unpredictable consequences? The answer to all these questions lies within the realm of complex systems theory — one of the youngest and most ...

A complex system is a system composed of numerous interacting components whose behavior cannot be reduced to the sum of the properties of individual parts. The formal criteria of complexity:

Numerous agents: the system contains a large number (often thousands or millions) of elements (agents, components). The brain: 86 billion neurons. The Internet: 5 billion users. The economy: 8 billion people.

Nonlinear interactions: connections between elements are nonlinear. Doubling one variable does not lead to a doubling of the effect. Interactions give rise to new, unpredictable states.

Nonlinear Dynamics: Attractors, Bifurcations, and Chaos

Phase Space and Attractors → Lorenz Attractor and Deterministic Chaos → Bifurcations: Qualitative Changes in Behavior → Hausdorff Dimension and Fractals → Numerical Example: Logistic Map

Definitions

Bifurcation
a qualitative change in the behavior of a system with the smooth variation of a parameter. Types:
Fractals
objects with self-similarity at various scales. Norwegian coastline: measured with step 50 km gives one length, with step 1 km — 2.4 times greater length. Dimension $\approx 1.52$.
  • ·$x$ — intensity of convective flow
  • ·$y$ — temperature difference between ascending and descending flows
  • ·$z$ — deviation of the vertical temperature profile from linearity
  • ·$\sigma$ (Prandtl) $=10$ — ratio of viscosity to thermal conductivity
  • ·$\rho$ (Rayleigh) $=28$ — thermal gradient
  • ·$\beta=8/3$ — geometric parameter
  • ·$x_1=3.9 \times 0.2 \times 0.8=0.624$
  • ·$x_2=3.9 \times 0.624 \times 0.376=0.916$
  • ·$x_3=3.9 \times 0.916 \times 0.084=0.300$

A deterministic system with simple nonlinear rules can behave unpredictably — this discovery in the mid-20th century completely changed our understanding of nature. Chaos is not disorder, but deterministic unpredictability caused by sensitivity to initial conditions.

Phase space: the space of all possible states of a system. For a system with variables $x_1,...,x_n$ — this is $\mathbb{R}^n$. The trajectory of the system is a curve in phase space.

Attractor: a set of states towards which all nearby trajectories tend. Types:

*Point attractor:* the system tends to a stationary state. A mathematical pendulum with friction: tends to the resting position $x=0$.

Network Theory: Small World, Scale-Free Networks, Clustering

Key Characteristics of Networks → Small World Phenomenon (Watts & Strogatz, 1998) → Scale-Free Networks (Barabási & Albert, 1999) → Vulnerability and Robustness of Networks → Numerical Example: Internet Graph

Formulas

Graph G = (V, E): V is the set of nodes (vertices), E ⊆ V×V is the set of edges. |V| = n, |E| = m.
  • ·WWW: L ≈ 19 (Barabási, 1999)
  • ·Neural network of C. elegans: L = 2.65, C = 0.28 (vs random graph L = 2.25, C = 0.05)
  • ·Scientific coauthorship: L = 4.79, C = 0.43

Many complex systems are best described not by equations, but by networks—graphs, where nodes are agents and edges are their interactions. The structure of the network fundamentally determines dynamics: how quickly a disease spreads, how vulnerable a power grid is, how efficiently information pro...

Graph G = (V, E): V is the set of nodes (vertices), E ⊆ V×V is the set of edges. |V| = n, |E| = m.

Degree of a vertex d(v): number of edges incident to v. Average degree ⟨k⟩ = 2m/n. Degree distribution P(k) = proportion of vertices of degree k—a key characteristic.

Shortest path L(u,v): minimum number of edges between u and v. Average path L̄ = (1/n(n−1)) Σᵤ≠ᵥ L(u,v).

02

Population Dynamics and Epidemiological Models

Predator–prey models, SIR models, and spatial dynamics

Predator-Prey Models: Lotka-Volterra Equations

Lotka-Volterra Equations → Equilibrium Analysis → Model Extensions → Numerical Example → Real Applications

Formulas

Trivial equilibrium: x=0, y=0 (extinction of both).Nontrivial equilibrium: dx/dt = 0, dy/dt = 0:First integral: H(x,y) = δx − γln(x) + βy − αln(y) = const. Trajectories are closed curves in phase space (x,y).Logistic prey growth: dx/dt = αx(1 − x/K) − βxy. With carrying capacity K → stable spiral equilibrium instead of a center.
  • ·x — prey population (hares, lemmings); y — predator population (lynxes, wolves)
  • ·αx — exponential growth of prey in the absence of predators; α — specific growth rate
  • ·−βxy — decrease in prey due to encounters with predators; β — predation rate (proportional to the number of encounters x·y)
  • ·+δxy — growth of predators due to consuming prey; δ — conversion efficiency
  • ·−γy — natural mortality of predators in the absence of prey

One of the most beautiful demonstrations of nonlinear dynamics is the periodic fluctuations in the population numbers of predators and prey. The data on lynx and snowshoe hare in Canada show stable cycles lasting about 10 years: no central control, no plan—pure interaction dynamics.

Alfred Lotka (1925) and Vito Volterra (1926) independently derived a system of ODEs describing the dynamics of two interacting populations:

Deciphering x*: the equilibrium population of prey depends on the predator's parameters (γ, δ), but not the prey's growth parameter α. Volterra’s paradox: improving conditions for the prey (increasing α) leads to an increase in predator numbers, not prey!

Eigenvalues: ±i√(αγ) — purely imaginary. Equilibrium is a center: the system oscillates periodically without damping. Oscillation period T ≈ 2π/√(αγ).

SIR Models and Epidemic Spread

Basic SIR Model (Kermack-McKendrick, 1927) → Basic Reproduction Number R₀ → Final Size Hat-Trick → SIR Extensions → COVID-19: Ferguson et al. Model → Infodemic: Viral Spread of Disinformation

Formulas

Herd immunity threshold: to suppress the epidemic, S must be reduced below N/R₀, i.e., immunize a fraction p* = 1 − 1/R₀ of the population.SEIR: add E (Exposed — incubation period). dE/dt = βSI/N − σE (σ — rate of completion of incubation). More realistic for many diseases.
  • ·S (Susceptible): can become infected
  • ·I (Infected): infectious
  • ·R (Recovered): recovered or dead, immune
  • ·β — contact rate × transmission probability. βI/N — “force of infection” for a single S-individual
  • ·γ — rate of recovery: 1/γ = mean duration of infectious period
  • ·S+I+R = N = const (neglecting demography)

Mathematical epidemiology allows us to predict the dynamics of infectious diseases, assess the effectiveness of interventions, and justify public measures. The COVID-19 pandemic vividly demonstrated both the power and limitations of these models.

Central characteristic of infection: R₀ = β/γ — the average number of secondary cases produced by one infected individual in a fully susceptible population.

Threshold condition: dI/dt = I(βS/N − γ) > 0 if and only if S > γN/β = N/R₀. An epidemic is possible as long as S > N/R₀.

Herd immunity threshold: to suppress the epidemic, S must be reduced below N/R₀, i.e., immunize a fraction p* = 1 − 1/R₀ of the population.

Spatial Dynamics and Turing Patterns

Reaction-Diffusion Equations → Turing Mechanism: Activator-Inhibitor → Real Biological Patterns → Spatial Epidemiology → Cellular Automata and Discrete Patterns

Why does a zebra have stripes while a leopard has spots? Why do sand dunes form regular rows? Why are brain neurons organized into columns? Alan Turing in 1952 proposed a mathematical mechanism: reaction-diffusion. The interaction of two chemicals with different rates of diffusion gives rise to s...

General form: ∂u/∂t = D_u ∇²u + f(u, v) and ∂v/∂t = D_v ∇²v + g(u, v), where u and v are the concentrations of two morphogens (chemical "signals"), D_u, D_v are diffusion coefficients, f(u,v) and g(u,v) are the kinetics of the reactions.

Intuition: the activator (u) stimulates both itself and the production of inhibitor (v). The inhibitor suppresses the activator, but diffuses faster. Result: "spots" of activator surrounded by "seas" of inhibitor.

Conditions for Turing instability: (1) the homogeneous equilibrium is stable without diffusion; (2) D_v >> D_u (the inhibitor diffuses significantly faster); (3) the activator is self-enhancing (∂f/∂u > 0 at equilibrium).

03

Agent-Based Modeling and Simulation

Cellular automata, ABM models, and emergent behavior in multi-agent systems

Agent-Based Modeling: From Cellular Automata to ABM

Cellular Automata (CA) → Agent-Based Modeling (ABM) → ABM Platforms → ABM Applications → Numerical Example: Schelling on a 20×20 Grid

Agent-based modeling is a computational approach to studying complex systems “from the bottom up”: we specify the behavioral rules for individual agents and observe emergent system behavior. This approach enables the study of systems for which equations are too complex or unknown.

Model: a grid of cells, each in one of a finite number of states. Discrete time. The next state of a cell is a function of its neighbors' states. Formally: $s_{t+1}(i,j) = f(s_t(N(i,j)))$, where $N(i,j)$ is the neighborhood of cell $(i,j)$.

Conway’s Game of Life (1970): 2 states (alive/dead), 8 neighbors (Moore neighborhood). Rules: a live cell with 2–3 neighbors survives; with <2 — dies (loneliness); with >3 — dies (overcrowding); a dead cell with 3 neighbors — comes to life. Simple rules → incredible diversity: gliders, oscillator...

Wolfram’s Rule 30 and Rule 110: one-dimensional CA with 3 neighbors, 8 possible configurations → $2^8 = 256$ rules. Rule 110 is proven Turing-complete. Wolfram (“A New Kind of Science”, 2002): complex natural systems operate like CA.

Evolutionary Algorithms and Genetic Programming

Genetic Algorithm (GA) → Genetic Programming (GP) → Evolution Strategies (ES) for Continuous Optimization → Multiobjective Evolution (MOEA) → OpenAI ES and Neuroevolution → Numerical Example: GA for the Traveling Salesman Problem

Formulas

GA Extension: chromosomes are not strings, but syntactic trees (programs). Nodes = operators (+, –, sin, if). Leaves = variables and constants.GP Operations: tree crossover = exchange of random subtrees between parents. Mutation = replacement of a random subtree by a randomly generated one.

Evolutionary algorithms are optimization methods inspired by biological evolution. Where classical optimization methods (gradient descent, LP) fail—multimodal landscapes, combinatorial spaces, non-differentiable objectives—evolution finds good solutions.

Biological analogy: individuals in a population = solutions to the problem. Chromosome = encoding of the solution. Fitness = solution quality. Selection, crossover, mutation = search in the solution space.

GA Structure: 1. Initialization: random population of P chromosomes (strings of length L) 2. Evaluation: calculate fitness f(xᵢ) for each individual 3. Selection: select "parents" with probability ∝ f(xᵢ) (roulette wheel selection) or top-k (tournament selection) 4. Crossover: take two "parents,"...

Holland’s Schema Theorem: Schema = template H (string with symbols {0,1,*}). Length l(H) — position of the last specific symbol. Order o(H) — number of specific symbols. Short (small l), low-order, high-fitness schemata increase their frequency exponentially in the next generation. “Building bloc...

Collective Intelligence: Swarms, Flocks, and Consensus

Swarm Intelligence → Flock Movement Models → Collective Decision Making → Wisdom of the Crowd and Its Limits → Numerical Example: PSO for Rosenbrock Function

  • ·$v_i$ — "velocity" of the particle (direction and speed of movement)
  • ·$w$ — inertia (maintaining current direction)
  • ·$c_1 r_1 (p\_best_i - x_i)$ — "memory": attraction to the best position of this particle
  • ·$c_2 r_2 (g\_best - x_i)$ — "social influence": attraction to the best global position

Collective intelligence is the ability of a group to solve problems better than its individual members. Ants, bees, fish use decentralized algorithms without central control. These algorithms inspire AI, robotics, and decision theory.

Real ants search for food randomly. Having found it, they return, leaving behind a pheromone trail. Other ants follow the trail with a probability proportional to its intensity. Short paths → traversed faster → more pheromone → more ants → even more pheromone. Pheromone evaporation prevents getti...

$ P_{i}(u,v) = [\tau(u,v)]^\alpha \cdot [\eta(u,v)]^\beta / \sum_{w\in N_i(u)} [\tau(u,w)]^\alpha \cdot [\eta(u,w)]^\beta $

Here: $\tau(u,v)$ — pheromone on the edge, $\eta(u,v) = 1/d(u,v)$ — "attractiveness" (inverse distance), $\alpha$, $\beta$ — balancing pheromone and heuristic.

04

Critical Phenomena and Tipping Points

Self-organized criticality, phase transitions, and early-warning signals

Critical Phenomena, Self-Organized Criticality, and Tipping Points

Phase Transitions and Critical Points → Self-Organized Criticality (SOC) → Tipping Points in Complex Systems → Early Warning Signals → Numerical Example: Critical Slowing Down Before Collapse

  • ·Lakes with clear water → turbid (eutrophication): when the phosphorus load is exceeded → algal bloom → alternative stable state. Restoration requires reducing the load below the original threshold ...
  • ·Pastures → desert (desertification): with reduced rainfall/overgrazing → loss of vegetation → less evaporation → less rainfall → reinforcement.
  • ·Coral reefs → algal mats.
  • ·Increase in time series variance: Var[xₜ] → ∞
  • ·Increase in lag-1 autocorrelation: AR(1) → 1
  • ·Increase in skewness
  • ·Enhancement of flickering—switches between two states

Critical phenomena are phase transitions where a system abruptly changes its state. They are encountered in physics, ecology, finance, and climate. Understanding critical points is key to predicting and preventing catastrophic transitions. This is one of the most practically important topics in t...

First-order phase transition: latent heat, hysteresis, discontinuity of the order parameter at T = Tc. Boiling of water (liquid → vapor): an abrupt transition, the system "remembers" its history (hysteresis).

Second-order (continuous) phase transition: the order parameter changes continuously. The Ising transition at T = Tc: magnetization M → 0 continuously. Divergence of the correlation length ξ → ∞.

ξ ~ |T − Tc|^{−ν} (correlation length) χ ~ |T − Tc|^{−γ} (susceptibility) M ~ |T − Tc|^β (order parameter)

Complex Systems in Economics and Social Sciences

Complexity Economics → Financial Markets as Complex Systems → Network Economics and Market Platforms → Urban Complexity and Scaling Laws → Numerical Example: Scaling Law of Russian Cities

  • ·Fat tails of returns: $P(|r| > x) \sim x^{−\alpha}$, $\alpha \approx 3$ (“cubic tail law”)
  • ·Volatility clustering (GARCH effect): large fluctuations follow large ones
  • ·No autocorrelation of returns, but high autocorrelation of $|r_t|$ and $r_t^2$
  • ·Long memory of volatility: ACF($|r_t|$) declines as $t^{−\beta}$, $\beta \approx 0.2$
  • ·$\beta > 1$ (superlinear): salaries ($\beta=1.15$), patents/innovation ($\beta=1.27$), GDP ($\beta=1.13$), crime ($\beta=1.16$), disease ($\beta=1.23$)
  • ·$\beta < 1$ (subintensive): road length ($\beta=0.83$), number of gas stations ($\beta=0.77$), electricity consumption ($\beta=0.87$)

The application of ideas from complex systems theory to economics and the social sciences forms a new paradigm—“complexity economics”—as opposed to traditional equilibrium models. This paradigm better explains economic crises, inequality, and leaps in innovation.

Traditional neoclassical economics: agents are rational and homogeneous, markets strive for equilibrium, forecasting describes deviations around equilibrium. This picture is convenient mathematically, but poorly explains crises, inequality, and innovation.

Complexity economics (W. Brian Arthur, SFI, 1994–2020): agents have bounded rationality (Herbert Simon). Heterogeneous strategies: fundamentalists, technicians, trend-followers. Adaptive (not rational) expectations. The economy = a constantly evolving ecosystem, not an equilibrium mechanism.

SFI (Santa Fe) experiment: ABM stock market (Palmer et al., 1994): 100 trader-agents with varying strategies trade stocks. Strategies evolve via genetic algorithm (the best strategies survive). Results: technical traders (chartists) coexist with fundamentalists; volatility “clusters”; bubbles ari...

Management of Complex Systems and Resilience

Principles of Managing Complex Systems → Ecosystem Resilience → Managing the Climate System → Resilience Thinking in Policy → Numerical Example: Resilience to Cascading Failures

Management of complex systems fundamentally differs from managing simple ones: traditional "command-control" approaches are often ineffective or counterproductive. Alternative strategies are required, based on an understanding of systemic principles.

Principle 1: Diversity = Resilience. Monocultures are vulnerable to shocks. Monopoly companies—to technological shifts. One-party states—to crises. Diversity of agents, strategies, institutions is a source of resilience. "Antifragility" (Taleb): diversity creates backup options.

Principle 2: Decentralization. Attempts to centrally manage a complex system create single points of failure. Distributed decision-making is more resilient to local failures. The Internet (decentralized architecture) vs telephone network (centralized): after the 9/11 attacks, the Internet survive...

Principle 3: Modularity. Dividing a system into modules with limited interactions reduces cascading effects. In finance: "firewalls" between banking sectors. In programming: microservice architecture. Violation: integration of banks and investment banks (Glass-Steagall repeal, 1999) → systemic ri...