It is time for a science of how city growth affects society and environment, say Luis Bettencourt and Geoffrey West.