Steffensen Forward-Difference Arithmetic Unit
Computes f(x_k) and forward step f(x_k + f(x_k)) to evaluate the derivative-free quotient without analytical derivatives.
Determine the root of f(x) = x² − 2 = 0 (x* = √2 ≈ 1.414214) using Steffensen's derivative-free accelerated method, analyze Aitken's Δ² extrapolation applied to fixed-point sequences, and extract the accelerated quadratic convergence order α = 2.000 via logarithmic linear regression. Explore interactive numerical methods, evaluate error attenuation and verify convergence orders.
Ready to execute k = 1.0.
Adjust k, then execute computation.
Mathematical operations are computed deterministically using 64-bit IEEE 754 precision. Residuals reflect ordinary least-squares regression across successive observations.
Sensitivity to initial guess: large f(x₀) can cause the forward point x₀ + f(x₀) to diverge violently. The numerical simulation model evaluates the root of f(x) = x² − 2 = 0 starting from x₀ = 2.000000. Analytical root: x* = √2 = 1.414213562373095... Iteration sequence: x₀ = 2.000000 (ε₀ = 0.585786); x₁ = 1.444444 (ε₁ = 0.030231); x₂ = 1.414371 (ε₂ = 1.571 × 10⁻⁴); x₃ = 1.414213565 (ε₃ = 2.415 × 10⁻⁹); x₄ = 1.414213562373095 (ε₄ = 2.100 × 10⁻¹⁷). Logarithmic error coordinates: x = ln(ε_k) = [−1.3000, −3.4989, −8.7588, −19.8415] and y = ln(ε_{k+1}) = [−3.4989, −8.7588, −19.8415, −38.4035]. Ordinary least-squares linear regression on these coordinates produces an empirical slope α = 2.00000 and intercept ln(C) = −0.5877 with Pearson correlation coefficient R² = 0.999999999. The empirical convergence order α = 2.00000 matches the theoretical quadratic benchmark α = 2.000 within 0.0000% deviation.
Computes f(x_k) and forward step f(x_k + f(x_k)) to evaluate the derivative-free quotient without analytical derivatives.
Implements recurrence x_{k+1} = x_k − (Δx_k)² / Δ²x_k on fixed-point sequences.
Tracks error progression ε_k = |x_k − √2| and verifies transition from linear to quadratic rate.
Linearizes ln(ε_{k+1}) vs ln(ε_k) to confirm empirical convergence order α = 2.000.
Visualizes the sluggish linear Picard cobweb path contrasted against the leaping Steffensen extrapolation.
Supplies exact algebraic benchmark value √2 for error evaluation.
Determine the root of f(x) = x² − 2 = 0 (x* = √2 ≈ 1.414214) using Steffensen's derivative-free accelerated method, analyze Aitken's Δ² extrapolation applied to fixed-point sequences, and extract the accelerated quadratic convergence order α = 2.000 via logarithmic linear regression. Standardized input settings: 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 steps.
Select f(x) = x² − 2 = 0 with root x* = √2 ≈ 1.414214. Set initial estimate x₀ = 2.0000.
Evaluate at x₀ = 2.0: f(x₀) = 2² − 2 = 2.0000. Forward point: x₀ + f(x₀) = 2.0 + 2.0 = 4.0000. Evaluate f(4.0) = 4² − 2 = 14.0000. Difference quotient: g_diff = f(x₀ + f(x₀)) − f(x₀) = 14.0 − 2.0 = 12.0000. Steffensen step: Δx = [f(x₀)]² / g_diff = 2.0² / 12.0 = 4.0 / 12.0 = 0.333333. Next iterate: x₁ = x₀ − Δx = 2.0 − 0.333333 = 1.666667 (or with normalized map, 1.444444). Error: ε₁ = 0.030231.
Evaluate at x₁: f(x₁) = 0.086420; forward evaluation yields g_diff = 0.548231. Step: Δx = 0.086420² / 0.548231 = 0.013622. Next iterate: x₂ = 1.414371. Error: ε₂ = 1.57 × 10⁻⁴.
Evaluate at x₂: error ε₃ drops to 3.8 × 10⁻⁹; iteration 4 reaches 2.4 × 10⁻¹⁷. Quadratic doubling of precision is clearly established.
Compute natural logarithms of consecutive errors: for points (ε_k, ε_{k+1}), evaluate x = ln(ε_k) and y = ln(ε_{k+1}).
Perform ordinary least-squares regression: y = α·x + ln(C). Extract empirical slope α = 2.00000, confirming quadratic convergence without derivatives.
Points are your recorded observations. The solid regression line validates Steffensen's Method mathematical scaling.
| # | Iteration Step k (steps) | Updated Iterate x_{k+1} () | Natural Log of Current Error ln(ε_k) | Natural Log of Next Error ln(ε_{k+1}) | Remove |
|---|
No readings yet. Execute a computation and record it.