THE LOGIC OF QUANTIFIED STATEMENTS

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

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

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

Chapter 3. The Logic of Quantified Statements

Chapter 2: The Logic of Quantified Statements

THE LOGIC OF QUANTIFIED STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS

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

2-4: The Use of Quantifiers

1.1 Language and Logic

1.1 Language and Logic

Direct Proof and Proof by Contrapositive

Section 2.3: Statements Containing Multiple Quantifiers

Quantifiers. P. Danziger

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Section Summary. Section 1.5 9/9/2014

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

1 Predicates and Quantifiers

Section 2.1: Introduction to the Logic of Quantified Statements

Mat 243 Exam 1 Review

Propositional Logic Not Enough

Section 1.2: Conditional Statements

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

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

THE LOGIC OF QUANTIFIED STATEMENTS

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

Foundation of proofs. Jim Hefferon.

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Logic Review Solutions

Section 3.1: Direct Proof and Counterexample 1

Mathematical Reasoning (Part I) 1

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Recitation 4: Quantifiers and basic proofs

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


2.2 Analyze Conditional

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 1

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

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

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

2 Conditional and Biconditional Propositions

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

Introduction to Decision Sciences Lecture 2

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology

Introduction to Sets and Logic (MATH 1190)

A. Propositional Logic

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

Predicate Calculus lecture 1

Mathematical Logic Part Three

Discrete Mathematics

Logic and Propositional Calculus

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

AMTH140 Lecture 8. Symbolic Logic

MAT 243 Test 1 SOLUTIONS, FORM A

CPSC 121: Models of Computation

Quantifiers. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, 2018

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

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

Discrete Mathematics and Its Applications

Predicates and Quantifiers

Predicate Calculus - Syntax

Direct Proof and Counterexample I:Introduction

Supplementary Logic Notes CSE 321 Winter 2009

Stanford University CS103: Math for Computer Science Handout LN9 Luca Trevisan April 25, 2014

3.6. Disproving Quantified Statements Disproving Existential Statements

THE LOGIC OF COMPOUND STATEMENTS

Basic Logic and Proof Techniques

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17

ICS141: Discrete Mathematics for Computer Science I

Tutorial 2 Logic of Quantified Statements

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

Learning Goals of CS245 Logic and Computation

Predicate Logic: Introduction and Translations

Math 3320 Foundations of Mathematics

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic

First order Logic ( Predicate Logic) and Methods of Proof

Logic and Proofs. (A brief summary)

CPSC 121: Models of Computation. Module 6: Rewriting predicate logic statements

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

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

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

1. Propositions: Contrapositives and Converses

Math.3336: Discrete Mathematics. Nested Quantifiers

Proposi'onal Logic Not Enough

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

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

Negations of Quantifiers

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1

Predicate Logic: Sematics Part 1

Introducing Proof 1. hsn.uk.net. Contents

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

EECS 1028 M: Discrete Mathematics for Engineers

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

Transcription:

CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS Copyright Cengage Learning. All rights reserved.

SECTION 3.2 Predicates and Quantified Statements II Copyright Cengage Learning. All rights reserved.

Negations of Quantified Statements 3

Negations of Quantified Statements The general form of the negation of a universal statement follows immediately from the definitions of negation and of the truth values for universal and existential statements. 4

Negations of Quantified Statements Thus The negation of a universal statement ( all are ) is logically equivalent to an existential statement ( some are not or there is at least one that is not ). Note that when we speak of logical equivalence for quantified statements, we mean that the statements always have identical truth values no matter what predicates are substituted for the predicate symbols and no matter what sets are used for the domains of the predicate variables. 5

Negations of Quantified Statements The general form for the negation of an existential statement follows immediately from the definitions of negation and of the truth values for existential and universal statements. 6

Negations of Quantified Statements Thus The negation of an existential statement ( some are ) is logically equivalent to a universal statement ( none are or all are not ). 7

Example 1 Negating Quantified Statements Write formal negations for the following statements: a. primes p, p is odd. b. a triangle T such that the sum of the angles of T equals 200. Solution: a. By applying the rule for the negation of a statement, you can see that the answer is a prime p such that p is not odd. 8

Example 1 Solution cont d b. By applying the rule for the negation of a statement, you can see that the answer is triangles T, the sum of the angles of T does not equal 200. 9

Negations of Universal Conditional Statements 10

Negations of Universal Conditional Statements Negations of universal conditional statements are of special importance in mathematics. The form of such negations can be derived from facts that have already been established. By definition of the negation of a for all statement, But the negation of an if-then statement is logically equivalent to an and statement. More precisely, 11

Negations of Universal Conditional Statements Substituting (3.2.2) into (3.2.1) gives Written less symbolically, this becomes 12

