Sphere function
In mathematical optimization, the sphere function is a convex function used as a performance test problem for optimization algorithms. The sphere function was proposed by Kenneth A. De Jong in 1975 as the first item of a series of computational test sets. Because of this, the sphere function is also collectively referred to as De Jong's function or De Jong's first function. On a n -dimensional domain it is defined by f((x_1, x_2, \dots, x_n))=\sum_{i=1}^{n}x_{i}^{2}. The function is typically evaluated on the domain x_{i} \in [-5.12,5.12] for all 1 \leq i \leq n . It has a global minimum of zero at x_{i}=0. It is a separable function; that is, it can be expressed as a product of functions in one variable. The sphere function is used as a benchmark problem to measure algorithms' precision, convergence rate, and robustness, specifically over how well the algorithm handles the function's smooth nature. Several variants of the sphere function are also used, including the Rastrigin function.
In mathematical optimization, the sphere function is a convex function used as a performance test problem for optimization algorithms. The sphere function was proposed by Kenneth A. De Jong in 1975 as the first item of a series of computational test sets. Because of this, the sphere function is also collectively referred to as De Jong's function or De Jong's first function. On a n -dimensional domain it is defined by f((x_1, x_2, \dots, x_n))=\sum_{i=1}^{n}x_{i}^{2}. The function is typically evaluated on the domain x_{i} \in [-5.12,5.12] for all 1 \leq i \leq n . It has a global minimum of zero at x_{i}=0. It is a separable function; that is, it can be expressed as a product of functions in one variable. The sphere function is used as a benchmark problem to measure algorithms' precision, convergence rate, and robustness, specifically over how well the algorithm handles the function's smooth nature. Several variants of the sphere function are also used, including the Rastrigin function.
References
No reference rows published for this article.
Cite this article
MLA
"Sphere function." encyclopegia.org, 2026, https://encyclopegia.org/wiki/sphere-function. Accessed 24 November 2026.
Chicago
"Sphere function." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/sphere-function.
APA
encyclopegia.org. (2026). Sphere function. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/sphere-function
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON