ArticleslgStudy

computer science

Fixed-point computation

Fixed-point computation is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fixed-point computation rather than just read about it. In short: Fixed-point computation refers to the process of computing an exact or approximate fixed point of a given function. In its most common form, the given function f satisfies the condition to the Brouwer fixed-point theorem: that is, f is continuous and maps the unit d-cube to itself.

Fixed-point computation — main illustration
Fixed-point computation — illustration

Key takeaways

  • Fixed-point computation belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fixed-point computation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fixed-point computation from memory before moving on to harder problems.

Reference excerpt

Fixed-point computation refers to the process of computing an exact or approximate fixed point of a given function. In its most common form, the given function f satisfies the condition to the Brouwer fixed-point theorem: that is, f is continuous and maps the unit d-cube to itself. The Brouwer fixed-point theorem guarantees that f has a fixed point, but the proof is not constructive. Various algorithms have been devised for computing an approximate fixed point. Such algorithms are used in various tasks, such as

Nash equilibrium computation, Market equilibrium computation, Dynamic system analysis.

Definitions

The unit interval is denoted by E:=[0,1], and the unit d-dimensional cube is denoted by Ed. A continuous function f is defined on Ed (from Ed to itself). Often, it is assumed that f is not only continuous but also Lipschitz continuous, that is, for some constant L, |f(x)−f(y)|≤L⋅|x−y| for all x,y in Ed. A fixed point of f is a point x in Ed such that f(x)=x. By the Brouwer fixed-point theorem, any continuous function from Ed to itself has a fixed point. But for general functions, it is impossible to compute a fixed point precisely, since it can be an arbitrary real number. Fixed-point computation algorithms look for approximate fixed points. There are several criteria for an approximate fixed point. Several common criteria are:

The residual criterion: given an approximation parameter ε>0 , An ε-residual fixed-point of f is a point x in Ed' such that |f(x)−x|≤ε, where here |⋅| denotes the maximum norm. That is, all d coordinates of the difference f(x)−x should be at most ε. The absolute criterion: given an approximation parameter δ>0, A δ-absolute fixed-point of f is a point x in Ed such that |x−x0|≤δ, where x0 is any fixed-point of f. The relative criterion: given an approximation parameter δ>0, A δ-relative fixed-point of f is a point x in Ed such that |x−x0|/|x0|≤δ, where x0 is any fixed-point of f. For Lipschitz-continuous functions, the absolute criterion is stronger than the residual criterion: If f is Lipschitz-continuous with constant L, then |x−x0|≤δ implies |f(x)−f(x0)|≤L⋅δ. Since x0 is a fixed-point of f, this implies |f(x)−x0|≤L⋅δ, so |f(x)−x|≤(1+L)⋅δ. Therefore, a δ-absolute fixed-point is also an ε-residual fixed-point with ε=(1+L)⋅δ. The most basic step of a fixed-point computation algorithm is a value query: given any x in Ed, the algorithm is provided with an oracle f~ to f that returns the value f(x). The accuracy of the approximate fixed-point depends upon the error in the oracle f~(x). The function f is accessible via evaluation queries: for any x, the algorithm can evaluate f(x). The run-time complexity of an algorithm is usually given by the number of required evaluations.

Contractive functions A Lipschitz-continuous function with constant L is called contractive if L<1; it is called weakly-contractive if L≤1. Every contractive function satisfying Brouwer's conditions has a unique fixed point. Moreover, fixed-point computation for contractive functions is easier than for general functions.

