Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2014/iii/paper-37/6/b/solution
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 6 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The decision problem is in NP: an assignment is a certificate, and counting its satisfied clause occurrences is polynomial in the input size.
Reduce 3-SAT to it. For each of the original clauses, use the seven-clause gadget for MAX-2SAT with its three literals in place of and with a fresh auxiliary variable. Keep all ten clause occurrences per gadget, including any repeated occurrences across gadgets. Set the target to .
If the original formula is satisfiable, choose each auxiliary value as in part (a), giving seven satisfied clauses per gadget. Conversely, no gadget can exceed seven. If an assignment satisfies at least clauses in total, every gadget must reach seven, so every original clause is satisfied by the original-variable assignment. The construction has clauses and auxiliary variables, so is polynomial. Consequently the decision version of MAX-2SAT is NP-complete.
New to topics? Read the docs here!