What is Complete: Definition and 404 Discussions

In computational complexity theory, a problem is NP-complete when:

a brute-force search algorithm can solve it, and the correctness of each solution can be verified quickly, and
the problem can be used to simulate any other problem with similar solvability.The name "NP-complete" is short for "nondeterministic polynomial-time complete". In this name, "nondeterministic" refers to nondeterministic Turing machines, a way of mathematically formalizing the idea of a brute-force search algorithm. Polynomial time refers to an amount of time that is considered "quick" for a deterministic algorithm to check a single solution, or for a nondeterministic Turing machine to perform the whole search. "Complete" refers to the property of being able to simulate everything in the same complexity class.
More precisely, each input to the problem should be associated with a set of solutions of polynomial length, whose validity can be tested quickly (in polynomial time), such that the output for any input is "yes" if the solution set is non-empty and "no" if it is empty. The complexity class of problems of this form is called NP, an abbreviation for "nondeterministic polynomial time". A problem is said to be NP-hard if everything in NP can be transformed in polynomial time into it even though it may not be in NP. Conversely, a problem is NP-complete if it is both in NP and NP-hard. The NP-complete problems represent the hardest problems in NP. If any NP-complete problem has a polynomial time algorithm, all problems in NP do. The set of NP-complete problems is often denoted by NP-C or NPC.
Although a solution to an NP-complete problem can be verified "quickly", there is no known way to find a solution quickly. That is, the time required to solve the problem using any currently known algorithm increases rapidly as the size of the problem grows. As a consequence, determining whether it is possible to solve these problems quickly, called the P versus NP problem, is one of the fundamental unsolved problems in computer science today.
While a method for computing the solutions to NP-complete problems quickly remains undiscovered, computer scientists and programmers still frequently encounter NP-complete problems. NP-complete problems are often addressed by using heuristic methods and approximation algorithms.

