Mathematics / Halley's Method
FREE TO EXPLORE
LABORATORY 09 · MATHEMATICS

Halley's Method lab report

A worked halley's 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

Householder Iterations and Cubic Convergence of Halley's Method. Determine the real root of f(x) = x³ − 7 = 0 (x* = ∛7 ≈ 1.912931) using Halley's second-order rational Householder method, evaluate second-derivative curvature corrections across successive iterates, and extract the cubic convergence order α = 3.000 via logarithmic linear regression.

2. Abstract

Six computational trials were executed across standardized inputs k = 1.0 to k = 6.0 for Householder Iterations and Cubic Convergence of Halley's Method. An ordinary least-squares regression yielded an empirical Cubic Convergence Order α of 3.000 (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

Halley's method, published in the Philosophical Transactions of the Royal Society in 1694 by the eminent English polymath Edmond Halley, is one of the most mathematically elegant high-order root-finding algorithms in numerical analysis. While Sir Isaac Newton and Joseph Raphson pioneered the use of the first derivative to approximate a function by its tangent line, Edmond Halley realized that linear approximations discard crucial information regarding the function's curvature. When a function curves sharply near a root, a tangent line can severely overshoot, projecting the next iterate far from the target. Halley addressed this by incorporating the second derivative f''(x) into the iterative update. Rather than fitting a tangent parabola (which leads to Chebyshev's method and can still suffer from poor non-local behavior), Halley constructed an osculating hyperbola that shares the same function value, first derivative, and second derivative as f(x) at the current point x_k. Solving for the X-intercept of this osculating hyperbola yields Halley's celebrated rational iteration formula: x_{k+1} = x_k − [2 f(x_k) f'(x_k)] / [2 (f'(x_k))² − f(x_k) f''(x_k)]. Alternately, Halley's formula can be derived by applying the classic Newton-Raphson method to the transformed function F(x) = f(x) / √|f'(x)|, whose inflection points and extrema are geometrically flattened. In the modern framework of Householder's family of iterative root-finders, Newton's method is the first-order member (d = 1, quadratic convergence), while Halley's method is the second-order member (d = 2, cubic convergence). The asymptotic error expansion of Halley's method reveals that both the first- and second-order error terms vanish identically, yielding the cubic error recurrence ε_{k+1} ≈ C · ε_k³. This cubic convergence means that the number of correct significant decimal digits triples at every iteration: an initial approximation with 2 correct digits advances to 6 correct digits in one step, 18 digits in two steps, and 54 digits in three steps—far exceeding standard 64-bit IEEE 754 double precision in a mere trio of evaluations. Furthermore, Halley's Ostrowski efficiency index is Eff = 3^(1/3) ≈ 1.442, strictly surpassing Newton's Eff = 2^(1/2) ≈ 1.414. In this computational laboratory, students evaluate Halley's method on the cubic root extraction f(x) = x³ − 7 = 0 (x* = ∛7 ≈ 1.912931), linearize logarithmic error progressions, and extract the exact cubic convergence order α = 3.000 via ordinary least-squares regression.

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

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 Cubic Convergence Order α, while the intercept b accounts for residual baseline offsets.

