How to use the simulator
- City A pop P1: 50k to 2,000k in steps of 50k (starts at 800k). Populations are in thousands.
- City B pop P2: the same range (starts at 400k).
- Distance d: 20 to 500 km in steps of 10 km (starts at 150 km).
- Predicted interaction I. The headline number, with the substitution written out underneath, for example "= (800 × 400) / 150²".
- Verdict line. Below the sliders, a sentence labels the result as a strong pull (I above 100), a moderate interaction (above 10) or a weak interaction (10 or less).
- Map panel. Cities A and B are drawn as circles whose area tracks population, joined by a flow line that thickens as interaction grows and labelled with the distance.
- Distance-decay graph. Interaction plotted against distance from 20 to 500 km, with a dot at your current distance.
The key ideas
- Double one population and I doubles. Double both and I is four times as large.
- Double the distance and I falls to one quarter, because . Triple it and I falls to one ninth.
- Some textbooks divide by rather than . Either version gives the same pattern: interaction rises with population size and falls with distance.
- Friction of distance. Distance costs time and money, so it discourages interaction.
- Time-space compression. Faster transport and communication weaken the effect of distance, so real-world interaction falls off more slowly than the model predicts.
- Ravenstein's laws of migration. Most migrants travel short distances, and large cities attract migrants, which matches the model's two inputs.
Worked example
Common mistakes on the AP exam
- Treating distance as linear. In the squared version, doubling distance cuts interaction to a quarter, not a half.
- Adding populations instead of multiplying. The model uses . With the product, one very small place keeps the interaction small, however big the other place is.
- Reading I as a real count. The output is a comparative index, useful for ranking pairs of places, not a prediction of exactly how many people will move.
- Ignoring what the model leaves out. If a question asks why real flows differ from the prediction, name a specific factor: an international border, a shared language, intervening opportunities or an improved transport link.
- Mixing up distance decay and time-space compression. Distance decay is the drop in interaction with distance. Time-space compression is the shrinking of that effect as technology improves.