viii Preface
complexity all the way up through the primitive recursive functions, partial
recursive functions, and the arithmetic and analytic hierarchies.
Despite the title of this book, there are many beautiful areas of theo-
retical computer science that I could not cover for lack of time and space.
Intended Audience
The course is aimed at an audience of advanced undergraduates and first-
year graduate students in computer science or mathematics with an interest
in the theory of computation and computational complexity. It may also be
of interest to computer professionals and other scientists who would like to
learn more about the classical foundations of computing and contemporary
research trends.
Familiarity with the content of standard undergraduate courses in algo-
rithms and the theory of computation are helpful prerequisites. In particu-
lar, we make free use of discrete mathematical structures, including graphs,
trees, and dags; O()ando( ) notation; finite automata, regular expressions,
pushdown automata, and context-free languages; and Turing machines,
computability, undecidability, and diagonalization. There are many good
undergraduate texts that cover this material, for example, [61, 76, 113].
Organization and Features
The course consists of 41 primary lectures and a handful of supplementary
lectures covering more specialized or advanced topics. In my previous texts
[75, 76], the basic unit is a lecture, which is a more or less self-contained
chunk of 4–7 pages. I have received much positive feedback regarding this
organization, so I have stuck with it here. In addition to the lectures, there
are 12 homework sets and several miscellaneous homework exercises of vary-
ing levels of difficulty, many with hints and complete solutions.
Acknowledgments
Many people have contributed in many ways to this work, and there is not
enough I can ever say in thanks. First and foremost, I owe an incalculable
debt of gratitude to my wife, Frances, for her constant love, patience, and
forbearance.
My administrative assistants, Rosemary Adessa, Beth Howard, and
Kelly Patwell, deserve special thanks for making sure that the real world
did not escape my attention for too long a period.
The professional staff at Springer, Catherine Brett, Valerie Greco, Nata-
cha Menar, and Wayne Wheeler, have been most accommodating through-