Question

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 3-CNF: (a ∨ ¬b ∨ c) ∧ (¬a ∨ b ∨ d) ∧ (¬a ∨ ¬d ∨ ¬b). Show how to transform it into an input (G, j) of Clique such that G has a j-clique iff F is satisfiable. Is F is satisfiable (justify your answer using graph G)?

c) Let F be an input to 3-CNF: (a ∨ ¬b ∨ c) ∧ (¬a ∨ b ∨ d) ∧ (¬a ∨ ¬d ∨ ¬b). Construct an input graph G of 3-Coloring problem such that G can be coloured with 3 colours iff F is satisfiable.

Homework Answers

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
Problem 3-33A Two complete accounting cycles LO 3-1, 3-2, 3-3, 3-4 [The following information applies to...
Problem 3-33A Two complete accounting cycles LO 3-1, 3-2, 3-3, 3-4 [The following information applies to the questions displayed below.] Colton Enterprises experienced the following events for 2016, the first year of operation: 1. Acquired $43,000 cash from the issue of common stock. 2. Paid $12,800 cash in advance for rent. The payment was for the period April 1, 2016, to March 31, 2017. 3. Performed services for customers on account for $88,000. 4. Incurred operating expenses on account of...
Problem 3-1 (Algorithmic) Schedule C (LO 3.1) Scott Butterfield is self-employed as a CPA. He uses...
Problem 3-1 (Algorithmic) Schedule C (LO 3.1) Scott Butterfield is self-employed as a CPA. He uses the cash method of accounting, and his Social Security number is 644-47-7833. His principal business code is 541211. Scott's CPA practice is located at 678 Third Street, Riverside, CA 92860. Scott’s income statement for the year shows the following: Income Statement Scott Butterfield, CPA Income Statement 12/31/2017 Current Period Prior Period 1/1/2017 to 12/31/2017 1/1/2016 to 12/31/2016 REVENUES Tax Services $156,400 $72,154 Accounting Services...
THIS IS THE GENERAL EQUILIBRIUM PROBLEM THAT I PROMISED. YOU FIRST SOLVE FOR THE INITIAL EQUILIBRIUM...
THIS IS THE GENERAL EQUILIBRIUM PROBLEM THAT I PROMISED. YOU FIRST SOLVE FOR THE INITIAL EQUILIBRIUM AS POINT A. WE CONSIDER TWO DIFFERENT AND SEPARATE SHOCKS (I CALL THEM SCENARIOS). THE FIRST SHOCK IS TO THE IS CURVE, THE SECOND SHOCK IS A ‘LM’ SHOCK. AGAIN, WE CONSIDER THESE SHOCKS SEPARATELY SO THAT AFTER YOU COMPLETE SCENARIO 1 (THE IS SHOCK), WE GO BACK TO THE ORIGINAL CONDITIONS AND CONSIDER THE SECOND SCENARIO WHICH IS THE ‘LM’ SHOCK. Consider the...
1. A city official claims that the proportion of all commuters who are in favor of...
1. A city official claims that the proportion of all commuters who are in favor of an expanded public transportation system is 50%. A newspaper conducts a survey to determine whether this proportion is different from 50%. Out of 225 randomly chosen commuters, the survey finds that 90 of them reply yes when asked if they support an expanded public transportation system. Test the official’s claim at α = 0.05. 2. A survey of 225 randomly chosen commuters are asked...
1) Describe an example of each of the following that may be found of your kitchen:...
1) Describe an example of each of the following that may be found of your kitchen: Explain how your choice falls into this category, and if there is a chemical name or symbol for it, provide that as well. Provide a photo of your example with your ID card in it. a) a compound b) a heterogeneous mixture c) an element (symbol) Moving to the Caves… Lechuguilla Caves specifically. Check out this picture of crystals of gypsum left behind in...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • Your company is thinking of introducing a Bring Your Own Device (BYOD) policy. You have been...
    asked 3 minutes ago
  • Attached is the file GeometricObject.java. Include this in your project, but do not change. Create a...
    asked 5 minutes ago
  • Suppose the number of cars in a household has a binomial distribution with parameters n =...
    asked 8 minutes ago
  • HR needs some information on the new interns put into a database. Given an id, email,...
    asked 29 minutes ago
  • Problem solving strategies Questions years = input("Enter a number of years and I'll tell you how...
    asked 33 minutes ago
  • Calculate ?Hrxn for the following reaction: CH4(g)+4Cl2(g)?CCl4(g)+4HCl(g) Use the following reactions and given ?H?s. C(s)+2H2(g)?CH4(g)?H=?74.6kJC(s)+2Cl2(g)?CCl4(g)?H=?95.7kJH2(g)+Cl2(g)?2HCl(g)?H=?184.6kJ Express...
    asked 40 minutes ago
  • ASCII (American Standard Code for Information Interchange) has an encoding for every character of the alphabet,...
    asked 54 minutes ago
  • Is home confinement with electronic monitoring a deterrent? Are there negatives to being confined to one’s...
    asked 1 hour ago
  • Social hostility can have severe lasting effects of interperpersonal relationship during our adolescence years, which if...
    asked 1 hour ago
  • - A series RLC circuit has R=15 ?, L=1.5 H, and C=15 ?F. (a) For what...
    asked 1 hour ago
  • TV Circuit has 30 large-screen televisions in a warehouse in Erie and 60 large-screen televisions in...
    asked 1 hour ago
  • Charges q1, q2, q3, and q4 are placed in sequential order at the corners of a...
    asked 1 hour ago