Introductory Combinatorics

Similar documents
Applied Combinatorics

Discrete Mathematics SECOND EDITION OXFORD UNIVERSITY PRESS. Norman L. Biggs. Professor of Mathematics London School of Economics University of London

About the Author. Dependency Chart. Chapter 1: Logic and Sets 1. Chapter 2: Relations and Functions, Boolean Algebra, and Circuit Design

r=1 The Binomial Theorem. 4 MA095/98G Revision

Computational Discrete Mathematics

F falling factorial, 11. father, 139. Ferris wheel, 112. Fibonacci numbers, 34, 36, 224, , 277. finite automaton, deterministic, 191.

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

Notation Index. Probability notation. (there exists) (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5.

Introduction to. Graph Theory. Second Edition. Douglas B. West. University of Illinois Urbana. ftentice iiilil PRENTICE HALL

MATHEMATICAL STRUCTURES FOR COMPUTER SCIENCE

The absolute value of the real number y xis smaller than y x is smaller than or equal to y x is not equal to y

Notation Index 9 (there exists) Fn-4 8 (for all) Fn-4 3 (such that) Fn-4 B n (Bell numbers) CL-25 s ο t (equivalence relation) GT-4 n k (binomial coef

GRAPHS: THEORY AND ALGORITHMS

Fundamentals of Discrete Mathematical Structures

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer

DISCRETE MATHEMATICS

4.1.2 Merge Sort Sorting Lower Bound Counting Sort Sorting in Practice Solving Problems by Sorting...

quanüfied Statements; valid well-formed formulas; comparison of propositional and predicate wffs. Exercises

Algebraic Graph Theory

LOGIC AND DISCRETE MATHEMATICS

Combinatorics Summary Sheet for Exam 1 Material 2019

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

A Survey of Mathematics with Applications 8 th Edition, 2009

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

Algorithmic Graph Theory and Perfect Graphs

STUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl

MT365 Examination 2007 Part 1. Q1 (a) (b) (c) A

CONTENTS Equivalence Classes Partition Intersection of Equivalence Relations Example Example Isomorphis

List of Theorems. Mat 416, Introduction to Graph Theory. Theorem 1 The numbers R(p, q) exist and for p, q 2,

Discrete mathematics , Fall Instructor: prof. János Pach

Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest. Introduction to Algorithms

BHARATHIDASAN ENGINEERING COLLEGE NATTARAMPALLI Department of Science and Humanities CS6702-GRAPH THEORY AND APPLICATION

1. A busy airport has 1500 takeo s perday. Provetherearetwoplanesthatmusttake o within one minute of each other. This is from Bona Chapter 1 (1).

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

COURSE: DATA STRUCTURES USING C & C++ CODE: 05BMCAR17161 CREDITS: 05

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions

Introduction to Algorithms Third Edition

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

Konigsberg Bridge Problem

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

Introduction III. Graphs. Motivations I. Introduction IV

MT5821 Advanced Combinatorics

Student Name and ID Number. MATH 3012 Final Exam, December 11, 2014, WTT

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV

Graph and Digraph Glossary

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Anany Levitin 3RD EDITION. Arup Kumar Bhattacharjee. mmmmm Analysis of Algorithms. Soumen Mukherjee. Introduction to TllG DCSISFI &

Cluster algebras and infinite associahedra

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

Basic Concepts of Graph Algorithms

Discrete Math: Selected Homework Problems

Preface MOTIVATION ORGANIZATION OF THE BOOK. Section 1: Basic Concepts of Graph Theory

Combinatorics Qualifying Exam August, 2016

Math 443/543 Graph Theory Notes

Structural Mechanics: Graph and Matrix Methods

Varying Applications (examples)

Key Graph Theory Theorems

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS


Lecture 1: Examples, connectedness, paths and cycles

Math 443/543 Graph Theory Notes

The Algorithm Design Manual

1. Consider the 62-element set X consisting of the twenty-six letters (case sensitive) of the English

Math 776 Graph Theory Lecture Note 1 Basic concepts

Integrated Algebra 2 and Trigonometry. Quarter 1

INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES

POLYTOPES. Grünbaum and Shephard [40] remarked that there were three developments which foreshadowed the modern theory of convex polytopes.

Lecture 6: Combinatorics Steven Skiena. skiena

Negative Numbers in Combinatorics: Geometrical and Algebraic Perspectives

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

COURSE STRUCTURE AND SYLLABUS APPROVED IN THE BOARD OF STUDIES MEETING HELD ON JULY TO BE EFFECTIVE FROM THE ACADEMIC YEAR

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

Introduction to Graph Theory

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G))

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Discrete Mathematics

