Let S be a subset of vertices in G, and let C be the complement graph of G (where uv is an edge in C if and only if uv is not an edge in G). Prove that for any subset of vertices S, S is a vertex cover in G if and only if V\S is a clique in C. Note: this is an if and only if proof, i.e. you need to show both directions for full credit. Question 2 Part 4.1 implies the following result (which you may use without proof): G has a vertex cover of size at most k if and only if the complement of G has a clique of size at least n−k. Use this fact to give a reduction from VertexCover to Clique. Your solution should have the following two steps: i) First, show the reduction: specify how the inputs to VertexCover, G and k, can be transformed to a valid input pair, H and l, for Clique. Make sure to explain why this takes polynomial time. ii) Second, show that the answer to Clique(H,l) can be converted to the answer of VertexCover(G,k). One possibility is to explain how a YES answer to Clique(H, l) must also mean YES to VertexCover(G,k), AND a NO answer to VertexCover(H, l) must also mean NO to Clique(G, k). (Hint: The claim we proved in part a) is an if and only if statement

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Question 1

Let S be a subset of vertices in G, and let C be the complement graph of G (where uv is an edge in C if and only if uv is not an edge in G).
Prove that for any subset of vertices S, S is a vertex cover in G if and only if V\S is a clique in C.
Note: this is an if and only if proof, i.e. you need to show both directions for full credit.

Question 2

Part 4.1 implies the following result (which you may use without proof): G has a vertex cover of size at most k if and only if the complement of G has a clique of size at least n−k.
Use this fact to give a reduction from VertexCover to Clique. Your solution should have the following two steps:
i) First, show the reduction: specify how the inputs to VertexCover, G and k, can be transformed to a valid input pair, H and l, for Clique. Make sure to explain why this takes polynomial time.
ii) Second, show that the answer to Clique(H,l) can be converted to the answer of VertexCover(G,k). One possibility is to explain how a YES answer to Clique(H, l) must also mean YES to VertexCover(G,k), AND a NO answer to VertexCover(H, l) must also mean NO to Clique(G, k).
(Hint: The claim we proved in part a) is an if and only if statement.)

Recall the Clique problem: given a graph G and a value k, check whether G has a set S of k
vertices that's a clique. A clique is a subset of vertices S such that for all u, v S, uv is an
edge of G.
The goal of this problem is to establish the NP-hardness of Clique by reducing VertexCover,
which is itself an NP-hard problem, to Clique. Recall that a vertex cover is a set of vertices S
such that every edge uv has at least one endpoint (u or v) in S, and the VertexCover problem
is given a graph H and a value 1, check whether H has a vertex cover of size at most 1.
Note that all these problems are already phrased as decision problems, and you only need to
show the NP-Hardness of Clique. In other words, we will only solve the reduction part in this
problem, and you DO NOT need to show that Clique is in NP.
Transcribed Image Text:Recall the Clique problem: given a graph G and a value k, check whether G has a set S of k vertices that's a clique. A clique is a subset of vertices S such that for all u, v S, uv is an edge of G. The goal of this problem is to establish the NP-hardness of Clique by reducing VertexCover, which is itself an NP-hard problem, to Clique. Recall that a vertex cover is a set of vertices S such that every edge uv has at least one endpoint (u or v) in S, and the VertexCover problem is given a graph H and a value 1, check whether H has a vertex cover of size at most 1. Note that all these problems are already phrased as decision problems, and you only need to show the NP-Hardness of Clique. In other words, we will only solve the reduction part in this problem, and you DO NOT need to show that Clique is in NP.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY