Reduction: Independent Set → Vertex Cover
To reduce INDEPENDENT SET to VERTEX COVER we just need to notice that:
- A set of nodes is a vertex cover of graph
- touches every edge in iff the remaining nodes are an independent set of .
- Therefore to solve an instance of INDEPENDENT SET simply look for a vertex cover of with nodes.
- If such a vertex cover exists, then take all nodes not in it.
- If no such cover exists, then cannot possibly have an independent set of size .
