# Gas stations and population

The larger a city is, the more gas stations it will have. On average, there ought to be some kind of quantitative relationship between the number of gas stations , and the population of a city or state. This kind of information is potentially important to companies trying to decide if a given neighbourhood, city, or region should be considered for additional outlets.

In this step we will look at an unusual power law that connects the number of gas stations to population.

## Things are not always linear

One might expect that if a city doubles in size, the number of gas stations it needs also doubles. But this turns out not to be the case: rather a kind of increased efficiency arises, and the number of gas stations increases only by about . The relation between gas stations and population has been found to be something like

for some constant . This explains the above observation about doubling the number of gas stations, since .

But many questions arise. What is a good value for the constant , and does it depend on what region we are in? Does the law work not just for cities, but states/provinces as well? What about entire countries?

## Petrol stations in your town

The town of Taree in New South Wales, Australia, has 12 petrol stations (in Australia gas stations are called petrol stations) and a population of 49,000. That works out to be about one gas station for every 4000 inhabitants.

We can use this data in formula to find that

which gives . Now that is assuming that the law holds with the exponent , which is a big assumption. In fact it might be different depending on the town.

The power law relation holds precisely when a linear relationship holds between and . In fact, if we apply the natural logarithm to both sides of equation we obtain

which is indeed a linear relationship between and . So, we can check if the exponent is appropriate by plotting for a few known data points.

## Discussion

What is the population of your city and how many gas/petrol stations are there? If we fit this into the simple model given by , what is your value of ?

If you have some more energy, please calculate the pair and tell us what it is.

Then let’s see if we can collectively plot these data points (which will be essentially what we call a log-log graph) and make some conclusions about the correct form of a power law. Is the power of accurate? Or has petrol consumption changed?

And then we can collectively publish a paper in the renowned

Journal of Petrol, Population, and Power Laws!

© UNSW Australia 2015