Rosenbrock function
In mathematical optimization, the Rosenbrock function is a non-convex function, introduced by Howard H.[src] Rosenbrock in 1960, which is used as a performance test problem for optimization algorithms.[src] It is also known as Rosenbrock's valley or Rosenbrock's banana function.[src] The global minimum is inside a long, narrow, parabolic-shaped flat valley.[src] To find the valley is trivial.[src] To converge to the global minimum, however, is difficult.[src] The function is defined by : f(x,y) = (a-x)^2 + b(y-x^2)^2 It has a global minimum at (x,y)=(a,a^2) , where f(x,y)=0 .[src] Usually, these parameters are set such that a = 1 and b = 100 .[src] Only in the trivial case where a=0 the function is symmetric and the minimum is at the origin.[src]
In mathematical optimization, the Rosenbrock function is a non-convex function, introduced by Howard H.[src] Rosenbrock in 1960, which is used as a performance test problem for optimization algorithms.[src] It is also known as Rosenbrock's valley or Rosenbrock's banana function.[src] The global minimum is inside a long, narrow, parabolic-shaped flat valley.[src] To find the valley is trivial.[src] To converge to the global minimum, however, is difficult.[src] The function is defined by f(x,y) = (a-x)^2 + b(y-x^2)^2 It has a global minimum at (x,y)=(a,a^2) , where f(x,y)=0 .[src] Usually, these parameters are set such that a = 1 and b = 100 .[src] Only in the trivial case where a=0 the function is symmetric and the minimum is at the origin.[src] ==Multidimensional generalizations== Two variants are commonly encountered.[src] One is the sum of N/2 uncoupled 2D Rosenbrock problems, and is defined only for even N s: f(\mathbf{x}) = f(x_1, x_2, \dots, x_N) = \sum_{i=1}^{N/2} \left[100(x_{2i-1}^2 - x_{2i})^2 + (x_{2i-1} - 1)^2 \right].[src] This variant has predictably simple solutions.[src] A second, more involved variant is f(\mathbf{x}) = \sum_{i=1}^{N-1} [100 (x_{i+1} - x_i^2 )^2 + (1-x_i)^2] \quad \mbox{where} \quad \mathbf{x} = (x_1, \ldots, x_N) \in \mathbb{R}^N.[src] has exactly one minimum for N=3 (at (1, 1, 1) ) and exactly two minima for 4 \le N \le 7 — the global minimum at (1, 1, ..., 1) and a local minimum near \hat{\mathbf{x}} = (-1, 1, \dots, 1) .[src] This result is obtained by setting the gradient of the function equal to zero, noticing that the resulting equation is a rational function of x .[src] For small N the polynomials can be determined exactly and Sturm's theorem can be used to determine the number of real roots, while the roots can be bounded in the region of |x_i| .[src] For larger N this method breaks down due to the size of the coefficients involved.[src] ==Stationary points== Many of the stationary points of the function exhibit a regular pattern when plotted.[src] This structure can be exploited to locate them.[src] ==Optimization examples== The Rosenbrock function can be efficiently optimized by adapting appropriate coordinate system without using any gradient information and without building local approximation models (in contrast to many derivate-free optimizers).[src] The following figure illustrates an example of 2-dimensional Rosenbrock function optimization by adaptive coordinate descent from starting point x_0=(-3,-4) .[src] The solution with the function value 10^{-10} can be found after 325 function evaluations.[src] Using the Nelder–Mead method from starting point x_0=(-1,1) with a regular initial simplex a minimum is found with function value 1.36 \cdot 10^{-10} after 185 function evaluations.[src] The figure below visualizes the evolution of the algorithm.[src] ==References== ==External links== Rosenbrock function plot in 3D[src]
34 sentences · 34 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Rosenbrock function." encyclopegia.org, 2026, https://encyclopegia.org/wiki/rosenbrock-function. Accessed 26 November 2026.
Chicago
"Rosenbrock function." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/rosenbrock-function.
APA
encyclopegia.org. (2026). Rosenbrock function. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/rosenbrock-function
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON