"Optimization then amounts to finding the zeros of..."
http://people.duke.edu/~ccc14/sta-663/OptimizationInOneDimen...