# The Importance of discrete mathematics in computer science

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 The Importance of discrete mathematics in computer science Exemplified by deductive logic and Boolean algebra By Mathias Schilling BSc Computing, Birkbeck, University of London

2 Preface Discrete mathematics (DM) is a branch of mathematics which deals with mathematical operations within a subset of the real numbers where data is considered more as objects rather than numbers. Characteristically DM provides us problem solving solutions for only distinct and countable quantities which stands clearly in contrast to e.g. the mathematical analysis which encompasses continuous functions applied on uncountable and infinitive quantities. The term discrete (Latin discretum) highlights exactly this difference. Even though some sections of DM like e.g. number- or graph theory are relatively old, discrete mathematics has been overshadowed for centuries by the continuous mathematics due to the invention of infinitesimal calculus and its multifaceted applications within natural sciences (particularly in physics). It was only during the 20 century that discrete mathematics has become again more and more important. The new computer based possibilities of data processing have opened a new chapter and pushed the development into the field of discrete mathematics as well as into the computer sciences (CS) itself. But what is that exactly gives discrete mathematics such an importance within the CS? To get a better understanding on how discrete maths concepts are related to computer sciences and why it is relevant for computer engineers to have a solid knowledge in this area we will take a look into mathematical logic as one of major DM topics. Page 1 / 9

3 Mathematical logic in computer sciences History Mathematical logic (ML) emphasises the principles of valid reasoning, inference, validity and soundness and, therefore finds applications in mostly all areas of computing. The study of mathematical proof is specifically important within logic, and has applications to automated theorem proofing and formal verification of software. Before diving deeper into the actual context of ML, we will have a brief look into the historical background of ML, in general and deductive reasoning in detail. Logic is a science of the necessary laws of thought, without which no employment of the understanding and the reason takes place. Immanuel Kant, 1785 The origins of logic can be traced back to the works of the great Greek philosopher Aristotle (384 B.C B.C.) who lived during the golden age of Greek culture. He was one of the first denoted thinkers who believed in the concept of logic with reasoning and arguments as fundamentals for knowledge and covered this thesis in his monumental masterpiece Organon 1. One of his main aims was to establish rules that would enable Greek citizens to distinguish arguments that would formally be valid and correct from those which would be invalid and, therefore wrong. He developed a collection of logical rules for what we currently now as deductive reasoning (syllogismos). Two fundamental laws of logic were established by Aristotle. The Law of Non-Contradiction and the Law of Excluded Middle. The Law of Non-contradiction 2 establishes that 1 (Epp, 2010) 2 (Gottlieb, 2007) Page 2 / 9

4 no proposition can be true and false at the same time. The Law of the Excluded Middle 3 defines that a proposition must be either true or false. Aristotle s logic is well designed in a way that it is possible to determine the validity of an argument regardless of the matter that is being argued. The engine behind his logic is the syllogism with two premises and one conclusion such as for example: All man are mortal. (Premises 1) Socrates is a man. (Premises 2) -- Therefore, Socrates is mortal. (Conclusion) In syllogisms the conclusion is deduced from the premises. If we do not know the conclusion Socrates is mortal than the fact that All man are mortal and Socrates is a man can be used as a proof that indeed Socrates is mortal. This is what is known as deductive argument, which means that the conclusion is a necessary result of the premises. The very beauty of a well-executed syllogism is that it cannot guide from true premises to a false conclusion. For instance, in the following argument, formalize it by expressing it as All trees are plants. (True) All willows are trees. (True) -- Therefore, all willows are trees. (True) All P s are R s. (True) All Q s are P s. (True) -- Therefore, all Q s are R s. (True) 3 (Horn, 2006) Page 3 / 9

