Mathematics / Brent-Dekker Method
FREE TO EXPLORE
LABORATORY 08 · MATHEMATICS

Brent-Dekker Method lab report

A worked brent-dekker method lab report with iteration data tables, logarithmic graphs, calculations, uncertainty and conclusions.

WORKED EXAMPLE · BENCHMARK OBSERVATIONS

A complete example laboratory report.

Simulated demonstration data.

This report illustrates formal numerical analysis, iteration tracking, and convergence rate extraction. Replace its observations with your own computational telemetry when preparing a practical submission.

Student: __________________Student ID: __________________Course: __________________Date: __________________Partner: __________________Instructor: __________________

1. Title and aim

Robust Guaranteed Superlinear Convergence of the Brent-Dekker Algorithm. Determine the root of transcendental equation f(x) = e^x − 3x² = 0 on [0.5, 1.5] using the Brent-Dekker hybrid algorithm, investigate dynamic switching heuristics between Bisection, Secant, and Inverse Quadratic Interpolation (IQI), and extract the superlinear IQI convergence order α ≈ 1.839 via logarithmic linear regression.

2. Abstract

Six computational trials were executed across standardized inputs k = 1.0 to k = 6.0 for Robust Guaranteed Superlinear Convergence of the Brent-Dekker Algorithm. An ordinary least-squares regression yielded an empirical Superlinear Convergence Order α of 1.839 (difference from theoretical reference = 0.0000%). The empirical telemetry conclusively validates the theoretical model and complexity scaling with R² = 1.000000.

3. Apparatus and fixed settings

4. Theory and graph choice

The Brent-Dekker algorithm—often referred to simply as Brent's method—is widely celebrated as the crowning achievement in one-dimensional root-finding. In the early decades of scientific computing, numerical analysts faced an intractable dilemma: bracketing algorithms like bisection were guaranteed to converge unconditionally from any starting interval, but their linear convergence (rate = 0.5) was painfully sluggish. Conversely, open methods like Newton-Raphson and the secant method boasted dazzling quadratic and superlinear convergence speeds, but were prone to catastrophic failure: vanishing derivatives, wild extrapolations, infinite limit cycles, and outright divergence. In 1969, Dutch mathematician Theodorus Dekker took the first major step toward synthesizing these approaches by combining bisection with linear interpolation. However, Dekker's method could still stall on pathological functions. In 1973, Australian computer scientist Richard P. Brent published his landmark monograph 'Algorithms for Minimization without Derivatives', introducing a masterfully robust hybrid framework. Brent's algorithm combines three distinct numerical strategies: (1) Bisection for foolproof global safety; (2) the Secant method for two-point linear acceleration; and (3) Inverse Quadratic Interpolation (IQI) for three-point parabolic acceleration. Instead of fitting y as a function of x and solving a quadratic equation (which requires radicals), IQI treats x as a quadratic polynomial in y: x = Q(y). Setting y = 0 yields the root estimate Q(0) in a single direct evaluation without square roots. What elevates Brent's method into an algorithmic masterpiece is its rigorous decision logic: it monitors five strict mathematical conditions governing step size and bracket reduction. If an IQI or secant step attempts to project outside the bracket, or fails to decrease the interval width by at least half over two consecutive iterations, the algorithm immediately overrides the interpolation and forces a bisection step. Consequently, Brent's method guarantees that in the worst possible mathematical case, it converges no slower than bisection, while in standard scientific practice it converges at the superlinear Tribonacci order α ≈ 1.839 with only one function evaluation per step. Today, Brent's method serves as the default industry-standard root-finding engine in software environments worldwide, including MATLAB (fzero), SciPy (brentq), and GNU Octave. In this computational laboratory, students investigate Brent's method applied to the transcendental equation f(x) = e^x − 3x² = 0 on [0.5, 1.5], trace the dynamic transitions between bisection and IQI, and extract the empirical convergence order α = 1.839 via logarithmic linear regression.

\ln(\varepsilon_{k+1}) = \alpha \cdot \ln(\varepsilon_k) + \ln(C) \implies \alpha \approx 1.839

The mathematical regression linearizes the relationship into the form y = mx + b. Here, the independent variable x represents Natural Log of Current Error ln(ε_k), and the dependent variable y represents Natural Log of Next Error ln(ε_{k+1}). The slope m directly extracts Superlinear Convergence Order α, while the intercept b accounts for residual baseline offsets.

5. Method

  1. Evaluate f(0.5) = +0.89872 > 0 and f(1.5) = −2.26831 < 0. Bolzano's theorem guarantees a root in [0.5, 1.5]. Assign a = 0.5, b = 1.5, c = a.
  2. Because f(a) ≠ f(c) does not hold (only two points available), execute 2-point secant interpolation. Candidate step s = b − f(b)·(b − a)/(f(b) − f(a)) = 1.5 − (−2.268)·(1.0)/(−3.167) = 0.7836. Check Brent conditions: s is within bounds and step size is acceptable; accept secant step.
  3. Now three distinct points exist: a, b, c with f(a), f(b), f(c) all distinct. Execute Inverse Quadratic Interpolation (IQI) fitting x as a quadratic in y. Candidate root yields b₂ = 0.9150.
  4. Evaluate f(b₂) = −0.0152. IQI conditions hold: iteration 3 yields b₃ = 0.910020 (ε₃ = 1.24 × 10⁻⁵); iteration 4 yields b₄ = 0.91000758 (ε₄ = 7.5 × 10⁻⁹).
  5. Iteration 5 yields b₅ = 0.910007572489 with ε₅ = 2.0 × 10⁻¹⁶. Algorithm terminates satisfying tolerance |b − a| ≤ 2·ε_mach·|b| + tol.
  6. Perform ordinary least-squares regression of ln(ε_{k+1}) against ln(ε_k) during the IQI phase. Extract empirical slope α = 1.83928, verifying the theoretical superlinear IQI convergence order α ≈ 1.839.

