Mathematics Applications in Optimization Problems