5 and notice that it is formally valid and that its validity is completely independent of its statements. Let us have a look onto another, more discussable example to illustrate this validity independency. All trees are rectangular. (False) All cats are trees. (False) -- Therefore, all cats are rectangular. (False) Of course the argument is highly questionable, but it is formally valid even its premises and conclusions are false. In the same manner a statement which premises are false and conclusion is true can also be formally valid like for example All trees are flowers. (False) All roses are trees. (False) -- Therefore, all roses are flowers. (True) Gottfried Leibniz (1646 A.C A.C.), a german philosopher and mathematician, who was intent upon logic, interpreted Aristotle s thesis by using symbols to mechanize deductive reasoning processes in the same way like reasoning process about numbers and their relationships, was mechanized by algebraic notation 4. Boolean algebra In 1847, over hundred years later, Leibniz idea was finally realized by an english, self-taught mathematicians named George Boole ( ). Boole extended the concept from Leibniz. He created the first algebra of logic and published his thoughts on this topic in his works The Mathematical Analysis of Logic (1847) and An Investigation of the Laws of Thought (1854). He found out that the symbols of logic (today known as the subject of symbolic logic) behave exactly like those in algebra and he used algebraic symbols to express 4 (Epp, 2010) Page 4 / 9

6 logical relations. He claimed that only three operations (AND, OR and NOT) are needed to perform all other logical functions. The terminology Boolean algebra was later suggested by Sheffer in Today George Boole (along with Charles Babbage, who designed the first mechanical calculator, confer Difference Engine) is considered as one of the grandfathers of computing. Applying Boolean algebra But George Boole s thoughts seemed to have been sleeping in a drawer until Claude Shannon ( ), an american mathematician and electric engineer, applied them in While Shannon was studying for his master degree at the Institute of Technology in Massachusetts, he discovered an analogy between the operations of switching devices, as in switching circuits, and the operations of logical connectives. Shannon used Boolean algebra in his thesis (A Symbolic Analysis of Relay and Switching Circuits) to design logic circuits using electromechanical relays. Comparable ideas for application came from the russian logician and theoretician Victor Shestakov in 1935, but unfortunately he did not publish his thoughts until 1941 (Shestakov, V.I. Algebra of Two Poles Schemata). Because Shannon s discovery led us more to our actual question on how Boolean algebra as part of discrete mathematics is applied in modern computer we will have a little deeper look into it. 5 (Huntington, 1933) Page 5 / 9

7 (Figure 1) 6 Imagine figure 1 (a) which shows a simple switch. It is obvious, that current can only flow between the two points if the switch is closed. When the switch is open, current cannot flow. Imagine also that this switch would be part of a circuit like in figure 1 (b). The light bulb in the drawing glows if, and only if, current can flow through the circuit and that only happens if, and only if, the switch is closed. (Figure 2) 7 Figure 2 (a) shows an electric circuit with two switches P and Q in series. The light bulb in this example will only turn on, if both switches are closed. The circuit in figure 2 is just slightly different with the switches in parallel alignment. It is obvious that the light bulb in this example turns only on if at least one of the switches is closed. The behaviour of the two figures is summarised like in the following tables (table 1: switches in series; table 2: switches in parallel): Switches Light bulb Switches Light bulb P Q State P Q State Closed Open Off Closed Open On Closed Closed On Closed Closed Off Open Open Off Open Open On Open Closed Off Open Closed Off 6 Drawing taken from (Epp, 2010) 7 Drawing taken from (Epp, 2010) Page 6 / 9

8 Now if we have a closer look onto the first table, we can determine, that if we are replacing the words Closed with True and Open with False the table becomes the truth table for the logical connective AND. If we are doing the same for the second table we are getting the truth table for OR. From this observation we can conclude that figure 2 (a) corresponds to the logical expression P Q and figure 2 (b) corresponds to P Q and Shannon, was indeed one of the first scientists who successfully applied Boolean algebra. Modern age In modern age, computers are based on the binary system of ones and zeros and are still using George Boole s logic concepts from the middle of the nineteenth century. In order to make a computer carry out arithmetically or logical operations, it uses computer circuits. These are built of logical gates and can be made from either electrical or mechanical switches. Both types work in a quite similar way, with the only difference that a mechanical switch uses lever- or wheel positions and electrical switches voltage and current to represent binary digits. A bit sequence can express numbers and letters. A logical gate takes one or more inputs from a circuit and computes based on the underlying Boolean algebra exact one output value. It can also store a result into a so called flip-flop (storage unit made from several gates). There are only three different basic types of logical gates AND, OR and NOT. All others such as NAND, NOR, EOR or for example ENOR gates can be made from the basic ones. Page 7 / 9

