AMS / MAA TEXTBOOKS VOL 41 Journey Into VOL Discrete Mathematics AMS / MAA TEXTBOOKS 41
Total Page:16
File Type:pdf, Size:1020Kb
AMS / MAA TEXTBOOKS VOL 41 Journey into VOL Discrete Mathematics AMS / MAA TEXTBOOKS 41 Owen D. Byer, Deirdre L. Smeltzer, and Kenneth L. Wantz Journey into Discrete Mathematics Discrete into Journey Journey into Discrete Mathematics is designed for use in a fi rst course in mathematical abstraction for early-career undergraduate mathematics majors. The important ideas of discrete mathematics are included— Wantz L. and Kenneth Smeltzer, L. Deirdre Byer, D. Owen logic, sets, proof writing, relations, counting, number theory, and graph theory—in a manner that promotes development of a mathematical mindset and prepares students for further study. While the treatment is designed to prepare the student reader for the mathematics major, the book remains attractive and appealing to students of computer science and other problem-solving disciplines. The exposition is exquisite and engaging and features detailed descrip- tions of the thought processes that one might follow to attack the problems of mathematics. The problems are appealing and vary widely in depth and diffi culty. Careful design of the book helps the student reader learn to think like a mathematician through the exposition and the prob- lems provided. Several of the core topics, including counting, number theory, and graph theory, are visited twice: once in an introductory manner and then again in a later chapter with more advanced concepts and with a deeper perspective. Owen D. Byer and Deirdre L. Smeltzer are both Professors of Mathematics at Eastern Mennonite University. Kenneth L. Wantz is Professor of Mathematics at Regent University. Collectively the authors have special- ized expertise and research publications ranging widely over discrete mathematics and have over fi fty semesters of combined experience in teaching this subject. For additional information and updates on this book, visit www.ams.org/bookpages/text-41 AMSMAA / PRESS TEXT/41 4-Color Process 400 pages on 50lb stock • Backspace 1 1/2'' 10.1090/text/041 AMS/MAA TEXTBOOKS VOL 41 Journey into Discrete Mathematics Owen D. Byer, Deirdre L. Smeltzer, and Kenneth L. Wantz Committee on Books Jennifer J. Quinn, Chair MAA Textbooks Editorial Board Stanley E. Seltzer, Editor William Robert Green, Co-Editor Bela Bajnok Suzanne Lynne Larson Jeffrey L. Stuart Matthias Beck John Lorch Ron D. Taylor, Jr. Heather Ann Dye Michael J. McAsey Elizabeth Thoren Charles R. Hampton Virginia Noonburg Ruth Vanderpool 2010 Mathematics Subject Classification. Primary 97K20, 97K30, 97F60, 97N70, 97E30. For additional information and updates on this book, visit www.ams.org/bookpages/text-41 Library of Congress Cataloging-in-Publication Data Names: Byer, Owen, author. | Smeltzer, Deirdre L., author. | Wantz, Kenneth L., 1965- author. Title: Journey into discrete mathematics / Owen D. Byer, Deirdre L. Smeltzer, Kenneth L. Wantz. Description: Providence, Rhode Island : MAA Press, an imprint of the American Mathematical Society, [2018] | Series: AMS/MAA textbooks ; volume 41 | Includes bibliographical references and index. Identifiers: LCCN 2018023584 | ISBN 9781470446963 (alk. paper) Subjects: LCSH: Set theory. | Number theory. | Mathematical analysis. | Combinatorial analysis. | AMS: Mathematics education – Combinatorics, graph theory, probability theory, statistics – Combinatorics. msc | Mathematics education – Combinatorics, graph theory, probability theory, statistics – Graph the- ory. msc | Mathematics education – Arithmetic, number theory – Number theory. msc | Mathematics education – Numerical mathematics – Discrete mathematics. msc | Mathematics education – Founda- tions of mathematics – Logic. msc Classification: LCC QA248 .B9657 2018 | DDC 511/.1–dc23 LC record available at https://lccn.loc.gov/2018023584 Color graphic policy. Any graphics created in color will be rendered in grayscale for the printed version unless color printing is authorized by the Publisher. In general, color graphics will appear in color in the online version. Copying and reprinting. Individual readers of this publication, and nonprofit libraries acting for them, are permitted to make fair use of the material, such as to copy select pages for use in teaching or research. Permission is granted to quote brief passages from this publication in reviews, provided the customary ac- knowledgment of the source is given. Republication, systematic copying, or multiple reproduction of any material in this publication is permit- ted only under license from the American Mathematical Society. Requests for permission to reuse portions of AMS publication content are handled by the Copyright Clearance Center. For more information, please visit www.ams.org/publications/pubpermissions. Send requests for translation rights and licensed reprints to [email protected]. © 2018 by the American Mathematical Society. All rights reserved. The American Mathematical Society retains all rights except those granted to the United States Government. Printed in the United States of America. ⃝1 The paper used in this book is acid-free and falls within the guidelines established to ensure permanence and durability. Visit the AMS home page at https://www.ams.org/ 10 9 8 7 6 5 4 3 2 1 23 22 21 20 19 18 Contents Preface vii What Is Discrete Mathematics? vii Goals of the Book vii Features of the Book viii Course Outline ix Acknowledgments xi 1 Convince Me! 1 1.1 Opening Problems 2 1.2 Solutions 4 2 Mini-Theories 9 2.1 Introduction 9 2.2 Divisibility of Integers 14 2.3 Matrices 22 3 Logic and Sets 31 3.1 Propositions 31 3.2 Sets 33 3.3 Logical Operators and Truth Tables 38 3.4 Operations on Sets 44 3.5 Truth Values of Compound Propositions 51 3.6 Set Identities 54 3.7 Infinite Sets and Paradoxes 58 4 Logic and Proof 67 4.1 Logical Equivalences 67 4.2 Predicates 73 4.3 Nested Quantifiers 77 4.4 Rules of Inference 83 4.5 Methods of Proof 91 5 Relations and Functions 101 5.1 Relations 101 5.2 Properties of Relations on a Set 106 5.3 Functions 113 5.4 Sequences 123 iii iv Contents 6 Induction 133 6.1 Inductive and Deductive Thinking 133 6.2 Well-Ordering Principle 135 6.3 Method of Mathematical Induction 137 6.4 Strong Induction 147 6.5 Proof of the Division Theorem 151 7 Number Theory 155 7.1 Primes 155 7.2 The Euclidean Algorithm 159 7.3 Linear Diophantine Equations 165 7.4 Congruences 169 7.5 Applications 176 7.6 Additional Problems 178 8 Counting 183 8.1 What Is Counting? 183 8.2 Counting Techniques 184 8.3 Permutations and Combinations 193 8.4 The Binomial Theorem 203 8.5 Additional Problems 207 9 Graph Theory 211 9.1 The Language of Graphs 212 9.2 Traversing Edges and Visiting Vertices 221 9.3 Vertex Colorings 230 9.4 Trees 238 9.5 Proofs of Euler’s and Ore’s Theorems 249 10 Invariants and Monovariants 253 10.1 Invariants 253 10.2 Monovariants 259 11 Topics in Counting 267 11.1 Inclusion-Exclusion 267 11.2 The Pigeonhole Principle 274 11.3 Multinomial Coefficients 278 11.4 Combinatorial Identities 282 11.5 Occupancy Problems 286 12 Topics in Number Theory 299 12.1 More on Primes 299 12.2 Integers in Other Bases 303 12.3 More on Congruences 311 12.4 Nonlinear Diophantine Equations 318 12.5 Cryptography: Rabin’s Method 319 Contents v 13 Topics in Graph Theory 327 13.1 Planar Graphs 327 13.2 Chromatic Polynomials 331 13.3 Spanning Tree Algorithms 337 13.4 Path and Circuit Algorithms 342 Hints 355 List of Names 381 Bibliography 383 Index 385 Preface What Is Discrete Mathematics? The word discrete in mathematics is in contrast to the word continuous. For example, the set of integers is discrete, while the set of real numbers is continuous. Thus, dis- crete mathematics describes a collection of branches of mathematics with the common characteristic that they focus on the study of things consisting of separate, irreducible, often finite parts. Although largely neglected in typical precollege mathematics cur- ricula, discrete mathematics is essential for developing logic and problem-solving abil- ities. Questions located within the realm of discrete mathematics naturally invite cre- ativity and innovative thinking that go beyond formulas. Furthermore, the cultivation of logical thinking forms a necessary foundation for proof-writing. For these reasons, discrete mathematics is critical for undergraduate study of both mathematics and com- puter science. Goals of the Book Simply stated, the goal of Journey into Discrete Mathematics is to nurture the develop- ment of skills needed to learn and do mathematics. These skills include the ability to read, write, and appreciate a good mathematical proof, as well as a basic fluency with core mathematical topics such as sets, relations and functions, graph theory, and num- ber theory. The content and the corresponding requisite mathematical thinking are appropriate for students in computer science and other problem-solving disciplines, but the content presentation and the nature of the problem sets reinforce the primary goal of training mathematicians. Throughout the book, we emphasize the language of mathematics and the essentials of proof-writing, and we underscore that the process is very important in mathematics. Entry-level discrete mathematics serves as an excellent gateway to upper-level math- ematics by priming students’ minds for upper-level concepts. Journey into Discrete Mathematics is designed for use in the first noncalculus course of a mathematics ma- jor, employing a writing style that models a high degree of mathematical accuracy while maintaining accessibility for early college students. For example, the treatment of inclusion-exclusion