5. Method

  1. Select f(x) = x³ − 7 = 0 with root x* = ∛7 ≈ 1.912931. Evaluate derivatives: f'(x) = 3x² and f''(x) = 6x. Set x₀ = 2.5000.
  2. Compute at x₀ = 2.5: f(2.5) = 15.625 − 7 = 8.625; f'(2.5) = 3(6.25) = 18.750; f''(2.5) = 6(2.5) = 15.000. Numerator: 2·f·f' = 2·(8.625)·(18.75) = 323.4375. Denominator: 2·(f')² − f·f'' = 2·(351.5625) − (8.625)·(15.0) = 703.125 − 129.375 = 573.750. Step: Δx = 323.4375 / 573.750 = 0.563725. Update: x₁ = 2.5 − 0.563725 = 1.936275. Error: ε₁ = |1.936275 − 1.912931| = 0.023344.
  3. Evaluate at x₁ = 1.936275: f = 0.259341, f' = 11.2475, f'' = 11.6176. Halley step yields Δx = 0.0233434, updating x₂ = 1.91293165. Error: ε₂ = 4.67 × 10⁻⁷.
  4. Evaluate at x₂: error ε₃ drops to 3.8 × 10⁻²⁰ (exceeding IEEE 754 53-bit mantissa precision). Triple precision is achieved in only 3 steps.
  5. Compute natural logarithms of consecutive errors: for points (ε_k, ε_{k+1}), evaluate x = ln(ε_k) and y = ln(ε_{k+1}).
  6. Perform ordinary least-squares regression: y = α·x + ln(C). Extract empirical slope α = 3.00000, confirming exact cubic convergence order α = 3.

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 Iterate x_{k+1} ()Natural Log of Current Error ln(ε_k)Natural Log of Next Error ln(ε_{k+1})Fitted yResidual
11.01.0-1.0000-3.9163-3.9163-0.0000
22.02.0-3.9163-12.6652-12.6652-0.0000
33.03.0-12.6652-38.9119-38.9119-0.0000
44.04.0-38.9119-117.6520-117.65200.0000
55.05.0-117.6520-353.8723-353.87230.0000
66.06.0-353.8723-1062.5332-1062.53320.0000

Download the sample observations (CSV) ↓

7. Worked calculation for one observation

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

8. Graph, gradient and final calculation

-1221.33-396.22-877.28-286.83-533.22-177.44-189.17-68.05154.8841.34Natural 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̄ = -88.00295; ȳ = -264.92515
Σ(x − x̄)² = 94291.36322
Σ(x − x̄)(y − ȳ) = 282874.08965
m = Σ(x − x̄)(y − ȳ) / Σ(x − x̄)² = 3.00000000
b = ȳ − mx̄ = -0.91630000
ln(ε_(k+1)) = 3.0000 · ln(ε_k) + -0.9163 ⟹ α = 3.000 (theoretical α = 3.000)

9. Uncertainty and comparison

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

For n = 6 observations, Σresidual² = 5.5968e-26; s² = Σresidual²/(n − 2). Gradient standard error = √[s²/Σ(x − x̄)²] = 3.8522e-16. Intercept standard error = √[s²(1/n + x̄²/Σ(x − x̄)²)] = 5.9002e-14.

Propagating the fit parameters yields a fit standard error of 3.8522e-16 , 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

Cubic Convergence Order α = 3.000
Theoretical reference value: 3.000

The empirical benchmark observations provide rigorous quantitative verification of Householder Iterations and Cubic Convergence of Halley's Method. 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 = 3.0000 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 analytical or high-precision second derivatives f''(x), which may be computationally expensive or unavailable. The numerical simulation model evaluates the real root of f(x) = x³ − 7 = 0 starting from x₀ = 2.500000. Analytical root: x* = ∛7 = 1.912931182772389... First derivative: f'(x) = 3x²; second derivative: f''(x) = 6x. Halley iteration sequence: x₀ = 2.500000 (ε₀ = 0.587069); x₁ = 1.936275 (ε₁ = 0.023344); x₂ = 1.912931650 (ε₂ = 4.672 × 10⁻⁷); x₃ = 1.912931182772389 (ε₃ = 3.821 × 10⁻²⁰). Logarithmic coordinates: x = ln(ε_k) = [−1.0000, −3.7574, −14.5768] and y = ln(ε_{k+1}) = [−3.7574, −14.5768, −44.7082]. Ordinary least-squares linear regression on these coordinates yields an empirical slope α = 3.00000 and intercept ln(C) = −0.9163 with Pearson correlation coefficient R² = 1.000000000. The empirical convergence order α = 3.00000 matches the theoretical cubic benchmark α = 3.000 with 0.0000% deviation.

12. Conclusion

This computational laboratory investigation quantitatively verified the mathematical formulation and asymptotic scaling of Householder Iterations and Cubic Convergence of Halley's Method. Through rigorous tracking across six observation points, we confirmed an empirical Cubic Convergence Order α of 3.000 matching the theoretical reference 3.000 within 0.0000% error. The investigation demonstrates why this method serves as an indispensable tool in modern computational science.