9 As time has gone by, symbolic logic and Boolean algebra have become the theoretical fundament for many domains in computer science such as artificial intelligence, automata theory, computability, digital logic circuit design and relational database theory. His work was theoretical; he was not an engineer and never actually built a computer or calculating machine. However, Boole s symbolic logic provided the perfect mathematical model for switching theory and for the design of digital circuits. 8 While reviewing the above mentioned works, it has been identified what an essential role deductive logic and Boolean algebra play in the history of computer science. At present time, it is frequent to find logical expressions based on Boolean algebra and deductive logic in form of conditions in the control structures of algorithms and computer programs as well as commands exempli gratia in querying databases. I would like to close this essay by stating that the more we look into a topic, the more questions arise from it and the more chances appear to challenge us in a way that will make us work further in order to improve technology. In line with that, what I have observed while researching, is that most of the time, challenges bring us to discoveries which we would have never even imagined that were possible if we hadn t been put under that pressure or extreme situation that brought us to question the status quo where we stood. I think that, ultimately, technology improvements are the result of challenging great minds, as history has already proven us. 8 (O'Regan, 2012) Page 8 / 9

10 Bibliography Epp, S. (2010). Discrete Mathematics with Applications (4 ed.). Boston: Wadsworth Publishing Co Inc. Gottlieb, P. (2007). Aristotle on Non-contradiction. Stanford Encyclopedia of Philosophy. Retrieved from Horn, L. R. (2006). Contradiction. Stanford Encyclopedia of Philosophy. Retrieved from Huntington, E. V. (1933). New sets of independent postulates for the algebra of logic, with special reference to Whitehead and Russell's Principia mathematica. Retrieved from O'Regan, G. (2012). A Brief History of Computing. Springer. Page 9 / 9

### The History of Logic. Aristotle (384 322 BC) invented logic.

The History of Logic Aristotle (384 322 BC) invented logic. Predecessors: Fred Flintstone, geometry, sophists, pre-socratic philosophers, Socrates & Plato. Syllogistic logic, laws of non-contradiction

### Logic in Computer Science: Logic Gates

Logic in Computer Science: Logic Gates Lila Kari The University of Western Ontario Logic in Computer Science: Logic Gates CS2209, Applied Logic for Computer Science 1 / 49 Logic and bit operations Computers

### CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

CHAPTER 2 Logic 1. Logic Definitions 1.1. Propositions. Definition 1.1.1. A proposition is a declarative sentence that is either true (denoted either T or 1) or false (denoted either F or 0). Notation:

### Theory of Automated Reasoning An Introduction. Antti-Juhani Kaijanaho

Theory of Automated Reasoning An Introduction Antti-Juhani Kaijanaho Intended as compulsory reading for the Spring 2004 course on Automated Reasononing at Department of Mathematical Information Technology,

### THE FUNDAMENTAL THEOREM OF ARITHMETIC

Introduction In mathematics, there are three theorems that are significant enough to be called fundamental. The first theorem, of which this essay expounds, concerns arithmetic, or more properly number

### (Refer Slide Time: 05:02)

Discrete Mathematical Structures Dr. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 1 Propositional Logic This course is about discrete

### Students in their first advanced mathematics classes are often surprised

CHAPTER 8 Proofs Involving Sets Students in their first advanced mathematics classes are often surprised by the extensive role that sets play and by the fact that most of the proofs they encounter are

### CS 441 Discrete Mathematics for CS Lecture 2. Propositional logic. CS 441 Discrete mathematics for CS. Course administration

CS 441 Discrete Mathematics for CS Lecture 2 Propositional logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Course administration Homework 1 First homework assignment is out today will be posted

### BQS 1 Introduction to Artificial Intelligence

Wu Dian September 8, 2010 Professor Craig Graci Csc416 BQS 1 Introduction to Artificial Intelligence This assignment is answering a series of questions after reading chapter 1 of Ben Coppin s Artificial

### Predicate logic Proofs Artificial intelligence. Predicate logic. SET07106 Mathematics for Software Engineering

Predicate logic SET07106 Mathematics for Software Engineering School of Computing Edinburgh Napier University Module Leader: Uta Priss 2010 Copyright Edinburgh Napier University Predicate logic Slide 1/24

### Digital Logic Circuits

Digital Logic Circuits Digital describes any system based on discontinuous data or events. Typically digital is computer data or electronic sampling of an analog signal. Computers are digital machines

### Circuits and Boolean Expressions

Circuits and Boolean Expressions Provided by TryEngineering - Lesson Focus Boolean logic is essential to understanding computer architecture. It is also useful in program construction and Artificial Intelligence.

### Introduction. Logic. Most Difficult Reading Topics. Basic Logic Gates Truth Tables Logical Functions. COMP370 Introduction to Computer Architecture

Introduction LOGIC GATES COMP370 Introduction to Computer Architecture Basic Logic Gates Truth Tables Logical Functions Truth Tables Logical Expression Graphical l Form Most Difficult Reading Topics Logic

### Module 3 Digital Gates and Combinational Logic

Introduction to Digital Electronics, Module 3: Digital Gates and Combinational Logic 1 Module 3 Digital Gates and Combinational Logic INTRODUCTION: The principles behind digital electronics were developed

### CS61c: Representations of Combinational Logic Circuits

CS61c: Representations of Combinational Logic Circuits J. Wawrzynek October 12, 2007 1 Introduction In the previous lecture we looked at the internal details of registers. We found that every register,

### Computation Beyond Turing Machines

Computation Beyond Turing Machines Peter Wegner, Brown University Dina Goldin, U. of Connecticut 1. Turing s legacy Alan Turing was a brilliant mathematician who showed that computers could not completely

### Discrete Mathematics Lecture 1 Logic of Compound Statements. Harper Langston New York University

Discrete Mathematics Lecture 1 Logic of Compound Statements Harper Langston New York University Administration Class Web Site http://cs.nyu.edu/courses/summer05/g22.2340-001/ Mailing List Subscribe at

### Handout #1: Mathematical Reasoning

Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

### Unit 2: Number Systems, Codes and Logic Functions

Unit 2: Number Systems, Codes and Logic Functions Introduction A digital computer manipulates discrete elements of data and that these elements are represented in the binary forms. Operands used for calculations

### Fundamentals of Mathematics Lecture 6: Propositional Logic

Fundamentals of Mathematics Lecture 6: Propositional Logic Guan-Shieng Huang National Chi Nan University, Taiwan Spring, 2008 1 / 39 Connectives Propositional Connectives I 1 Negation: (not A) A A T F

### Chapter I Logic and Proofs

MATH 1130 1 Discrete Structures Chapter I Logic and Proofs Propositions A proposition is a statement that is either true (T) or false (F), but or both. s Propositions: 1. I am a man.. I am taller than

### The Philosophical Importance of Mathematical Logic Bertrand Russell

The Philosophical Importance of Mathematical Logic Bertrand Russell IN SPEAKING OF "Mathematical logic", I use this word in a very broad sense. By it I understand the works of Cantor on transfinite numbers

### It is not immediately obvious that this should even give an integer. Since 1 < 1 5

Math 163 - Introductory Seminar Lehigh University Spring 8 Notes on Fibonacci numbers, binomial coefficients and mathematical induction These are mostly notes from a previous class and thus include some

### Discrete mathematics is the study of techniques, ideas and modes

CHAPTER 1 Discrete Systems Discrete mathematics is the study of techniques, ideas and modes of reasoning that are indispensable in applied disciplines such as computer science or information technology.

### PRINCIPLE OF MATHEMATICAL INDUCTION

Chapter 4 PRINCIPLE OF MATHEMATICAL INDUCTION Analysis and natural philosophy owe their most important discoveries to this fruitful means, which is called induction Newton was indebted to it for his theorem

### CS 3719 (Theory of Computation and Algorithms) Lecture 4

CS 3719 (Theory of Computation and Algorithms) Lecture 4 Antonina Kolokolova January 18, 2012 1 Undecidable languages 1.1 Church-Turing thesis Let s recap how it all started. In 1990, Hilbert stated a

### A Few Basics of Probability

A Few Basics of Probability Philosophy 57 Spring, 2004 1 Introduction This handout distinguishes between inductive and deductive logic, and then introduces probability, a concept essential to the study

### Classical Information and Bits

p. 1/24 Classical Information and Bits The simplest variable that can carry information is the bit, which can take only two values, 0 or 1. Any ensemble, description, or set of discrete values can be quantified

### SYMBOL AND MEANING IN MATHEMATICS

,,. SYMBOL AND MEANING IN MATHEMATICS ALICE M. DEAN Mathematics and Computer Science Department Skidmore College May 26,1995 There is perhaps no other field of study that uses symbols as plentifully and

### DISCRETE MATHEMATICS W W L CHEN

DISCRETE MATHEMATICS W W L CHEN c W W L Chen, 1982, 2008. This chapter originates from material used by the author at Imperial College, University of London, between 1981 and 1990. It is available free

### Computer Science. 19. Combinational Circuits. Computer Science. Building blocks Boolean algebra Digital circuits Adder circuit. Arithmetic/logic unit

PA R T I I : A L G O R I T H M S, M A C H I N E S, a n d T H E O R Y PA R T I I : A L G O R I T H M S, M A C H I N E S, a n d T H E O R Y Computer Science 9. Combinational Circuits Computer Science 9.

### 6. Combinational Circuits. Building Blocks. Digital Circuits. Wires. Q. What is a digital system? A. Digital: signals are 0 or 1.

Digital Circuits 6 Combinational Circuits Q What is a digital system? A Digital: signals are or analog: signals vary continuously Q Why digital systems? A Accurate, reliable, fast, cheap Basic abstractions

### Incompleteness and Artificial Intelligence

Incompleteness and Artificial Intelligence Shane Legg Dalle Molle Institute for Artificial Intelligence Galleria 2, Manno-Lugano 6928, Switzerland shane@idsia.ch 1 Introduction The implications of Gödel

### 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one

### Lecture 3. Mathematical Induction

Lecture 3 Mathematical Induction Induction is a fundamental reasoning process in which general conclusion is based on particular cases It contrasts with deduction, the reasoning process in which conclusion

Lecture Notes in Discrete Mathematics Marcel B. Finan Arkansas Tech University c All Rights Reserved 2 Preface This book is designed for a one semester course in discrete mathematics for sophomore or junior

### CS324-Artificial Intelligence

CS324-Artificial Intelligence Lecture 1: Introduction Waheed Noor Computer Science and Information Technology, University of Balochistan, Quetta, Pakistan Waheed Noor (CS&IT, UoB, Quetta) CS324-Artificial

### MATH20302 Propositional Logic. Mike Prest School of Mathematics Alan Turing Building Room

MATH20302 Propositional Logic Mike Prest School of Mathematics Alan Turing Building Room 1.120 mprest@manchester.ac.uk April 10, 2015 Contents I Propositional Logic 3 1 Propositional languages 4 1.1 Propositional

### 2011, The McGraw-Hill Companies, Inc. Chapter 4

Chapter 4 4.1 The Binary Concept Binary refers to the idea that many things can be thought of as existing in only one of two states. The binary states are 1 and 0 The 1 and 0 can represent: ON or OFF Open

### Why Are Computers So Dumb? Philosophy of AI. Are They Right? What Makes us Human? Strong and Weak AI. Weak AI and the Turing Test

Why Are Computers So Dumb? Philosophy of AI Will Machines Ever be Intelligent? AI has made some pretty small strides! A huge number crunching computer beat Kasparov at chess (once) but it still wouldn

### Quantification 1 The problem of multiple generality

Quantification 1 The problem of multiple generality Rob Trueman rt295@cam.ac.uk Fitzwilliam College, Cambridge 4/11/11 What is a quantifier? All, some, most, there is one, there are two, there are three...

### CHAPTER 10: PROGRAMMABLE LOGIC CONTROLLERS

CHAPTER 10: PROGRAMMABLE LOGIC CONTROLLERS 10.1 Introduction The National Electrical Manufacturers Association (NEMA) as defines a programmable logic controller: A digitally operating electronic apparatus

### Direct Proofs. CS 19: Discrete Mathematics. Direct Proof: Example. Indirect Proof: Example. Proofs by Contradiction and by Mathematical Induction

Direct Proofs CS 19: Discrete Mathematics Amit Chakrabarti Proofs by Contradiction and by Mathematical Induction At this point, we have seen a few examples of mathematical proofs. These have the following

### Regular Languages and Finite Automata

Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University Sep 16, 2010 In 1943, McCulloch and Pitts [4] published a pioneering work on a

### Inference Rules and Proof Methods

Inference Rules and Proof Methods Winter 2010 Introduction Rules of Inference and Formal Proofs Proofs in mathematics are valid arguments that establish the truth of mathematical statements. An argument

### CSE140: Midterm 1 Solution and Rubric

CSE140: Midterm 1 Solution and Rubric April 23, 2014 1 Short Answers 1.1 True or (6pts) 1. A maxterm must include all input variables (1pt) True 2. A canonical product of sums is a product of minterms

### Tutorial C1. Conversion Between Number Bases. Objectives: Reading: Background: Binary Numbers

utorial C Conversion Between Number Bases Objectives: Reading: After this tutorial you should be able to convert decimal numbers to binary numbers (both unsigned and 2 s complement), and vice versa. You

### FACULTY OF INFORMATION TECHNOLOGY

FACULTY OF INFORMATION TECHNOLOGY Course Specifications: (MATH 251) Month, Year: Fall 2008 University: Misr University for Science and Technology Faculty : Faculty of Information Technology Course Specifications

### Introduction to Computer Architecture

Why, How, and What for??? Department of Computer Science Indian Institute of Technology New Delhi, India Outline Introduction 1 Introduction 2 3 What is Computer Architecture? Figure 1: Courtesy: www.psychologytoday.com

### Artificial Intelligence. Dr. Onn Shehory Site:

Artificial Intelligence Dr. Onn Shehory email: onn@il.ibm.com Site: www.cs.biu.ac.il/~shechory/ai Outline Administrativa Course overview What is AI? Historical background The state of the art Administrativa

### Recursion Theory in Set Theory

Contemporary Mathematics Recursion Theory in Set Theory Theodore A. Slaman 1. Introduction Our goal is to convince the reader that recursion theoretic knowledge and experience can be successfully applied

### CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce

### Test Questions for learning objectives. (Select the best answer from the choices given)

Chapter 1 Test Questions for learning objectives. (Select the best answer from the choices given) 1-1. Write the definition of a PLC 1) PLCs are designed for use in the control of a wide variety of manufacturing

