DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Summer 2005.

Slides:



Advertisements
Similar presentations
Presented by: Ms. Maria Estrellita D. Hechanova, ECE
Advertisements

Recursively Defined Functions
3.5 Paradox  1.Russell’s paradox  A  A, A  A 。  Russell’s paradox: Let S={A|A  A}. The question is, does S  S?  i.e. S  S or S  S?  If S  S,
3.3 The Characteristic function of the set  function from universal set to {0,1}  Definition 3.6: Let U be the universal set, and let A  U. The characteristic.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
1 CS233601: Discrete Mathematics Department of Computer Science National Tsing Hua University.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Propositional Calculus Math Foundations of Computer Science.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Operations on Sets – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Operations on Sets Reading: Kolman, Section 1.2.
Chapter 10.1 and 10.2: Boolean Algebra Based on Slides from Discrete Mathematical Structures: Theory and Applications.
CSNB143 – Discrete Structure
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
Sequences and Series. Quick Review.
Discrete Mathematics, Part II CSE 2353 Fall 2007 Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Some slides.
Discrete Mathematics Transparency No. 0-1 Discrete Mathematics Cheng-Chia Chen September 2009.
Discrete Mathematical Structures (Counting Principles)
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
Digital Electronics Lecture 4 Simplification using Boolean Algebra, Combinational Logic Circuit Design.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
DISCRETE COMPUTATIONAL STRUCTURES CS Fall 2005.
1 Lecture 4 (part 1) Combinatorics Reading: Epp Chp 6.
MTH 201 Discrete Mathematics Fall Term MTH 201 Discrete Mathematics Fall Term INTERNATIONAL BURCH UNIVERSITY DEPARTMENT of INFORMATION.
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Fall 2011 Most slides modified from Discrete Mathematical Structures: Theory and Applications.
The Principle of Inclusion-Exclusion
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
 To apply some rule and product rule in solving problems.  To apply the principles of counting in solving problems.
