Section 2.3: Statements Containing Multiple Quantifiers

Similar documents
Section 2.1: Introduction to the Logic of Quantified Statements

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

Section 3.1: Direct Proof and Counterexample 1

THE LOGIC OF QUANTIFIED STATEMENTS

Mat 243 Exam 1 Review

Section Summary. Section 1.5 9/9/2014

Basic Logic and Proof Techniques

Section 1.2: Conditional Statements

2-4: The Use of Quantifiers

Section 1.1: Logical Form and Logical Equivalence

Propositional Logic Not Enough

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

THE LOGIC OF QUANTIFIED STATEMENTS

Chapter 2: The Logic of Quantified Statements. January 22, 2010

THE LOGIC OF QUANTIFIED STATEMENTS. Statements with Multiple Quantifiers. Statements with Multiple Quantifiers CHAPTER 3 SECTION 3.

Recall that the expression x > 3 is not a proposition. Why?

Discrete Structures for Computer Science

For all For every For each For any There exists at least one There exists There is Some

Recitation 4: Quantifiers and basic proofs

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Chapter 3. The Logic of Quantified Statements

Chapter 2: The Logic of Quantified Statements

Predicate Logic. Predicates. Math 173 February 9, 2010

CSI30. Chapter 1. The Foundations: Logic and Proofs Nested Quantifiers

Computer Science 280 Spring 2002 Homework 2 Solutions by Omar Nayeem

Some Review Problems for Exam 1: Solutions

Introduction to Sets and Logic (MATH 1190)

Section 1.3. Let I be a set. When I is used in the following context,

Supplementary Logic Notes CSE 321 Winter 2009

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Logic and Propositional Calculus

Quantifiers and Statements

LECTURE 1. Logic and Proofs

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

1.5 MATHEMATICAL LANGUAGE

What is a proof? Proofing as a social process, a communication art.


Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

Homework assignment 1: Solutions

1. Propositions: Contrapositives and Converses

Quantifiers. P. Danziger

Predicate Calculus lecture 1

Quantifiers For and There exists D

STRATEGIES OF PROBLEM SOLVING

Lecture 3 : Predicates and Sets DRAFT

Group 5. Jeremy Gutierrez. Jesus Ochoa Perez. Alvaro Gonzalez. MATH 170: Discrete Mathematics. Dr. Lipika Deka. March 14, 2014.

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)

1 Predicates and Quantifiers

GUIDED NOTES 2.5 QUADRATIC EQUATIONS

Logic and Propositional Calculus

Lecture 3. Logic Predicates and Quantified Statements Statements with Multiple Quantifiers. Introduction to Proofs. Reading (Epp s textbook)

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Predicate logic. G. Carl Evans. Summer University of Illinois. Propositional Logic Review Predicate logic Predicate Logic Examples

Direct Proof and Proof by Contrapositive

1.1 Language and Logic

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Day 5. Friday May 25, 2012

Section 4.2: Mathematical Induction 1

Theory of Computation

1.1 Language and Logic

Predicate Logic Thursday, January 17, 2013 Chittu Tripathy Lecture 04

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

MACM 101 Discrete Mathematics I. Exercises on Predicates and Quantifiers. Due: Tuesday, October 13th (at the beginning of the class)

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

CS 220: Discrete Structures and their Applications. Predicate Logic Section in zybooks

Section 3.1 Statements, Negations, and Quantified Statements

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 1

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

CS 173: Discrete Mathematical Structures, Spring 2008 Homework 1 Solutions

Proofs. Chapter 2 P P Q Q

Proofs. Joe Patten August 10, 2018

Mathematical Reasoning (Part I) 1

About This Document. MTH299 - Examples Weeks 1-6; updated on January 5, 2018

Connectives Name Symbol OR Disjunction And Conjunction If then Implication/ conditional If and only if Bi-implication / biconditional

Introduction. Predicates and Quantifiers. Discrete Mathematics Andrei Bulatov

Midterm Exam Solution

! Predicates! Variables! Quantifiers. ! Universal Quantifier! Existential Quantifier. ! Negating Quantifiers. ! De Morgan s Laws for Quantifiers