### 4 BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION

4 BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION BOOLEAN OPERATIONS AND EXPRESSIONS Variable, complement, and literal are terms used in Boolean algebra. A variable is a symbol used to represent a logical quantity.

### Chapter 4. Gates and Circuits. Chapter Goals. Chapter Goals. Computers and Electricity. Computers and Electricity. Gates

Chapter Goals Chapter 4 Gates and Circuits Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors Combine basic gates into circuits Describe the

### CHAPTER 3 Number System and Codes

CHAPTER 3 Number System and Codes 3.1 Introduction On hearing the word number, we immediately think of familiar decimal number system with its 10 digits; 0,1, 2,3,4,5,6, 7, 8 and 9. these numbers are called

### Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics

Undergraduate Notes in Mathematics Arkansas Tech University Department of Mathematics Introductory Notes in Discrete Mathematics Marcel B. Finan c All Rights Reserved Last Updated April 6, 2016 Preface

### Switches and Transistors

Switches and Transistors CS 350: Computer Organization & Assembler Language Programming A. Why? It s natural to use on/off switches with voltages representing binary data. Transistor circuits act as switches.

### 2.1.1 Examples of Sets and their Elements

Chapter 2 Set Theory 2.1 Sets The most basic object in Mathematics is called a set. As rudimentary as it is, the exact, formal definition of a set is highly complex. For our purposes, we will simply define

