Tutorial questions for November 20th, 21st and 26th

In these problems, we revisit the following problem that already appeared on a previous tutorial, on a tutorial quiz, and on the assignment:

Vertex cover: Given a graph G = (V, E) and an integer K, we want to find a vertex cover with K vertices in G. That is, we want a subset W of V such that |W| = K, and the property that every edge in E has at least one endpoint in W.

  1. Prove that the vertex cover problem belongs to NP.
  2. In order to prove that the vertex cover problem is NP-complete, we need to either Which one is it, and why?
  3. For the remainder of this tutorial, we will be reducing 3SAT to vertex cover (whether or not it is the correct answer to question 2). Given an instance of 3SAT with n variables X1, X2, ..., Xn, and m clauses C1, C2, ..., Cm, we construct a graph as follows:

    Draw the graph constructed by the reduction for the following instance of 3SAT: (X1 v X2 v v X3) ^ (X1 v X2 v X3) ^ (X2 v X3 v X4) ^ (X1 v X3 v X4).

  4. Choose a value of K with the property that the instance of 3SAT is satisfiable if and only if the graph constructed by the reduction has a vertex cover with at most K elements.
  5. Prove that if the instance of 3SAT is satisfiable, then the graph constructed by the reduction has a vertex cover with at most K elements.
  6. Prove that if the graph constructed by the reduction has a vertex cover with at most K elements, then the instance of 3SAT is satisfiable.