“Know how to solve every problem that has been solved.” “What I cannot create, I do not understand.” — Richard Feynman

Fixed-point iteration

Root Finding

The same idea, told five ways. Pick the on-ramp that suits you — press a button, read a graph, rearrange an equation, watch an error shrink, or spot the pattern shared by Newton, SCF, and PageRank. Each lands in the same place: a value that a function returns unchanged. Read one; if it doesn't land, switch. (Draft framings — voice still to be made yours.)

read it as

Put any number in your calculator and hit the cos key over and over. Start at 2: you get , then , then , then — the display keeps twitching, by a little less each time, and finally parks at . Hit cos once more and nothing moves: .

That parked value is a fixed point — an input the function hands back unchanged. Fixed-point iteration is nothing more than what your thumb just did: pick a function , start anywhere, and feed each output back in as the next input, . Where the sequence stops moving is the answer, the with .

The same fixed point, on actual numbers

Whichever framing you read, here is the ground truth the page keeps pointing at — the cosine fixed point, computed by literally iterating from a careless starting guess:

x = 2.0
for _ in range(12):
    x = math.cos(x)
    print(x)
# 1.6536  0.7935  0.7014  0.7640  0.7221  0.7504
# 0.7314  0.7442  0.7356  0.7414  0.7375  0.7401
# ... parks at 0.739085, where cos(x) = x

Twelve steps gets four digits; the error falls by roughly the factor each step that framing 4 predicts. That number, , is the Dottie number — the one real solution of .