The origins of quasi-concavity: a development between mathematics and economics