Brain Dump

Convergence

Tags
math

Diverging is when a numerical sequence diverges away from a common solution and continually gives bigger and less accurate solutions. Converging is when a sequence stabilises to a fixed number (root value) after a misc number of iterations. Continuing the sequence only provides a better approximation of the root, and we often stop once we reach an accurate value.

For example consider the first few values of the recurrence relation xn+1=xn5+35 beginning with x0=1.5.

x0=1.5 x1=0.91875 x2=0.46907 x3=0.60454 x4=0.61614 x5=0.61776 x6=0.61799 x7=0.61802 x8=0.61803

After 8 iterations the value of the sequence converges/stabilises to 0.8180 to 4 decimal places.

For another example in gradient-descent when the change in the gradient of some value at some point is 0 we say it's converged to a local-minimum or maximum.