Exercise set 2 Solutions

Week 12: Trees; Review. 22 and 24 November, 2017

Lecture 3: Graphs and flows

CSE 20 DISCRETE MATH. Fall

Objectives and Homework List

Graph Theory and Applications

Ordered Sets. Ken Bogart. November 27, 2001

Discrete mathematics II. - Graphs

IMO Training 2008: Graph Theory

Integrated Math I. IM1.1.3 Understand and use the distributive, associative, and commutative properties.

Topic 10 Part 2 [474 marks]

Theorem 2.9: nearest addition algorithm

2 hours THE UNIVERSITY OF MANCHESTER. 23 May :45 11:45

Part II. Graph Theory. Year

CSE 20 DISCRETE MATH. Winter

Graph Theory Problem Ideas

Chapter 1 Graph Theory

Course Introduction / Review of Fundamentals of Graph Theory

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

CLASS: II YEAR / IV SEMESTER CSE CS 6402-DESIGN AND ANALYSIS OF ALGORITHM UNIT I INTRODUCTION

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Transcription:

Introductory Combinatorics Third Edition KENNETH P. BOGART Dartmouth College,. " A Harcourt Science and Technology Company San Diego San Francisco New York Boston London Toronto Sydney Tokyo

xm CONTENTS Preface An Introduction to Enumeration Section 1 Elementary Counting Principles 1 What Is Combinatorics? 1; The Sum Principle 1; The Product Principle 3; Ordered Pairs 4; Cartesian Product of Sets 4; The General Form of the Product Principle 4; Lists with Distinct Elements 5; Lists with Repeats Allowed 7; Stirling's Approximation for n! 7; EXERCISES 8 Section 2 Functions and the Pigeonhole Principle 14 Functions 14; Relations 15; Definition of Function 15; The Number of Functions 16; One-to-One Functions 16; Onto Functions and Bijections 18; The Extended Pigeonhole Principle 20; Ramsey Numbers 21; *Using Functions to Describe Ramsey Numbers 22; EXERCISES 23 Section 3 Subsets 27 The Number of Subsets of a Set 27; Binomial Coefficients 28; fc-element Subsets 29; Labelings with Two Labels 29; Pascal's Triangle 30; How Fast Does the Number of Subsets Grow? 33; Recursion and Iteration 34; EXERCISES 35 Section 4 Using Binomial Coefficients 40 The Binomial Theorem 40; Multinomial Coefficients 43; The Multinomial Theorem 45; Multinomial Coefficients from Binomial Coefficients 46; Lattice Paths 46; EXERCISES 50 Section 5 Mathematical Induction 54 The Principle of Induction 54; Proving That Formulas Work 54; Informal Induction Proofs 56; Inductive Definition 56; The

