ArticleslgStudy

mathematics

Constructible function

Constructible function is a mathematics 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 Constructible function rather than just read about it. In short: In complexity theory, a time-constructible function is a function f from natural numbers to natural numbers with the property that f(n) can be constructed from n by a Turing machine in the time of order f(n). The purpose of such a definition is to exclude functions that do not provide an upper bound on the runtime of some Turing machine.

Key takeaways

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

Reference excerpt

In complexity theory, a time-constructible function is a function f from natural numbers to natural numbers with the property that f(n) can be constructed from n by a Turing machine in the time of order f(n). The purpose of such a definition is to exclude functions that do not provide an upper bound on the runtime of some Turing machine.

Time-constructible Let the Turing machine be defined in the standard way, with an alphabet that includes the symbols 0,1. It has a standard input tape containing zeros except for an input string. Let 1n denote a string composed of n ones. That is, it's the unary representation of n. Let |n| be the binary representation. A function f is called time-constructible if there exists a Turing machine M such that the computation M(1n) halts in O(f(n)) steps with value |f(n)|. This definition may use M(1n)=1f(n) instead, since the two can be interconverted in O(f(n)) steps.

Fully time-constructable There is also a notion of a fully time-constructible function. A function f is called fully time-constructible if there exists a Turing machine M, such that for all but finitely many n, M(1n) halts in exactly f(n) steps. This definition is slightly less general than the first, but for most applications, either definition can be used. The following equivalence theorem shows that these two concepts are equivalent for most functions used in practice: Theorem. If f is a function such that there exists ϵ>0 such that, for all but finitely many n, f(n)≥(1+ϵ)n (that is, if f(n)−n=Ω(n)), then f is time-constructible if and only if it is fully time-constructible.

Space-constructible A function f is called space-constructible if there exists a Turing machine M such that M(1n) halts with value |f(n)| (or equivalently 1f(n)), while using O(f(n)) space. Equivalently, f is called space-constructible if there exists a Turing machine M, such that for all but finitely many n, the computation M(1n) halts in a configuration in which exactly f(n) cells are not blank, and no other cell has been written to during its operation. This is sometimes called "fully space-constructible". However, the two definitions are equivalent.

Properties All the commonly used functions (such as n,n2,2n,n!) are time- and space-constructible, as long as f(n)=Ω(n). The construction is straightforward. For example, n2 is constructed by one nested for-loop, while n3 is constructed by two nested for-loops, etc. If f(n)=o(n) is time-constructible, then it is eventually constant, since otherwise there is insufficient time to read the entire input. ln⁡n is space-constructible even though ln⁡n=o(n). For every computable function f, there is a computable function g that is time constructible and ∀n,g(n)>f(n).

Applications Time-constructible functions are used in results from complexity theory such as the time hierarchy theorem. They are important because the time hierarchy theorem relies on Turing machines that must determine in O(f(n)) time whether an algorithm has taken more than f(n) steps. This is, of course, impossible without being able to calculate f(n) in that time. Such results are typically true for all natural functions f but not necessarily true for artificially constructed f. To formulate them precisely, it is necessary to have a precise definition for a natural function f for which the theorem is true. Time-constructible functions are often used to provide such a definition. Space-constructible functions are used similarly, for example in the space hierarchy theorem.

References This article incorporates material from constructible on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.

Worked examples

Example 1 — a first encounter with Constructible function

Start with the simplest possible case. Write down what Constructible function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Constructible function 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 Constructible function 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 Constructible function

In research
Constructible function appears in mathematics 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 Constructible function 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
Constructible function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational complexity theory, Types of functions, so understanding it makes those chapters shorter.
In everyday life
Look for Constructible function 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 “Constructible function” →

How to study Constructible function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Constructible function 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 Constructible function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Constructible function in simple terms?

In complexity theory, a time-constructible function is a function f from natural numbers to natural numbers with the property that f(n) can be constructed from n by a Turing machine in the time of order f(n). The purpose of such a definition is to exclude functions that do not provide an upper boun…

Why does Constructible function matter?

Because it connects several mathematics 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 Constructible function?

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 Constructible function.

Tags

  • Computational complexity theory
  • Types of functions

Keep exploring