6. Observations and calculation table

All iterative observations use strictly controlled 64-bit IEEE 754 precision buffers. Residuals are computed relative to the ordinary least-squares regression line.

Table 1. Six simulated observations; x and y represent transformed mathematical metrics.
No.Iteration Step k (steps)Updated Estimate b_{k+1} ()Natural Log of Current Error ln(ε_k)Natural Log of Next Error ln(ε_{k+1})Fitted yResidual
11.01.0-1.4000-2.6800-2.6800-0.0000
22.02.0-2.6800-5.0339-5.03390.0000
33.03.0-5.0339-9.3627-9.36270.0000
44.04.0-9.3628-17.3236-17.3236-0.0000
55.05.0-17.3236-31.9635-31.9635-0.0000
66.06.0-31.9634-58.8861-58.88610.0000

Download the sample observations (CSV) ↓

7. Worked calculation for one observation

For step k = 1.0: Current coordinate x = -1.4000. Mathematical model response y = -2.6800. Output reading: 1.0000.

8. Graph, gradient and final calculation

-67.32-35.63-49.05-26.16-30.78-16.68-12.52-7.215.752.27Natural Log of Current Error ln(ε_k)Natural Log of Next Error ln(ε_{k+1})

Circular markers represent empirical computational observations. The solid line represents the ordinary least-squares linear fit.

x̄ = -11.29395; ȳ = -20.87497
Σ(x − x̄)² = 678.59079
Σ(x − x̄)(y − ȳ) = 1247.92903
m = Σ(x − x̄)(y − ȳ) / Σ(x − x̄)² = 1.83900083
b = ȳ − mx̄ = -0.10538320
ln(ε_(k+1)) = 1.8390 · ln(ε_k) + -0.1054 ⟹ α = 1.839 (theoretical α = 1.839)

9. Uncertainty and comparison

Percentage difference = |estimate − theoretical value| / |theoretical value| × 100 = 0.0000%.

For n = 6 observations, Σresidual² = 1.5456e-09; s² = Σresidual²/(n − 2). Gradient standard error = √[s²/Σ(x − x̄)²] = 7.5460e-07. Intercept standard error = √[s²(1/n + x̄²/Σ(x − x̄)²)] = 1.1706e-05.

Propagating the fit parameters yields a fit standard error of 7.5460e-07 , with an ideal coefficient of determination R² = 1.000000.

In computational mathematics and numerical analysis, errors arise from algorithmic discretization, finite precision IEEE 754 floating-point arithmetic (machine epsilon ε_mach ≈ 2.22 × 10⁻¹⁶ for 64-bit double precision), and condition number propagation. The ordinary least-squares fit across n = 6 standardized observations provides standard errors for the gradient and intercept. Because the mathematical recurrence is evaluated with high numerical precision, the residual sum of squares is vanishingly small, yielding a coefficient of determination R² ≥ 0.999999 and confirming the theoretical mathematical model.

10. Result and discussion

Superlinear Convergence Order α = 1.839
Theoretical reference value: 1.839

The empirical benchmark observations provide rigorous quantitative verification of Robust Guaranteed Superlinear Convergence of the Brent-Dekker Algorithm. In numerical analysis, scientific computing, and computational mathematics, algorithms are characterized by their asymptotic operational scaling, stability, and convergence rates. Across all six observations, the empirical slope m = 1.8390 confirms the theoretical model with near-zero residual variance. Furthermore, comparison with alternative algorithmic paradigms underscores critical trade-offs between memory footprint, condition number sensitivity, and operational throughput. The algorithm's behavior confirms the mathematical predictions established by numerical analysis literature.

11. Precautions and limitations

Requires an initial bracketing interval [a, b] with a sign change; cannot find roots without a bracket. The numerical simulation model evaluates the root of f(x) = e^x − 3x² = 0 on the initial bracket [a₀, b₀] = [0.500, 1.500]. Analytical root: x* = 0.910007572488789... Iteration sequence: step 1 uses Secant, yielding b₁ = 1.000000 (ε₁ = 0.089992); step 2 activates IQI, yielding b₂ = 0.915000 (ε₂ = 0.004992); step 3 executes IQI, yielding b₃ = 0.910020 (ε₃ = 1.243 × 10⁻⁵); step 4 executes IQI, yielding b₄ = 0.910007580 (ε₄ = 7.511 × 10⁻⁹); step 5 yields b₅ = 0.910007572489 (ε₅ = 2.015 × 10⁻¹⁶). Logarithmic coordinates during the IQI phase: x = ln(ε_k) = [−1.4000, −2.4080, −5.3000, −11.3000] and y = ln(ε_{k+1}) = [−2.4080, −5.3000, −11.3000, −18.7073]. Ordinary least-squares linear regression on these coordinates produces an empirical slope α = 1.83928 and intercept ln(C) = −0.1054 with Pearson correlation coefficient R² = 0.999999998. The empirical convergence order α = 1.83928 matches the theoretical Tribonacci IQI order α = 1.839287 within 0.0004% relative difference.

12. Conclusion

This computational laboratory investigation quantitatively verified the mathematical formulation and asymptotic scaling of Robust Guaranteed Superlinear Convergence of the Brent-Dekker Algorithm. Through rigorous tracking across six observation points, we confirmed an empirical Superlinear Convergence Order α of 1.839 matching the theoretical reference 1.839 within 0.0000% error. The investigation demonstrates why this method serves as an indispensable tool in modern computational science.