xiv General Sum Principle 58; An Application to Computing 59; Proving That a Recurrence Works 60; A Sample of the Strong Form of Mathematical Induction 61; Double Induction 62; *Ramsey Numbers 62; EXERCISES 64 Suggested Reading for Chapter 1 68 Equivalence Relations, Partitions, and Multisets Section 1 Equivalence Relations 69 The Idea of Equivalence 69; Equivalence Relations 70; Circular Arrangements 70; Equivalence Classes 72; Counting Equivalence Classes 73; The Inverse Image Relation 74; The Number of Partitions with Specified Class Sizes 77; EXERCISES 79 Section 2 Distributions and Multisets 83 The Idea of a Distribution 83; Ordered Distributions 87; Distributing Identical Objects to Distinct Recipients 89; Ordered Compositions 92; Multisets 93; Broken Permutations of a Set 94; EXERCISES 96 Section 3 Partitions and Stirling Numbers 99 Partitions of an m-element Set into n Classes 99; Stirling's Triangle of the Second Kind 99; The Inverse Image Partition of a Function 100; Onto Functions and Stirling Numbers 101; Stirling Numbers of the First Kind 101; Stirling Numbers of the Second Kind as Polynomial Coefficients 102; Stirling's Triangle of the First Kind 104; The Total Number of Partitions of a Set 105; EXERCISES 106 Section 4 Partitions of Integers 110 Distributing Identical Objects to Identical Recipients 110; Type Vector of a Partition and Decreasing Lists 110; The Number of Partitions of m into n Parts 111; Ferrers Diagrams 112; Conjugate Partitions 112; The Total Number of Partitions of m 114; EXERCISES 115 Suggested Reading for Chapter 2 118

xv 3 Algebraic Counting Techniques Section 1 The Principle of Inclusion and Exclusion 119 The Size of a Union of Three Overlapping Sets 119; The Number of Onto Functions 120; Counting Arrangements with or without Certain Properties 122; The Basic Counting Functions N> and N= 123; The Principle of Inclusion and Exclusion 124; Onto Functions and Stirling Numbers 126; Examples of Using the Principle of Inclusion and Exclusion 127; Derangements 131; *Level Sums and Inclusion-Exclusion Counting 131; *Examples of Level Sum Inclusion and Exclusion 133; EXERCISES 134 Section 2 The Concept of a Generating Function 138 Symbolic Series 138; Power Series 143; What Is a Generating Function? 144; The Product Principle for Generating Functions 145; The Generating Function for Multisets 146; Polynomial Generating Functions 147; Extending the Definition of Binomial Coefficients 148; The Extended Binomial Theorem 148; EXERCISES 149 Section 3 Applications to Partitions and Inclusion-Exclusion 154 Pölya's Change-Making Example 154; Systems of Linear Recurrences from Products of Geometrie Series 155; Generating Functions for Integer Partitions 158; Generating Functions Sometimes Replace Inclusion-Exclusion 162; *Generating Functions and Inclusion-Exclusion on Level Sums 163; EXERCISES 165 Section 4 Recurrence Relations and Generating Functions 169 The Idea of a Recurrence Relation 169; How Generating Functions Are Relevant 170; Second-Order Linear Recurrence Relations 172; The Original Fibonacci Problem 177; General Techniques 178; EXERCISES 180 Section 5 Exponential Generating Functions 184 Indicator Functions 184; Exponential Generating Functions 184; Products of Exponential Generating Functions 185; The Exponential Generating Function for Onto Functions 188; The Product Principle for Exponential Generating Functions 189; Putting Lists Together and Preserving Order 190; Exponential Generating Functions for Words 192; Solving Recurrence Relations with

xvi Other Generating Functions 193; Using Calculus with Exponential Generating Functions 194; EXERCISES 196 Suggested Reading for Chapter 3 198 J^. Graph Theory Section 1 Eulerian Walks and the Idea of Graphs 200 The Concept of a Graph 200; Multigraphs and the Königsberg Bridge Problem 202; Walks, Paths, and Connectivity 204; Eulerian Graphs 206; EXERCISES 208 Section 2 Trees 211 The Chemical Origins of Trees 211; Basic Facts about Trees 212; Spanning Trees 215; *The Number of Trees 217; EXERCISES 222 Section 3 Shortest Paths and Search Trees 226 Rooted Trees 226; Breadth-First Search Trees 228; Shortest Path Spanning Trees 229; Bridges 231; Depth-First Search 232; Depth-First Numbering 233; Finding Bridges 234; *An Efficient Bridge-Finding Algorithm for Computers 235; Backtracking 235; Decision Graphs 237; EXERCISES 238 Section 4 Isomorphism and Planarity 242 The Concept of Isomorphism 242; Checking Whether Two Graphs Are Isomorphic 243; Planarity 245; Euler's Formula 246; An Inequality to Check for Nonplanarity 246; EXERCISES 249 Section 5 Digraphs 252 Directed Graphs 252; Walks and Connectivity 253; Tournament Digraphs 253; Hamiltonian Paths 254; Transitive Closure 255; Reachability 256; Modifying Breadth-First Search for Strict Reachability 257; Orientable Graphs 258; Graphs without Bridges Are Orientable 258; EXERCISES 259 Section 6 Coloring 263 The Four-Color Theorem 263; Chromatic Number 263; Maps and Duals 264; The Five-Color Theorem 265; Kempe's Attempted Proof 268; Using Backtracking to Find a Coloring 269; EXERCISES 272

xvii Section 7 Graphs and Matrices 277 Adjacency Matrix of a Graph 277; Matrix Powers and Walks 277; Connectivity and Transitive Closure 279; Boolean Operations 280; *The Matrix-Tree Theorem 281; *The Number of Eulerian Walks in a Digraph 284; EXERCISES 285 Suggested Reading for Chapter 4 290 O Matching and Optimization Section 1 Matching Theory 291 The Idea of Matching 291; Making a Bigger Matching 294; A Procedure for Finding Alternating Paths in Bipartite Graphs 295; Constructing Bigger Matchings 296; Testing for Maximum-Sized Matchings by Means of Vertex Covers 297; Hall's "Marriage" Theorem 299; Term Rank and Line Covers of Matrices 300; Permutation Matrices and the Birkhoff-von Neumann Theorem 301; * Finding Alternating Paths in Nonbipartite Graphs 302; EXERCISES 308 Section 2 The Greedy Algorithm 314 The SDR Problem with Representatives That Cost Money 314; The Greedy Method 314; The Greedy Algorithm 316; Matroids Make the Greedy Algorithm Work 316; How Much Time Does the Algorithm Take? 318; The Greedy Algorithm and Minimum- Cost Independent Sets 320; The Forest Matroid of a Graph 321; Minimum-Cost Spanning Trees 322; EXERCISES 324 Section 3 Network Flows 328 Transportation Networks 328; The Concept of Flow 328; Cuts in Networks 330; Flow-Augmenting Paths 332; The Labeling Algorithm for Finding Flow-Augmenting Paths 333; The Max- Flow Min-Cut Theorem 336; *More Efficient Algorithms 337; EXERCISES 340 Section 4 Flows, Connectivity, and Matching 345 Connectivity and Menger's Theorem 345; Flows, Matchings. and Systems of Distinct Representatives 348; Minimum-Cost SDRs 350; Minimum-Cost Matchings and Flows with Edge Costs 352; The Potential Algorithm for Finding Minimum-Cost

xviii Paths 353; Finding a Maximum Flow of Minimum Cost 354; EXERCISES 356 Suggested Reading for Chapter 5 358 Combinatorial Designs Section 1 Latin Squares and Graeco Latin Squares 359 How Latin Squares Are Used 359; Randomization for Statistical Purposes 360; Orthogonal Latin Squares 362; Euler's 36- Officers Problem 363; Congruence Modulo an Integer n 363; Using Arithmetic Modulo n to Construct Latin Squares 365; Orthogonality and Arithmetic Modulo n 367; Compositions of Orthogonal Latin Squares 368; Orthogonal Arrays and Latin Squares 372; *The Construction of a 10 by 10 Graeco-Latin Square 375; EXERCISES 377 Section 2 Block Designs 379 How Block Designs Are Used 379; Basic Relationships among the Parameters 380; The Incidence Matrix of a Design 381; An Example of a BIBD 383; Isomorphism of Designs 383; The Dual of a Design 384; Symmetrie Designs 385; The Necessary Conditions Need Not Be Sufficient 387; EXERCISES 388 Section 3 Construction and Resolvability of Designs 391 A Problem That Requires a Big Design 391; Cyclic Designs 391; Resolvable Designs 395; oo-cyclic Designs 396; Triple Systems 397; Kirkman's Schoolgirl Problem 398; Constructing New Designs from Old 399; Complementary Designs 400; Unions of Designs 401; Product Designs 402; Composition of Designs 402; *The Construction of Kirkman Triple Systems 403; EXERCISES 406 Section 4 Affine and Projective Planes 409 Affine Planes 409; Postulates for Affine Planes 412; The Concept of a Projective Plane 414; Basic Facts about Projective Planes 417; Projective Planes and Block Designs 418; Planes and Resolvable Designs 419; Planes and Orthogonal Latin Squares 420; EXERCISES 422

