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 , start from and repeat . The iterates are , , , . The true value is , 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
- Convergence of Newton's method
If is twice continuously differentiable near a root with , then for every starting point close enough to the iteration converges to , and for some constant .
- Gaussian quadrature
The -point rule whose nodes are the zeros of the Legendre polynomial of degree integrates every polynomial of degree at most exactly over . No rule with nodes is exact for all polynomials of degree .
- Conjugate gradient method1952
For a symmetric positive definite system , the method reaches the exact solution in at most steps in exact arithmetic. After steps the error in the -norm is at most times the initial error, where is the ratio of the largest to the smallest eigenvalue of .
- 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.
- Dahlquist equivalence theorem1956
A linear multistep method for ordinary differential equations is convergent if and only if it is consistent and zero-stable.
- Céa's lemma1964
Let be a bilinear form on a Hilbert space with and , . If solves for all and is the Galerkin solution in a closed subspace , then .
Open problems and frontiers
- Growth factor for complete pivoting
How large can the entries become during Gaussian elimination with complete pivoting on an 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