Renaissance Labs · Mathematics

65 Numerical analysis

Numerical analysis

How do you solve an equation on a machine that keeps only about sixteen digits of each number?

Numerical analysis designs and studies algorithms that compute approximate answers to mathematical problems: solving equations, evaluating integrals, and following the solutions of differential equations. Most problems from science and engineering have no closed-form solution, so they are replaced by finite computations. The area asks how accurate the result is, how much work it takes and how errors grow along the way.

Typical arguments bound the error of a method in terms of a step size or the number of iterations, and check that rounding errors are not amplified. Linear algebra is at the center, since most methods end in large systems of linear equations or eigenvalue problems. The area draws on approximation theory and functional analysis, and it supplies the algorithms used in scientific computing.

Square root of 2 by Newton's method

To solve x2=2x^2 = 2, start from x0=1x_0 = 1 and repeat xn+1=12(xn+2xn)x_{n+1} = \frac12\left(x_n + \frac{2}{x_n}\right). The iterates are 1.51.5, 1.416671.41667, 1.41421571.4142157, 1.414213562371.41421356237. The true value is 1.41421356237…1.41421356237\ldots, so the number of correct digits roughly doubles with each step. Four steps with only division, addition and halving already give eleven correct decimals.

Central objects

Floating-point arithmetic
Computer arithmetic with a fixed number of significant digits, so each operation is rounded.
Condition number
A measure of how much the answer to a problem changes when its data change slightly.
Numerical stability
The property that an algorithm does not amplify rounding and approximation errors unduly.
Discretization
Replacing a continuous problem by a finite one, for example on a grid or a mesh.
Order of convergence
The rate at which the error shrinks as the step size decreases or iterations proceed.
Iterative method
A procedure that improves an approximate solution step by step.
Quadrature rule
A formula that approximates an integral by a weighted sum of function values.

Landmark theorems

  1. Convergence of Newton's method

    If ff is twice continuously differentiable near a root x∗x^* with f′(x∗)≠0f'(x^*) \ne 0, then for every starting point close enough to x∗x^* the iteration xn+1=xn−f(xn)/f′(xn)x_{n+1} = x_n - f(x_n)/f'(x_n) converges to x∗x^*, and ∣xn+1−x∗∣≤C∣xn−x∗∣2|x_{n+1} - x^*| \le C|x_n - x^*|^2 for some constant CC.

  2. Gaussian quadrature

    The nn-point rule whose nodes are the zeros of the Legendre polynomial of degree nn integrates every polynomial of degree at most 2n−12n-1 exactly over [−1,1][-1,1]. No rule with nn nodes is exact for all polynomials of degree 2n2n.

  3. Conjugate gradient method1952

    For a symmetric positive definite n×nn \times n system Ax=bAx = b, the method reaches the exact solution in at most nn steps in exact arithmetic. After kk steps the error in the AA-norm is at most 2(κ−1κ+1)k2\left(\frac{\sqrt\kappa - 1}{\sqrt\kappa + 1}\right)^k times the initial error, where κ\kappa is the ratio of the largest to the smallest eigenvalue of AA.

  4. Lax equivalence theorem1956

    For a consistent finite difference scheme applied to a well-posed linear initial value problem, stability is necessary and sufficient for convergence.

  5. Dahlquist equivalence theorem1956

    A linear multistep method for ordinary differential equations is convergent if and only if it is consistent and zero-stable.

  6. Céa's lemma1964

    Let aa be a bilinear form on a Hilbert space VV with ∣a(u,v)∣≤M∥u∥∥v∥|a(u,v)| \le M\|u\|\|v\| and a(v,v)≥α∥v∥2a(v,v) \ge \alpha\|v\|^2, α>0\alpha > 0. If uu solves a(u,v)=ℓ(v)a(u,v) = \ell(v) for all v∈Vv \in V and uhu_h is the Galerkin solution in a closed subspace VhV_h, then ∥u−uh∥≤Mαinf⁡v∈Vh∥u−v∥\|u - u_h\| \le \frac{M}{\alpha}\inf_{v \in V_h}\|u - v\|.

Open problems and frontiers

  • Growth factor for complete pivoting

    How large can the entries become during Gaussian elimination with complete pivoting on an n×nn \times n real matrix? The true growth rate is unknown.

  • High-dimensional problems

    Finding methods for differential equations in many variables whose cost does not grow exponentially with the dimension.

Environments in this area

No environment in this area yet. Each environment is a generator of Lean tasks with a verifier: see how they are built and add one.

Contribute an environment