What is it?
means: however small a tolerance you pick, from some index on every term is within of . A sequence that does not converge diverges — to infinity, or by oscillating forever.
Why does it exist?
"Getting closer and closer" is not enough ( gets closer and closer to too). We need a definition that a computer could check in principle: give me any tolerance, I give you an index after which the error stays below it. That definition is also exactly what a stopping criterion in numerical software tries to certify.
Intuition
Draw a horizontal band of half-width around . Convergence says that, whatever the width of the band, the dots eventually enter it and never leave. Narrow the band and you may have to wait longer — that waiting time is what numerical analysts call the rate of convergence.
Formal definition
A sequence is Cauchy if . In (and only because is complete) Cauchy sequences are exactly the convergent ones.
Formulas
Example
: given , as soon as . For you need — slow, "sublinear" convergence. Compare with Newton's iteration for , which reaches in five steps.
Why does it matter?
Every iterative algorithm — training a model, solving a linear system, computing PageRank — is a sequence that we hope converges. Proving that it does, and how fast, is how we know it is worth running; and in practice the Cauchy criterion ("stop when consecutive iterates barely change") is the most common stopping rule.
Where it shows up in computing
Stopping criteria such as are a finite check of the Cauchy condition.
Where it shows up in AI
Convergence theorems guarantee under conditions on the step size.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
λ Scientific computing and algorithms
- Order of convergence→Scientific computing★★★★★
- Numerical series→Geometric series→Algorithm analysis and complexity★★★★★
- Riemann sums→Definite integral→Monte Carlo methods★★★★★
- Newton's method→Floating point (IEEE 754)★★★★★
- Riemann sums→Definite integral→Fundamental theorem of calculus→Symbolic computation (CAS)★★★★★
ℒ AI and machine learning
- Newton's method→Second-order (Hessian-based) optimization★★★★★
- Numerical series→Geometric series→Reinforcement learning★★★★★
- Riemann sums→Definite integral→Convolution→Convolutional networks (CNNs)★★★★★
- Riemann sums→Definite integral→Continuous random variables→Probability density function→Bayesian inference★★★★★
- Riemann sums→Definite integral→Continuous random variables→Probability density function→Generative models★★★★★
- Gradient descent★★★★★
- +8
⚙ Robotics and control
- Riemann sums→Definite integral→Improper integrals→Laplace transform→Control theory★★★★★
- Newton's method→Inverse kinematics★★★★★
- Riemann sums→Definite integral→Improper integrals→Laplace transform→PID control★★★★★
- Riemann sums→Definite integral→Continuous random variables→Probability density function→Kalman filter★★★★★
⚛ Physics and simulation
- Numerical series→Fourier series→Heat equation and diffusion★★★★★
- Riemann sums→Definite integral→Physics engines★★★★★
- Riemann sums→Numerical integration (quadrature)→Finite element method★★★★★
- Riemann sums→Definite integral→Line integrals→Classical mechanics★★★★★
- Riemann sums→Definite integral→Physics engines→N-body gravitational simulation★★★★★
- Riemann sums→Definite integral→Physics engines→Fluid dynamics and CFD★★★★★
- +1
∿ Signals, media and vision
- Numerical series→Fourier series→Signal processing★★★★★
- Riemann sums→Definite integral→Convolution→Image processing and computer vision★★★★★
- Numerical series→Fourier series→Fourier transform→Sampling theorem (Nyquist–Shannon)★★★★★
- Numerical series→Fourier series→Fourier transform→Fast Fourier transform (FFT)★★★★★
- Riemann sums→Definite integral→Convolution→Digital filters★★★★★
- Numerical series→Fourier series→Signal processing→Media compression (JPEG, MP3, video)★★★★★
- +1
What depends on it
Exercises
Prove from the definition that .
Solution
whenever ; take .
A training loss goes (halving each epoch). After how many epochs is it below ? What kind of convergence is this?
Solution
, so 11 epochs. The error shrinks by a constant factor: linear (geometric) convergence.