Quantifiers and Negation Predicates. Predicate Will define function. The domain of a function is the set from which possible values may be chosen for.

Slides:



Advertisements
Similar presentations
Nested Quantifiers Section 1.4.
Advertisements

The Logic of Quantified Statements
Elementary Number Theory and Methods of Proof
RMIT University; Taylor's College This is a story about four people named Everybody, Somebody, Anybody and Nobody. There was an important job to be done.
Discrete Structures Chapter 1 Part B Fundamentals of Logic Nurul Amelina Nasharuddin Multimedia Department 1.
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
 x (x 2  0) 1. True2. False.  x (3x + 2 = 12) 1. True2. False.
Discrete Structures Chapter 3: The Logic of Quantified Statements
Copyright © Cengage Learning. All rights reserved.
Discrete Structures Chapter 3: The Logic of Quantified Statements
Ch 1.3: Quantifiers Open sentences, or predicates, are sentences that contain one or more variables. They do not have a truth value until variables are.
1.2 – Open Sentences and Graphs
Find opposites of numbers EXAMPLE 4 a. If a = – 2.5, then – a = – ( – 2.5 ) = 2.5. b. If a =, then – a = –
Harper Langston New York University Summer 2015
Predicates and Quantifiers
Chapter 1: The Foundations: Logic and Proofs
 Predicate: A sentence that contains a finite number of variables and becomes a statement when values are substituted for the variables. ◦ Domain: the.