View More On Wikipedia.org
  1. Y

    Quantum Harmonic Oscillator Complete System

    Over which interval do the wave functions of a harmonic oscillator form a complete and orthogonal system? Is it (-inf,+inf)? The case with particle in a box is rather clear(system is complete and orthogonal only for the interval of the well), however the harmonic oscillator is a bit less intuitive.
  2. N

    How can using color in note-taking improve memory retention?

    Hello, I hope this is the right section to post this in. I just finished my first year at university studying computer science and engineering and only managed to pass on roughly half of the courses I took. I have googled a bit and read around here on this forum to get bits and tips on how...
  3. A

    What is the missing pattern in this sequence and why?

    What pattern logically completes the sequence (attached file) and why?
  4. Solarmew

    Proving At Least 3 Pure Triangles in a Complete Heptagon

    errrr, THEOREM >.< ... oops ... Homework Statement Prove that when edges of a complete heptagon are colored with two different colors, there will be at least three pure triangles.Homework Equations The Attempt at a Solution i can do two pure triangles, but not three :cry: pick a vertex v. It...
  5. M

    MATLAB How to make matlab display complete final results

    Here's an example >> R(1) ans = -log(- 1004229921906619062839952526185507/1913851274991446601508198548841385*i - 143584884070040384103267078403784/1913851274991446601508198548841385) i want to know the value of R(1) R is a 3x1 matrix, and R(1) will display the result in R(1,1)...
  6. R

    Partial Vs. Complete differentials when dealing with non-independent variables

    I'm brushing up on differentiating multi-variable functions subject to a constraint and was curious about the notation. In particular, why the derivatives change from complete to partial derivates. I've illustrated the question with an example, below. My specific question w.r.t. the example is...
  7. F

    Programs For those who have or about to complete your phd

    do you think you're an expert on your field? or just about as competent as your advisor? like i just want to know how it feels, i spent lots of hours on this one computer game , i can sort of feel what's like to be very good at one thing. i wonder if that's how you feel after completing a...
  8. N

    The intersection of two varieties, each of which is a complete intersection

    Consider f_1,..., f_k, g_1,..., g_l in a polynomial ring C[x_1,...,x_M], where f_i's are homogeneous of degree 2 while g_j's are linear polynomials. Suppose the codim of the variety cut out by S_1 = {f_1,..., f_k} is k while the codim of the variety cut out by S_2 = {g_1,..., g_l} is l...
  9. S

    Number of Complete Bipartite Graphs with n Vertices

    Homework Statement How many complete bipartite graphs have n vertices? Homework Equations The Attempt at a Solution I said, let the first bipartition set have x vertices and the second bipartition set have y vertices. So x+y=n. I think that you would do C(n, x)*C(n-x...
  10. H

    Proof (x^n)'=nx^n-1 by complete induction

    Homework Statement Prove that ({x^n})' = n{x^{n - 1}} by COMPLETE induction.Homework Equations Nothing.The Attempt at a Solution I did the base step for n=1 and then I suppctosed that it was true for n-1 but then I thought about it and I wonder why the professor told us to prove this by...
  11. TrickyDicky

    Is our universe a geodesically complete manifold?

    It's always been my understanding that given the existence of BH singularities and the initial BB singularity our universe couldn't be geodesically complete. But then one of the premises of our cosmology models is that the universe is homogeneous, and all homogeneous manifolds are geodesically...
  12. A

    Does schrodinger equation give complete description of electron?

    is schrodinger equation capable of explaining all the properties of electron dynamics or are there any anomaly..? THANKS IN ADVANCE
  13. L

    Can an operator without complete eigenstates be measured?

    Say you have some operator A with an incomplete set of eigenstates, but the state of the system is such that it happens to be expressible as a sum (possibly infinite, or integral, whatever) of the eigenstates of A, and let's say the eigenvalues are real and whatever is necessary...we may assume...
  14. G

    Proving Principle of Complete Induction from Ordinary Induction

    Homework Statement Prove the principle of complete induction from the ordinary principle of induction. Hint :- if A contains 1 and A contains n + 1 whenever it contains 1,2,...,n consider the set B of all k such that 1,2,...,k are all in A Homework Equations Principle of mathematical...
  15. maverick_starstrider

    COMPLETE Derivation of Heisenberg and Hubbard Models?

    Does anyone know of a COMPLETE derivation of the Hubbard Model and then the Heisenberg model from it. What I mean by complete is pedagogical including all (or at least most) steps. Books like Assa Auerbach's and Altland and Simons are worthless for these kind of things (in fact IMHO those...
  16. A

    MHB Surjectivity of an Isometry given the metric space is complete.

    Hello, the following is a post that was in progress and I am continuing it here after I received a message saying that most of the members had moved from mathhelpforum here. Me: I have a problem where I am asked to show that for a complete metric space X, the the natural Isometry F:X --> X* is...
  17. N

    Is quantum mechanics a complete theory of nature?

    The wave function represents all that can be known about a quantum system, but that usually means that we only know the energy. In the case of entanglement we know the energy but not the momentum (e.g. angular momentum) of its components. When one component of an entangled system (one spin up...
  18. W

    Complete Undergraduate Physics Syllabus

    Does anyone know of a site that enumerates ALL the subjects an undergraduate physics course cover from freshman to last year (which includes common subjects like English, Literature, Economics, etc.)? I'd like to have an idea what subjects are included and especially what kinds of math are...
  19. M

    Complete and Net Ionic Equations

    Homework Statement An aqueous solution of chromium(III) iodide is mixed with an aqueous solution of lead(II) nitrate (a) Write the molecular equation for this reaction (b) Write a complete ionic equation for this reaction (c)If this reaction occurs, write the net ionic equation I'm...
  20. C

    Physics Textbooks with complete solutions

    I am wondering if there are some nice Physics textbooks with complete worked out solutions in them. I don't mean those books with just questions and answers. If there isn't a book available like that, then a Physics textbook with plenty of examples in them would also be awesome. A physics...
  21. C

    Detect switch without a complete circuit?

    Hello everyone! I have a bit of an engineering puzzle. I've only a passing understanding of electrical engineering, so still trying to puzzle if out. Basically, imagine you have one black box A connected, via a single wire with a switch, to black box B. There is no returning wire. The...
  22. G

    Graph theory - complete subgraphs

    Hi everyone. I know this holds for complete graphs, I've proved that by induction. But how can I prove it for graphs which aren't complete? And what is the significance of (2n+1)/3? If a vertex has that degree, does it have some property I should immediately spot?
  23. C

    Deduce that (P[0,1], norm(inf)) is not complete.

    Homework Statement Deduce that (P[0,1], norm(inf)) is not complete. Homework Equations The Attempt at a Solution I am not really sure how to start this. My strongest instinct is to find a polynomial that converges to something that isn't a polynomial (discontinuous, trigonometric, or...
  24. Q

    Complete annihilation of light through polarizers

    Hi, when i am doing an experiment that uses two polarizers (Cross) to achieve complete annihilation of light, why am i not able to see complete darkness when i look at the light source from the end of the polarizers, but rather the light source changes to a different color for example...
  25. R

    Java Good Java IDE with code complete?

    I've been learning C# but just want to give Java a go before I start learning the difficult bits of C# to see which I prefer, most people say the 2 languages are very similar but I just wanted to see for myself. I really like having a code complete function in the IDE but I tried Netbeans but...
  26. T

    Spinors and Lorentzgroups: representation of the complete Lorentzgroup?

    Homework Statement Hi, This question is about Lorentzgroups. In my course of Relativity, we've seen a very little about representations of complete Lorentz groups but there are two little exercises, which we can do, but I do not understand what should be checked, not even how to start this...
  27. L

    Completeness of eigenvectors in a complete, commuting set

    "Completeness" of eigenvectors in a complete, commuting set Hi guys, I asked this question on Physics Stack Exchange many days ago and even after substantial discussions and revisions, this has remain unanswered. This is...
  28. K

    Can the Sum of Factorials Ever be a Complete Square?

    Homework Statement Proof that for n\geq 5 expression \sum_{i=1}^{n}i! can't be a complete square The Attempt at a Solution Mathematical induction maybe? n=5 \sum_{i=1}^{5}i!=1+2!+3!+4!+5!=152 OK n\rightarrow n+1 \sum_{i=1}^{n+1}i!=\sum_{i=1}^{n}i!+(n+1)! ... One guy said...
  29. M

    Solving the Mystery: How Long to Complete the Job Alone?

    Homework Statement Machine A can do a job, working alone, in 4 hours less than machine B. Working together, they can complete the job in 5 hours. How long would it take each machine, working alone, to complete the job? Homework Equations Ans. Machine A: 8.4 hours; machine B: 12.4...
  30. C

    Showing Complete Elliptic Integral of First Kind Maps to Rectangle

    Homework Statement Effectively, I'm trying to show the following two integrals are equivalent: \int_1^{1/k}[(x^2-1)(1-k^2x^2)]^{-1/2} dx = \int_0^1[(1-x^2)(1-(k')^2x^2)]^{-1/2}dx where k'^2 = 1-k^2 and 0 < k,k' < 1. Homework Equations One aspect of the problem I showed the following...
  31. J

    What Are Some Basic Books on Physics for a Newbie in College?

    I'm looking for a very basic book on physics,basically starting from scratch. I'm in college right now taking policing but I'm kind of having a change of heart. Any books geared towards marine engineering or navigation would be useful too.
  32. D

    What is the pattern in this sequence?

    help me to find the next number please 10 , 11 , 12 , 13 , 15 , 19 , 27 , 30 , 39 , 66 , ...
  33. tony873004

    Complete equation, then balance

    Homework Statement This is a single displacement reaction aluminum + hydrochloric acid --> Homework Equations The Attempt at a Solution Since I know its single displacement, and I know that aluminum can't trade places with chlorine because one is a metal and one is a non-metal...
  34. K

    Determining Minimum Height for Marble to Complete Loop-the-Loop

    Homework Statement A marble rolls down a track and around a loop-the-loop of radius R. The marble has mass m and radius r. What minimum height h must the track have for the marble to make it around the loop-the-loop without falling off? Homework Equations What minimum height h must the...
  35. M

    Is there a spacetime which is timelike and spacelike complete but null

    Is there a spacetime which is timelike and spacelike complete but null incomplete?
  36. B

    Find the complete orthonormal set of eigenfunctions of the operators B-hat

    Homework Statement A bound quantum system has a complete set of orthonormal, no-degenerate energy eigenfunctions u(subscript n) with difference energy eigenvalues E(subscript n). The operator B-hat corresponds to some other observable and is such that: B u(subscript 1)=u(subscript 2) B...
  37. P

    Completing the Square: Why and When?

    So i just have a general knowledge question. not rly homework related say u have a quadratic function or equation 4x2 – 2x – 5. Why would u have to complete the square in this situation? i know how to complete the square perfectly fine, but this was just bugging me. I know that if ur...
  38. U

    Time it takes a 3-body gravitational system to complete one orbit?

    Homework Statement There is no general analytical solution for the motion of a three-body gravitational system. However, there do exist analytical solutions for very special initial conditions. The figure below (see attachment) shows three stars, each of mass m, which move in a two-dimensional...
  39. M

    Show that a metric space is complete

    Homework Statement Given (R+, d), R-Real # d= | ln(x/y) | Show that this metric space is complete Homework Equations The Attempt at a Solution Firstly, I know that to show it is complete I need to have that all Cauchy sequences in that space converge... So I'm not 100%...
  40. S

    Electromagnetic - finding the complete field by knowing either E or B

    Homework Statement B field = xt in z direction in Cartesian Coordinate, t is time. Homework Equations obtaining the remaining field expression together with charge densty "rho" and conduction current J, so that all Maxwell's equations are satisfied. There is no unique solution. The...
  41. C

    Discover Complete Functions for (e^z)/(z^2) with Limit 0 | Image Included

    Hello I need to find all the complete function that satisfy: http://img153.imageshack.us/img153/7717/unledkmb.jpg Uploaded with ImageShack.us I got stuck in finding the limit in 0 of the expression (e^z)/(z^2) Please help me
  42. W

    Is Q Complete in the Context of the Completeness Axiom?

    Proof that Q is "not complete" Hello. I have recently started taking a course in the foundations of analysis. We started off with the completeness "axiom": Every upper bounded non-empty subset of R has a supremum (least upper bound). The lecturer then went on demonstrating that Q does not...
  43. P

    How do you complete the square when two variable are included?

    Show that the equation x^2+y^2-4x+10y+13=0 represents a circle. Find the center and radius. This problem is to be turned in at the beginning of class
  44. A

    From every angle, what is the complete shape of a black hole?

    Is it shaped like a tornado, or a sphere, or is it flat like a disk? If there was a way to view a black hole, dimming the brightness around it to get a clear look, what would be its full shape if you could view all around the outside of it from every possible angle?
  45. I

    Curiosity about complete basis

    curiosity about "complete" basis Hi In QM books , people talk about complete basis. I was checking some linear algebra books. Of course , we have a concept of basis in linear algebra. But these books nowhere talk about "complete" basis. Maybe math people have some more technical term for...
  46. T

    Proving the completion of a metric space is complete

    Homework Statement Having a little trouble on number 24 of Chapter 3 in Rudin's Principles of Mathematical Analysis. How do I prove that the completion of a metric space is complete? Homework Equations X is the original metric space, X^* is the completion, or the set of...
  47. B

    Programs Complete change of major/career path?

    Ok so here is my problem. I recently graduated from UCSB doing mathematical finance (not too great gpa 3.2). The thing is, during my second year or so I got really interested in physics and disillusioned with my major. I didn't do anything about it because I thought I was too late into my...
  48. alemsalem

    Is every Closed set a complete space?

    a closed set contains all its cluster (accumulation) points: points for which any open neighborhood around them no matter how small contains points from the set. a complete set contains all limit points of Cauchy sequences. which are very similar to cluster points. My question is: in a metric...
  49. jaumzaum

    How Long Does It Take to Complete a Loop on a Rollercoaster with Friction?

    Calculate the time t to complete a loop of a rollercoaster of radius R by a car that has initial velocity Vo, with friction u. We can calculate the velcity V if we have alpha, the angle that the car is in the rollercoaster acceleration in alpha = g.sen alpha - acceleration by atrictFc=N+g.cos...
  50. A

    Could not complete my project on ships

    hi every one I'm new here so i am confused as to where to post this topic but i guess this is the right place. I am having a science project in my school and I am building a ship that could go a particular distance and return to the same spot again.There are restrictions that I cannot use...
Back
Top