This undergraduate textbook aims to introduce students of science and engineering to the fascinating field of optimization. It brings together mathematical programming, variational problems, and optimal control, thus giving students an overall view of the subject. Applied mathematicians, physicists, engineers, and scientists will all find this introduction to optimization useful.