Cobweb Diagram

Visualize fixed-point iteration \(x_{n+1}=f(x_n)\) — watch convergence, period-doubling, and chaos unfold step by step.

\[x_{n+1} = f(x_n), \quad n=0,1,2,\ldots\]
Map \(f(x)\)
Step
0
\(x_n\)
Fixed points
\(|f'(x^*)|\)
Stability
Lyapunov \(\lambda\)
Cobweb Diagram — \(y=f(x)\) and \(y=x\)

Interactive cobweb diagram showing the orbit of the selected map under fixed-point iteration. The blue curve is y=f(x), the dashed line is y=x, and the red path traces the iteration. Fixed points appear as coloured dots: green for stable, red for unstable, dark amber for neutral. Use the controls above to animate step by step or all at once.

Orbit — \(x_n\) vs.\ \(n\) (time series)
Select an example above to see the formula and analysis.

Stability Classification

● Stable Node

\(0 < f'(x^*) < 1\)
Monotone approach from one side. Staircase cobweb.

↻ Stable Spiral

\(-1 < f'(x^*) < 0\)
Oscillatory approach, alternating sides. Inward spiral cobweb.

★ Superattracting

\(f'(x^*) = 0\)
Fastest possible convergence (e.g., Newton's method near root).

↗ Unstable Node

\(f'(x^*) > 1\)
Monotone escape away from fixed point.

↗ Unstable Spiral

\(f'(x^*) < -1\)
Oscillatory escape, alternating and growing. Outward spiral.

→ Neutral / Bifurcation

\(|f'(x^*)| = 1\)
Stability undetermined by linearization. Period-doubling bifurcation.

~ Period-2 Orbit

Cobweb traces a rectangle, bouncing between two values. Fixed point of \(f\circ f\).

∿ Chaos (\(\lambda>0\))

Dense cobweb filling a region. Sensitive dependence on initial conditions. \(\lambda > 0\).