Topics in Discrete Mathematics

Total Page:16

File Type:pdf, Size:1020Kb

Topics in Discrete Mathematics TOPICS IN DISCRETE MATHEMATICS A.F. Pixley Harvey Mudd College July 21, 2010 ii Contents Preface v 1 Combinatorics 1 1.1 Introduction . 1 1.2 The Pigeonhole Principle . 2 1.3 Ramsey's Theorem . 7 1.4 Counting Strategies . 15 1.5 Permutations and combinations . 19 1.6 Permutations and combinations with repetitions . 28 1.7 The binomial coefficients . 38 1.8 The principle of inclusion and exclusion . 45 2 The Integers 53 2.1 Divisibility and Primes . 53 2.2 GCD and LCM . 58 2.3 The Division Algorithm and the Euclidean Algorithm . 62 2.4 Modules . 67 2.5 Counting; Euler's φ-function . 69 2.6 Congruences . 73 2.7 Classical theorems about congruences . 79 2.8 The complexity of arithmetical computation . 85 3 The Discrete Calculus 93 3.1 The calculus of finite differences . 93 3.2 The summation calculus . 102 3.3 Difference Equations . 108 3.4 Application: the complexity of the Euclidean algorithm . 114 4 Order and Algebra 117 4.1 Ordered sets and lattices . 117 4.2 Isomorphism and duality . 119 4.3 Lattices as algebras . 122 4.4 Modular and distributive lattices . 125 iii iv CONTENTS 4.5 Boolean algebras . 132 4.6 The representation of Boolean algebras . 137 5 Finite State Machines 145 5.1 Machines-introduction . 145 5.2 Semigroups and monoids . 146 5.3 Machines - formal theory . 148 5.4 The theorems of Myhill and Nerode . 152 6 Appendix: Induction 161 v Preface This text is intended as an introduction to a selection of topics in discrete mathemat- ics. The choice of topics in most such introductory texts is usually governed by the supposed needs of students intending to emphasize computer science in their subse- quent studies. Our intended audience is somewhat larger and is intended to include any student seriously interested in any of the mathematical sciences. For this reason the choice of each topic is to a large extent governed by its intrinsic mathematical importance. Also, for each topic introduced an attempt has been made to develop the topic in sufficient depth so that at least one reasonably nontrivial theorem can be proved, and so that the student can appreciate the existence of new and unexplored mathematical territory. For reasons that are not entirely clear, at least to me, discrete mathematics seems to be not as amenable to the intuitive sort of development so much enjoyed in the study of beginning calculus. Perhaps one reason for this is the fortuitous notation used for derivatives and integrals which makes such topics as the chain rule for derivatives and the change of variable theorems for integrals so easy to understand. But, for example, in the discrete calculus, (presented in Chapter 3 of this book), despite many efforts, the notation is not quite so natural and suggestive. It may also just be the case that human intuition is, by nature, better adapted to the study of the continuous world than to the discrete one. In any case, even in beginning discrete mathematics, the role of proper mathematical reasoning and hence the role of careful proofs seems to be more essential than in beginning continuous mathematics. Hence we place a great deal of emphasis on careful mathematical reasoning throughout the text. Because of this, the prerequisites I have had in my mind in writing the text, beyond rigorous courses in single variable and multivariable calculus, include linear algebra as well as elementary computer programming. While little specific information from these subjects is used, the expectation is that the reader has developed sufficient mathematical maturity to begin to engage in reasonably sophisticated mathematical reasoning. We do assume familiarity with the meanings of elementary set and logical notation. Concerning sets this means the membership (2) and inclusion (⊂) relations, unions, intersections, complements, cartesian products, etc.. Concerning logic this means the propositional connectives (\or", \and", \negation", and \implication") and the meanings of the existential and universal quantifiers. We develop more of these topics as we need them. Mathematical induction plays an important role in the topics studied and an appendix on this subject is included. In teaching from this text I like to begin the course with this appendix. Chapters 1 (Combinatorics) and 2 (The Integers) are the longest and the most important in the text. With the exception of the principle of inclusion and exclusion (Section 1.8) which is used in Section 2.5 to obtain Legendre's formula for the Euler φ- function, and a little knowledge of the binomial coefficients, there is little dependence vi of Chapter 2 on Chapter 1. The remaining chapters depend on the first two in varying amounts, but not at all on each other. Chapter 1 Combinatorics 1.1 Introduction Combinatorics is concerned with the possible arrangements or configurations of ob- jects in a set. Three main kinds of combinatorial problems occur: existential, enu- merative, and constructive. Existential combinatorics studies the existence or non- existence of certain configurations. The celebrated \four color problem"| Is there a map of possible \countries" on the surface of a sphere which requires more than four colors to distinguish between countries?| is probably the most famous example of existential combinatorics. Its negative \solution" by Appel and Haken in 1976 required over 1000 hours of computer time and involved nearly 10 billion separate logical decisions. Enumerative combinatorics is concerned with counting the number of configura- tions of a specific kind. Examples abound in everyday life: how many ways can a legislative committee of five members be chosen from among ten Democrats and six Republicans so that the Republicans are denied a majority? In how many ways can such a committee, once chosen, be seated around a circular table? These and many other simple counting problems come to mind. Constructive combinatorics deals with methods for actually finding specific con- figurations, as opposed to simply demonstrating their existence. For example, Los Angeles County contains at least 10 million residents and by no means does any hu- man being have anywhere near that many hairs on his or her head. Consequently we must conclude (by existential combinatorics) that at any instant at least two people in LA County have precisely the same number of hairs on their heads! This simple assertion of existence is, however, a far cry from actually prescribing a method of find- ing such a pair of people | which is not even a mathematical problem. Constructive combinatorics, on the other hand, is primarily concerned with devising algorithms | mechanical procedures | for actually constructing a desired configuration. In the following discussion we will examine some basic combinatorial ideas with emphasis on the mathematical principles underlying them. We shall be primarily 1 2 Chapter 1 Combinatorics concerned with enumerative combinatorics since this classical area has the most con- nections with other areas of mathematics. We shall not be much concerned at all with constructive combinatorics and only in the following discussion of the Pigeon- hole principle and Ramsey's theorem will we be studying a primary area of existential combinatorics. 1.2 The Pigeonhole Principle If we put into pigeonholes more pigeons than we have pigeonholes then at least one of the pigeonholes contains at least two pigeons. If n people are wearing n + 1 hats, then someone is wearing two hats. The purely mathematical content of either of these assertions as well as of the \LA County hair assertion" above is the same: Proposition 1.2.1 (Pigeonhole Principle) If a set of at least n + 1 objects is parti- tioned into n non-overlapping subsets, then one of the subsets contains at least two objects. The proof of the proposition is simply the observation that if each of the n non- overlapping subsets contained at most 1 object, then altogether we would only account for at most n of the at least n + 1 objects. In order to see how to apply the Pigeonhole Principle some discussion of partitions of finite sets is in order. A partition π of a set S is a subdivision of S into non-empty subsets which are disjoint and exhaustive, i.e.: each element of S must belong to one and only one of the subsets. Thus π = fA1; :::; Ang is a partition of S if the following conditions are met: each Ai 6= ;, Ai \ Aj = ; for i 6= j, and S = A1 [···[ An. The Ai are called the blocks or classes of the partition π and the number of blocks n is called the index of π and denote it by index(π). Thus the states and the District of Columbia form the blocks of a partition of index 51 of the set of all residents of the United States. A partition π of a set S of n elements always has index ≤ n and has index = n iff each block contains precisely one element. At the other extreme is the partition of index 1 whose only block is S itself. With this terminology the Pigeonhole Principle asserts: If π is a partition of S with index(π) < jSj, then some block contains at least two elements. (jSj denotes the number of elements in S.) Partitions of S are determined by certain binary relations on S called equivalence relations. Formally, R denotes a binary relation on S if for each ordered pair (a; b) of elements of S either a stands in the relation R to b (written aRb) or a does not stand in the relation R to b. For example, =; <; ≤; j (the latter denoting divisibility) are common binary relations on the set Z of all integers. There are also common non-mathematical relations such as \is the brother of" among the set of all men, or \lives in the same state as" among residents of the United States (taking DC as a Section 1.2 The Pigeonhole Principle 3 state).
Recommended publications
  • Research Statement
    D. A. Williams II June 2021 Research Statement I am an algebraist with expertise in the areas of representation theory of Lie superalgebras, associative superalgebras, and algebraic objects related to mathematical physics. As a post- doctoral fellow, I have extended my research to include topics in enumerative and algebraic combinatorics. My research is collaborative, and I welcome collaboration in familiar areas and in newer undertakings. The referenced open problems here, their subproblems, and other ideas in mind are suitable for undergraduate projects and theses, doctoral proposals, or scholarly contributions to academic journals. In what follows, I provide a technical description of the motivation and history of my work in Lie superalgebras and super representation theory. This is then followed by a description of the work I am currently supervising and mentoring, in combinatorics, as I serve as the Postdoctoral Research Advisor for the Mathematical Sciences Research Institute's Undergraduate Program 2021. 1 Super Representation Theory 1.1 History 1.1.1 Superalgebras In 1941, Whitehead dened a product on the graded homotopy groups of a pointed topological space, the rst non-trivial example of a Lie superalgebra. Whitehead's work in algebraic topol- ogy [Whi41] was known to mathematicians who dened new graded geo-algebraic structures, such as -graded algebras, or superalgebras to physicists, and their modules. A Lie superalge- Z2 bra would come to be a -graded vector space, even (respectively, odd) elements g = g0 ⊕ g1 Z2 found in (respectively, ), with a parity-respecting bilinear multiplication termed the Lie g0 g1 superbracket inducing1 a symmetric intertwining map of -modules.
    [Show full text]
  • Introduction to Computational Social Choice
    1 Introduction to Computational Social Choice Felix Brandta, Vincent Conitzerb, Ulle Endrissc, J´er^omeLangd, and Ariel D. Procacciae 1.1 Computational Social Choice at a Glance Social choice theory is the field of scientific inquiry that studies the aggregation of individual preferences towards a collective choice. For example, social choice theorists|who hail from a range of different disciplines, including mathematics, economics, and political science|are interested in the design and theoretical evalu- ation of voting rules. Questions of social choice have stimulated intellectual thought for centuries. Over time the topic has fascinated many a great mind, from the Mar- quis de Condorcet and Pierre-Simon de Laplace, through Charles Dodgson (better known as Lewis Carroll, the author of Alice in Wonderland), to Nobel Laureates such as Kenneth Arrow, Amartya Sen, and Lloyd Shapley. Computational social choice (COMSOC), by comparison, is a very young field that formed only in the early 2000s. There were, however, a few precursors. For instance, David Gale and Lloyd Shapley's algorithm for finding stable matchings between two groups of people with preferences over each other, dating back to 1962, truly had a computational flavor. And in the late 1980s, a series of papers by John Bartholdi, Craig Tovey, and Michael Trick showed that, on the one hand, computational complexity, as studied in theoretical computer science, can serve as a barrier against strategic manipulation in elections, but on the other hand, it can also prevent the efficient use of some voting rules altogether. Around the same time, a research group around Bernard Monjardet and Olivier Hudry also started to study the computational complexity of preference aggregation procedures.
    [Show full text]
  • Dynamic Algebras: Examples, Constructions, Applications
    Dynamic Algebras: Examples, Constructions, Applications Vaughan Pratt∗ Dept. of Computer Science, Stanford, CA 94305 Abstract Dynamic algebras combine the classes of Boolean (B ∨ 0 0) and regu- lar (R ∪ ; ∗) algebras into a single finitely axiomatized variety (BR 3) resembling an R-module with “scalar” multiplication 3. The basic result is that ∗ is reflexive transitive closure, contrary to the intuition that this concept should require quantifiers for its definition. Using this result we give several examples of dynamic algebras arising naturally in connection with additive functions, binary relations, state trajectories, languages, and flowcharts. The main result is that free dynamic algebras are residu- ally finite (i.e. factor as a subdirect product of finite dynamic algebras), important because finite separable dynamic algebras are isomorphic to Kripke structures. Applications include a new completeness proof for the Segerberg axiomatization of propositional dynamic logic, and yet another notion of regular algebra. Key words: Dynamic algebra, logic, program verification, regular algebra. This paper originally appeared as Technical Memo #138, Laboratory for Computer Science, MIT, July 1979, and was subsequently revised, shortened, retitled, and published as [Pra80b]. After more than a decade of armtwisting I. N´emeti and H. Andr´eka finally persuaded the author to publish TM#138 itself on the ground that it contained a substantial body of interesting material that for the sake of brevity had been deleted from the STOC-80 version. The principal changes here to TM#138 are the addition of footnotes and the sections at the end on retrospective citations and reflections. ∗This research was supported by the National Science Foundation under NSF grant no.
    [Show full text]
  • On Families of Mutually Exclusive Sets
    ANNALS OF MATHEMATICS Vol. 44, No . 2, April, 1943 ON FAMILIES OF MUTUALLY EXCLUSIVE SETS BY P . ERDÖS AND A. TARSKI (Received August 11, 1942) In this paper we shall be concerned with a certain particular problem from the general theory of sets, namely with the problem of the existence of families of mutually exclusive sets with a maximal power . It will turn out-in a rather unexpected way that the solution of these problems essentially involves the notion of the so-called "inaccessible numbers ." In this connection we shall make some general remarks regarding inaccessible numbers in the last section of our paper . §1. FORMULATION OF THE PROBLEM . TERMINOLOGY' The problem in which we are interested can be stated as follows : Is it true that every field F of sets contains a family of mutually exclusive sets with a maximal power, i .e . a family O whose cardinal number is not smaller than the cardinal number of any other family of mutually exclusive sets contained in F . By a field of sets we understand here as usual a family F of sets which to- gether with every two sets X and Y contains also their union X U Y and their difference X - Y (i.e. the set of those elements of X which do not belong to Y) among its elements . A family O is called a family of mutually exclusive sets if no set X of X of O is empty and if any two different sets of O have an empty inter- section. A similar problem can be formulated for other families e .g .
    [Show full text]
  • Introduction to Computational Social Choice Felix Brandt, Vincent Conitzer, Ulle Endriss, Jérôme Lang, Ariel D
    Introduction to Computational Social Choice Felix Brandt, Vincent Conitzer, Ulle Endriss, Jérôme Lang, Ariel D. Procaccia To cite this version: Felix Brandt, Vincent Conitzer, Ulle Endriss, Jérôme Lang, Ariel D. Procaccia. Introduction to Computational Social Choice. Felix Brandt, Vincent Conitzer, Ulle Endriss, Jérôme Lang, Ariel D. Procaccia, Handbook of Computational Social Choice, Cambridge University Press, pp.1-29, 2016, 9781107446984. 10.1017/CBO9781107446984. hal-01493516 HAL Id: hal-01493516 https://hal.archives-ouvertes.fr/hal-01493516 Submitted on 21 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. 1 Introduction to Computational Social Choice Felix Brandta, Vincent Conitzerb, Ulle Endrissc, J´er^omeLangd, and Ariel D. Procacciae 1.1 Computational Social Choice at a Glance Social choice theory is the field of scientific inquiry that studies the aggregation of individual preferences towards a collective choice. For example, social choice theorists|who hail from a range of different disciplines, including mathematics, economics, and political science|are interested in the design and theoretical evalu- ation of voting rules. Questions of social choice have stimulated intellectual thought for centuries. Over time the topic has fascinated many a great mind, from the Mar- quis de Condorcet and Pierre-Simon de Laplace, through Charles Dodgson (better known as Lewis Carroll, the author of Alice in Wonderland), to Nobel Laureates such as Kenneth Arrow, Amartya Sen, and Lloyd Shapley.
    [Show full text]
  • Discrete Mathematics Discrete Probability
    Introduction Probability Theory Discrete Mathematics Discrete Probability Prof. Steven Evans Prof. Steven Evans Discrete Mathematics Introduction Probability Theory 7.1: An Introduction to Discrete Probability Prof. Steven Evans Discrete Mathematics Introduction Probability Theory Finite probability Definition An experiment is a procedure that yields one of a given set os possible outcomes. The sample space of the experiment is the set of possible outcomes. An event is a subset of the sample space. Laplace's definition of the probability p(E) of an event E in a sample space S with finitely many equally possible outcomes is jEj p(E) = : jSj Prof. Steven Evans Discrete Mathematics By the product rule, the number of hands containing a full house is the product of the number of ways to pick two kinds in order, the number of ways to pick three out of four for the first kind, and the number of ways to pick two out of the four for the second kind. We see that the number of hands containing a full house is P(13; 2) · C(4; 3) · C(4; 2) = 13 · 12 · 4 · 6 = 3744: Because there are C(52; 5) = 2; 598; 960 poker hands, the probability of a full house is 3744 ≈ 0:0014: 2598960 Introduction Probability Theory Finite probability Example What is the probability that a poker hand contains a full house, that is, three of one kind and two of another kind? Prof. Steven Evans Discrete Mathematics Introduction Probability Theory Finite probability Example What is the probability that a poker hand contains a full house, that is, three of one kind and two of another kind? By the product rule, the number of hands containing a full house is the product of the number of ways to pick two kinds in order, the number of ways to pick three out of four for the first kind, and the number of ways to pick two out of the four for the second kind.
    [Show full text]
  • Why Theory of Quantum Computing Should Be Based on Finite Mathematics Felix Lev
    Why Theory of Quantum Computing Should be Based on Finite Mathematics Felix Lev To cite this version: Felix Lev. Why Theory of Quantum Computing Should be Based on Finite Mathematics. 2018. hal-01918572 HAL Id: hal-01918572 https://hal.archives-ouvertes.fr/hal-01918572 Preprint submitted on 11 Nov 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Why Theory of Quantum Computing Should be Based on Finite Mathematics Felix M. Lev Artwork Conversion Software Inc., 1201 Morningside Drive, Manhattan Beach, CA 90266, USA (Email: [email protected]) Abstract We discuss finite quantum theory (FQT) developed in our previous publica- tions and give a simple explanation that standard quantum theory is a special case of FQT in the formal limit p ! 1 where p is the characteristic of the ring or field used in FQT. Then we argue that FQT is a more natural basis for quantum computing than standard quantum theory. Keywords: finite mathematics, quantum theory, quantum computing 1 Motivation Classical computer science is based on discrete mathematics for obvious reasons. Any computer can operate only with a finite number of bits, a bit represents the minimum amount of information and the notions of one half of the bit, one third of the bit etc.
    [Show full text]
  • The Structure and Ontology of Logical Space June 1983
    WORLDS AND PROPOSITIONS: The Structure and Ontology of Logical Space Phillip Bricker A DISSERTATION PRESENTED TO THE FACULTY OF PRINCETON UNIVERSITY IN CANDIDACY FOR THE DEGREE OF DOCTOR OF PH I LOSOPHY RECOMMENDED FOR ACCEPTANCE BY THE DEPARTMENT OF PHILOSOPHY June 1983 © 1983 Phillip Bricker ALL RIGHTS RESERVED ACKNOWLEDGMENTS I acknowledge with pleasure an enormous intellectual debt to my thesis adviser, David Lewis, both for his extensive and invaluable comments on various drafts of this work, and, more generally, for teaching me so much of what I know about matters philosophical. CONTENTS Introduction. 3 Section 1: Propositions and Boolean Algebra. 10 First Thesis. 10 First Reformulation: The Laws of Propositional Logic. 15 Second Reformulation: The Lindenbaum-Tarski Algebra. 21 Objections to the First Thesis. 28 Second Thesis. 33 Objections to the Second Thesis. 3& section 2: Logical Space. 38 Logical Space as a Field of Sets. 38 Alternative Conceptions of Logical Space. 44 section 3: Maximal Consistent Sets of Propositions. 48 Third Thesis. 48 Atomic Propositions. 52 Finite Consistency. 55 Objections to the Third Thesis. 59 section 4: Separating Worlds by Propositions. 68 Fourth Thesis. 68 Indiscernibility Principles. 71 Objections to the Fourth Thesis. 74 Section 5: Consistency and Realizability. 78 Fifth Thesis. 78 The Compact Theory. 82 The Mathematical Objection. 91 The Modal Objection. 105 Section 6: Proposition-Based Theories. 117 Tripartite Correspondence. 117 Weak and Feeble Proposition-Based Theories. 123 Adams's World-Story Theory. 131 Section 7: The World-Based Theory. 138 Isomorphic Algebras. 138 Stalnaker on Adams. 148 Section 8: Reducing possible Worlds to Language. 156 Introduction.
    [Show full text]
  • Mathematics 1
    Mathematics 1 MATH 1030 College Algebra (MOTR MATH 130): 3 semester hours Mathematics Prerequisites: A satisfactory score on the UMSL Math Placement Examination, obtained at most one year prior to enrollment in this course, Courses or approval of the department. This is a foundational course in math. Topics may include factoring, complex numbers, rational exponents, MATH 0005 Intermediate Algebra: 3 semester hours simplifying rational functions, functions and their graphs, transformations, Prerequisites: A satisfactory score on the UMSL Math Placement inverse functions, solving linear and nonlinear equations and inequalities, Examination, obtained at most one year prior to enrollment in this polynomial functions, inverse functions, logarithms, exponentials, solutions course. Preparatory material for college level mathematics courses. to systems of linear and nonlinear equations, systems of inequalities, Covers systems of linear equations and inequalities, polynomials, matrices, and rates of change. This course fulfills the University's general rational expressions, exponents, quadratic equations, graphing linear education mathematics proficiency requirement. and quadratic functions. This course carries no credit towards any MATH 1035 Trigonometry: 2 semester hours baccalaureate degree. Prerequisite: MATH 1030 or MATH 1040, or concurrent registration in MATH 1020 Contemporary Mathematics (MOTR MATH 120): 3 either of these two courses, or a satisfactory score on the UMSL Math semester hours Placement Examination, obtained at most one year prior to enrollment Prerequisites: A satisfactory score on the UMSL Math Placement in this course. A study of the trigonometric and inverse trigonometric Examination, obtained at most one year prior to enrollment in this functions with emphasis on trigonometric identities and equations. course. This course presents methods of problem solving, centering on MATH 1045 PreCalculus (MOTR MATH 150): 5 semester hours problems and questions which arise naturally in everyday life.
    [Show full text]
  • How to Choose a Winner: the Mathematics of Social Choice
    Snapshots of modern mathematics № 9/2015 from Oberwolfach How to choose a winner: the mathematics of social choice Victoria Powers Suppose a group of individuals wish to choose among several options, for example electing one of several candidates to a political office or choosing the best contestant in a skating competition. The group might ask: what is the best method for choosing a winner, in the sense that it best reflects the individual pref- erences of the group members? We will see some examples showing that many voting methods in use around the world can lead to paradoxes and bad out- comes, and we will look at a mathematical model of group decision making. We will discuss Arrow’s im- possibility theorem, which says that if there are more than two choices, there is, in a very precise sense, no good method for choosing a winner. This snapshot is an introduction to social choice theory, the study of collective decision processes and procedures. Examples of such situations include • voting and election, • events where a winner is chosen by judges, such as figure skating, • ranking of sports teams by experts, • groups of friends deciding on a restaurant to visit or a movie to see. Let’s start with two examples, one from real life and the other made up. 1 Example 1. In the 1998 election for governor of Minnesota, there were three candidates: Norm Coleman, a Republican; Skip Humphrey, a Democrat; and independent candidate Jesse Ventura. Ventura had never held elected office and was, in fact, a professional wrestler. The voting method used was what is called plurality: each voter chooses one candidate, and the candidate with the highest number of votes wins.
    [Show full text]
  • Complexity of Algorithms 3.4 the Integers and Division
    University of Hawaii ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., University of Hawaii Jan Stelovsky based on slides by Dr. Baek and Dr. Still Originals by Dr. M. P. Frank and Dr. J.L. Gross Provided by McGraw-Hill ICS 141: Discrete Mathematics I – Fall 2011 13-1 University of Hawaii Lecture 16 Chapter 3. The Fundamentals 3.3 Complexity of Algorithms 3.4 The Integers and Division ICS 141: Discrete Mathematics I – Fall 2011 13-2 3.3 Complexity of AlgorithmsUniversity of Hawaii n An algorithm must always produce the correct answer, and should be efficient. n How can the efficiency of an algorithm be analyzed? n The algorithmic complexity of a computation is, most generally, a measure of how difficult it is to perform the computation. n That is, it measures some aspect of the cost of computation (in a general sense of “cost”). n Amount of resources required to do a computation. n Some of the most common complexity measures: n “Time” complexity: # of operations or steps required n “Space” complexity: # of memory bits required ICS 141: Discrete Mathematics I – Fall 2011 13-3 Complexity Depends on InputUniversity of Hawaii n Most algorithms have different complexities for inputs of different sizes. n E.g. searching a long list typically takes more time than searching a short one. n Therefore, complexity is usually expressed as a function of the input size. n This function usually gives the complexity for the worst-case input of any given length. ICS 141: Discrete Mathematics I – Fall 2011 13-4 Worst-, Average- and University of Hawaii Best-Case Complexity n A worst-case complexity measure estimates the time required for the most time consuming input of each size.
    [Show full text]
  • Applied-Math-Catalog-Web.Pdf
    Applied mathematics was once only associated with the natural sciences and en- gineering, yet over the last 50 years it has blossomed to include many fascinat- ing subjects outside the physical sciences. Such areas include game theory, bio- mathematics and mathematical economy demonstrating mathematics' presence throughout everyday human activity. The AMS book publication program on applied and interdisciplinary mathematics strengthens the connections between mathematics and other disciplines, highlighting the areas where mathematics is most relevant. These publications help mathematicians understand how math- ematical ideas may benefit other sciences, while offering researchers outside of mathematics important tools to advance their profession. Table of Contents Algebra and Algebraic Geometry .............................................. 3 Analysis ........................................................................................... 3 Applications ................................................................................... 4 Differential Equations .................................................................. 11 Discrete Mathematics and Combinatorics .............................. 16 General Interest ............................................................................. 17 Geometry and Topology ............................................................. 18 Mathematical Physics ................................................................... 19 Probability .....................................................................................
    [Show full text]