Prof. Girardi Exam 1 Math 300 MARK BOX

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS70 is a course about on Discrete Mathematics for Computer Scientists. The purpose of the course is to teach you about:

1.3 Predicates and Quantifiers

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

PROBLEM SET 3: PROOF TECHNIQUES

Discrete Mathematics and Its Applications

PHIL 422 Advanced Logic Inductive Proof

Exercise Set 1 Solutions Math 2020 Due: January 30, Find the truth tables of each of the following compound statements.

Direct Proof and Counterexample I:Introduction

Direct Proof and Counterexample I:Introduction. Copyright Cengage Learning. All rights reserved.

Proposi'onal Logic Not Enough

Direct Proof Universal Statements

Recitation Week 3. Taylor Spangler. January 23, 2012

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

Math 31 Lesson Plan. Day 16: Review; Start Section 8. Elizabeth Gillaspy. October 18, Supplies needed: homework. Colored chalk. Quizzes!

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

Today s Lecture. ICS 6B Boolean Algebra & Logic. Predicates. Chapter 1: Section 1.3. Propositions. For Example. Socrates is Mortal

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Predicates and Quantifiers. CS 231 Dianna Xu

Transcription:

Section 2.3: Statements Containing Multiple Quantifiers In this section, we consider statements such as there is a person in this company who is in charge of all the paperwork where more than one quantifier is used referring to two different sets (note that the statement has both an existential quantifier, there is a person, and a universal quantifier, in charge of all the paperwork ). Our first task will be to clarify the interpretation of such statements and then we shall explore further properties of such statements. 1. Interpreting Statements with Two Different Quantifiers In logic and mathematics, it is important that we all interpret a formal statement in the same way, so the first thing we need to do is state exactly how a statement with two different quantifiers should be interpreted. Such statements usually contain multiple variables and are treated in an almost identical way to statement containing a single variable (we are simply substituting in more values). However, since we have not considered such statements in detail beforehand, we shall consider an example to illustrate. Example 1.1. Let P(x, y) be the sentence x 2 > y. Are the following true or false. P(2, 5) We have P(2, 3) := 4 > 5 which is clearly false (ii) P(3, 8) We have P(3, 8) := 9 > 8 which is true Now we need to specify how to interpret statements with multiple quantifiers, or equivalently, determine the truth value of a statement containing two different quantifiers. Result 1.2. The truth of a statement with two different quantifiers and the negation of such a statement are determined in the in the following ways: -statement: Consider the statement which reads x D y E such that P(x, y) for all x in D, there exists a y in E such that P(x, y) To show that this statement is true, we need to show that given any value x D, we can always find some value y E such that P(x, y) is true. 1

2 Alternatively, to show this statement is false, we need to show that we can find an x D such that for any possible value y E, P(x, y) is not true, or P(x, y). Thus we have ( x D E such that P(x, y)) x D, y D such that P(x, y). (ii) -statement: Consider the statement which reads x D y E such that P(x, y) there exists x in D, such that for all y in E, P(x, y) This statement will be true if we can find a single value x D such that for every y E, P(x, y) is true. Alternatively, to show this statement is false, we need to show that for any given x D, there is a y E, such that P(x, y) is not true, or P(x, y). Thus we have ( x D y E such that P(x, y)) x D y D such that P(x, y). Remark 1.3. It should be noted that the two different statements above are very similar, but they are saying different things - indeed, a very different process is required to show each are true or false. Therefore, it is important to realize that the order of different quantifiers in a statement with more than one quantifier is extremely important and should not be reversed. In contrast however, if there is a statement with multiple quantifiers which are the same, they can be reordered as we please. We consider a couple of examples. Example 1.4. Let E = D = { 1, 2, 3, 6, 7}. Determine whether the following statements are true. x D y E such that (x + y) is even (ii) To show this is true, we need to show that given any x in D, we can find a y in D such that x + y is even. Now if x is odd, we can choose y to be any odd number and the sum will be even. The only other possibility is that x = 2, in which case we can choose y = 2 and the sum will also be even. Thus, the statement is true. x D y E such that (x + y) is odd To show this is true, we need to show that there is some x in D, so that for every single y in that, if we take that x and add it to y, the resulting number will be odd. However, this does not appear to be the case i.e. if we choose an odd number, then if we add another odd number, the resulting number will

