Numerical Methods
My main intent with this “Numerical Methods” page is to capture the important points and intuitive animations that helped me build my intuition of numerical algorithms. I hope it helps you too. This page is not a math book, nor is it proof focused. There are many resources devoted to walking you through every detail. This page sticks to building your intuition of the algorithms without all the details. Each algorithm page is close to stand-alone.
This page was inspired by John H. Mathews’ website (Mathew 2000-2019). In 2019, his page was taken down. I tried contacting Cal State Fullerton, but they did not respond. Fast forward to April 2026: I realized I could pull it back, at least partially, from the Internet Archive (the Wayback Machine). That is why you will notice that much of this is modeled on his page.
The majority of these pages were AI generated, using Mathews’ site from the Internet Archive as a reference. Every page now has its text written, every page that gets an animation has one, and every animated page opens with a short overview of its method. Each page went through independent review-and-correction rounds with Claude Opus 5.5 until a round found no errors. Multiple rounds are what it took to get these highly technical numerical method examples right.
How the pages were checked (November 28, 2026). Every number, table entry and statement about how an animation behaves was recomputed independently in Python or Julia, and each one was recorded with the computation that confirmed it. Each page was then reviewed by a separate AI reviewer that had not seen how the page was written. Before trusting a round of reviews, I gave a reviewer a copy of a page with deliberately planted errors, to confirm that the review would catch them. Every serious finding was confirmed by another independent check before it was fixed, and every fix was checked by yet another reviewer who saw only the reported problem and the change. Review rounds were repeated until a round found no errors or misleading statements; the original animations went through nine such rounds. Each animation is made by a Julia script stored with its page, and the script reproduces the animation exactly. That is a lot of checking, but it is not a proof that nothing is wrong. As language models improve, I will use them to check these pages again, and I will keep reviewing the pages myself as I use them over time. If you find an error, please tell me through the contact page or by opening an issue on the site’s GitHub repository.
Fundamentals
The Solution of Nonlinear Equations f(x) = 0
- Fixed Point Iteration
- Bisection Method
- False Position or Regula Falsi Method
- Newton-Raphson Method
- Secant Method
- Muller’s Method
- Aitken’s Method & Steffensen’s Acceleration
- Accelerated & Modified Newton-Raphson
- Improved Newton Method
- Halley’s Method
- Horner’s Method
- Lin-Bairstow Method
- Brent’s Method
- Graeffe’s Method
- Nonlinear Systems
- Broyden’s Method
- Damped Newton with Acceleration (Madsen-Reid Method)
The Solution of Linear Systems AX = B
- Triangular Systems and Back Substitution
- Gauss-Jordan Elimination and Pivoting
- Tri-Diagonal Matrices
- Inverse Matrix
- LU Factorization
- Cholesky, Doolittle and Crout Factorizations
- Jacobi and Gauss-Seidel Iteration
- Successive Over Relaxation - SOR
- Pivoting Methods
- Iterative Refinement
- Row Reduced Echelon Form
- Homogeneous Linear Systems
- Kirchhoff’s Law
- Leontief Model
- Linear Programming-Simplex Method
Function Approximation
Information from a point expanded in a neighborhood
Information at several points. Interpolation and Polynomial Approximation
- Lagrange Polynomial Interpolation and Approximation
- Newton Interpolation Polynomial
- Hermite Polynomial Interpolation
- Cubic Splines
- B-Splines
- Bézier Curves
- Chebyshev Approximation Polynomial
- Rational Approximation
- Aitken’s and Neville’s Interpolation
- Legendre Polynomials
- The Tangent Parabola
- Catenary
Other Series Approximations
Curve Fitting
Numerical Differentiation
Numerical Integration
- Riemann Sums
- Midpoint Rule
- Newton-Cotes Integration
- Trapezoidal Rule for Numerical Integration
- Simpson’s Rule for Numerical Integration
- Simpson’s 3/8 Rule for Numerical Integration
- Boole’s Rule
- Romberg Integration
- Adaptive Simpson’s Rule
- Gauss-Legendre Quadrature
- Cubic Spline Quadrature
- Monte Carlo Pi
- Monte Carlo Integration
- 2D Trapezoidal and Simpson Rules
Solution of Differential Equations
- Euler’s Method for ODE’s
- Heun’s Method
- Taylor Series Method for ODE’s
- Runge-Kutta Method
- Runge-Kutta-Fehlberg Method
- Adams-Bashforth-Moulton Method
- Milne-Simpson’s Method
- Predictor-Corrector Methods
- Shooting Methods for ODE’s
- Finite Difference Method for ODE’s
- Galerkin’s Method
- Painleve Property
- Lotka-Volterra Model
- Pendulum
- Projectile Motion
- Lorenz Attractor
- van der Pol System
- Harvesting Model
- Frobenius Series Solution
- Picard Iteration
- Spring-Mass Systems