P vs. NP -- The most notorious problem in theoretical computer science remains open
October 29, 2009 by Larry Hardesty
In the 1995 Halloween episode of The Simpsons, Homer Simpson finds a portal to the mysterious Third Dimension behind a bookcase, and desperate to escape his in-laws, he plunges through. He finds himself wandering across a dark surface etched with green gridlines and strewn with geometric shapes, above which hover strange equations. One of these is the deceptively simple assertion that P = NP.
In fact, in a 2002 poll, 61 mathematicians and computer scientists said that they thought P probably didn’t equal NP, to only nine who thought it did — and of those nine, several told the pollster that they took the position just to be contrary. But so far, no one’s been able to decisively answer the question one way or the other. Frequently called the most important outstanding question in theoretical computer science, the equivalency of P and NP is one of the seven problems that the Clay Mathematics Institute will give you a million dollars for proving — or disproving. Roughly speaking, P is a set of relatively easy problems, and NP is a set of what seem to be very, very hard problems, so P = NP would imply that the apparently hard problems actually have relatively easy solutions. But the details are more complicated.
Computer science is largely concerned with a single question: How long does it take to execute a given algorithm? But computer scientists don’t give the answer in minutes or milliseconds; they give it relative to the number of elements the algorithm has to manipulate.
Imagine, for instance, that you have an unsorted list of numbers, and you want to write an algorithm to find the largest one. The algorithm has to look at all the numbers in the list: there’s no way around that. But if it simply keeps a record of the largest number it’s seen so far, it has to look at each entry only once. The algorithm’s execution time is thus directly proportional to the number of elements it’s handling — which computer scientists designate N. Of course, most algorithms are more complicated, and thus less efficient, than the one for finding the largest number in a list; but many common algorithms have execution times proportional to N2, or N times the logarithm of N, or the like.
A mathematical expression that involves N’s and N2s and N’s raised to other powers is called a polynomial, and that’s what the “P” in “P = NP” stands for. P is the set of problems whose solution times are proportional to polynomials involving N's.
Obviously, an algorithm whose execution time is proportional to N3 is slower than one whose execution time is proportional to N. But such differences dwindle to insignificance compared to another distinction, between polynomial expressions — where N is the number being raised to a power — and expressions where a number is raised to the Nth power, like, say, 2N.
If an algorithm whose execution time is proportional to N takes a second to perform a computation involving 100 elements, an algorithm whose execution time is proportional to N3 takes almost three hours. But an algorithm whose execution time is proportional to 2N takes 300 quintillion years. And that discrepancy gets much, much worse the larger N grows.
NP (which stands for nondeterministic polynomial time) is the set of problems whose solutions can be verified in polynomial time. But as far as anyone can tell, many of those problems take exponential time to solve. Perhaps the most famous problem in NP, for example, is finding prime factors of a large number. Verifying a solution just requires multiplication, but solving the problem seems to require systematically trying out lots of candidates.
So the question “Does P equal NP?” means “If the solution to a problem can be verified in polynomial time, can it be found in polynomial time?” Part of the question’s allure is that the vast majority of NP problems whose solutions seem to require exponential time are what’s called NP-complete, meaning that a polynomial-time solution to one can be adapted to solve all the others. And in real life, NP-complete problems are fairly common, especially in large scheduling tasks. The most famous NP-complete problem, for instance, is the so-called traveling-salesman problem: given N cities and the distances between them, can you find a route that hits all of them but is shorter than … whatever limit you choose to set?
Given that P probably doesn’t equal NP, however — that efficient solutions to NP problems will probably never be found — what’s all the fuss about? Michael Sipser, the head of the MIT Department of Mathematics and a member of the Computer Science and Artificial Intelligence Lab’s Theory of Computation Group (TOC), says that the P-versus-NP problem is important for deepening our understanding of computational complexity.
“A major application is in the cryptography area,” Sipser says, where the security of cryptographic codes is often ensured by the complexity of a computational task. The RSA cryptographic scheme, which is commonly used for secure Internet transactions — and was invented at MIT — “is really an outgrowth of the study of the complexity of doing certain number-theoretic computations,” Sipser says.
Similarly, Sipser says, “the excitement around quantum computation really boiled over when Peter Shor” — another TOC member — “discovered a method for factoring numbers on a quantum computer. Peter's breakthrough inspired an enormous amount of research both in the computer science community and in the physics community.” Indeed, for a while, Shor’s discovery sparked the hope that quantum computers, which exploit the counterintuitive properties of extremely small particles of matter, could solve NP-complete problems in polynomial time. But that now seems unlikely: the factoring problem is actually one of the few hard NP problems that is not known to be NP-complete.
Sipser also says that “the P-versus-NP problem has become broadly recognized in the mathematical community as a mathematical question that is fundamental and important and beautiful. I think it has helped bridge the mathematics and computer science communities.”
But if, as Sipser says, “complexity adds a new wrinkle on old problems” in mathematics, it’s changed the questions that computer science asks. “When you’re faced with a new computational problem,” Sipser says, “what the theory of NP-completeness offers you is, instead of spending all of your time looking for a fast algorithm, you can spend half your time looking for a fast algorithm and the other half of your time looking for a proof of NP-completeness.”
Sipser points out that some algorithms for NP-complete problems exhibit exponential complexity only in the worst-case scenario and that, in the average case, they can be more efficient than polynomial-time algorithms. But even there, NP-completeness “tells you something very specific,” Sipser says. “It tells you that if you’re going to look for an algorithm that’s going to work in every case and give you the best solution, you’re doomed: don’t even try. That’s useful information.”
Provided by Massachusetts Institute of Technology (news : web)
-
CMU professor honored for computational complexity breakthrough
May 21, 2007 |
not rated yet |
0
-
Quantum computing may actually be useful, after all
Oct 09, 2009 |
not rated yet |
0
-
Diesel exhaust exposure biomarker found
Jul 31, 2007 |
not rated yet |
0
-
Non-polypoid colon lesions associated with colorectal cancer
Mar 04, 2008 |
not rated yet |
0
-
Yale Professor wins Godel Prize for showing how computer algorithms solve problems
Aug 13, 2008 |
not rated yet |
0
-
Fast photon control brings quantum photonic technologies closer
1 hour ago |
5 / 5 (2) |
0
-
Engineers build first sub-10-nm carbon nanotube transistor
Feb 01, 2012 |
4.9 / 5 (33) |
30
-
Something old, something new: Evolution and the structural divergence of duplicate genes
Jan 31, 2012 |
4.6 / 5 (7) |
1
-
The hidden nanoworld of ice crystals: Revealing the dynamic behavior of quasi-liquid layers
Jan 30, 2012 |
5 / 5 (5) |
1
-
Stock market network reveals investor clustering
Jan 27, 2012 |
3.9 / 5 (23) |
8
-
Quantum computer faster than regular computer?
3 hours ago
-
Flushing RAM in Mathematica
8 hours ago
-
Synergistic relations between computer science and technology.
Feb 06, 2012
-
how do iphone gloves work?
Feb 05, 2012
-
iPhone battery over time
Jan 30, 2012
-
Best alternate Tablet to an iPad for writing math or physics equations?
Jan 26, 2012
- More from Physics Forums - Computing & Technology
More news stories
Independent group inspects Apple supplier
(AP) -- An independent group, the Fair Labor Association, has started auditing Apple Inc.'s Chinese supplier Foxconn after a request by Apple.
29 minutes ago |
not rated yet |
0
Teaching teens safety in the virtual world
A new cyber safety program on the dangers of social networking is being developed by Flinders University, in light of an alarming report which shows children as young as 12 are meeting internet strangers in ...
1 hour ago |
not rated yet |
0
Ethanol mandate not the best option
Many people are willing to pay a premium for ethanol, but not enough to justify the government mandate for the corn-based fuel, a Michigan State University economist argues.
Technology / Energy & Green Tech
1 hour ago |
5 / 5 (1) |
0
Microsoft India retail site down after 'cyber attack'
Microsoft said Monday it was investigating an attack by hackers on its Indian retail website, reportedly carried out by a Chinese group called the "Evil Shadow Team."
4 hours ago |
not rated yet |
0
Chinese city seizes Apple iPads in name dispute
(AP) -- Authorities have seized Apple iPads from retailers in a city in northern China due to a dispute with a domestic company that says it owns the iPad name, an official said Monday. The Chinese company said it is asking ...
4 hours ago |
not rated yet |
0
Fast photon control brings quantum photonic technologies closer
(PhysOrg.com) -- Using photons instead of electrons to transmit information could lead to faster and more secure ways to communicate, among other advantages. Now a team of physicists has taken another step toward realizing ...
Planck mission steps closer to the cosmic blueprint
(PhysOrg.com) -- ESA's Planck mission has revealed that our Galaxy contains previously undiscovered islands of cold gas and a mysterious haze of microwaves. These results give scientists new treasure to mine ...
New ability to regrow blood vessels holds promise for treatment of heart disease
(Medical Xpress) -- University of Texas at Austin researchers have demonstrated a new and more effective method for regrowing blood vessels in the heart and limbs a research advancement that could have ...
Myths and shame keep many from seeking bankruptcy protection
(PhysOrg.com) -- Two interesting facts that may counter modern ideas about bankruptcy: The overwhelming majority of U.S. filings belong to individuals rather than corporations or entities, and most of these ...
Big Society could threaten biodiversity conservation
A study of the Moray Firth Seal Management Plan (MFSMP), in north-east Scotland, identified four key conditions for long-term success, three of which pointed to the importance of direct government involvement.
Motivation to exercise affects behavior
(Medical Xpress) -- For many people, the motivation to exercise fluctuates from week to week, and these fluctuations predict whether they will be physically active, according to researchers at Penn State. In an effort to ...
Oct 29, 2009
Rank: 5 / 5 (1)
A comment on "NP complete". My math teacher, many years ago, noted that the Euclidian Geometry theorms might not be NP complete. By this he meant that there was no way to verify that all possible axiom combinations of NP could be determined, much less a minimum set resolving all of them. [This includes using the parallel line theorm as an axiom]
We also looked at axioms for a simple geometry case where NP complete was obvious. (1) There exits a point. (2) There exits a line. (3)Each line can have no more than three points on it. (4) Each point can have no more that three lines through it. The min soln that uses all axioms at once is a triangle with lines splitting each vertex and connected to the midpoint of the line opposite the vertex being split. 6 lines 10 points.
Oct 29, 2009
Rank: not rated yet
e.g. 2 can either be a binary 10(two digit registers) or a logarithmic optical waveform(one modulation) translated to a nematic crystal in a parallel optronic resistance grid array
Oct 30, 2009
Rank: 5 / 5 (1)
The problem involves recognition of the fact that there are number-theoretic functions (relations) which are computable instantiationally (meta-mathematically decidable), but not algorithmically (formally unprovable).
Goedel constructed precisely such an Arithmetical relation, R(x), in 1931.
He gave an argument from which it follows that although R(x) is instantiationally equivalent to a partial recursive relation, it is not, itself, partial recursive (thus contradicting the Church-Turing Thesis).
http://alixcomsi....M_Update
Chaitin's more recent Omegas share a similar characteristic.
Oct 30, 2009
Rank: not rated yet
http://alixcomsi....date.pdf
Nov 11, 2009
Rank: not rated yet
I think you are missing something. Since any problem in NP has a proof in P of a correct answer, such a proof will allow you to construct an deterministic (but not P time) algorithm to solve the NP problem. NP-hard problems, which are at least as hard as NP-complete problems need not have such a proof of correctness and may not be partial recursive.
For example, take the traveling salesman problem. For a given map, there is a minimum route. Finding that route is NP-hard, but might not be in NP. Finding a route shorter than or equal to k, for arbitrary k, is in NP. Providing a polynomial time extension to the second problem to find the best solution puts it in NP even if no polynomial time solution is known to the first problem.
(The margin is too narrow to continue. ;-)