Section 30.1 Basic concepts of optimization
Optimization may be naturally stated as search for maximum (for example, maximum profit) or minimum (minimum cost). But since every point of maximum of a function f is also a point of minimum of βf, it is enough to study the minimization problem. Suppose f:EβR is a real-valued function on some set EβRd. The function attains its global minimum at pβE if f(x)β₯f(p) for all xβE. It is possible to have several points of global minimum, for example f(x)=sinx on the interval [0,4Ο] attains global minimum of β1 at the points x=3Ο/2 and x=7Ο/2. The Extreme Value Theorem states that if f is a continuous function and the set E is closed (includes all its boundary points) and bounded (is contained in some cube), then there is a point pβE at which f attains its global minimum. A function f attains its local minimum at pβE if there exists r>0 such that f(x)β₯f(p) for all xβE such that |xβr|<r. That is, there exists a neighborhood of point p such that the smallest value of f in that neighborhood is f(p). A major source of difficulty of optimization is searching for global minimum and finding only a local one. There is no universal recipe for avoiding this problem. Consider the function f(x)=sinx+sinβ2x on some long interval such as [β100,100]. Where is its global minimum? There is no reliable and efficient way to find it. A function that has only one point of local minimum on some set is called unimodal. For example, f(x)=x2βx is unimodal on the interval [0,2] but f(x)=xβx2 is not (according to our definition; when people focus on maximum instead of minimum, the situation is reversed). Working with unimodal functions is much easier because our algorithm is much more likely to find minimum. A function is convex (also called βconcave upβ in calculus) if its graph lies below its secant lines, meaning
f((1βt)a+tb)β€tf(a)+(1βt)f(b),0<t<1
A function is strictly convex if the inequality (30.1.1) is strict. Such a function is unimodal on any interval. (Can you find a unimodal function that is not convex?)
Also, f is called concave (in calculus, βconcave downβ) if the sign of inequality in (30.1.1) is reversed.