The Golden Section Search Method
The Golden Section Search Method
1. If f (x1 ) < f (x2 ), then [a, b] := [a, x2 ], with interval size reduction
2. If f (x1 ) > f (x2 ), then [a, b] := [x1 , b], with interval size reduction
Thus, once we know c, we know the location of x1 and x2 . Without loss of generality, we focus on the case
f (x1 ) < f (x2 ). For the ease of calculation, take [a, b] = [0, 1].
If f (x1 ) < f (x2 ), then we recycle x1 = 1 − c and have to determine where to evaluate next, either at
the left, or at the right of 1 − c.
1. Suppose we place a new function evaluation at the left of x1 = 1 − c, then x1 is the right point of the
interval [0, c], and we write x1 in two ways (using the formula for x2 derived above with a = 0, b = c):
1 − c = (1 − c)0 + cc ⇒ c2 + c − 1 = 0 (3)
√
The positive root leads to c = (−1 + 5)/2, which equals approximately 0.6180.
2. Suppose we place a new function evaluation at the right of x1 = 1 − c, then x1 is the left point of the
interval [0, c], and we write x1 in two ways (using the formula for x1 derived above with a = 0, b = c):
The (double) root of this equation is 1, which gives no reduction, so we exclude this possibility.
Thus we have two rules. If f (x1 ) < f (x2 ), we keep x1 , which becomes x2 , and compute a new x1 using (2).
If f (x1 ) > f (x2 ), we keep x2 , which becomes x1 , and compute a new x2 using (1).
University of Illinois at Chicago, Department of Mathematics, Statistics and Computer Science page 1
MCS 471 The Golden Section Search Method Fall 2005
University of Illinois at Chicago, Department of Mathematics, Statistics and Computer Science page 2
MCS 471 The Golden Section Search Method Fall 2005
a =
0.6869
b =
0.6950
>>
References
[1] Ward Cheney and David Kincaid. Numerical Mathematics and Computing. Third Edition,
Brooks/Cole Publishing Company, 1994.
[2] Curtis F. Gerald and Patrick O. Wheatley. Applied Numerical Analysis. Seventh Edition, Addison-
Wesley, 2004.
[3] Floyd Hanson. MCS 471 Class Optimization Notes: Method of Golden Section Search. Available at
http://www.math.uic.edu/∼hanson/mcs471/classnotes.html.
University of Illinois at Chicago, Department of Mathematics, Statistics and Computer Science page 3