xix Section 5 Codes and Designs 424 The Concept of an Error-Correcting Code 424; Hamming Distance 425; Perfect Codes 427; Linear Codes 429; The Hamming Codes 431; Constructing Designs from Codes 433; Highly Balanced Designs 434; t-designs 435; Codes and Latin Squares 436; EXERCISES 438 Suggested Reading for Chapter 6 440 / Ordered Sets Section 1 Partial Orderings 442 What Is an Ordering? 442; Linear Orderings 444; Maximal and Minimal Elements 445; The Diagram and Covering Graph 446; Ordered Sets as Transitive Closures of Digraphs 449; Trees as Ordered Sets 449; Weak Orderings 450; Interval Orders 451; EXERCISES 454 Section 2 Linear Extensions and Chains 458 The Idea of a Linear Extension 458; Dimension of an Ordered Set 459; Topological Sorting Algorithms 460; Chains in Ordered Sets 460; Chain Decompositions of Posets 462; Finding Chain Decompositions 464; Alternating Walks 467; Finding Alternating Walks 470; EXERCISES 471 Section 3 Lattices 477 What Is a Lattice? 477; The Partition Lattice 479; The Bond Lattice of a Graph 481; The Algebraic Description of Lattices 482; EXERCISES 484 Section 4 Boolean Algebras 488 The Idea of a Complement 488; Boolean Algebras 490; Boolean Algebras of Statements 491; Combinatorial Gate Networks 494; Boolean Polynomials 496; DeMorgan's Laws 496; Disjunctive Normal Form 497; All Finite Boolean Algebras Are Subset Lattices 499; EXERCISES 501 Section 5 Möbius Functions 505 A Review of Inclusion and Exclusion 505; The Zeta Matrix 506; The Möbius Matrix 508; The Möbius Function 509; Equations

xx That Describe the Möbius Function 511; The Number-Theoretic Möbius Function 513; The Number of Connected Graphs 515; A General Method of Computing Möbius Functions of Lattices 517; The Möbius Function of the Partition Lattice 518; EXERCISES 519 Section 6 Products of Orderings 523 The Idea of a Product 523; Products of Ordered Sets and Möbius Functions 524; Products of Ordered Sets and Dimension 526; Width and Dimension of Ordered Sets 528; EXERCISES 529 Suggested Reading for Chapter 7 531 O Enumeration under Group Adlon Section 1 Permutation Groups 532 Permutations and Equivalence Relations 532; The Group Properties 535; Powers of Permutations 537; Permutation Groups 538; Associating a Permutation with a Geometrie Motion 539; Abstract Groups 540; EXERCISES 542 Section 2 Groups Acting on Sets 545 Groups Acting on Sets 545; Orbits as Equivalence Classes 547; The Subgroup Fixing a Point and Cosets 548; The Size of a Subgroup 551; The Subgroup Generated by a Set 552; The Cycles of a Permutation 553; EXERCISES 557 Section 3 Pölya's Enumeration Theorem 562 The Cauchy-Frobenius-Burnside Theorem 562; Enumerators of Colorings 564; Generating Functions for Orbits 566; Using the Orbit-Fixed Point Lemma 568; Orbits of Functions 570; The Orbit Enumerator for Functions 572; How Cycle Structure Interacts with Colorings 573; The Pölya-Redfield Theorem 575; EXERCISES 578 Suggested Reading for Chapter 8 580 Answers to Exercises 581 Index 642