Problem 71
Question
Exercises 71 and 72 utilize a minimization algorithm called the Golden Ratio Search. Let \(\rho\) denote the Golden Ratio, \((\sqrt{5}-1) / 2 .\) Let \(r=\rho /(\rho+1) \approx 0.381966 .\) Suppose that \(f\) is continuous on \(I=\left[a_{1}, b_{1}\right],\) has a minimum at \(c\) in \(\left(a_{1}, b_{1}\right),\) is decreasing on \(\left(a_{1}, c\right),\) and is increasing on \(\left(c, b_{1}\right) .\) (Such a function is said to be unimodal.) Let \(\Delta x_{1}=b_{1}-a_{1}\), let \(a_{2}=\alpha_{1}\) and \(b_{2}=b_{1} .\) Repeat the procedure, letting \(\Delta x_{2}=b_{2}=a_{2} \equiv \rho \Delta x_{1} \quad \alpha_{2}=a_{2} \neq r, \Delta x_{2},\) and \(\beta_{2}=b_{2}=r, \Delta x_{2}\). Calculate \(f\left(\alpha_{2}\right)\) and \(f\left(\beta_{2}\right) .\) (From the point of view of efficiency, it is useful to observe that one of these two values has been computed in the last step: If \(a_{2}=a_{1},\) then \(\beta_{2}=\alpha_{1} ;\) if \(a_{2}=\alpha_{1},\) then \(\left.\alpha_{2}=\beta_{1} .\right)\) If \(f\left(\alpha_{2}\right)>f\left(\beta_{2}\right),\) then let \(a_{3}=a_{2}\) and \(b_{3}=\beta_{2} .\) Otherwise, let \(a_{3}=\alpha_{2}\) and \(b_{3}=b_{2} .\) Repeat the procedure. After every step, the point \(c\) is in the interval \(I_{n}=\left[a_{n}, b_{n}\right]\). Because \(b_{n}=a_{n}=\rho^{n=1} \cdot(b-a),\) the midpoint) \(c_{n}=\left(a_{n}+b_{n}\right) / 2\) of \(I_{n}\) satisfies \(\left|c-c_{n}\right| \leq \rho^{n-1} \cdot(b-a) / 2 .\) Thus \(n\) can be chosen large enough so that \(c_{n}\) approximates \(c\) with any specified accuracy. For the given function \(f\) on [0,1] ), locate \(c\) to two decimal places. \(f(x)=3-2 \sqrt{x}+x^{3}\)
Step-by-Step Solution
VerifiedKey Concepts
Unimodal Functions
- Unimodal functions decrease to a point called the minimum (or increase to a point called the maximum), and then increase (or decrease) again.
- This characteristic makes them predictable and easy to work with when trying to find local extrema.
Numerical Optimization
- Numerical optimization is important in situations where we only have access to function evaluations, and the function may not even have a derivative that is easy to compute or that exists at all points.
- Methods like the Golden Ratio Search are derivative-free, meaning they do not require the computation of derivatives, focusing instead on evaluating the function at strategically chosen points.
Calculus
- Calculus provides tools to find critical points of a function by setting the derivative to zero, thereby finding where the function transitions from increasing to decreasing — or vice versa.
- For a deeper comprehension of minimization, calculus principles outline why certain algorithms can succeed, by showing how functions naturally tend to their minima or maxima.