Question

Suppose there are two problems, C and P. C is known to be NP-Complete Suppose that...

Suppose there are two problems, C and P.

C is known to be NP-Complete

Suppose that I want to prove that P is also NP-Complete

Which of the following is the correct method to do this?

Question 3 options:

1)

Show that problem P is in NP, then show how to comvert problem P into problem C in polynomial time.

2)

Show that problem P is in NP, then show how to comvert problem C into problem P in polynomial time.

Homework Answers

Answer #1

Right option is option (2)

As C is already known to be NP-complete and also polynomial time reducible to P, as asserted in option (2), P has to be NP-complete,otherwise if P is not NP-complete, then by reversing the calculations we can reach from P to C, and in that case C also would not be NP-complete, which is a contradiction about C's NP-completeness.

If we go by the first option then we see, a polynomial-time reduced instance C of P may be NP_complete although P need not be so.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Question 1 a) To show that 3-CNF is NP-complete, we take some NP-complete problem, say SAT,...
Question 1 a) To show that 3-CNF is NP-complete, we take some NP-complete problem, say SAT, and find a polynomial-time reduction from SAT to 3-CNF. Illustrate a polynomial-time reduction that takes as input an input F of SAT F = (¬x1 ∨ x2 ∨ x3) ∧ (x4 ⇔ ¬x5) and outputs an input f(F) of 3-CNF so that f(F) is a “yes” instance of 3-CNF iff F is a “yes” instance of SAT. b) Let F be an input to...
Complete the following two problems (a) Show that P(X = x) =(1/2)^ x+1 for x =...
Complete the following two problems (a) Show that P(X = x) =(1/2)^ x+1 for x = 0,1,2,... is a valid probability mass function for the discrete random variable X. (b) Given the following cumulative distribution function, nd the probability mass function. x P(X ≤ x) 0 0.05 1 0.32 2 0.64 3 0.95 4 1
If p(x) is a complex polynomial with real coefficients, it is well known that it can...
If p(x) is a complex polynomial with real coefficients, it is well known that it can be factored into a product of linear and quadratic terms with real coefficients, or into a product of linear terms only if the coefficients are allowed to be complex. First, use Maple to write q(z) = x5 −3x4 −3x3 +9x2 −10x+30 as a product of exact linear and quadratic factors with real coefficients. By exact, I mean you should leave any non-rational factors expressed...
Suppose that n is a product of two k-bit primes p and q. Suppose also that...
Suppose that n is a product of two k-bit primes p and q. Suppose also that it is known that |p-q|<2t, where t is small. DESCRIBE a way to find the factorization of n in t steps. (Note: in terms of RSA, it shows that although we want p and q to be of similar size, it is also undesirable that p and q are very close)
discrete structures problems 1. A program P takes time proportional to logn where n is the...
discrete structures problems 1. A program P takes time proportional to logn where n is the input size. If the program takes 1 minute to process input of size 1,000,000, how many seconds does it take to process input of size 100? 2. When the best possible algorithm to solve a problem is exponential-time, or in general in nonpolynomial (not in O(np) for any p) we call such a problem ___________________. 3. f(x) is O(x 2) and g(x) is O(x...
Question 56 To save time, Nivaldo's chemistry professor grades only two randomly chosen problems of a...
Question 56 To save time, Nivaldo's chemistry professor grades only two randomly chosen problems of a ten-problem assignment. Suppose that Nivaldo has 6 of 10 problems correct on the assignment. (a) Compute the probability that both randomly chosen problems are correct. (Round your answer to four decimal places.) (b) Compute the probability that both randomly chosen problems are incorrect. (Round your answer to four decimal places.) (c) Compute the expected value of the number of correct problems chosen by the...
*********I need question 6 answered which is from question 5 which is ********* Question 5 :...
*********I need question 6 answered which is from question 5 which is ********* Question 5 : Program Correctness I (1 point) Use the loop invariant (I) to show that the code below correctly computes n P−1 k=0 2k (this sum represents the sum of the first n even integers where n ≥ 1). Algorithm 1 evenSum(int n) 1: p = 2(n − 1) 2: i = n − 1 3: while i > 0 do 4: //(I) p = nP−1...
Consider two events A and B as an outcomes of a random process. Suppose that P(A)=50%...
Consider two events A and B as an outcomes of a random process. Suppose that P(A)=50% and P(B)=40%. i. A and B cannot be mutually exclusive. ii. A and B cannot be independent. 1. i is true, ii is false. 2. I is false, ii is true. 3. Both I and ii are true. 4. Both I and ii are false. 5. There’s no enough information to answer this question. Select right answer and explain/prove your choice.
Use the pigeonhole principle to prove the following statement: Suppose teacher gives a Two questions multiple-choice...
Use the pigeonhole principle to prove the following statement: Suppose teacher gives a Two questions multiple-choice quiz Such that each question has three options (A,B, C) for students to chose the correct answer. If she has 10 student then at least two will turn in identical quizzes.
Please answer the following problems using COMPLETE and GRAMMATICALLY CORRECT sentences. Please provide all supporting work...
Please answer the following problems using COMPLETE and GRAMMATICALLY CORRECT sentences. Please provide all supporting work for your solution.. 1. Show that f ( x ) = a x grows faster than g ( x ) = b x as x ⟶ ∞ if 1 < b < a. 2. Show that f ( x ) = x x grows faster than g ( x ) = b x as x ⟶ ∞ if b > 1. 3. Prove that...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT