On this page
Press the cos button on a calculator in radian mode, again and again. Whatever number you start from, the display settles on 0.739085. It is the contraction mapping theorem at work, and you can follow every step of it with school calculus.
What is the contraction mapping theorem?
A map T is a contraction if there is a constant k with 0 ≤ k < 1 such that the distance between T(x) and T(y) is at most k times the distance between x and y, for every x and y (Banach fixed-point theorem, Wikipedia). In words: applying T pulls every pair of points closer by at least a fixed factor.
The theorem says that a contraction on a non-empty complete metric space has exactly one fixed point x*, with T(x*) = x*, and that iterating T from any starting point converges to it. Stefan Banach stated it in 1922, in a paper on abstract operations and integral equations in Fundamenta Mathematicae (Banach 1922).
Each condition earns its place:
Uniqueness is one line: if a and b were both fixed, d(a, b) = d(Ta, Tb) ≤ k·d(a, b), which forces d(a, b) = 0.
Completeness matters: T(x) = x/2 on (0, 1] halves every distance, but the point it heads for, 0, is missing from the set.
k < 1 strictly matters: T(x) = x + 1 keeps every distance the same (k = 1) and has no fixed point.
Our post on Cauchy sequences and convergence explains why completeness is the hinge: the iterates form a Cauchy sequence, and completeness hands you its limit.
Why does iterating cos x always end at 0.739?
The unique real solution of cos x = x is 0.739085133215…, known as the Dottie number (OEIS A003957). The name comes from Samuel R. Kaplan's 2007 note in Mathematics Magazine and refers to a professor of French (Kaplan 2007; Wolfram MathWorld).
Here is why cosine is a contraction, in three steps:
After two presses, any real start lands in [0, 1]: cos x lies in [−1, 1], and the cosine of anything in [−1, 1] lies in [cos 1, 1], roughly [0.540, 1].
Cosine maps [0, 1] into itself, and a closed interval is complete.
By the mean value theorem, |cos a − cos b| = |sin c|·|a − b| for some c between a and b, and on [0, 1], |sin c| ≤ sin 1 ≈ 0.8415. So k = sin 1 < 1.
So Banach's theorem applies. On the whole real line |sin c| can reach 1, so cosine is not a contraction there: choosing the right interval is half the work. The same derivative-bound trick powers our guide to proving inequalities with the mean value theorem.
How fast does the iteration converge?
Successive gaps shrink geometrically, and summing them gives the a priori estimate d(x*, xₙ) ≤ kⁿ/(1 − k) · d(x₁, x₀) (Banach fixed-point theorem, Wikipedia).
A worked example. Start at x₀ = 1. Then x₁ = cos 1 ≈ 0.5403, so d(x₁, x₀) ≈ 0.4597, and with k = 0.8415, 1/(1 − k) ≈ 6.31. How many presses guarantee an error below 0.001?
You need 0.8415ⁿ × 6.31 × 0.4597 < 0.001, that is, 0.8415ⁿ < 0.000345.
Take logs: n > ln(0.000345) / ln(0.8415) ≈ 46.2.
So 47 presses are guaranteed to be enough.
In practice it is quicker. The iterates run 1, 0.540, 0.858, 0.654, 0.793, 0.701, zig-zagging around 0.739, and near the fixed point each step shrinks the error by about sin(0.739) ≈ 0.67 rather than 0.84. The zig-zag is what a cobweb draws; see fixed-point iteration and the cobweb diagram.
How does it prove that ODEs have unique solutions?
The classic application is the Picard–Lindelöf theorem: if f(t, y) is continuous in t and Lipschitz in y, the initial value problem y′ = f(t, y), y(t₀) = y₀ has a unique solution on some interval around t₀ (Picard–Lindelöf theorem, Wikipedia). The proof rewrites the equation as an integral equation, y(t) = y₀ + ∫ f(s, y(s)) ds from t₀ to t, and treats the right side as a map on continuous functions. On a short enough interval that map is a contraction, and its one fixed point is the solution.
Try the iteration yourself on y′ = y, y(0) = 1. Start with φ₀ = 1. Then φ₁ = 1 + t, φ₂ = 1 + t + t²/2 and φ₃ = 1 + t + t²/2 + t³/6: the iterates build the series for eᵗ, one term per step.
The Lipschitz condition is not decoration. For y′ = y^(1/3) with y(0) = 0, the right side is not Lipschitz near 0, and the equation has at least three solutions: y = 0 and y = ±(2t/3)^(3/2) for t ≥ 0 (Picard–Lindelöf theorem, Wikipedia).
How do you use it on a new problem?
Name the space and check it is complete: a closed interval, ℝⁿ, or continuous functions with the maximum norm.
Check that T maps the space into itself.
Find k < 1, usually from a bound on the derivative via the mean value theorem.
If you need accuracy, use kⁿ/(1 − k) · d(x₁, x₀) to count the steps.
If a step above feels shaky, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing, so you can revisit the mean value theorem on its own. When you want to practise step 3 on a fresh map, the Fermi Problem Library has a step-by-step solver that explains the reasoning rather than printing an answer.