### 2110711 THEORY of COMPUTATION

2110711 THEORY of COMPUTATION ATHASIT SURARERKS ELITE Athasit Surarerks ELITE Engineering Laboratory in Theoretical Enumerable System Computer Engineering, Faculty of Engineering Chulalongkorn University

### CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence Instructor: Prof. Selman selman@cs.cornell.edu Introduction (Reading R&N: Chapter 1) Course Administration (separate slides) ü What is Artificial Intelligence?

### Florida State University Course Notes MAD 2104 Discrete Mathematics I

Florida State University Course Notes MAD 2104 Discrete Mathematics I Florida State University Tallahassee, Florida 32306-4510 Copyright c 2011 Florida State University Written by Dr. John Bryant and Dr.

### CARDINALITY, COUNTABLE AND UNCOUNTABLE SETS PART ONE

CARDINALITY, COUNTABLE AND UNCOUNTABLE SETS PART ONE With the notion of bijection at hand, it is easy to formalize the idea that two finite sets have the same number of elements: we just need to verify

### 22C:19 Discrete Math. So. What is it? Why discrete math? Fall 2009 Hantao Zhang

22C:19 Discrete Math Fall 2009 Hantao Zhang So. What is it? Discrete mathematics is the study of mathematical structures that are fundamentally discrete, in the sense of not supporting or requiring the

