Hardness of Approximation Introduction

Graduate Depth 79 in the knowledge graph I know this Set as goal
approximation-hardness inapproximability reductions lower-bounds

Core Idea

Even when a problem is NP-hard, we sometimes compute approximate solutions rather than exact ones. Hardness of approximation results show that some NP-hard problems are also hard to approximate: there exist constants c > 1 such that achieving a c-approximation is NP-hard. These results reveal fundamental limits to what approximation algorithms can achieve.

How It's Best Learned

Study the PCP (Probabilistically Checkable Proofs) theorem at an intuitive level. Work through one inapproximability result, like the maximal independent set hardness.

Explainer

From your study of approximation algorithms, you know the standard framework: since many optimization problems are NP-hard to solve exactly, we settle for algorithms that return solutions within a provable factor of optimal. A ρ-approximation algorithm guarantees an answer no worse than ρ times the optimal value. For some problems this works beautifully — the greedy algorithm gives a 2-approximation for vertex cover, and more sophisticated methods give (1 + ε)-approximations for many scheduling and packing problems. The natural question is: how far does this go? Can every NP-hard optimization problem be approximated to within any fixed ratio?

The answer is no, and hardness of approximation results make this precise. These results show that for certain NP-hard problems, even achieving a ρ-approximation is NP-hard — meaning no polynomial-time algorithm can guarantee that ratio unless P = NP. The key tool is the PCP theorem (Probabilistically Checkable Proofs), which provides a reformulation of NP: every NP language has a proof system where a verifier can check a proof by reading only a *constant* number of bits, with the guarantee that valid proofs are always accepted and invalid proofs are rejected with probability at least 1/2. This may seem unrelated to approximation, but the connection is powerful.

The PCP theorem implies inapproximability via gap amplification: if you could approximate MAX-3SAT to within a ratio better than some constant c < 1, you could distinguish satisfiable instances from highly unsatisfiable ones — which the PCP theorem shows is NP-hard. Concretely, there is a constant ε > 0 such that no polynomial-time algorithm achieves a (1 − ε)-approximation for MAX-3SAT unless P = NP. From this "base" inapproximability, reductions from your prerequisite work propagate hardness to other problems. The MAX-CLIQUE problem is especially striking: it cannot be approximated within a factor of n^(1−ε) for any ε > 0 unless P = NP — so the approximability gap is polynomial, not just a small constant.

The conceptual shift from NP-hardness reductions to inapproximability reductions is worth emphasizing. An ordinary reduction from 3-SAT to a problem X shows that exact optimization is hard. A *gap-preserving* reduction preserves a gap in the objective value between YES and NO instances — it shows that even finding a solution in the gap is hard. Constructing such reductions requires careful attention to how the transformation affects objective values, not just feasibility. This is why inapproximability proofs tend to be more intricate than their exact-hardness counterparts, and why the PCP theorem — which creates the initial gap "for free" — is such a powerful foundation for the whole theory.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesLiteral EquationsSlope-Intercept FormPoint-Slope FormWriting Linear EquationsParallel and Perpendicular Line SlopesGraphing Linear EquationsPiecewise FunctionsStep FunctionsComposition of FunctionsInverse FunctionsRadical Functions and GraphsRational ExponentsExponential Functions and GraphsLogarithms IntroductionBig-O Notation and Asymptotic AnalysisBreadth-First Search (BFS)Shortest Paths in Unweighted GraphsDijkstra's Shortest Path AlgorithmAlgorithm Analysis and Big-O NotationTuring MachinesTime Complexity and the Class PNondeterministic Turing MachinesNP and Polynomial-Time VerificationProbabilistic Computation and BPPBPP and Randomized ComplexityRandomized Complexity: RP, co-RP, and ZPPComplexity Classes and the Complexity HierarchyThe P Versus NP Problem: Central Open QuestionNP-Hardness: Definition and PropertiesNP-Completeness and the Cook-Levin TheoremSatisfiability Problem: The Canonical NP-Complete Problem3-SAT and Reduction-Based Hardness ProofsHardness of Approximation Introduction

Longest path: 80 steps · 443 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.