i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page i — ©#1Princeton University Press, 2018
Please do not circulate. i
ESSENTIAL DISCRETE
MATHEMATICS FOR
s
COMPUTER SCIENCE es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page ii — ©#2
Princeton University Press, 2018
Please do not circulate. i
s
es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−1
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6 on YakiBooki.com
— 14:40 Copyright
— page iii —©#3
Princeton University Press, 2018
Please do not circulate. i
ESSENTIAL DISCRETE
MATHEMATICS FOR
s
es
COMPUTER SCIENCE
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
Harry Lewis and Rachel Zax
−
PR I NC ETON U N I V E R SI T Y PR E S S ∼ PR I NC ETON A ND OX FOR D 0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page iv — ©#4
Princeton University Press, 2018
Please do not circulate. i
c 2019 by Harry Lewis and Rachel Zax
s
Copyright
es
Pr
Requests for permission to reproduce material from this work
ity
should be sent to permissions@press.princeton.edu
rs
ve
ni
Published by Princeton University Press
U
41 William Street, Princeton, New Jersey 08540
n
to
6 Oxford Street, Woodstock, Oxfordshire OX20 1TR
ce
in
press.princeton.edu
Pr
All Rights Reserved
LCCN
ISBN 978-0-691-17929-2
British Library Cataloging-in-Publication Data is available
Editorial: Vickie Kearn and Arthur Werneck
Production Editorial: Kathleen Cioffi
Jacket Design: Lorraine Doneker
Jacket/Cover Credit:
Production: Erin Suydam
Publicity: Alyssa Sanford
Copyeditor: Alison S. Britton
This book has been composed in MinionPro
Printed on acid-free paper. ∞
Printed in the United States of America
−1
0 10 9 8 7 6 5 4 3 2 1
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page v — ©#5Princeton University Press, 2018
Please do not circulate. i
To Alexandra, Stella, Elizabeth, and Annie
and
to David, Marcia, Ben, and Aryeh
s
es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page vi — ©#6
Princeton University Press, 2018
Please do not circulate. i
s
es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−1
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6 on YakiBooki.com
— 14:40 Copyright
— page vii —© #7
Princeton University Press, 2018
Please do not circulate. i
An engineer is said to be a man who knows a great deal about a very
little, and who goes around knowing more and more, about less and
less, until finally, he practically knows everything about nothing;
whereas, a Salesman, on the other hand, is a man who knows a very
s
es
little about a great deal, and keeps on knowing less and less about more
Pr
and more until finally he knows practically nothing, about everything.
ity
rs
ve
ni
Van Nuys, California, News, June 26, 1933
U
n
to
ce
in
Pr
−
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6 on YakiBooki.com
— 14:40 Copyright
— page viii —© #8
Princeton University Press, 2018
Please do not circulate. i
s
es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−1
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6on YakiBooki.com
— 14:40 Copyright
— page ix — ©#9
Princeton University Press, 2018
Please do not circulate. i
CONTENTS
Preface xi
1 The Pigeonhole Principle 1
2 Basic Proof Techniques 11
3 Proof by Mathematical Induction 25
4 Strong Induction 39
5 Sets 49
6 Relations and Functions 59
7 Countable and Uncountable Sets 69
s
8 Structural Induction es 79
Pr
ity
9 Propositional Logic 89
rs
ve
10
ni
Normal Forms 101
U
n
11
to
Logic and Computers 111
ce
in
12 Quantificational Logic 119
Pr
13 Directed Graphs 133
14 Digraphs and Relations 141
15 States and Invariants 151
16 Undirected Graphs 161
17 Connectivity 173
18 Coloring 179
19 Finite Automata 187
20 Regular Languages 201
21 Order Notation 211
22 Counting 233
23 Counting Subsets 243 −
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i
i i
i
This Book is Available
“525-76072_ch01_1aP” — 2018/10/6 on YakiBooki.com
— 14:40 Copyright
— page x — ©#10
Princeton University Press, 2018
Please do not circulate. i
x contents
24 Series 261
25 Recurrence Relations 277
26 Probability 297
27 Conditional Probability 311
28 Bayes’ Theorem 323
29 Random Variables and Expectation 335
30 Modular Arithmetic 359
31 Public Key Cryptography 371
Index 381
s
es
Pr
ity
rs
ve
ni
U
n
to
ce
in
Pr
−1
0
1
i i
https://www.yakibooki.com/download/essential-discrete-mathematics-for-computer-science/
i i