Numerical Methods Formula Sheet

Iterative root finding (Newton-Raphson, Bisection, Secant), composite quadrature rules (Trapezoidal and Simpsons 1/3), and Lagrange polynomial interpolation.

Core Equations & Variable Definitions

Newton-Raphson Iteration

x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}

Quadratic convergence near simple roots where f'(x) != 0.

Composite Trapezoidal Rule

\int_a^b f(x)\,dx \approx \frac{h}{2}\left[f(x_0) + 2\sum_{i=1}^{n-1} f(x_i) + f(x_n)\right]

h = (b - a)/n; global truncation error is O(h^2).

Composite Simpsons 1/3 Rule

\int_a^b f(x)\,dx \approx \frac{h}{3}\left[f(x_0) + 4\sum_{\text{odd}} f(x_i) + 2\sum_{\text{even}} f(x_i) + f(x_n)\right]

Requires an even number of subintervals n; global error is O(h^4).

Lagrange Basis Polynomial

L_i(x) = \prod_{j \ne i} \frac{x - x_j}{x_i - x_j}, \quad P(x) = \sum_{i=0}^{n} y_i L_i(x)

Unique degree-n polynomial passing through all n+1 data nodes.

Interactive Numerical Methods Calculators

Common Exam Questions

Why does Newton-Raphson sometimes fail to converge?

Newton-Raphson can diverge or oscillate if the initial guess is too far from the root, if f'(x) is near zero at an iterate, or near inflection points.

Why does Simpsons 1/3 rule require an even number of intervals?

Simpsons 1/3 fits a quadratic parabola across pairs of subintervals (3 points at a time), so the total subinterval count n must be even.

What is Runges phenomenon in polynomial interpolation?

Using a single high-degree polynomial through evenly spaced nodes causes large oscillations near the interval endpoints; splines or Chebyshev nodes prevent this.