Brent Method Calculator
Brent’s method (golden section plus inverse parabolic interpolation) for a minimum of a polynomial, sin, or exp on [a, b]. Same engine as One-Dimensional Optimization. Not root-finding Brent. Runs locally.
Trust summary Engine tested · Specification checked · 11/11 tests · Production surface contract 2/2 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- xmin and fmin of poly, sin, or exp on [a, b] by Brent’s 1-D minimizer.
- Scope
- Minimize only
- Verification
- Engine tested · 11/11 tests · Production surface contract 2/2 · Specification checked · v1.0.0
- Named expert review
- Optional · Not performed
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 3 golden · 2 boundary · 6 property · Production surface contract 2/2 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
- Semantic contract
- PASS
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. Golden section lives on the sibling discovery URL.
Read xmin and fmin
An exact minimizer is shown when f is poly of degree ≤ 3, sin, or exp.
Example calculations
Common configurations with formula and result.
min (x−1)² on [0, 3]
coeffs 1,−2,1
min sin on [π, 2π]
interior min
Brent Method calculator specification
Version 1.0.0 · Engine tested
- Engine tested 11/11 tests · Production surface contract 2/2
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- Brent’s 1-D minimizer combines golden-section search with inverse parabolic interpolation on a bracket [a, b]. This page is method=brent on math.numerical.optimize_1d. Not Brent root-finding. Not a second optimizer.
- What it calculates
- xmin and fmin of poly, sin, or exp on [a, b] by Brent’s 1-D minimizer.
- Inputs
- integrand
- a
- b
- tol?
- coeffs?
- Outputs
- xmin
- fmin
- exact_xmin
- exact_fmin
- n_eval
- Formula
Brent (golden section + inverse parabolic interpolation)- Assumptions
- Minimize only
- Not root-finding Brent, not Nelder–Mead, not CAS
- Units
- dimensionless
- Boundary conditions
- a ≥ b → INVALID_INPUT
- unknown method (including nelder) → INVALID_MODE
- Example
- brent poly 1,-2,1 on [0,3] → xmin=1
- Validation cases
2 published on this page · 11/11 tests · Production surface contract 2/2 · View evidence
- integrand=poly coeffs=1,-2,1 a=0 b=3 → exact_xmin=1
- method=nelder integrand=sin a=0 b=1 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.0
Related tools
Other calculators in this family: Definite Integral Calculator, Gauss Quadrature Calculator, Golden Section Search Calculator, Numerical Derivative Calculator, Numerical Interpolation Calculator, Numerical Root Calculator, One-Dimensional Optimization Calculator, Simpson Rule Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Is this Brent’s method for roots?
No. Root-finding Brent is out of scope. This page minimizes a scalar on [a, b]. Numerical roots live on /calc/math/numerical-root.
Is this a second optimization engine?
No. It is method=brent on math.numerical.optimize_1d, the same engine as /calc/math/one-dimensional-optimization.