TL;DR
A power law relates two quantities by , where is a fixed scale, is the input, and is a fixed exponent. The defining feature is that the relationship looks the same at every scale: multiplying by any factor multiplies by , whatever value started from. Plotted on logarithmic axes, a power law is a straight line whose slope is the exponent.
Where you'll see it: in the sizes of cities, in the frequencies of words in a language, in the energy released by earthquakes, in the spread of incomes, and in how neural network test error falls as models grow.
Intuition
Same shape at every scale
Suppose the area of a square tile is when its side is . Double the side and the area goes up by 4. Double it again and it goes up by 4 again, whether the side started at 1 metre or at 1000. An exponent that never changes is what gives this scale-free behaviour. An Exponential Function, by contrast, multiplies by a fixed factor for each added unit of input (say, each extra metre), not for each doubling of the input.
Why does this matter? Many natural and social systems have no typical size. A few cities are huge, many are small, and the ratio between the biggest and the tenth-biggest is about the same as the ratio between the tenth and the hundredth. A power law describes that pattern in one line.
- exponent 2
- exponent 1
- exponent 1/2
Why a straight line on log axes
Take the Logarithm of both sides of . The logarithm turns products into sums and powers into multiples, so . This has the form of a straight line in the variables and , with intercept and slope . So if you plot data on log-log axes and see a straight line, a power law is a good candidate, and its slope tells you the exponent. Scientists use this as a first diagnostic, although, as the tradeoffs section explains, it is easy to fool.
The math
Definition
A relationship , where is a constant scale, is a constant exponent (any real number), and is the input. Here is the independent variable and is the quantity it determines.
The exponent can be positive (growth), negative (decay), or fractional (a root). A negative exponent such as describes something that falls as the input grows: double and halves. The restriction is needed so that is defined for non-integer .
Scaling property
Substitute for :
This is the whole point. The output ratio does not depend on . For the ratio is , so the outputs at , and form a geometric pattern with a fixed multiplier, no matter where you start. An exponential function, , has a fixed ratio for each unit step of instead, and the ratio depends on the step size. That is the key contrast with exponential growth.
The log-log test
Taking logs gives
If two measurements and come from a power law, then the slope between their logs is
Use any base for the logarithm, as long as it is the same for and . The result is the exponent, independent of the base, because the base cancels in the ratio.
Tails and the Pareto form
A common form for heavy-tailed data is the survival function (the chance of exceeding a value). For the Pareto distribution with minimum and shape ,
This is a power law in with exponent . Doubling multiplies the chance of exceeding it by . Smaller means a heavier tail: the mean of the distribution is infinite when .
Worked examples
Suppose measurements give at and at . Assume a power law.
- Compute the ratio of outputs: .
- Compute the ratio of inputs: .
- Use the scaling property. Doubling multiplied by 4, so .
- Solve: .
- Find the scale: .
- Check with logs, using base 2. The point on the fitted law and the point give of and and of and . The slope is , matching .
Interpretation: the quantity behaves like twice the square of the input. Any other value of can now be predicted, for example .
In a large English text, the most frequent word appears about 60,000 times. A simple model says the frequency of the word with rank is . This is a power law with and exponent .
- Rank 1: .
- Rank 2: . Doubling the rank halves the frequency.
- Rank 10: .
- Rank 100: . From rank 10 to rank 100 is a factor of ten in rank, and the frequency also drops by a factor of ten.
Interpretation: a handful of words account for most of the text, and a long tail of rare words makes up the rest. Real corpora deviate from at the extremes, but the straight-line pattern on log-log axes holds well across the middle ranks. That is the practical lesson: a single exponent describes a very wide range of ranks.
Tradeoffs and failure modes
Power laws are easy to describe and surprisingly easy to misidentify. The main risks are listed below.
| Situation | Problem | Better choice |
|---|---|---|
| A straight line on log-log axes | Lognormal, exponential and other curves can look nearly straight over one or two decades | Compare against several candidate distributions with a likelihood ratio test |
| Fitting a line to log-transformed data by least squares | Large values are noisy on a log scale and the fit is biased | Maximum likelihood estimation of the exponent |
| Using the power law far outside the observed range | Real systems have cutoffs; the tail is often thinner than the model says | State the range over which the law was checked |
| Tail exponent or | The mean or variance is infinite, so averages and standard errors are misleading | Use medians, quantiles, or a robust summary |
| Assuming the law is causal | A power law says nothing about the mechanism that produced it | Test a generative story (preferential attachment, for example) separately |
The rule of thumb is that a power law needs evidence across many orders of magnitude before you accept it, and a plot alone does not provide that.
History
Vilfredo Pareto studied the distribution of income in the late 1890s and reported that a large share of wealth belonged to a small share of people, with the tail following a power law. The distribution now bears his name. The idea became influential well beyond economics.
George Kingsley Zipf studied word frequencies and city sizes in the 1930s and 1940s, and his 1949 book argued that many rank-ordered quantities follow a similar law. The pattern is now called Zipf's law, and it is the most cited example of a power law in language.
In seismology, Beno Gutenberg and Charles Richter showed in the 1940s that the number of earthquakes above a given magnitude falls off roughly as a power of the energy released, a law that holds across many decades of energy. Later work on the rigorous statistical testing of power laws, by Aaron Clauset, Cosma Shalizi and Mark Newman, showed how often claims of power laws were overstated, and it set the standard for the careful checks described above.
Check yourself
QuestionA quantity follows . By what factor does change when is multiplied by 4?Show answer
The factor is . The scaling property says the ratio is with and . Check directly: if , then ; if , then , and .
QuestionTwo points on a power law are and . What is the exponent?Show answer
Use the slope formula with logs of any fixed base. The exponent is . Taking base 10: and , so the numerator is . The denominator is . So . The output falls by a factor of 10 when the input grows by a factor of 10.
QuestionWhy does a power law look like a straight line on log-log axes?Show answer
Taking logs gives , which has the form of a line in and , with slope and intercept . Logarithms turn the power into a multiple, which is linear.
QuestionWhy is a straight line on a log-log plot not enough evidence for a power law by itself?Show answer
Several other distributions, such as the lognormal, can look nearly straight over a limited range of values. A straight line over one or two orders of magnitude is weak evidence. A convincing claim needs the fit to hold across a much wider range and to beat rival models in a formal comparison.
QuestionA model of city sizes has a tail with Pareto shape . What goes wrong if you compute the average city size from a finite sample?Show answer
With the mean of the underlying distribution is infinite. The sample average keeps growing as you add larger cities, so it does not settle to a stable value. A median or a quantile is a better summary here, because it stays stable as the sample grows.