Appendix A
Formula Handbook
Rendered from uploaded appendix source with KaTeX. No raw LaTeX displayed.
Chapter 1: Floating-Point Arithmetic
Floating-point number
Unit roundoff and machine epsilon
Standard rounding model
Floating-point arithmetic model
Accumulated product of roundoff factors
Relative condition number of a scalar function
Matrix condition number
Stable quadratic formula
For
Chapter 2: Nonlinear Equations
Bisection method
Fixed-point iteration
Newton method for one equation
Modified Newton method for a multiple root
Secant method
Aitken acceleration
Newton method for nonlinear systems
Damped Newton method
Broyden update
Chapter 3: Interpolation and Approximation
Data notation for interpolation
Lagrange cardinal polynomial
Lagrange interpolating polynomial
Interpolation error formula
Newton divided difference
Newton interpolation formula
Barycentric interpolation weights
Barycentric interpolation formula
Chebyshev--Lobatto nodes on \([-1,1]\)
Affine mapping of nodes to \([a,b]\)
Cubic spline second-derivative unknowns
Bernstein basis and Bernstein approximation
Chapter 4: Direct Linear Systems
Linear system and residual
LU factorization without pivoting
LU factorization with partial pivoting
Gaussian elimination multiplier
Cholesky factorization
Schur complement
For a block matrix
Householder reflector
QR factorization
Singular value decomposition
Sherman--Morrison formula
Woodbury formula
Iterative refinement
Chapter 5: Iterative Linear Systems
Stationary iteration from a splitting
Jacobi method
Gauss--Seidel method
SOR method
Richardson iteration
Krylov subspace
Conjugate gradient method
CG error estimate
Arnoldi relation for GMRES
GMRES least-squares problem
Preconditioning
Left preconditioning:
Chapter 6: Eigenvalue Problems
Eigenvalue problem
Rayleigh quotient
Power method
Inverse iteration
Rayleigh quotient iteration
QR iteration
Shifted QR iteration
Gershgorin disks
Eigenpair residual
Hermitian residual bound
Bauer--Fike theorem
Chapter 7: Least Squares
Linear least-squares problem
Residual and orthogonality
Normal equations
QR least-squares solution
SVD least-squares solution
Projection matrix onto \((A)\)
Weighted least squares
Tikhonov regularization
Truncated SVD solution
Nonlinear least squares and Gauss--Newton
Chapter 8: Numerical Differentiation
Forward difference
Backward difference
Central difference
Second derivative central difference
Fourth-order first derivative
Fourth-order second derivative
Richardson extrapolation
If
Roundoff-truncation balance
Forward difference:
Complex-step derivative
Finite-difference weights by moment matching
For nodes x_j=x_0+c_jh, choose weights a_j such that
Chebyshev differentiation matrix
For
Chapter 9: Numerical Integration
Quadrature notation
Midpoint rule
Trapezoidal rule
Composite trapezoidal rule
Let
Simpson rule
Let
Composite Simpson rule
Let n be even,
Gauss--Legendre rule on \([a,b]\)
Given reference nodes \xi_j\in[-1,1] and reference weights \omega_j^{GL}, set
Two-point Gauss--Legendre on \([a,b]\)
Reference nodes and weights:
Three-point Gauss--Legendre on \([a,b]\)
Reference nodes:
Romberg extrapolation
Let R_{k,0}=T(h_k), where T(h_k) is the composite trapezoidal rule with step h_k. Then
Adaptive Simpson error estimate
Let S(a,b) be Simpson's rule on [a,b], and let m=(a+b)/2. Then
Monte Carlo integration
For X_j\sim U(a,b),
Chapter 10: Initial-Value Problems for ODEs
IVP and step notation
Exact integral form
Explicit Euler
Backward Euler
Trapezoidal method
Explicit midpoint RK2
Heun method
Classical RK4
Stability test equation
Common stability functions
Explicit Euler:
AB2 method
BDF2 method
Embedded adaptive step update
Chapter 11: Boundary-Value Problems for ODEs
Second-order BVP
Shooting residual
Newton update for shooting
Centered finite difference for \(y''\)
With
Centered finite difference for \(y'\)
Weak form for a linear second-order problem
For
Galerkin approximation
Stiffness and load entries
Element quadrature
For an element [x_e,x_{e+1}],
Nonlinear Galerkin Newton system
If R(Y)=0 is the nonlinear residual, Newton's method is
Chapter 12: Partial Differential Equations
Grid notation in one space dimension
Explicit heat equation scheme
For
Crank--Nicolson heat scheme
Centered wave equation scheme
For
Upwind advection for \(a>0\)
For
Five-point Laplacian
For a square grid with spacing h,
Poisson weak form
For
Finite-volume update
Method of lines
Chapter 13: Spectral and Pseudospectral Methods
Fourier series notation
Fourier spectral differentiation
Chebyshev polynomial
Chebyshev--Lobatto nodes
Chebyshev differentiation matrix
Let
Affine derivative scaling
If
Pseudospectral collocation residual
Galerkin spectral condition
Aliasing identity
On an N-point periodic grid,
Two-thirds dealiasing rule
Spectral filter
Chapter 14: Optimization and Nonlinear Systems
Unconstrained optimization problem
Gradient descent
Newton optimization step
Armijo condition
BFGS update
Inverse BFGS update
Trust-region subproblem
Trust-region ratio
Gauss--Newton step
For
Levenberg--Marquardt step
Nelder--Mead simplex operations
For n-dimensional optimization, use n+1 vertices
KKT conditions
For
Quadrature-based integral objective
Chapter 15: Fractional Differential Equations
Riemann--Liouville fractional integral
Caputo derivative
For 0<\alpha<1,
Caputo derivative of a power
For \beta>0,
Katugampola fractional integral
Caputo--Katugampola derivative
For 0<\alpha<1,
Caputo--Katugampola derivative of a power
For \beta>0,
Fractional clocks
Caputo clock:
Caputo Volterra form
For
Caputo--Katugampola Volterra form
For
L1 weights and L1 formula
Time grid:
Caputo--Katugampola L1 in stretched time
Use
Grunwald--Letnikov weights
Lubich convolution quadrature weights
Let \delta(\zeta) be a multistep generating polynomial. Define weights \omega_n by
Chebyshev--Lobatto panel nodes
On the reference panel [0,1],
Cubic Chebyshev--Lobatto nodes
For q=3,
Quintic Chebyshev--Lobatto nodes
For q=5,
Caputo incomplete-beta moment
Caputo--Katugampola incomplete-beta moment
Chebyshev--Beta panel weight
If
Fractional residual minimization
For a fractional model residual