A Mathematical Approach to Economic Analysis