An analysis of the ability-to-pay principle of taxation