Skip to content
AI360XpertBeta

Fixed Points

Where motion stops or repeats itself. Equilibria organize everything around them, found by setting change to zero and tested for pull.

Cosine cobweb iteration from 0 bounces between the curve and the diagonal, landing at 0.70 within six steps toward the Dottie number 0.739
Cosine cobweb iteration from 0 bounces between the curve and the diagonal, landing at 0.70 within six steps toward the Dottie number 0.739

Why Does This Exist?

Training settles when an update reproduces its own parameters. A market rests when a price clears supply and demand. A processor settles when heat out equals heat in. Each is a fixed point: a state the rule maps to itself, so motion stops or repeats exactly.

Three questions matter. Existence asks whether one must be there. Computation asks how to land on it. Stability asks whether landing sticks or slides off. Existence without stability misleads: a point can exist and still repel every nearby orbit, in which case plain iteration never finds it. This page finds fixed points and types them. Verdicts on attraction belong to stability analysis, built on the continuity in limits and continuity.

The one idea you need first

For a continuous flow, solve f(x)=0f(x) = 0. For a discrete map, solve T(x)=xT(x) = x, equivalently g(x)=T(x)−x=0g(x) = T(x) - x = 0. Finding and keeping are separate jobs: solving locates candidates, while derivatives at the candidate decide whether neighbours approach or flee.

Think of It Like This

Thermostat ruts and canyon echoes

A thermostat set to 20 in a 20-degree room does nothing: the room maps to itself. Shout in a canyon and most pitches return shifted, except the one pitch that returns unchanged, which is the canyon's fixed tone. A dirt road's ruts steer loose wheels into themselves: each rut bottom is an attracting fixed point of steering, while the crown between two ruts is a repelling one that throws wheels either way.

Iteration is driving with loose hands. Start anywhere near a rut and the road pulls you in, but only into attracting ruts. Repelling crowns exist just as really, yet relaxed driving never finds them: you must place the wheel exactly and hold it. Where the analogy stops: theorems certify existence from shape, such as contraction or continuity on a closed ball, rather than from road feel.

How It Actually Works

For flows, fixed points solve f(x)=0f(x) = 0, often where nullclines cross in the plane. Linearize there: the Jacobian Df(x∗)Df(x^{*}) votes attract or repel through its eigenvalues, with negative real parts pulling and positive parts pushing. Several isolated points can coexist, each owning a basin divided by separatrices.

For maps, iterate xn+1=T(xn)x_{n+1} = T(x_{n}). A contraction with d(Tx,Ty)≤q d(x,y)d(Tx, Ty) \le q \, d(x, y) for some q<1q < 1 on complete space converges from any start, with error shrinking geometrically by qq each step. Newton's method xn+1=xn−f/f′x_{n+1} = x_{n} - f / f' converges quadratically near simple roots but needs good starts and a nonzero derivative. Typing is separate: attracting when neighbours converge, repelling when they flee, semi-stable when one side pulls and the other pushes, and non-hyperbolic when linearization goes silent and higher orders decide.

Worked example

Take the cosine map xn+1=cos⁡(xn)x_{n+1} = \cos(x_{n}) from x0=0x_{0} = 0 in radians. The fixed point solves x=cos⁡xx = \cos x, the Dottie number ≈0.739\approx 0.739. Here ∣sin⁡x∣≤0.86<1|\sin x| \le 0.86 < 1 near the point, so cosine contracts and convergence is guaranteed.

Iterate by hand:

x1=1.0,x2=cos⁡(1.0)≈0.540,x3=cos⁡(0.540)≈0.857x_{1} = 1.0, \quad x_{2} = \cos(1.0) \approx 0.540, \quad x_{3} = \cos(0.540) \approx 0.857 x4≈0.654,x5≈0.793,x6≈0.701x_{4} \approx 0.654, \quad x_{5} \approx 0.793, \quad x_{6} \approx 0.701

Six steps bracket 0.739 within 0.04, oscillating with shrinking swings. Contrast the flow x˙=x(1−x)\dot{x} = x (1 - x) with f′=1−2xf' = 1 - 2x: fixed point 00 has f′=1f' = 1 and repels, while fixed point 11 has f′=−1f' = -1 and attracts. One line, two points, opposite stability.

Code

The point is the check: run the iteration from the worked example with standard-library arithmetic only.

import math

def iterate_cosine(x0: float, steps: int) -> list[float]:    xs: list[float] = [x0]    for _ in range(steps):        xs.append(math.cos(xs[-1]))    return xs

seq = iterate_cosine(0.0, 6)print([round(x, 3) for x in seq])# -> [0.0, 1.0, 0.54, 0.858, 0.654, 0.793, 0.701]print(round(seq[-1], 2), round(0.739 - seq[-1], 3))# -> 0.7 0.038

The printout matches the hand computation: 0.701 after six steps, within 0.038 of the Dottie number. Change the start to 2.0 and rerun: it lands in the same place, which is what global attraction looks like.

Watch Out For

Iterating toward a repeller and reading divergence as a bug

Plain iteration flees repelling fixed points exponentially. The point exists, the code is correct, and the orbit leaves anyway, because existence never promised attraction. Newton without damping does the same near singular Jacobians.

Symptom: orbits blow away from an analytically confirmed equilibrium, or Newton bounces between two values. Fix: linearize before iterating, bracket repellers with bisection or damped Newton, and never certify existence from convergence alone.

Assuming the fixed point you found is the only one

Multiple basins mean the start picks the point. Cosine is kind with one global attractor, but most nonlinear maps are not: different starts land on different points with no error raised. Stopping at first convergence reports one of several answers as the answer.

Symptom: another start lands somewhere else and both look converged. Fix: sample starts across the domain, deflate found roots when hunting more, and report basins alongside points rather than a single number.

The Quick Version

  • Fixed points satisfy f(x∗)=0f(x^{*}) = 0 for flows or T(x∗)=x∗T(x^{*}) = x^{*} for maps, and organize nearby motion.
  • Contraction guarantees convergence from any start; otherwise the start picks among basins.
  • Cosine from 0 reaches 0.701 within six steps toward the Dottie point 0.739.
  • The flow x(1−x)x(1-x) pairs a repeller at 0 with an attractor at 1 on one line.
  • Existence never implies attraction: linearize before iterating and survey starts before claiming uniqueness.