Short answer: Power iteration estimates the dominant eigenvector of a matrix by repeating x ← Ax and normalizing. If one eigenvalue is strictly larger in magnitude than the others, the direction of x converges to that eigenvector and the Rayleigh quotient converges to the eigenvalue. The error shrinks by…
Category: Numerical
How Newton’s method updates a root by the tangent
Short answer: Newton’s method solves f(x) = 0 by replacing the current guess x with x − f(x)/f'(x), the root of the tangent line. When f is smooth, f’ is nonzero at a simple root, and the guess is close enough, the error squares at every iteration. That quadratic…
How Kahan summation keeps a running correction
Short answer: Kahan summation adds a sequence of floating-point numbers while keeping a correction for the low bits the last addition lost. Each step subtracts the running correction from the next input, adds that adjusted value to the sum, and stores the bits that did not land in the…
How conjugate gradient solves a symmetric positive system
Short answer: Conjugate gradient solves Ax = b when A is symmetric positive definite. It builds A-orthogonal search directions so that each new direction does not undo the minimization along earlier ones. In exact arithmetic it reaches the solution in at most n steps for an n by n…
