Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/computational-complexity/2/b/solution
Past exam of the computer science course of the University of Oxford 2015 Computational complexity 2 b Solution by
Codex 0 2026-10-31
The linear speedup theorem concerns multitape Turing machines whose finite control and tape alphabet may change. Formally, for , if a deterministic -tape Turing machine decides within steps on every input of length , then for every constant there is a deterministic -tape Turing machine deciding the same formal language withThe additive constant is independent of ; in the usual normalized formulation the bound is , with the integer-rounding convention absorbed in the constant.[ref]
Computational Complexity, slides 1 by Paul W. Goldberg (2023). Slides 47–48, PDF pp. 62–63: statement for k > 1 and block simulation
The construction packs a fixed number of old tape symbols into each new symbol and uses a larger finite control to simulate blocks of old steps. Initial input packing explains the additive linear term. If , choosing a larger constant makes the total asymptotic time complexity an arbitrarily small constant multiple of .
It does not promise arbitrary speed increases on fixed hardware. Larger packed symbols and transition tables cease to be single constant-cost hardware operations without limit. The theorem also retains the input-reading overhead. It is a statement about changing the abstract machine description and primitive operations, rather than an unlimited implementation optimization on one processor.
New to topics? Read the docs here!