Optimization and Stability Theory for Economic Analysis: DYNAMICS AND STABILITY