Golden Section Search Calculator
Golden-section search for a minimum of a polynomial, sin, or exp on [a, b]. Same engine as One-Dimensional Optimization. Not Brent, not multivariate. Runs locally.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published methods
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- all published methods
- Assurance
- Core
- Declared partition coverage
- PASS · 6/6 declared partitions (golden, brent, small-scale-quadratic, scaled-cubic-reference, numerical-range, invalid-domain) · Matrix
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- xmin and fmin of poly, sin, or exp on [a, b] by golden-section search, with an engine-linked figure of f and xmin.
- Scope
- The Result Card includes an engine-linked figure of f on [a, b] (marker is published xmin, fmin; full polynomial coefficients are returned in the result). Curve samples are illustrative binary64 evaluations; primary polynomial ordering uses exact dyadic intermediates.
- Verification
- Engine tested · Source checked · v1.0.5 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published methods· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.0.5 · CVP protocol 1.0.0-proposed · Evidence 2026-10-28.metric-scope-v3
- Verification revision
- 2026-10-28.metric-scope-v3 · 1/1 property · digest 085d65bae027
- Legacy regression
- 11/11 tests · Production surface contract 5/5
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 163/163 golden · 2/2 CVP boundary · 22/22 invalid · 1/1 property · 2/2 metamorphic · 7/7 cross-interface · 1/1 cross-calculator · 5/5 CVP contract · Manifest
- Evidence
- 3 legacy golden · 2 legacy boundary · legacy regression suite · 163/163 oracle-backed golden · 22/22 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter integrand and [a, b]
Poly needs coeffs. a must be strictly less than b.
Read xmin and fmin
An optional binary64 analytic baseline is shown when available; it is not an exact certificate. The figure shows f on [a, b] and xmin.
Example calculations
Common configurations with formula and result.
min x² on [−1, 2]
coeffs 0,0,1
min eˣ on [0, 1]
monotonic, left endpoint
Golden Section Search calculator specification
Version 1.0.5 · Engine tested
- Engine tested 11/11 tests · Production surface contract 5/5
- Named expert review Not performed
- Calculation version 1.0.5
- Definition
- Golden-section search shrinks [a, b] with ratio φ̂=(√5−1)/2 until the remaining interval is within tol. This page is method=golden on math.numerical.optimize_1d. Not a second optimizer. Not Brent.
- What it calculates
- xmin and fmin of poly, sin, or exp on [a, b] by golden-section search, with an engine-linked figure of f and xmin.
- Inputs
- integrand
- a
- b
- tol?
- max_iter?
- coeffs?
- Outputs
- xmin
- fmin
- exact_xmin
- exact_fmin
- n_eval
- Formula
golden-section search, φ̂=(√5−1)/2- Assumptions
- The Result Card includes an engine-linked figure of f on [a, b] (marker is published xmin, fmin; full polynomial coefficients are returned in the result). Curve samples are illustrative binary64 evaluations; primary polynomial ordering uses exact dyadic intermediates.
- Minimize only
- Not Brent / Nelder–Mead / CAS
- Units
- dimensionless
- Boundary conditions
- Nonfinite interval width, overflowing evaluations/results, exp underflow to zero or unsafe sin phase index → NUMERICAL_RANGE_ERROR
- a ≥ b → INVALID_INPUT
- unknown method (including nelder) → INVALID_MODE
- Example
- golden poly 0,0,1 on [-1,2] → xmin=0
- Validation cases
2 published on this page · 11/11 tests · Production surface contract 5/5 · View evidence
- integrand=poly coeffs=0,0,1 a=-1 b=2 → exact_xmin=0
- method=nelder integrand=sin a=0 b=1 → INVALID_MODE
- Sources
- ISO 80000-2:2019 Quantities and units — MathematicsSupports: Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.
- SciPy — minimize_scalarSupports: Golden-section and Brent-family scalar minimization methods, bounds, and local-minimum assumptions.
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.5
Background
Interpretation and common distinctions.
What does this golden section search calculator compute?
Golden-section search shrinks [a, b] with ratio φ̂=(√5−1)/2 until the remaining interval is within tol.
The published formula or method is golden-section search, φ̂=(√5−1)/2. The following references support the stated mathematics or method:
- SciPy — minimize_scalar: Golden-section and Brent-family scalar minimization methods, bounds, and local-minimum assumptions.
Which inputs and limits should you check?
These are scalar numerical minimizers. A local search or interval search does not establish a global minimum for an arbitrary multimodal function.
The worked example uses coeffs 0,0,1 with xmin = 0. Compare it with the Example calculations and the complete result for the same inputs.
How can you verify and cite this result?
CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.numerical.optimize_1d v1.0.5 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.
Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.
What do convergence and precision mean?
Use finite decimal numbers or decimal text. Method/function/bound/coefficient aliases must agree. Explicit empty fields and decimal conversion underflow are rejected. Coefficients accept2–9 constant-first entries as text or an array; degree at most8, constants use c0,0. Default tol=1e-8 and max_iter=100 apply only when absent; tol must be positive and at most1, max_iter an integer1–100.
Golden-section and bounded Brent assume a unimodal interval. Multimodal inputs may return a local candidate; no general global-minimum guarantee is made. The original closed-interval endpoints are compared with the search candidate. converged means the internal search bracket width met the requested absolute tol; it is not a proof of global accuracy. termination distinguishes tolerance, max_iter, and resolution_limit. The reported bracket is the internal search state; a selected original endpoint may lie outside that smaller bracket.
Exponential ordering uses monotonicity and sine comparisons use a stable difference identity to reduce rounded-value plateaus. Polynomial ordering uses exact dyadic intermediates of binary64 coefficients and trial points, so adding a large constant cannot erase the ordering of small polynomial variations. Coordinates retain binary64 precision to stay inside [a,b]; objective values and signed reference differences are published to12 significant digits. Required endpoint evaluations and final values outside nonzero/finite binary64 range are rejected. Sine/exponential values and the optional analytic baseline use binary64 library arithmetic; the legacy exact_xmin/exact_fmin fields name that baseline, not an exact certificate. Tied minima can have different valid locations. Plot samples are illustrative binary64 values and may be unavailable at extreme scales.
Calculations run locally in this page. Shared input URLs may appear in server or third-party logs; do not put sensitive data into a shared link. REST/MCP are remote services.
Related tools
Other calculators in this family: Brent Method Calculator, Definite Integral Calculator, Euler Method Calculator, Gauss Quadrature Calculator, Nonlinear Equation Calculator, Numerical Derivative Calculator, Numerical Interpolation Calculator, Numerical Root Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second optimization engine?
No. It is method=golden on math.numerical.optimize_1d, the same engine as /calc/math/one-dimensional-optimization.
Is this Brent or Nelder–Mead?
No. Brent is the sibling discovery URL. Nelder–Mead, gradients, and maximization stay INVALID_MODE.