Numerical Analysis
Algorithms and error analysis for root finding, interpolation, quadrature, and the numerical solution of differential equations and linear systems.
Iterative methods for solving \(f(x)=0\) and their convergence analysis.
The secant method replaces \(f'(x_n)\) with a finite difference: \(x_{n+1} = x_n - f(x_n)\frac{x_n - x_{n-1}}{f(x_n)-f(x_{n-1})}\). Its order of convergence is \(\phi = \frac{1+\sqrt{5}}{2} \approx 1.618\) (the golden ratio).
Polynomial interpolation, divided differences, Hermite interpolation, and splines.
Newton's divided difference form: \(P_n(x) = f[x_0] + f[x_0,x_1](x-x_0) + \cdots + f[x_0,\ldots,x_n]\prod_{k=0}^{n-1}(x-x_k)\), where divided differences are defined recursively: \(f[x_i,\ldots,x_{i+k}] = \frac{f[x_{i+1},\ldots,x_{i+k}] - f[x_i,\ldots,x_{i+k-1}]}{x_{i+k} - x_i}\).
Composite quadrature rules, Gaussian quadrature, and error analysis for numerical integration.
- Trapezoidal rule: \(\int_a^b f\,dx = \frac{h}{2}(f_0+f_n) + h\sum_{i=1}^{n-1}f_i - \frac{(b-a)h^2}{12}f''(\xi)\). Error: \(O(h^2)\).
- Simpson's rule (composite): Error is \(-\frac{(b-a)h^4}{180}f^{(4)}(\xi)\). Order: \(O(h^4)\).
- Simpson's 3/8 rule: Uses cubic interpolation; error is also \(O(h^4)\) but with a larger constant.
The degree of precision of a quadrature rule is the highest degree polynomial it integrates exactly. Trapezoidal has degree 1; Simpson's has degree 3 (one more than expected, due to symmetry).
Single-step and multi-step methods for initial value problems, with convergence and stability analysis.
- Forward Euler: \(y_{n+1} = y_n + hf(t_n, y_n)\) — explicit, \(O(h)\) error
- Backward Euler: \(y_{n+1} = y_n + hf(t_{n+1}, y_{n+1})\) — implicit, \(O(h)\), A-stable
- The order of a stable \(k\)-step method is at most \(k+1\) (\(k\) odd) or \(k+2\) (\(k\) even).
- No explicit linear multi-step method is A-stable.
- Among A-stable implicit methods, the highest order is 2 (achieved by the trapezoidal rule).
Jacobi, Gauss-Seidel, SOR, and their convergence criteria for solving \(Ax = b\).
Write \(A = D - L - U\) where \(D\) is diagonal, \(L\) is strict lower triangular, \(U\) is strict upper triangular.
- Jacobi: \(x^{(k+1)} = D^{-1}(L+U)x^{(k)} + D^{-1}b\). Iteration matrix: \(T_J = D^{-1}(L+U)\).
- Gauss-Seidel: \(x^{(k+1)} = (D-L)^{-1}Ux^{(k)} + (D-L)^{-1}b\). Iteration matrix: \(T_{GS} = (D-L)^{-1}U\).
- SOR: \(x^{(k+1)} = (D-\omega L)^{-1}[(1-\omega)D + \omega U]x^{(k)} + \omega(D-\omega L)^{-1}b\).
- If \(A\) is strictly diagonally dominant (\(|a_{ii}| > \sum_{j\neq i}|a_{ij}|\) for all \(i\)), both Jacobi and Gauss-Seidel converge.
- If \(A\) is symmetric positive definite, Gauss-Seidel converges.
- For SOR: convergence requires \(0 < \omega < 2\). For SPD tridiagonal systems, optimal \(\omega = \frac{2}{1+\sqrt{1-\rho(T_J)^2}}\).
- Newton's method converges quadratically for simple roots; the secant method achieves order ~1.618 without requiring derivatives.
- High-degree polynomial interpolation on equispaced nodes suffers from the Runge phenomenon — use Chebyshev nodes or splines.
- Gaussian quadrature with \(n\) nodes achieves precision \(2n-1\) — optimal among all \(n\)-point rules.
- RK4 achieves \(O(h^4)\) global accuracy and is the workhorse single-step method.
- Dahlquist's theorems set fundamental limits on accuracy and stability of multi-step methods.
- Spectral radius of the iteration matrix determines convergence of iterative linear solvers.