A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Fall 2010 Most slides modified from Discrete Mathematical Structures: Theory and Applications by D.S. Malik.
Chapter 2 Boolean Algebra and Minimization Techniques.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
Karnaugh Maps (K-Maps)
Spring 2016 COMP 2300 Discrete Structures for Computation
Discrete Mathematics, Part IIIb CSE 2353 Fall 2007 Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Some.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Introduction Suppose that a password on a computer system consists of 6, 7, or 8 characters. Each of these characters must be a digit or a letter of the.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Boolean Algebra Boolean algebra was introduced by George Boole in his first book The Mathematical Analysis of Logic (1847), perfected in the late 19th.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 7 Logic Circuits.
CS 104: Discrete Mathematics
Lecture 21: Combinatorial Circuits II Discrete Mathematical Structures: Theory and Applications.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Fall 2011 Most slides modified from Discrete Mathematical Structures: Theory and Applications.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Spring 2009 Most slides modified from Discrete Mathematical Structures: Theory and Applications.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Chapter 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
CS1022 Computer Programming & Principles
Chapter 11 (Part 1): Boolean Algebra
Chapter 7: Counting Principles
Introduction to Combinatorics
DISCRETE COMPUTATIONAL STRUCTURES
Boolean algebra and Logic Circuits Chapter 5
CS 2210 Discrete Structures Counting
CS100: Discrete structures
Set, Combinatorics, Probability & Number Theory
Computer Science 210 Computer Organization
Lecture 20: Combinatorial Circuits I
DISCRETE COMPUTATIONAL STRUCTURES
Chapter 10.3 and 10.4: Combinatorial Circuits
3.4 Cardinality Definition 3.7: The empty set is a finite set of cardinality 0. If there is a one-to-one correspondence between A and the set {0,1,2,3,…,
DISCRETE COMPUTATIONAL STRUCTURES
Chapter 11: Further Topics in Algebra
Chapter 11 (Part 2): Boolean Algebra
Discrete Mathematics and Its Applications
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Summer 2005

CSE 2353 OUTLINE 1.Sets 2.Logic 3.Proof Techniques 4.Integers and Induction 5.Relations and Posets 6.Functions 7.Counting Principles 8.Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 3 Learning Objectives  Learn the basic counting principles— multiplication and addition  Explore the pigeonhole principle  Learn about permutations  Learn about combinations

Discrete Mathematical Structures: Theory and Applications 4 Basic Counting Principles

Discrete Mathematical Structures: Theory and Applications 5 Basic Counting Principles

Discrete Mathematical Structures: Theory and Applications 6 Basic Counting Principles  There are three boxes containing books. The first box contains 15 mathematics books by different authors, the second box contains 12 chemistry books by different authors, and the third box contains 10 computer science books by different authors.  A student wants to take a book from one of the three boxes. In how many ways can the student do this?

Discrete Mathematical Structures: Theory and Applications 7 Basic Counting Principles  Suppose tasks T 1, T 2, and T 3 are as follows:  T 1 : Choose a mathematics book.  T 2 : Choose a chemistry book.  T 3 : Choose a computer science book.  Then tasks T 1, T 2, and T 3 can be done in 15, 12, and 10 ways, respectively.  All of these tasks are independent of each other. Hence, the number of ways to do one of these tasks is = 37.

Discrete Mathematical Structures: Theory and Applications 8 Basic Counting Principles

Discrete Mathematical Structures: Theory and Applications 9 Basic Counting Principles  Morgan is a lead actor in a new movie. She needs to shoot a scene in the morning in studio A and an afternoon scene in studio C. She looks at the map and finds that there is no direct route from studio A to studio C. Studio B is located between studios A and C. Morgan’s friends Brad and Jennifer are shooting a movie in studio B. There are three roads, say A 1, A 2, and A 3, from studio A to studio B and four roads, say B 1, B 2, B 3, and B 4, from studio B to studio C. In how many ways can Morgan go from studio A to studio C and have lunch with Brad and Jennifer at Studio B?

Discrete Mathematical Structures: Theory and Applications 10 Basic Counting Principles  There are 3 ways to go from studio A to studio B and 4 ways to go from studio B to studio C.  The number of ways to go from studio A to studio C via studio B is 3 * 4 = 12.

Discrete Mathematical Structures: Theory and Applications 11 Basic Counting Principles

Discrete Mathematical Structures: Theory and Applications 12 Basic Counting Principles  Consider two finite sets, X 1 and X 2. Then  This is called the inclusion-exclusion principle for two finite sets.  Consider three finite sets, A, B, and C. Then  This is called the inclusion-exclusion principle for three finite sets.

Discrete Mathematical Structures: Theory and Applications 13 Pigeonhole Principle  The pigeonhole principle is also known as the Dirichlet drawer principle, or the shoebox principle.

Discrete Mathematical Structures: Theory and Applications 14 Pigeonhole Principle

Discrete Mathematical Structures: Theory and Applications 15

Discrete Mathematical Structures: Theory and Applications 16 Pigeonhole Principle

Discrete Mathematical Structures: Theory and Applications 17 Permutations

Discrete Mathematical Structures: Theory and Applications 18 Permutations

Discrete Mathematical Structures: Theory and Applications 19 Combinations

Discrete Mathematical Structures: Theory and Applications 20 Combinations

Discrete Mathematical Structures: Theory and Applications 21 Generalized Permutations and Combinations

Discrete Mathematical Structures: Theory and Applications 22 Generalized Permutations and Combinations

CSE 2353 OUTLINE 1.Sets 2.Logic 3.Proof Techniques 4.Integers and Induction 5.Relations and Posets 6.Functions 7.Counting Principles 8.Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 24 Learning Objectives  Learn about Boolean expressions  Become aware of the basic properties of Boolean algebra  Explore the application of Boolean algebra in the design of electronic circuits  Learn the application of Boolean algebra in switching circuits

Discrete Mathematical Structures: Theory and Applications 25 Two-Element Boolean Algebra Let B = {0, 1}.

Discrete Mathematical Structures: Theory and Applications 26 Two-Element Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 27

Discrete Mathematical Structures: Theory and Applications 28

Discrete Mathematical Structures: Theory and Applications 29

Discrete Mathematical Structures: Theory and Applications 30 Two-Element Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 31 Two-Element Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 32

Discrete Mathematical Structures: Theory and Applications 33

Discrete Mathematical Structures: Theory and Applications 34

Discrete Mathematical Structures: Theory and Applications 35

Discrete Mathematical Structures: Theory and Applications 36

Discrete Mathematical Structures: Theory and Applications 37

Discrete Mathematical Structures: Theory and Applications 38

Discrete Mathematical Structures: Theory and Applications 39 Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 40 Boolean Algebra

Discrete Mathematical Structures: Theory and Applications 41 Logical Gates and Combinatorial Circuits

Discrete Mathematical Structures: Theory and Applications 42 Logical Gates and Combinatorial Circuits

Discrete Mathematical Structures: Theory and Applications 43 Logical Gates and Combinatorial Circuits

Discrete Mathematical Structures: Theory and Applications 44 Logical Gates and Combinatorial Circuits

Discrete Mathematical Structures: Theory and Applications 45

Discrete Mathematical Structures: Theory and Applications 46

Discrete Mathematical Structures: Theory and Applications 47

Discrete Mathematical Structures: Theory and Applications 48

Discrete Mathematical Structures: Theory and Applications 49

Discrete Mathematical Structures: Theory and Applications 50

Discrete Mathematical Structures: Theory and Applications 51

Discrete Mathematical Structures: Theory and Applications 52

Discrete Mathematical Structures: Theory and Applications 53

Discrete Mathematical Structures: Theory and Applications 54

Discrete Mathematical Structures: Theory and Applications 55

Discrete Mathematical Structures: Theory and Applications 56

Discrete Mathematical Structures: Theory and Applications 57

Discrete Mathematical Structures: Theory and Applications 58

Discrete Mathematical Structures: Theory and Applications 59

Discrete Mathematical Structures: Theory and Applications 60

Discrete Mathematical Structures: Theory and Applications 61 Logical Gates and Combinatorial Circuits  The Karnaugh map, or K-map for short, can be used to minimize a sum-of-product Boolean expression.

Discrete Mathematical Structures: Theory and Applications 62

Discrete Mathematical Structures: Theory and Applications 63

Discrete Mathematical Structures: Theory and Applications 64