Mathematical Analysis and Optimization for Economists