← Back to research

Theory of Computation

Decision problems, decidability, and the P versus NP question.

1. What is a decision problem?
A decision problem is a computational task where the expected output for any given instance is strictly binary, evaluating to either yes or no. Rather than computing numerical values or constructing elaborate structures, a decision problem poses a specific property about an input object. In formal language and automata theory, every decision problem is mapped directly to a language over an alphabet, where solving the problem corresponds to determining whether a supplied input string belongs to that specific subset. Many optimization and search problems are routinely reformulated into equivalent decision variants by introducing a threshold bound, allowing theorists to rigorously categorize and compare their underlying computational hardness.
2. What does it mean for a decision problem to be decidable?
A decision problem is decidable, or recursive, when there exists a deterministic algorithm that can process any valid input and guarantee a correct yes or no response in a finite amount of time. Under formal computational models such as Turing machines, decidability requires that the machine halts on every input string, transitioning to either an accept state or a reject state without entering an infinite loop. When a problem cannot be guaranteed to halt on instances with negative answers, it is only semi-decidable, and if no algorithm can correctly settle all instances, it is classified as undecidable, with the classic Halting Problem serving as the foundational example.
3. What is the class P? What is the class NP?
The complexity class P comprises the collection of decision problems that are solvable on a deterministic Turing machine within polynomial time, denoted as O(nk) for some constant k relative to the input length n. This class forms the standard theoretical benchmark for computational tractability, capturing problems that remain practically solvable as the input scale grows.

The complexity class NP, meaning nondeterministic polynomial time, represents decision problems where a proposed solution or certificate can be verified as correct by a deterministic algorithm in polynomial time. Alternatively, NP is formally characterized as the set of decision problems solvable in polynomial time on a nondeterministic Turing machine, which can conceptually branch across multiple computational trajectories simultaneously.
4. What is the intuitive meaning of the “P versus NP” question?
Intuitively, the P versus NP question asks whether finding a solution to a problem is intrinsically harder than verifying that a proposed solution is valid. Everyday human experience suggests that appreciating a brilliant musical composition, proof-checking a rigorous mathematical argument, or confirming a completed jigsaw puzzle requires far less effort than creating the piece from nothing. Resolving this question means establishing whether this widespread asymmetry is a permanent mathematical fact or an illusion caused by our current algorithmic limitations. If P equals NP, it implies that whenever we possess the tools to quickly confirm an answer, an equally efficient procedure exists to find that answer autonomously.
5. If you resolve the P versus NP question, how much richer will you be?
Directly, a verified and published proof resolving the question guarantees an immediate cash award of one million dollars from the Clay Mathematics Institute, which designated it as one of the seven Millennium Prize Problems in the year 2000. Beyond this baseline bounty, the ultimate financial impact depends heavily on the direction and constructiveness of the solution.

Proving that P does not equal NP would solidify existing digital infrastructure, while proving an efficient, constructive equality where P equals NP would unlock immense, world-altering economic value. A practical algorithm capable of rapidly solving NP-complete problems could immediately crack the prevailing asymmetric cryptographic standards securing worldwide financial systems, while simultaneously revolutionizing industrial supply chains, hardware synthesis, automated software generation, and pharmaceutical molecular discovery.