Discrete Mathematics Mathematical reasoning: think logically; know how to prove Combinatorial analysis: know how to count Discrete structures: represent.

Slides:



Advertisements
Similar presentations
Section 1.3. More Logical Equivalences Constructing New Logical Equivalences We can show that two expressions are logically equivalent by developing.
Advertisements

Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Predicates and Quantifiers
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 1: (Part 2): The Foundations: Logic and Proofs.
Propositions and Connectives Conditionals and Bi-conditionals Quantifiers.
CS128 – Discrete Mathematics for Computer Science
Discrete Mathematics Math 6A Instructor: M. Welling.
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
First Order Logic. Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 11 Introduction to Predicate Logic Limitations of Propositional Logic Predicates, quantifiers and propositions.
Lecture # 21 Predicates & Quantifiers
Adapted from Discrete Math
Predicates and Quantifiers
Chapter 1: The Foundations: Logic and Proofs
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
The Foundations: Logic and Proofs
Logical Equivalence & Predicate Logic
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
MATH 213 A – Discrete Mathematics for Computer Science Dr. (Mr.) Bancroft.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Formal Logic Mathematical Structures for Computer Science Chapter Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
1 Predicates and Quantifiers CS/APMA 202, Spring 2005 Rosen, section 1.3 Aaron Bloomfield.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Fall 2002CMSC Discrete Structures1 Let’s get started with... Logic !
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Chapter 1, Part II With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Lecture 1.2: Equivalences, and Predicate Logic* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren, Zeph.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
1 Sections 1.3 and 1.4 Predicates & Quantifiers. 2 Propositional Functions In a mathematical assertion, such as x < 3, there are two parts: –the subject,
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 1: The Foundations: Logic and Proofs
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 02: QUANTIFIERS Sections 1.3 and 1.4 Jarek Rossignac CS1050:
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
Lecture 1.2: Equivalences, and Predicate Logic CS 250, Discrete Structures, Fall 2015 Nitesh Saxena Adopted from previous lectures by Cinda Heeren, Zeph.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
321 Section, Week 2 Natalie Linnell. Extra Credit problem.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
1 Introduction to Abstract Mathematics Chapter 3: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 3.1.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
Introduction to Discrete Mathematics Discrete Mathematics: is the part of mathematics devoted to the study of discrete objects. Discrete Mathematics is.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 1 Predicates and Quantifiers 1.4.
Logic Hubert Chan [O1 Abstract Concepts] [O2 Proof Techniques]
Advanced Algorithms Analysis and Design
CSE15 Discrete Mathematics 01/23/17
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
CMSC Discrete Structures
Chapter 1 The Foundations: Logic and Proofs
The Foundations: Logic and Proofs
CS 220: Discrete Structures and their Applications
CHAPTER 1: LOGICS AND PROOF
(1.4) An Introduction to Logic
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Lecture 1.3: Predicate Logic
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Predicates and Quantifiers
Lecture 1.3: Predicate Logic
Presentation transcript:

Discrete Mathematics Mathematical reasoning: think logically; know how to prove Combinatorial analysis: know how to count Discrete structures: represent object and their relationships Algorithmic thinking: how to solve problems by a compute Application and modeling: model application and solve relevant problems

Chapter 1 Logic, Sets, and Functions

1.1 Logic –A proposition is a statement that is either true or false, but not both –example 1 & 2 –Logical operators (connectives) to form new proposition –  P, P  Q, P  Q, P  Q, P  Q, P  Q negation, conjunctions, disjunctions, exclusive or, implications, two-way

Logic (cont.) –Truth table 修過 A 或 B 的學生才可以修 C 湯或沙拉 the statement “If a player hits more than 60 homeruns, then a bonus of $10 million is awarded “ in a contract If today is Friday, then 2+3=5 If today is Friday, then 2+3=6 to search:(MEXICO  UNIVERSITEIS)   NEW; (NEW  MEXICO  A)  UNIV

1.2 Propositional Equivalent –tautology: contradiction: (example 1) contingency: –logically equivalent: proposition that have the same truth values in all possible cases –p  q

Propositional Equivalent (cont.) –P  Q if P  Q is a tautology P is a tautology if P  T example 2  ( P  Q )   P   Q De Margan’s Laws example 3 P  Q   P  Q example 4 P  ( Q  R )  ( P  Q )  ( P  R )

Propositional Equivalent(cont.) –Table 5 Logical Equivalence –example 5&6 a truth table can be used to determine whether a compound proposition is a tautology, but only when a proposition has a small number of variables

1.3 Predication and Quantifiers –X > 3 is not a proposition let P(x) denote the statement X>3, P(4) and P(2) are propositions P(x)→predicate,refers to a property X can have Q(x, y) denote x=y+3, Q(1, 2) is a proposition

Predication and Quantifiers (cont.) –quantifiers –  xP(x): P(x) is true for all value of X in a partial domain –let P(x) denote X+1> X, the domain the set of real numbers,  xP(x) is true –if the domain contains X 1, X 2,…, X n  xP(x)  P(x 1 )  P(x 2 )  P(x 3 )  …  P(x n ) Example 8

Predication and Quantifiers (cont.) –  xP(x): P(x) is true for a value of X Existential quantifier –let Q(x) denote X=X+1,  xQ(x) is false –  xP(x)  P(x 1 )  P(x 2 )  …  P(x n ) Example 11 –  x  y( x+y=y+x )  x  y( x+y=0 )

Predication and Quantifiers (cont.) Express“some student in this class has visited Mexico” –M(x): X has visited Mexico, domain of X: students in the class  x M(x) Example “every student in this class has visited either Canada or Mexico” –C(x): X has visited Canada  x ( C(x)  M(x) )

Predication and Quantifiers (cont.) Example “All lions are fierce” P(x): X is a lion Q(x): X is fierce  x ( P(x)  Q(x) ) “Some lions do not drink coffee” R(x): X drinks coffee   x ( P(x)   R(x) )   x ( P(x)   R(x) )

Predication and Quantifiers (cont.) Binding variables –a variable is bound if a quantifiers is used or a value is assigned ; otherwise, it is free –a proposition cannot contain free variable –Q(x,y): X+Y=0  y  xQ(x,y) is false  x  yQ(x,y) is true  if  y  xP(x,y) is true, then  x  yP(x,y) is true  if  x  yP(x,y) is true, then  y  xP(x,y) is true

Predication and Quantifiers (cont.) Negations “Every student in the class has taken a course in Calculus”  x P(x) “Some student in the class has not taken a course in C”  x  P(x)   xP(x)   x  P(x)   xQ(x)   x  Q(x)