### 31 is a prime number is a mathematical statement (which happens to be true).

Chapter 1 Mathematical Logic In its most basic form, Mathematics is the practice of assigning truth to welldefined statements. In this course, we will develop the skills to use known true statements to

### MATH HISTORY: POSSIBLE TOPICS FOR TERM PAPERS

MATH HISTORY: POSSIBLE TOPICS FOR TERM PAPERS Some possible seeds for historical developmental topics are: The Platonic Solids Solution of nth degree polynomial equation (especially quadratics) Difference

### 1.10 (a) Effects of logic gates AND, OR, NOT on binary signals in a processor

Chapter 1.10 Logic Gates 1.10 (a) Effects of logic gates AND, OR, NOT on binary signals in a processor Microprocessors are the central hardware that runs computers. There are several components that make

1 3 Aristotle s procedure in logic (4th c. BC) Traditional versus modern logic Wilfrid Hodges Herons Brook, Sticklepath, Okehampton November 2010 http://wilfridhodges.co.uk Step One: the raw argument Salt

### Gates, Circuits, and Boolean Algebra

Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks

### LOGICAL INFERENCE & PROOFs. Debdeep Mukhopadhyay Dept of CSE, IIT Madras

LOGICAL INFERENCE & PROOFs Debdeep Mukhopadhyay Dept of CSE, IIT Madras Defn A theorem is a mathematical assertion which can be shown to be true. A proof is an argument which establishes the truth of a