The first algorithm for fixed-point computation was the fixed-point iteration algorithm of Banach. Banach's fixed-point theorem implies that, when fixed-point iteration is applied to a contraction mapping, the error after t iterations is in O(Lt). Therefore, the number of evaluations required for a δ-relative fixed-point is approximately logL(δ)=log⁡(δ)/log⁡(L)=log⁡(1/δ)/log⁡(1/L). Sikorski and Wozniakowski showed that Banach's algorithm is optimal when the dimension is large. Specifically, when d≥log⁡(1/δ)/log⁡(1/L), the number of required evaluations of any algorithm for δ-relative fixed-point is larger than 50% the number of evaluations required by the iteration algorithm. Note that when L approaches 1, the number of evaluations approaches infinity. No finite algorithm can compute a δ-absolute fixed point for all functions with L=1. When L < 1 and d = 1, the optimal algorithm is the Fixed Point Envelope (FPE) algorithm of Sikorski and Wozniakowski. It finds a δ-relative fixed point using O(log⁡(1/δ)+log⁡log⁡(1/(1−L))) queries, and a δ-absolute fixed point using O(log⁡(1/δ)) queries. This is faster than the fixed-point iteration algorithm. When d>1 but not too large, and L≤1, the optimal algorithm is the interior-ellipsoid algorithm (based on the ellipsoid method). It finds an ε-residual fixed-point using O(d⋅log⁡(1/ε)) evaluations. When L<1, it finds a δ-absolute fixed point using O(d⋅[log⁡(1/δ)+log⁡(1/(1−L))]) evaluations. Shellman and Sikorski presented an algorithm called BEFix (Bisection Envelope Fixed-point) for computing an ε-residual fixed-point of a two-dimensional function with 'L≤1, using only 2⌈log2(1/ε)⌉+1 queries. They later presented an improvement called BEDFix (Bisection Envelope Deep-cut Fixed-point), with the same worst-case guarantee but better empirical performance. When L<1, BEDFix can also compute a δ-absolute fixed-point using O(log⁡(1/ε)+log⁡(1/(1−L))) queries. Shellman and Sikorski presented an algorithm called PFix for computing an ε-residual fixed-point of a d-dimensional function with L ≤ 1, using O(logd(1/ε)) queries. When L < 1, PFix can be executed with ε=(1−L)⋅δ, and in that case, it computes a δ-absolute fixed-point, using O(logd(1/[(1−L)δ])) queries. It is more efficient than the iteration algorithm when L is close to 1. The algorithm is recursive: it handles a d-dimensional function by recursive calls on (d-1)-dimensional functions.

Algorithms for differentiable functions When the function f is differentiable, and the algorithm can evaluate its derivative (not only f itself), the Newton method can be used and it is much faster.

General functions: one dimension For functions with Lipschitz constant L > 1, computing a fixed-point is much harder. For a 1-dimensional function (d = 1), a δ-absolute fixed-point can be found using O(log⁡(1/δ)) queries using the bisection method: start with the interval E:=[0,1]; at each iteration, let x be the center of the current interval, and compute f(x); if f(x)>x then recurse on the sub-interval to the right of x; otherwise, recurse on the interval to the left of x. Note that the current interval always contains a fixed point, so after O(log⁡(1/δ)) queries, any point in the remaining interval is a δ-absolute fixed-point of f Setting δ:=ε/(L+1), where L is the Lipschitz constant, gives an ε-residual fixed-point, using O(log⁡(L/ε)=log⁡(L)+log⁡(1/ε)) queries.

… excerpt ends here. Continue reading the full article.

Illustrations

Fixed-point computation: Computing a fixed point using function iteration
Computing a fixed point using function iteration

Worked examples

Example 1 — a first encounter with Fixed-point computation

Start with the simplest possible case. Write down what Fixed-point computation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fixed-point computation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fixed-point computation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fixed-point computation

In research
Fixed-point computation appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fixed-point computation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fixed-point computation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fixed-point theorems, Numerical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Fixed-point computation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Fixed-point computation” →

How to study Fixed-point computation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fixed-point computation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fixed-point computation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fixed-point computation in simple terms?

Fixed-point computation refers to the process of computing an exact or approximate fixed point of a given function. In its most common form, the given function f satisfies the condition to the Brouwer fixed-point theorem: that is, f is continuous and maps the unit d-cube to itself.

Why does Fixed-point computation matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fixed-point computation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fixed-point computation.

Tags

  • Fixed-point theorems
  • Numerical analysis

Keep exploring