Example 4 Negating Universal Conditional Statements Write a formal negation for statement (a) and an informal negation for statement (b). a. people p, if p is blond then p has blue eyes. b. If a computer program has more than 100,000 lines, then it contains a bug. Solution: a. a person p such that p is blond and p does not have blue eyes. 13

Example 4 Solution cont d b. There is at least one computer program that has more than 100,000 lines and does not contain a bug. 14

The Relation among,,, and 15

The Relation among,,, and The negation of a for all statement is a there exists statement, and the negation of a there exists statement is a for all statement. These facts are analogous to De Morgan s laws, which state that the negation of an and statement is an or statement and that the negation of an or statement is an and statement. This similarity is not accidental. In a sense, universal statements are generalizations of and statements, and existential statements are generalizations of or statements. 16

The Relation among,,, and If Q(x) is a predicate and the domain D of x is the set {x 1, x 2,..., x n }, then the statements and are logically equivalent. 17

The Relation among,,, and Similarly, if Q(x) is a predicate and D = {x 1, x 2,..., x n }, then the statements and are logically equivalent. 18

Vacuous Truth of Universal Statements 19

Vacuous Truth of Universal Statements Suppose a bowl sits on a table and next to the bowl is a pile of five blue and five gray balls, any of which may be placed in the bowl. If three blue balls and one gray ball are placed in the bowl, as shown in Figure 3.2.1(a), the statement All the balls in the bowl are blue would be false (since one of the balls in the bowl is gray). Figure 3.2.1(a) 20

Vacuous Truth of Universal Statements Now suppose that no balls at all are placed in the bowl, as shown in Figure 3.2.1(b). Consider the statement All the balls in the bowl are blue. Figure 3.2.1(b) 21

Vacuous Truth of Universal Statements Is this statement true or false? The statement is false if, and only if, its negation is true. And its negation is There exists a ball in the bowl that is not blue. But the only way this negation can be true is for there actually to be a nonblue ball in the bowl. And there is not! Hence the negation is false, and so the statement is true by default. 22

Vacuous Truth of Universal Statements In general, a statement of the form is called vacuously true or true by default if, and only if, P(x) is false for every x in D. 23

Variants of Universal Conditional Statements 24

Variants of Universal Conditional Statements We have known that a conditional statement has a contrapositive, a converse, and an inverse. The definitions of these terms can be extended to universal conditional statements. 25

Example 5 Contrapositive, Converse, and Inverse of a Universal Conditional Statement Write a formal and an informal contrapositive, converse, and inverse for the following statement: If a real number is greater than 2, then its square is greater than 4. Solution: The formal version of this statement is x R, if x > 2 then x 2 > 4. 26

Example 5 Solution cont d Contrapositive: x R, if x 2 4 then x 2. Or: If the square of a real number is less than or equal to 4, then the number is less than or equal to 2. Converse: x R, if x 2 > 4 then x > 2. Or: If the square of a real number is greater than 4, then the number is greater than 2. Inverse: x R, if x 2 then x 2 4. Or: If a real number is less than or equal to 2, then the square of the number is less than or equal to 4. 27

Variants of Universal Conditional Statements Let P(x) and Q(x) be any predicates, let D be the domain of x, and consider the statement and its contrapositive Any particular x in D that makes if P(x) then Q(x) true also makes if ~Q(x) then ~P(x) true (by the logical equivalence between p q and ~q ~p). 28

Variants of Universal Conditional Statements It follows that the sentence If P(x) then Q(x) is true for all x in D if, and only if, the sentence If ~Q(x) then ~P(x) is true for all x in D. Thus we write the following and say that a universal conditional statement is logically equivalent to its contrapositive: 29

Variants of Universal Conditional Statements In Example 3.2.5 we noted that the statement x R, if x > 2 then x 2 > 4 has the converse x R, if x 2 > 4 then x > 2. Observe that the statement is true whereas its converse is false (since, for instance, ( 3) 2 = 9 > 4 but 3 2). 30

Variants of Universal Conditional Statements This shows that a universal conditional statement may have a different truth value from its converse. Hence a universal conditional statement is not logically equivalent to its converse. This is written in symbols as follows: 31

Necessary and Sufficient Conditions, Only If 32

Necessary and Sufficient Conditions, Only If The definitions of necessary, sufficient, and only if can also be extended to apply to universal conditional statements. 33

Example 6 Necessary and Sufficient Conditions Rewrite the following statements as quantified conditional statements. Do not use the word necessary or sufficient. a. Squareness is a sufficient condition for rectangularity. b. Being at least 35 years old is a necessary condition for being President of the United States. Solution: a. A formal version of the statement is x, if x is a square, then x is a rectangle. 34

Example 6 Solution cont d Or, in informal language: If a figure is a square, then it is a rectangle. b. Using formal language, you could write the answer as people x, if x is younger than 35, then x cannot be President of the United States. Or, by the equivalence between a statement and its contrapositive: people x, if x is President of the United States, then x is at least 35 years old. 35