### Mathematical Induction

Mathematical Induction In logic, we often want to prove that every member of an infinite set has some feature. E.g., we would like to show: N 1 : is a number 1 : has the feature Φ ( x)(n 1 x! 1 x) How

### PROOF AND PROBABILITY(teaching notes)

PROOF AND PROBABILITY(teaching notes) In arguing for God s existence, it is important to distinguish between proof and probability. Different rules of reasoning apply depending on whether we are testing

### Boolean Design of Patterns

123 Boolean Design of Patterns Basic weave structures interlacement patterns can be described in many ways, but they all come down to representing the crossings of warp and weft threads. One or the other

### Introduction Number Systems and Conversion

UNIT 1 Introduction Number Systems and Conversion Objectives 1. Introduction The first part of this unit introduces the material to be studied later. In addition to getting an overview of the material

### 1.1 What is AI? 1.1 What is AI? Foundations of Artificial Intelligence. 1.2 Acting Humanly. 1.3 Thinking Humanly. 1.4 Thinking Rationally

Foundations of Artificial Intelligence February 22, 2016 1. Introduction: What is Artificial Intelligence? Foundations of Artificial Intelligence 1. Introduction: What is Artificial Intelligence? Malte

### Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

Lee 1 Primes in Sequences By: Jae Young Lee Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov Lee 2 Jae Young Lee MA341 Number Theory PRIMES IN SEQUENCES

### The Calculus of Logic

The Calculus of Logic George Boole [Cambridge and Dublin Mathematical Journal, Vol. III (1848), pp. 183 98] In a work lately published 1 I have exhibited the application of a new and peculiar form of Mathematics

### L - Standard Letter Grade P - Pass/No Pass Repeatability: N - Course may not be repeated

Course: MATH 26 Division: 10 Also Listed As: 200930, INACTIVE COURSE Short Title: Full Title: DISCRETE MATHEMATIC Discrete Mathematics Contact Hours/Week Lecture: 4 Lab: 0 Other: 0 Total: 4 4 Number of

### ELG3331: Lab 3 Digital Logic Circuits

ELG3331: Lab 3 Digital Logic Circuits What does Digital Means? Digital describes any system based on discontinuous data or events. Typically digital is computer data or electronic sampling of an analog

### Chapter 1. Computation theory

Chapter 1. Computation theory In this chapter we will describe computation logic for the machines. This topic is a wide interdisciplinary field, so that the students can work in an interdisciplinary context.

### The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

The Foundations: Logic and Proofs Chapter 1, Part III: Proofs Rules of Inference Section 1.6 Section Summary Valid Arguments Inference Rules for Propositional Logic Using Rules of Inference to Build Arguments