Nested Quantifiers. 2 Nested Iteration Let the domain be {1, 2, …, 10}. Let P(x, y) denote x > y.  x,  y, P(x, y) means  x, (  y, P(x, y) ) Is the.
Predicates and Quantified Statements M , 3.2.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Arguments with Quantified Statements M Universal Instantiation If some property is true for everything in a domain, then it is true of any particular.
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Statements with Multiple Quantifiers. When a statement contains more than one quantifier, we imagine the actions suggested by the quantifiers as being.
Predicates and Quantified Statements
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
Name the set(s) of numbers to which each number belongs. a. –13b integers rational numbers ALGEBRA 1 LESSON 1-3 Exploring Real Numbers 1-3.
Nested Quantifiers Section 1.5.
4.1 Proofs and Counterexamples. Even Odd Numbers Find a property that describes each of the following sets E={…, -4, -2, 0, 2, 4, 6, …} O={…, -3, -1,
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.
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
CSS342: Quantifiers1 Professor: Munehiro Fukuda. CSS342: Quantifiers2 Review of Propositions Proposition: a statement that is either true or false, but.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
Discrete Mathematics CS 2610 August 22, Agenda Last class Propositional logic Logical equivalences This week Predicate logic & rules of inference.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
321 Section Natalie Linnell. The importance of domains Domain is part of the function definition A predicate is a function from some domain to {T,F} If.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
Statements Containing Multiple Quantifiers Lecture 11 Section 2.3 Mon, Feb 5, 2007.
321 Section, Week 2 Natalie Linnell. Extra Credit problem.
Introduction to Proofs
Section 1.5 and 1.6 Predicates and Quantifiers. Vocabulary Predicate Domain Universal Quantifier Existential Quantifier Counterexample Free variable Bound.
Direct Proof and Counterexample I Lecture 11 Section 3.1 Fri, Jan 28, 2005.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
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.
Section 1.5. Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 1 Predicates and Quantifiers 1.4.
Harper Langston New York University Summer 2017
3. The Logic of Quantified Statements Summary
Predicates and Quantified Statements I
Chapter 3 The Logic of Quantified Statements
Negations of Quantified Statements
Chapter 1 The Foundations: Logic and Proofs
Copyright © Cengage Learning. All rights reserved.
Introduction to Predicates and Quantified Statements II
CS 220: Discrete Structures and their Applications
Introduction to Predicates and Quantified Statements II
Statements Containing Multiple Quantifiers
Introduction to Predicates and Quantified Statements I
Discrete Mathematics Lecture 3: Predicate and Quantifier
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
Direct Proof and Counterexample I
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Discrete Mathematics Lecture 4 Logic of Quantified Statements
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Statements Containing Multiple Quantifiers
Presentation transcript:

Quantifiers and Negation Predicates

Predicate Will define function. The domain of a function is the set from which possible values may be chosen for the argument of the function. A predicate is a function whose possible values are True and False.

Universal Quantifier  The universal quantifier. Upside down A. “For All”

Universal Quantifier Let P(x) be a predicate with domain D. A universal statement is a statement in the form “  x, P(x)”. It is true iff P(x) is true for all x in D. It is false iff P(x) is false for at least one x in D. A value of x which shows that P(x) is false is called a counterexample to the universal statement.

Universal Quantifier Examples Let D = {1, 2, 3, 4, 5}.  x, x² >= x Let D=Reals.  x  Reals, x² >= x Let D= Natural numbers. Let P(x)=x is prime, E(x)=x is even.  x E(x)  x P(x)  x (E(x) V E(x+1))

Existential Quantifier  Existential quantifier. Backwards E. There Exists

Existential Quantifier Let P(x) be a predicate with domain D. An existential statement is a statement in the form “  x, P(x)”. It is true iff P(x) is true for at least one x in D. It is false iff P(x) is false for all x in D. Examples: D=Integers,  m, m² = m D = {5, 6, 7, 8, 9},  m, m² = m

Universal Conditional Statement Universal conditional statement  x, (P(x)  Q(x)) Example: D=Reals.  x, (x > 2  x 2 > 4) A universal conditional statement is vacuously true or true by default iff P(x) is false for every x in D. i.e. ~  x  D, P(x) iff  x  D (P(x)  Q(x)) is vacuously true.

Universal Conditional Statement Examples: D=Natural numbers. E(x)=x is even. P(x)=x is prime  x (E(x)  ~E(x+1))  x ((E(x) Λ x > 2)  ~P(x))  x (P(x)  ~E(x))

Negation of Quantified Statements ~ (  x  D, P(x)) ≡  x  D, ~P(x) ~(  x  D, P(x)) ≡  x  D, ~P(x) ~  x  D, P(x)  Q(x) ≡  x  D, ~(P(x)  Q(x)) ≡  x  D, P(x)  ~Q(x)

Multiply Quantified Statements Let the D=Integers. Let P(x, y) = y<x. There exists a number x, there exists a number y, such that y<x  x,  y, P(x, y) ≡  y,  x, P(x, y) True (both True) For all numbers x, for all numbers y, y < x  x,  y, P(x, y) ≡  y,  x, P(x, y) True (both False)

Multiply Quantified Statements For all numbers x, there exists a number y such that x < y  x,  y, P(x, y) True There exists a number y such that for all numbers x, x < y  y,  x, P(x, y) False  x,  y, P(x, y) ≡  y,  x, P(x, y) False

Negation of Multiply Quantified Statements ~  x,  y, P(x, y) ≡  x,  y, ~P(x, y) ~  x,  y, P(x, y) ≡  x,  y,~P(x, y) ~  x,  y, P(x, y) ≡  x,  y, ~P(x, y) ~  x,  y, P(x, y) ≡  x,  y, ~P(x, y)

Example a) Symbolize: The sum of any two even integers is even. b) Negate it.

Example Solution Let E(x)=“x is even”. Let E(x, y)=“x+y is even”. Let the domain be the Integers. a)  x,  y, E(x)^E(y)  E(x, y) b)  x,  y, E(x) ^ E(y) ^ ~E(x, y)

Which of the following is true?  x  D, (P(x)  Q(x)) ≡ (  x  D, P(x))  (  x  D, Q(x))  x  D, (P(x)  Q(x)) ≡ (  x  D, P(x))  (  x  D, Q(x))  x  D, (P(x)  Q(x)) ≡ (  x  D, P(x))  (  x  D, Q(x))  x  D, (P(x)  Q(x)) ≡ (  x  D, P(x))  (  x  D, Q(x))

, , Λ, ν Let P(x) be a predicate. Let D={x 1, x 2, …, x n } be the domain of x.  x  D, P(x)≡P(x 1 ) Λ P(x 2 ) Λ…Λ P(x n )  x  D, P(x) ≡P(x 1 ) ν P(x 2 ) ν…ν P(x n )