Back to Computers and Intractability: A Guide to the Theory of NP-Completeness

Book summary

Computers and Intractability: A Guide to the Theory of NP-Completeness Summary

by Michael R. Garey and David S. Johnson · 3 min read

The definitive guide to NP-completeness and computational complexity.

If you've ever wondered why some computer problems seem impossible to solve efficiently, this book provides the foundational answers. Garey and Johnson's classic is the essential roadmap to understanding computational intractability, NP-completeness, and why these concepts shape the limits of what computers can achieve. Whether you're a student, researcher, or practitioner, this guide clarifies a notoriously challenging field. Michael R. Garey and David S. Johnson are renowned computer scientists who played pivotal roles in formalizing and popularizing the theory of NP-completeness. Their expertise and clarity have made this work a cornerstone of computational complexity theory.

Key ideas

1.Defining NP-Completeness

At the heart of the book is a rigorous explanation of NP-completeness—a class of problems for which no efficient (polynomial-time) solution is known, but for which proposed solutions can be quickly checked. The authors clarify the distinction between P (problems solvable quickly) and NP (problems verifiable quickly), and introduce the concept of NP-complete problems as the hardest problems in NP. If any NP-complete problem can be solved efficiently, then all problems in NP can be.

2.Reductions: The Language of Hardness

A central methodological tool in the book is the idea of reductions—transforming one problem into another in a way that preserves computational difficulty. Garey and Johnson systematically show how reductions are used to prove that new problems are NP-complete, building a web of relationships that map the landscape of computational hardness.

3.The Catalog of NP-Complete Problems

One of the book’s most influential contributions is its comprehensive catalog of hundreds of NP-complete problems across diverse domains—logic, graph theory, scheduling, and more. This catalog not only demonstrates the pervasiveness of computational intractability but also serves as a practical reference for researchers and practitioners encountering new problems.

4.Implications for Algorithm Design

Garey and Johnson discuss the practical consequences of NP-completeness for algorithm designers. When faced with an NP-complete problem, the focus often shifts from seeking exact solutions to developing approximation algorithms, heuristics, or identifying special cases that are tractable. This perspective has shaped decades of research in computer science and operations research.

5.Historical and Philosophical Context

The book situates NP-completeness within the broader history of mathematics and computer science, tracing its roots from early decision problems and Turing’s work to the explosion of interest in the 1970s. It also explores the philosophical significance of computational intractability—what it means for the limits of human and machine problem-solving.

6.Clarity and Accessibility

Despite the technical depth of the subject, Garey and Johnson are celebrated for their clear, accessible exposition. The book is structured to guide readers from basic definitions to advanced concepts, making it approachable for newcomers while remaining valuable as a reference for experts.

Key takeaways

  • NP-completeness explains why some problems resist efficient solutions.
  • Reductions are the key tool for mapping computational hardness.
  • The book’s catalog is a go-to reference for recognizing hard problems.
  • Understanding NP-completeness shapes practical algorithm design.
  • This book helped define an entire field of theoretical computer science.

In conclusion

Computers and Intractability remains the definitive introduction to NP-completeness, blending rigorous theory with practical insight. Its influence extends far beyond theoretical computer science, affecting how we approach problem-solving across disciplines. For anyone serious about understanding the limits of computation, this book is indispensable.

Notable quotes

Virtually all the known NP-complete problems are 'essentially' equivalent, in the sense that a polynomial solution to any one of them would yield polynomial solutions to all the others.

More summaries to explore