### 1/9. Locke 1: Critique of Innate Ideas

1/9 Locke 1: Critique of Innate Ideas This week we are going to begin looking at a new area by turning our attention to the work of John Locke, who is probably the most famous English philosopher of all

### Annex A1 COURSE DESCRIPTIONS AND LEARNING OBJECTIVES FOR:

Annex A1 COURSE DESCRIPTIONS AND LEARNING OBJECTIVES FOR: Discrete Math (Already in ACGM, course description has been revised, and learning outcomes have been added.) Electrical Circuits I (Already in

### SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics Numbers. Factors 2. Multiples 3. Prime and Composite Numbers 4. Modular Arithmetic 5. Boolean Algebra 6. Modulo 2 Matrix Arithmetic 7. Number Systems

### 2.0 Chapter Overview. 2.1 Boolean Algebra

Thi d t t d ith F M k 4 2 Boolean Algebra hapter Two Logic circuits are the basis for modern digital computer systems. To appreciate how computer systems operate you will need to understand digital logic

### 7.1 An Axiomatic Approach to Mathematics

Chapter 7 The Peano Axioms 7.1 An Axiomatic Approach to Mathematics In our previous chapters, we were very careful when proving our various propositions and theorems to only use results we knew to be true.

Adversary Modelling 1 Evaluating the Feasibility of a Symbolic Adversary Model on Smart Transport Ticketing Systems Authors Arthur Sheung Chi Chan, MSc (Royal Holloway, 2014) Keith Mayes, ISG, Royal Holloway

### Math Department Student Learning Objectives Updated April, 2014

Math Department Student Learning Objectives Updated April, 2014 Institutional Level Outcomes: Victor Valley College has adopted the following institutional outcomes to define the learning that all students

### Eastern Washington University Department of Computer Science. Questionnaire for Prospective Masters in Computer Science Students

Eastern Washington University Department of Computer Science Questionnaire for Prospective Masters in Computer Science Students I. Personal Information Name: Last First M.I. Mailing Address: Permanent

### Switching Circuits & Logic Design

Switching Circuits & Logic Design Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Fall 2013 1 Course Info Instructor Jie-Hong R. Jiang office: 242 EEII office

### If f is a 1-1 correspondence between A and B then it has an inverse, and f 1 isa 1-1 correspondence between B and A.

Chapter 5 Cardinality of sets 51 1-1 Correspondences A 1-1 correspondence between sets A and B is another name for a function f : A B that is 1-1 and onto If f is a 1-1 correspondence between A and B,

### So let us begin our quest to find the holy grail of real analysis.

1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers

### It is time to prove some theorems. There are various strategies for doing

CHAPTER 4 Direct Proof It is time to prove some theorems. There are various strategies for doing this; we now examine the most straightforward approach, a technique called direct proof. As we begin, it

### Switching Algebra and Logic Gates

Chapter 2 Switching Algebra and Logic Gates The word algebra in the title of this chapter should alert you that more mathematics is coming. No doubt, some of you are itching to get on with digital design

### Lecture 1: Elementary Number Theory

Lecture 1: Elementary Number Theory The integers are the simplest and most fundamental objects in discrete mathematics. All calculations by computers are based on the arithmetical operations with integers

### Th e ontological argument distinguishes itself from the cosmological

Aporia vol. 18 no. 1 2008 Charles Hartshorne and the Ontological Argument Joshua Ernst Th e ontological argument distinguishes itself from the cosmological and teleological arguments for God s existence

### LIFE-LONG LEARNING MAKING DISCRETE MATH RELEVANT FOR INFORMATION SYSTEMS PROFESSIONALS

LIFE-LONG LEARNING MAKING DISCRETE MATH RELEVANT FOR INFORMATION SYSTEMS PROFESSIONALS Dr. David F. Wood, Robert Morris University, wood@rmu.edu Dr. Valerie J. Harvey, Robert Morris University, harvey@rmu.edu

### Post s (and Zuse s) forgotten ideas in the Philosophy and History of Computer Science.

Post s and Zuse s forgotten ideas in the Philosophy of Computer Science. L. De Mol Post s (and Zuse s) forgotten ideas in the Philosophy and History of Computer Science. Liesbeth De Mol Boole centre for