Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A cut in an undirected graph is a separation of the vertices V into two disjoint subsets S and T . The size of a cut is the number of edges that have one endpoint in S and the other in T . Let MAX-CUT=<G,K>|Ghasacutofsizekormore.

Show that MAX-CUT is NP-complete. You may assume the result of Problem 7.26. (Hint: Show thatSATPMAXCUT. The variable gadget for variable x is a collection of 3c nodes labeled with x and another nodes labeled with x . The clause gadget is a triangle of three edges connecting three nodes labeled with the literals appearing in the clause. Do not use the same node in more than one clause gadget. Prove that this reduction works.)

Short Answer

Expert verified

MAX-CUTis NP-complete.

Step by step solution

01

Step 1:To find equality in the SAT

MAX-CUT is in NP. We can guess the partition of the graph into two parts and verify that the number of edges cut is at least k

Let nbe the number of variables andc be the number of clauses in the S A T.

02

Boolean comparison on the number

For forward direction,

assume thata- assignment

Place all nodes labeled by a TRUE literal on one side of the cut and all nodes labeled by a FALSE literal on the other side of the cut.

Also Since every clause gets a TRUE and a FALSE literal, for every triangle. Two of the three edges are cut.

For the backward direction,

Proof for any partition that cuts at least edges kmust

Place every block on one side of the partition entirely.

Place blocks corresponding to complementary literals on opposite sides.

Therefore the partition defines an assignment to literals.

And then every clause must have a TRUE as well as a FALSE literal. So, two edges in that clause triangle getcut.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Show that if P=NP , then every languageAP , except A=andA=Σ, is NP complete.

Let G represent an undirected graph. Also let

SPATH={́aG,a,b,k~nGcontainsasimplepathoflengthatmostkfromatob},and

LPATH={́aG,a,b,k~nGcontainsasimplepathoflengthatleastkfromatob}.

a) Show that SPATH? P.

b) Show that LPATH is NP-complete.

This problem investigates resolution, a method for proving the unsatisfiability of cnf-formulas. Let ϕ=C1C2Cmbe a formula in cnf, where the Ciare its clauses. Let C=CiCiisaclauseofϕ. In a resolution step, we take two clauses Caand Cbin C, which both have some variable occurring positively in one of the clauses and negatively in the other. Thus, Ca=xy1y2ykand Cb=x¯z1z2zl, where the and are literals. We form the new clause y1y2ykz1z2zland remove repeated literals. Add this new clause to C. Repeat the resolution steps until no additional clauses can be obtained. If the empty clause ( ) is in C, then declare ϕunsatisfiable. Say that resolution is sound if it never declares satisfiable formulas to be unsatisfiable. Say that resolution is complete if all unsatisfiable formulas are declared to be unsatisfiable.

a. Show that resolution is sound and complete.

b. Use part (a) to show that 2SATP.

Let A1* be any unary language. Show that if A is NP-complete, then P = NP. (Hint: Consider a polynomial time reduction f from SATto A. For a formula ϕ, let ϕ0100be the reduced formula where variables x1, x2, x3, and x4 inϕ are set to the values 0, 1, 0, and 0, respectively. What happens when you apply f to all of these exponentially many reduced formulas?)

Call a regular expression star-freeif it does not contain any star operations.Then,let

EQSF-REX=(R,S)|RandSareequivalentstar-freeregularexpressions. Show thatEQSF-REX is in coNP. Why does your argument fail for general regular expressions?

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free