be even, and if we choose an even number, and add it to an even number, the resulting number would be odd. Therefore, we should try to show it is false by showing its negation holds. However, notice that ( x D y E such that (x + y) is odd) x D y E such that (x + y) is odd x D y E such that (x + y) is even which is the statement we proved to be true in the previous example. Thus the negation of this statement is true and so the original statement is false. Remark 1.5. For a statement including multiple quantifiers, we usually leave out the phrase such that as illustrated in the next example. Example 1.6. Determine whether the following statements are true or false: x R( y R(x < y)) To show this statement is true, we need to show that for any real number x, we can always find some other real number y such that x < y. If x is an arbitrary real number, let y = x+1. Then y is a real number and x < y, and thus the statement is true (ii) x R( y R(x < y)) To show this statement is true, we need to show that for there exists a real number x, such that for every real number y, x < y. Note that this is saying that there is some smallest real number, which is abused, so this statement will most likely be false. To show it is false, we need to show for any real number x, there is a real number y such that x y, and similar to last time, we can choose y = x 1 and we are done. Notice that these two statements were almost identical - the only difference was the order of the quantified statements. However, the truth values of these statements were opposite, thus illustrating that the order of different quantified statements is important. 2. Translating between Formal and Informal Language We have seen some basic examples of statements using more than one quantifier and how to work with such statements in logical form. As with previous sections however, the really key to success is being able to translate from informal language to formal language and back again to reveal the truth of such a statement. We finish with a couple of examples of this problem. 3

4 Example 2.1. Translate the following sentences into formal logic and them write negations for them and translate the negation back into informal language. Every student in this class owns a textbook Let D be the set students in this class, let E be the set of all text books and let P(x, y) := x owns y. Then this sentence translates to x D y EP(x, y). The negation of this sentence will be x D y E P(x, y) which translates as there is some student in this class who does not own any textbook. (ii) There is a rational number between any two real numbers In this case there are three different variables. Let P(x, y, z) be the sentence x is between z and y. Then the statement above can be interpreted into y R z R x QP(x, y, z) Note that the statement x Q y R z RP(x, y, z) is not the formal interpretation of this sentence since this would say that there is a real number x which lies between every possible pair of real numbers z and y. Negating this formal statement, we have y R z R x Q P(x, y, z) (using the rules of negating quantifiers) which translates as There exists two real numbers z and y such that there is no rational number x which lies between z and y or removing all variables, There are two real numbers such that there no rational number lies between them. Example 2.2. Rewrite the following statements in informal language and state their negations. Determine whether the statements are true or if their negations are true. x R y R(x 2 + y 2 = 1) In informal language, this says there exists real numbers x and y such that x 2 +y 2 = 1. The negation of this statement is for all real numbers x and y, it is not the case that x 2 +y 2 = 1 or for all real numbers x and y, x 2 + y 2 1. Clearly the original statement was false and the negation is true.

(ii) (iii) x D y CP(x, y) where D be the set of people in this class, C be the set of all soft drinks and P(x, y) := x enjoys drinking y. This translates as there exists a person in this class who likes all soft drinks. The negation is for each person in this room, there is some soft drink they do not like. The truth depends upon the class (of course!). y C x DP(x, y) where D be the set of people in this class, C be the set of all soft drinks and P(x, y) := x enjoys drinking y. This translates as for each soft drink, there is some person who likes it. Note the difference between this an the last statement (for this case, the same person does not have to like all soft drinks, we just know that for each soft drink, at least one person likes it). The negation is there exists a soft drink which no one in the room likes. The truth depends upon the class (of course!). Homework From the book, pages 108-110: Questions: 1, 4, 10, 11, 13, 15, 18, 19, 21, 28, 32, 33, 40a, 40g, 40c, 43, 53, 54 5