Chapter 3. The Logic of Quantified Statements
|
|
- Bartholomew Alexander Jordan
- 6 years ago
- Views:
Transcription
1 Chapter 3. The Logic of Quantified Statements
2 3.1. Predicates and Quantified Statements I
3 Predicate in grammar Predicate refers to the part of a sentence that gives information about the subject. Example: James is a student at Bedford College. Subject: James Predicate: a student at Bedford College.
4 Remark 3x + 5 = 1: equation x > 5 : inequality We cannot say whether the above equation and inequality are true or false before any number which can replace the x is given. However, when we replace x by any number, then the above equation or inequality become a statement.
5 Predicate in logic A predicate is sentence that contains a finite number of variables and becomes a statement when specific values are substituted for the variables. The domain of a predicate variable is the set of all values that may be substituted in place of the variable.
6 Example P(x) is the predicate x 2 > x with domain the set R of all real numbers. Remark: (meaning of predicate) P(x): x 2 > x is NOT a statement. That is just an inequality. However, when we replace x by any real number. It becomes a statement because we know whether that is true or false.
7 Example Let P(x) be the predicate x 2 > x with domain the set R of all real numbers. Write P 2, P 1, and P 1, and indicate which of 2 2 these statements are true and which are false.
8 Truth Set If P(x) is a predicate and x has domain D, the truth set of P(x) is the set of all elements of D that make P(x) true when they are substituted for x. Notation: (Truth Set) {x D P x }
9 Example Let Q(n) be the predicate `n is a factor of 8. Find the truth set of Q(n) if 1. The domain of n is the set of all positive integers. 2. The domain of n is the set of all integers.
10 Key words so far. Predicate: P(x) Domain Truth Set
11 Quantifier Quantifiers are words that refer to quantities such as some or all and tell for how many elements a given predicate is true. Universal Quantifier: for all ( Notation: ) Existential Quantifier: there exists ( Notation: )
12 Universal Quantifier for all for every for any for arbitrary for each given any
13 Example (Universal Quantifier) All human beings are mortal. Symbolize the sentence: Human beings x, x is mortal. x H, x is mortal, where H denote the set of all human beings.
14 Universal Statement, Truth, counterexample Let Q(x) be a predicate and D the domain of x. A universal statement is a statement of the form x D, Q(x) It is defined to be true if, and only if, Q(x) is true for every x in D. It is defined to be false if, and only if, Q(x) is false for at least one x in D. A value for x for which Q(x) is false is called a counterexample to the universal statement.
15 Example (Truth and Falsity of Universal Statements) 1. Let D = 1,2, 3, 4, 5, and consider the statement x D, x 2 x. Show that this statement is true. 2. Consider the statement x R, x 2 x. Find a counterexample to show that this statement is false.
16 Existential Quantifier There exists There is a We can find a There is at least one For some For at least one
17 Existential Statement, True, False Let Q(x) be a predicate and D the domain of x. An existential statement is a statement of the form x D such that Q(x). It is defined to be true if, and only if, Q(x) is true for at least one x in D. It is false if, and only if, Q(x) is false for all x in D.
18 Example
19 Universal Conditional Statement Example
20 Example Rewrite each of the following statements in the form, if, then. a. If a real number is an integer, then it is a rational number. b. All bytes have eight bits. c. No fire trucks are green.
21 Example Rewrite each of the following statements in the form, if, then. a. If a real number is an integer, then it is a rational number. b. All bytes have eight bits. c. No fire trucks are green. a. real number x, if x is an integer, then x is a rational number. b. x, if x is byte, then x has eight bits. c. x, if x is a fire truck, then x is not green.
22 Relationship between predicates Let P(x) and Q(x) be predicates which have the common domain D.
23 Example Let Q(n) be `n is a factor of 8, R(n) be `n is a factor of 4, S(n) be `n < 5 and n 3, and suppose the domain of n is Z +, the set of positive integers. Use the and symbols to indicate true relationship among Q(n), R(n), and S(n).
24 Example Let Q(n) be `n is a factor of 8, R(n) be `n is a factor of 4, S(n) be `n < 5 and n 3, and suppose the domain of n is Z +, the set of positive integers. Use the and symbols to indicate true relationship among Q(n), R(n), and S(n). Truth set of Q(n)={1, 2, 4, 8} Truth set of R(n)={1,2,4} Truth set of S(n) = {1,2,4}
25 3.2. Predicates and Quantified Statements II
26 Logical equivalence for quantified statements The statements are logically equivalent if the statements always have identical truth values 1. no matter what predicates are substituted for the predicate symbols and 2. no matter what sets are used for the domains of the predicate variables.
27 The meaning of `negate in dictionary 1. to cancel or destroy the effect of something. 2. to deny the existence of something.
28 Example Statement: `All mathematicians wear glasses What is the negation of the statement? Answer: 1. Some mathematicians don t wear glasses. 2. There is at least one mathematician who doesn t wear glasses.
29 Negation of a Universal Statement 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 ) Symbolically, ~ x D, Q x x D such that ~Q(x)
30 Example Write formal negation for the statement primes p, p is odd. Answer: a prime p such that p is not odd.
31 Example Statement: Some snowflakes are the same. What is negation for the statement? Answer: No snowflakes are the same. All snowflakes are different.
32 Negation of an Existential Statement The negation of an existential statement ( some are ) is logically equivalent to a universal statement ( none are or all are not ). Symbolically, ~ x D such that Q x x D, ~Q(x)
33 Example Write formal negations for the statement a triangle T such that the sum of the angles of T equals 200 degree. Answer: triangles T, the sum of the angles of T does not equal 200 degree.
34 Example Statement: No politicians are honest. 1. Write the statement formally. 2. Write the formal negation. 3. Write the informal negation. Answer: 1. Hint: Combine the universal quantifier with the predicate. politicians x, x is not honest. 2. a politician x such that x is honest. 3. Some politicians are honest.
35 Example Write informal negations for the following statements: All computer programs are finite. Answer: There is a computer program that is not finite. Some computer programs are infinite.
36 Example Write informal negations for the following statements: Some computer hackers are over 40. Answer: All computer hackers are 40 or under. No computer hackers are over 40.
37 Negation of Universal Conditional Statements ~ x, P x Q x x such that ~(P x Q x ) x such that (P x ~Q x )
38 Example Write a formal negation for statement people p, if p is blond then p has blue eyes. Answer: Hint: Use x such that P Q. a person p such that p is blond and p does not have blue eyes.
39 Example Write the informal negation for statement: If a computer program has more than 100, 000 lines, then it contains a bug. Answer: Hint: Interpret the given statement as for all computer program, if it has more than. There is at lease one computer program that has more than 100,000 lines and does not contain a bug.
40 Variants of Universal Conditional Statements Consider a statement of the form: x D, if P x, then Q x. 1. Contrapositive statement: x D, if ~Q x, then ~P x. 2. Converse: x D, if Q x, then P x. 3. Inverse: x D, if~p x, then~q x.
41 Example Write a formal statement for the following statement: If a real number is greater than 2, then its square is greater than 4. Answer: x R, if x > 2, then x 2 > 4.
42 Example Write a formal and an informal contrapositive for the following statement: x R, if x > 2, then x 2 > 4. Answer: x R, if x 2 4, then x 2. If the square of a real number is less than or equal to 4, then the number is less than or equal to 2.
43 Example Write a formal and an informal converse for the following statement: x R, if x > 2, then x 2 > 4. Answer: x R, if x 2 > 4, then x > 2. If the square of a real number is grater than 4, then the number is greater than 2.
44 Example Write a formal and an informal inverse for the following statement: x R, if x > 2, then x 2 > 4. Answer: x R, if x 2, then x 2 4. If a real number is less than or equal to 2, then the square of the umber is less than or equal to 4.
45 Remark 1. Universal conditional statement is logically equivalent to its contrapositive: x D, if P x, then Q x. x D, if ~Q x, then ~P x. 2. Universal statement is NOT logically equivalent to its convers or inverse.
46 Necessary and Sufficient Conditions x, if s(x), then n(x). s(x) is a sufficient condition for n(x). n(x) is a necessary condition for s(x).
47 Only if x, r x only if s x. means x, if r(x), then s(x).
48 Example Rewrite the following statement as quantified conditional statement. Do not use the word necessary or sufficient. Squareness is a sufficient condition for rectangularity. Answer: If a figure is a square, then it is a rectangle. x, if x is a square, then x is a rectangle.
49 Example Rewrite the following statement as quantified conditional statement. Do not use the word necessary or sufficient. Being at least 35 years old is a necessary condition for being President of the United States. Answer: people x, if x is President of the United States, then x is at least 35 years old.
50 Example Rewrite the following as a universal conditional statement: A product of two numbers is 0 only if one of the numbers is 0. Answer: If a product of two numbers is 0, then one of the numbers is 0.
51 Remark( Contrapositive ) 1. people x, if x is President of the United States, then x is at least 35 years old. people x, if x is younger than 35 years old, then x cannot be President of the United States. 2. If a product of two numbers is 0, then one of the numbers is 0. If neither of two numbers is 0, then the product of the numbers is not 0.
52 3.4. Arguments with Quantified Statements
53 Watch YouTube clips Modus Ponens Modus Tollens
54 Rule of inference Universal modus ponens ( direct form of logical argument ) Contrapositive type of logical argument Universal modus tollens ( logical argument using contrapositive )
55 The rule of instantiation If some property is true of everything in a set, then it is true of any particular thing in the set.
56 Example Rule of instantiation If some property is true of everything in a set, then it is true of any particular thing in the set. Example All human are mortal. : True to all human. Thus, everybody in this class is mortal ( because everybody in this class is human.)
57 The rule of instantiation If some property is true of everything in a set, then it is true of any particular thing in the set. The valid form of argument: Rule of instantiation + modus ponens This type of argument is called a Universal Modus Ponens.
58 Example Naïve Argument All human are mortal. : True to all human. Thus, everybody in this class is mortal ( because everybody in this class is human.) Rule of instantiation + modus ponens All human are mortal. Everybody in this class is human. Therefore, everybody in this class is mortal.
59 Mathematical Reasoning Induction Small facts to Bigger Conclusion ( Particular to General) Example: 1 = 1 = = 3 = = 6 = 3 4 and 2 conclude n = n (n + 1) 2 Deduction General info applied to Particular case to get conclusion( General to Particular) Example: If a student registered in MATH 321 class, then the student must take two mid-term exams. Jenna registered in MATH 321. Therefore, she must take two mid-term exams.
60 Universal Modus Ponens Modus Ponens is a logic we use when we do deductive reasoning: General rule is applied to particular case(s). Formal Version x, if P(x), then Q(x). P(a) for a particular a. Q(a). Informal Version If x makes P(x) true, then x makes Q(x) true. a makes P(x) true. a makes Q(x) true.
61 Example Rewrite the following argument using quantifiers, variables, and predicate symbols. Is this argument valid? Why? If an integer is even, then its square is even. K is a particular integer that is even. k 2 is even.
62 Example Rewrite the following argument using quantifiers, variables, and predicate symbols. If an integer is even, then its square is even. k is a particular integer that is even. k 2 is even. Symbolize: E(x): x is an even integer. S(x): x 2 is even. k: particular integer x, if E(x), then S(x). E(k) for a particular k. S(k)
63 Example Is this argument valid? Why? This argument is valid because it uses the universal modus ponens. If an integer is even, then its square is even. K is a particular integer that is even. k 2 is even.
64 Example Write the conclusion that can be inferred using universal modus ponens: If T is any right triangle with hypotenuse c and legs a and b, then c 2 = a 2 + b 2. The triangle shown at the right is a right triangle with both legs equal to 1 and hypotenuse c.
65 Example( Answer) Universal modus ponens If T is any right triangle with hypotenuse c and legs a and b, then c 2 = a 2 + b 2. The triangle shown at the right is a right triangle with both legs equal to 1 and hypotenuse c. Explanation General Rule The triangle shown at the right is a particular case of right triangle. c 2 = = 2. Thus, the general rule is applied to the given particular case.
66 Universal Modus Tollens Validity form of Argument: Universal instantiation + modus tollens
67 Universal Modus Tollens Formal Version x, if P(x), then Q(x). ~Q a, for a particular a. ~P(a) Informal Version If x makes P(x) true, then x makes Q(x) true. a does not make Q(x) true. a does not make P(x) true.
68 Example Rewrite the following argument using quantifiers, variables, and predicate symbols. Write the major premise in conditional form. Is this argument valid? Why? All human beings are mortal. Zeus is not mortal. Zeus is not human.
69 Example Problem Rewrite the following argument using quantifiers, variables, and predicate symbols. All human beings are mortal. Zeus is not mortal. Zeus is not human. Answer H(x): x is human. M(x): x is mortal. Z: Zeus. x, if H x, then M x. ~M Z ~H(Z)
70 Example Problem 1. Write the major premise in conditional form. 2. Is this argument valid? Why? All human beings are mortal. Zeus is not mortal. Zeus is not human. Answer 1. x, if x is human, then x is mortal. 1. This argument has the form of universal modus tollens. Thus it is valid.
71 Example Write the conclusion that can be inferred using universal modus tollens. All professors are absent-minded. Tom Hutchins is not absent-minded. Answer: Tom Hutchins is not a professor.
72 Argument form is Valid An argument form is valid if No matter what particular predicates are substituted for the predicate symbols in its premises, if the resulting premise statements are all true, then the conclusion is also true. An Argument is called valid if, and only if its form is valid.
73 Using Diagrams to Test Validity
74 Example All integers are rational numbers. Rational Numbers
75 Example Problem Use diagrams to show the validity of the following syllogism. All human beings are mortal. Zeus is not mortal. Zeus is not a human being. Analyze the syllogism Major premise: All human beings are mortal. Minor premise: Zeus is not mortal. Conclusion: Zeus is not a human being.
76 Example Problem Use diagrams to show the validity of the following syllogism. Diagram of Major premise All human beings are mortal. Zeus is not mortal. Zeus is not a human being.
77 Example Problem Use diagrams to show the validity of the following syllogism. Diagram of minor premise All human beings are mortal. Zeus is not mortal. Zeus is not a human being.
78 Example Problem Use diagrams to show the validity of the following syllogism. Conclusion All human beings are mortal. Zeus is not mortal. Zeus is not a human being.
79 Example( An Argument with No ) Use diagrams to test the following argument for validity: No polynomial functions have horizontal asymptotes. This function has a horizontal asymptote. This function is not a polynomial function.
80 Example( An Argument with No ) Polynomial functions Functions with horizontal asymptotes this function
81 Key Words Predicate Domain Codomain Truth Set Universal quantifier Existential quantifier Counterexample If and only if Only if Necessary, sufficient condition Modus ponens Modus tollens Universal modus ponens Universal modus tollens Rule of instantiation Induction, deduction Argument form is valid Argument is valid Using diagrams to test validity Diagram of major premise Diagram of minor premise
82 Negation ( Summarize the formal negation to each type of statement) Universal statement Existential statement Universal conditional statement Universal existential statement
83 Variation of Universal conditional statement What are contrapositive, converse and inverse of universal conditional statement?
DISCRETE MATH: LECTURE Chapter 3.3 Statements with Multiple Quantifiers If you want to establish the truth of a statement of the form
DISCRETE MATH: LECTURE 5 DR. DANIEL FREEMAN 1. Chapter 3.3 Statements with Multiple Quantifiers If you want to establish the truth of a statement of the form x D, y E such that P (x, y) your challenge
More information3. The Logic of Quantified Statements Summary. Aaron Tan August 2017
3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,
More informationTHE LOGIC OF QUANTIFIED STATEMENTS
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
More informationTHE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.
CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS SECTION 3.1 Predicates and Quantified Statements I Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. Predicates
More informationChapter 2: The Logic of Quantified Statements. January 22, 2010
Chapter 2: The Logic of Quantified Statements January 22, 2010 Outline 1 2.1- Introduction to Predicates and Quantified Statements I 2 2.2 - Introduction to Predicates and Quantified Statements II 3 2.3
More informationChapter 2: The Logic of Quantified Statements
Chapter 2: The Logic of Quantified Statements Topics include 2.1, 2.2 Predicates and Quantified Statements, 2.3 Statements with Multiple Quantifiers, and 2.4 Arguments with Quantified Statements. cs1231y
More informationPredicate Logic. Andreas Klappenecker
Predicate Logic Andreas Klappenecker Predicates A function P from a set D to the set Prop of propositions is called a predicate. The set D is called the domain of P. Example Let D=Z be the set of integers.
More informationCOMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University
COMP 182 Algorithmic Thinking Proofs Luay Nakhleh Computer Science Rice University 1 Reading Material Chapter 1, Section 3, 6, 7, 8 Propositional Equivalences The compound propositions p and q are called
More informationTHE LOGIC OF QUANTIFIED STATEMENTS
CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 3.1 Predicates and Quantified Statements I Copyright Cengage Learning. All rights reserved. Predicates
More informationDiscrete Structures for Computer Science
Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #4: Predicates and Quantifiers Based on materials developed by Dr. Adam Lee Topics n Predicates n
More information5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.
Statements Compounds and Truth Tables. Statements, Negations, Compounds, Conjunctions, Disjunctions, Truth Tables, Logical Equivalence, De Morgan s Law, Tautology, Contradictions, Proofs with Logical Equivalent
More informationReview. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions
Review Propositions, propositional operators, truth tables Logical Equivalences. Tautologies & contradictions Some common logical equivalences Predicates & quantifiers Some logical equivalences involving
More informationQuantifiers. P. Danziger
- 2 Quantifiers P. Danziger 1 Elementary Quantifiers (2.1) We wish to be able to use variables, such as x or n in logical statements. We do this by using the two quantifiers: 1. - There Exists 2. - For
More informationInference and Proofs (1.6 & 1.7)
EECS 203 Spring 2016 Lecture 4 Page 1 of 9 Introductory problem: Inference and Proofs (1.6 & 1.7) As is commonly the case in mathematics, it is often best to start with some definitions. An argument for
More informationCMPSCI 250: Introduction to Computation. Lecture 11: Proof Techniques David Mix Barrington 5 March 2013
CMPSCI 250: Introduction to Computation Lecture 11: Proof Techniques David Mix Barrington 5 March 2013 Proof Techniques Review: The General Setting for Proofs Types of Proof: Direct, Contraposition, Contradiction
More informationChapter 1 Elementary Logic
2017-2018 Chapter 1 Elementary Logic The study of logic is the study of the principles and methods used in distinguishing valid arguments from those that are not valid. The aim of this chapter is to help
More informationSection 3.1: Direct Proof and Counterexample 1
Section 3.1: Direct Proof and Counterexample 1 In this chapter, we introduce the notion of proof in mathematics. A mathematical proof is valid logical argument in mathematics which shows that a given conclusion
More information1 Predicates and Quantifiers
1 Predicates and Quantifiers We have seen how to represent properties of objects. For example, B(x) may represent that x is a student at Bryn Mawr College. Here B stands for is a student at Bryn Mawr College
More informationProofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.
Proofs A mathematical system consists of axioms, definitions and undefined terms. An axiom is assumed true. Definitions are used to create new concepts in terms of existing ones. Undefined terms are only
More informationDISCRETE MATH: FINAL REVIEW
DISCRETE MATH: FINAL REVIEW DR. DANIEL FREEMAN 1) a. Does 3 = {3}? b. Is 3 {3}? c. Is 3 {3}? c. Is {3} {3}? c. Is {3} {3}? d. Does {3} = {3, 3, 3, 3}? e. Is {x Z x > 0} {x R x > 0}? 1. Chapter 1 review
More informationSteinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)
Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning Terminology, Notations, Definitions, & Principles: Mathematical Proof and Proving (MPP) 1. A statement
More information2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic
CS 103 Discrete Structures Chapter 1 Propositional Logic Chapter 1.1 Propositional Logic 1 1.1 Propositional Logic Definition: A proposition :is a declarative sentence (that is, a sentence that declares
More informationA. Propositional Logic
CmSc 175 Discrete Mathematics A. Propositional Logic 1. Statements (Propositions ): Statements are sentences that claim certain things. Can be either true or false, but not both. Propositional logic deals
More informationSection Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier
Section 1.4 Section Summary Predicate logic Quantifiers Universal Quantifier Existential Quantifier Negating Quantifiers De Morgan s Laws for Quantifiers Translating English to Logic Propositional Logic
More informationLogic, Sets, and Proofs
Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.
More information3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations
Logic Propositions and logical operations Main concepts: propositions truth values propositional variables logical operations 1 Propositions and logical operations A proposition is the most basic element
More informationCSE 20 DISCRETE MATH. Winter
CSE 20 DISCRETE MATH Winter 2017 http://cseweb.ucsd.edu/classes/wi17/cse20-ab/ Today's learning goals Distinguish between a theorem, an axiom, lemma, a corollary, and a conjecture. Recognize direct proofs
More informationPropositional Logic Not Enough
Section 1.4 Propositional Logic Not Enough If we have: All men are mortal. Socrates is a man. Does it follow that Socrates is mortal? Can t be represented in propositional logic. Need a language that talks
More information[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics
400 lecture note #2 [Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 1) Basics An argument is a sequence of statements ( s1, s2,, sn). All statements in an argument, excet for
More informationCSCE 222 Discrete Structures for Computing. Predicate Logic. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker
CSCE 222 Discrete Structures for Computing Predicate Logic Dr. Hyunyoung Lee Based on slides by Andreas Klappenecker 1 Predicates A function P from a set D to the set Prop of propositions is called a predicate.
More information2-4: The Use of Quantifiers
2-4: The Use of Quantifiers The number x + 2 is an even integer is not a statement. When x is replaced by 1, 3 or 5 the resulting statement is false. However, when x is replaced by 2, 4 or 6 the resulting
More informationCSE 20 DISCRETE MATH. Fall
CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Distinguish between a theorem, an axiom, lemma, a corollary, and a conjecture. Recognize direct proofs
More information1.1 Language and Logic
c Oksana Shatalov, Spring 2018 1 1.1 Language and Logic Mathematical Statements DEFINITION 1. A proposition is any declarative sentence (i.e. it has both a subject and a verb) that is either true or false,
More informationMAT 243 Test 1 SOLUTIONS, FORM A
t MAT 243 Test 1 SOLUTIONS, FORM A 1. [10 points] Rewrite the statement below in positive form (i.e., so that all negation symbols immediately precede a predicate). ( x IR)( y IR)((T (x, y) Q(x, y)) R(x,
More informationWUCT121. Discrete Mathematics. Logic. Tutorial Exercises
WUCT11 Discrete Mathematics Logic Tutorial Exercises 1 Logic Predicate Logic 3 Proofs 4 Set Theory 5 Relations and Functions WUCT11 Logic Tutorial Exercises 1 Section 1: Logic Question1 For each of the
More informationTHE LOGIC OF COMPOUND STATEMENTS
THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment
More informationChapter 1: The Logic of Compound Statements. January 7, 2008
Chapter 1: The Logic of Compound Statements January 7, 2008 Outline 1 1.1 Logical Form and Logical Equivalence 2 1.2 Conditional Statements 3 1.3 Valid and Invalid Arguments Central notion of deductive
More information1. 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
Introduction to Discrete Mathematics 3450:208 Test 1 1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : The inverse of E : The
More informationMACM 101 Discrete Mathematics I. Exercises on Predicates and Quantifiers. Due: Tuesday, October 13th (at the beginning of the class)
MACM 101 Discrete Mathematics I Exercises on Predicates and Quantifiers. Due: Tuesday, October 13th (at the beginning of the class) Reminder: the work you submit must be your own. Any collaboration and
More informationSection 2.1: Introduction to the Logic of Quantified Statements
Section 2.1: Introduction to the Logic of Quantified Statements In the previous chapter, we studied a branch of logic called propositional logic or propositional calculus. Loosely speaking, propositional
More informationTutorial 2 Logic of Quantified Statements
Tutorial 2 Logic of Quantified Statements 1. Let V be the set of all visitors to Universal Studios Singapore on a certain day, T (v) be v took the Transformers ride, G(v) be v took the Battlestar Galactica
More informationDiscrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University
Discrete Mathematics Logics and Proofs Liangfeng Zhang School of Information Science and Technology ShanghaiTech University Resolution Theorem: p q p r (q r) p q p r q r p q r p q p p r q r T T T T F T
More information1.1 Language and Logic
c Oksana Shatalov, Fall 2017 1 1.1 Language and Logic Mathematical Statements DEFINITION 1. A proposition is any declarative sentence (i.e. it has both a subject and a verb) that is either true or false,
More informationTest 1 Solutions(COT3100) (1) Prove that the following Absorption Law is correct. I.e, prove this is a tautology:
Test 1 Solutions(COT3100) Sitharam (1) Prove that the following Absorption Law is correct. I.e, prove this is a tautology: ( q (p q) (r p)) r Solution. This is Modus Tollens applied twice, with transitivity
More informationLogic Overview, I. and T T T T F F F T F F F F
Logic Overview, I DEFINITIONS A statement (proposition) is a declarative sentence that can be assigned a truth value T or F, but not both. Statements are denoted by letters p, q, r, s,... The 5 basic logical
More information1 The Foundation: Logic and Proofs
1 The Foundation: Logic and Proofs 1.1 Propositional Logic Propositions( 명제 ) a declarative sentence that is either true or false, but not both nor neither letters denoting propositions p, q, r, s, T:
More informationMath.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference
Math.3336: Discrete Mathematics Nested Quantifiers/Rules of Inference Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu
More informationLogic and Propositional Calculus
CHAPTER 4 Logic and Propositional Calculus 4.1 INTRODUCTION Many algorithms and proofs use logical expressions such as: IF p THEN q or If p 1 AND p 2, THEN q 1 OR q 2 Therefore it is necessary to know
More informationFirst order Logic ( Predicate Logic) and Methods of Proof
First order Logic ( Predicate Logic) and Methods of Proof 1 Outline Introduction Terminology: Propositional functions; arguments; arity; universe of discourse Quantifiers Definition; using, mixing, negating
More information2. Use quantifiers to express the associative law for multiplication of real numbers.
1. Define statement function of one variable. When it will become a statement? Statement function is an expression containing symbols and an individual variable. It becomes a statement when the variable
More informationMath 3336: Discrete Mathematics Practice Problems for Exam I
Math 3336: Discrete Mathematics Practice Problems for Exam I The upcoming exam on Tuesday, February 26, will cover the material in Chapter 1 and Chapter 2*. You will be provided with a sheet containing
More informationLogic and Proofs. (A brief summary)
Logic and Proofs (A brief summary) Why Study Logic: To learn to prove claims/statements rigorously To be able to judge better the soundness and consistency of (others ) arguments To gain the foundations
More informationSection 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.
Math 299 Homework Assignment, Chapter 2 Section 2.1 2.A (not in the text) Which of the following are statements? Explain. 1. Let x be a positive integer. Then x is rational. 2. Mathematics is fun. 3. The
More informationSection 1.1 Propositions
Set Theory & Logic Section 1.1 Propositions Fall, 2009 Section 1.1 Propositions In Chapter 1, our main goals are to prove sentences about numbers, equations or functions and to write the proofs. Definition.
More informationCSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE
1 CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2015 February 5, 2015 2 Announcements Homework 1 is due now. Homework 2 will be posted on the web site today. It is due Thursday, Feb. 12 at 10am in class.
More informationUniversity of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs
University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura March 1, 2012 1:00 pm Duration: 1:15 hs Closed book, no calculators THIS MIDTERM AND ITS SOLUTION IS SUBJECT TO COPYRIGHT; NO PARTS OF
More information1 The Foundation: Logic and Proofs
1 The Foundation: Logic and Proofs 1.1 Propositional Logic Propositions( ) a declarative sentence that is either true or false, but not both nor neither letters denoting propostions p, q, r, s, T: true
More informationPredicate Logic & Quantification
Predicate Logic & Quantification Things you should do Homework 1 due today at 3pm Via gradescope. Directions posted on the website. Group homework 1 posted, due Tuesday. Groups of 1-3. We suggest 3. In
More informationCSC 125 :: Final Exam May 3 & 5, 2010
CSC 125 :: Final Exam May 3 & 5, 2010 Name KEY (1 5) Complete the truth tables below: p Q p q p q p q p q p q T T T T F T T T F F T T F F F T F T T T F F F F F F T T 6-15. Match the following logical equivalences
More informationChapter 4, Logic using Propositional Calculus Handout
ECS 20 Chapter 4, Logic using Propositional Calculus Handout 0. Introduction to Discrete Mathematics. 0.1. Discrete = Individually separate and distinct as opposed to continuous and capable of infinitesimal
More informationMTH 299 In Class and Recitation Problems SUMMER 2016
MTH 299 In Class and Recitation Problems SUMMER 2016 Last updated on: May 13, 2016 MTH299 - Examples CONTENTS Contents 1 Week 1 3 1.1 In Class Problems.......................................... 3 1.2 Recitation
More informationSupplementary Logic Notes CSE 321 Winter 2009
1 Propositional Logic Supplementary Logic Notes CSE 321 Winter 2009 1.1 More efficient truth table methods The method of using truth tables to prove facts about propositional formulas can be a very tedious
More informationIntro to Logic and Proofs
Intro to Logic and Proofs Propositions A proposition is a declarative sentence (that is, a sentence that declares a fact) that is either true or false, but not both. Examples: It is raining today. Washington
More informationSection 1.3. Let I be a set. When I is used in the following context,
Section 1.3. Let I be a set. When I is used in the following context, {B i } i I, we call I the index set. The set {B i } i I is the family of sets of the form B i where i I. One could also use set builder
More informationPredicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic
Predicate Logic Predicate Logic (Rosen, Chapter 1.4-1.6) TOPICS Predicate Logic Quantifiers Logical Equivalence Predicate Proofs Some statements cannot be expressed in propositional logic, such as: All
More informationPacket #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics
CSC 224/226 Notes Packet #2: Set Theory & Predicate Calculus Barnes Packet #2: Set Theory & Predicate Calculus Applied Discrete Mathematics Table of Contents Full Adder Information Page 1 Predicate Calculus
More informationLogic and Proof. Aiichiro Nakano
Logic and Proof Aiichiro Nakano Collaboratory for Advanced Computing & Simulations Department of Computer Science Department of Physics & Astronomy Department of Chemical Engineering & Materials Science
More informationUndergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide
Undergraduate Notes in Mathematics Arkansas Tech University Department of Mathematics Introductory Notes in Discrete Mathematics Solution Guide Marcel B. Finan c All Rights Reserved 2015 Edition Contents
More informationKS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) RULES OF INFERENCE. Discrete Math Team
KS091201 MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) RULES OF INFERENCE Discrete Math Team 2 -- KS091201 MD W-04 Outline Valid Arguments Modus Ponens Modus Tollens Addition and Simplification More Rules
More information4 Quantifiers and Quantified Arguments 4.1 Quantifiers
4 Quantifiers and Quantified Arguments 4.1 Quantifiers Recall from Chapter 3 the definition of a predicate as an assertion containing one or more variables such that, if the variables are replaced by objects
More informationDiscrete Mathematical Structures: Theory and Applications
Chapter 1: Foundations: Sets, Logic, and Algorithms Discrete Mathematical Structures: Theory and Applications Learning Objectives Learn about sets Explore various operations on sets Become familiar with
More informationCHAPTER 1 - LOGIC OF COMPOUND STATEMENTS
CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS 1.1 - Logical Form and Logical Equivalence Definition. A statement or proposition is a sentence that is either true or false, but not both. ex. 1 + 2 = 3 IS a statement
More informationCS0441 Discrete Structures Recitation 3. Xiang Xiao
CS0441 Discrete Structures Recitation 3 Xiang Xiao Section 1.5 Q10 Let F(x, y) be the statement x can fool y, where the domain consists of all people in the world. Use quantifiers to express each of these
More informationLecture 5 : Proofs DRAFT
CS/Math 240: Introduction to Discrete Mathematics 2/3/2011 Lecture 5 : Proofs Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Up until now, we have been introducing mathematical notation
More informationProofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction
Introduction I Proofs Computer Science & Engineering 235 Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu A proof is a proof. What kind of a proof? It s a proof. A proof is a proof. And when
More informationMathematical Reasoning (Part I) 1
c Oksana Shatalov, Spring 2017 1 Mathematical Reasoning (art I) 1 Statements DEFINITION 1. A statement is any declarative sentence 2 that is either true or false, but not both. A statement cannot be neither
More informationReadings: Conjecture. Theorem. Rosen Section 1.5
Readings: Conjecture Theorem Lemma Lemma Step 1 Step 2 Step 3 : Step n-1 Step n a rule of inference an axiom a rule of inference Rosen Section 1.5 Provide justification of the steps used to show that a
More information2. Find all combinations of truth values for p, q and r for which the statement p (q (p r)) is true.
1 Logic Questions 1. Suppose that the statement p q is false. Find all combinations of truth values of r and s for which ( q r) ( p s) is true. 2. Find all combinations of truth values for p, q and r for
More informationMat 243 Exam 1 Review
OBJECTIVES (Review problems: on next page) 1.1 Distinguish between propositions and non-propositions. Know the truth tables (i.e., the definitions) of the logical operators,,,, and Write truth tables for
More informationOutline. Rules of Inferences Discrete Mathematics I MATH/COSC 1056E. Example: Existence of Superman. Outline
Outline s Discrete Mathematics I MATH/COSC 1056E Julien Dompierre Department of Mathematics and Computer Science Laurentian University Sudbury, August 6, 2008 Using to Build Arguments and Quantifiers Outline
More informationHANDOUT AND SET THEORY. Ariyadi Wijaya
HANDOUT LOGIC AND SET THEORY Ariyadi Wijaya Mathematics Education Department Faculty of Mathematics and Natural Science Yogyakarta State University 2009 1 Mathematics Education Department Faculty of Mathematics
More informationHandout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte
Handout on Logic, Axiomatic Methods, and Proofs MATH 3181 001 Spring 1999 David C. Royster UNC Charlotte January 18, 1999 Chapter 1 Logic and the Axiomatic Method 1.1 Introduction Mathematicians use a
More informationSample Problems for all sections of CMSC250, Midterm 1 Fall 2014
Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 1. Translate each of the following English sentences into formal statements using the logical operators (,,,,, and ). You may also use mathematical
More information1.1 Statements and Compound Statements
Chapter 1 Propositional Logic 1.1 Statements and Compound Statements A statement or proposition is an assertion which is either true or false, though you may not know which. That is, a statement is something
More informationSection 2.3: Statements Containing Multiple Quantifiers
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
More informationFormal (Natural) Deduction for Predicate Calculus
Formal (Natural) Deduction for Predicate Calculus Lila Kari University of Waterloo Formal (Natural) Deduction for Predicate Calculus CS245, Logic and Computation 1 / 42 Formal deducibility for predicate
More informationRules Build Arguments Rules Building Arguments
Section 1.6 1 Section Summary Valid Arguments Inference Rules for Propositional Logic Using Rules of Inference to Build Arguments Rules of Inference for Quantified Statements Building Arguments for Quantified
More informationPredicate in English. Predicates and Quantifiers. Predicate in Logic. Propositional Functions: Prelude. Propositional Function
Predicates and Quantifiers Chuck Cusack Predicate in English In English, a sentence has 2 parts: the subject and the predicate. The predicate is the part of the sentence that states something about the
More information1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form
Math 378 Exam 1 Spring 2009 Show all Work Name 1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form a) In order for John to be wealthy it
More informationReview for Midterm 1. Andreas Klappenecker
Review for Midterm 1 Andreas Klappenecker Topics Chapter 1: Propositional Logic, Predicate Logic, and Inferences Rules Chapter 2: Sets, Functions (Sequences), Sums Chapter 3: Asymptotic Notations and Complexity
More informationCS 2336 Discrete Mathematics
CS 2336 Discrete Mathematics Lecture 3 Logic: Rules of Inference 1 Outline Mathematical Argument Rules of Inference 2 Argument In mathematics, an argument is a sequence of propositions (called premises)
More informationExercise Set 1 Solutions Math 2020 Due: January 30, Find the truth tables of each of the following compound statements.
1. Find the truth tables of each of the following compound statements. (a) ( (p q)) (p q), p q p q (p q) q p q ( (p q)) (p q) 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0 0 1 0 (b) [p ( p q)] [( (p
More informationCITS2211 Discrete Structures Proofs
CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics
More informationCPSC 121: Models of Computation
CPSC 121: Models of Computation Unit 6 Rewriting Predicate Logic Statements Based on slides by Patrice Belleville and Steve Wolfman Coming Up Pre-class quiz #7 is due Wednesday October 25th at 9:00 pm.
More informationProposition logic and argument. CISC2100, Spring 2017 X.Zhang
Proposition logic and argument CISC2100, Spring 2017 X.Zhang 1 Where are my glasses? I know the following statements are true. 1. If I was reading the newspaper in the kitchen, then my glasses are on the
More informationWhere are my glasses?
Proposition logic and argument CISC2100, Spring 2017 X.Zhang 1 Where are my glasses? I know the following statements are true. 1. If I was reading the newspaper in the kitchen, then my glasses are on the
More informationChapter 1, Logic and Proofs (3) 1.6. Rules of Inference
CSI 2350, Discrete Structures Chapter 1, Logic and Proofs (3) Young-Rae Cho Associate Professor Department of Computer Science Baylor University 1.6. Rules of Inference Basic Terminology Axiom: a statement
More informationLogic and Proofs. (A brief summary)
Logic and Proofs (A brief summary) Why Study Logic: To learn to prove claims/statements rigorously To be able to judge better the soundness and consistency of (others ) arguments To gain the foundations
More informationFor all For every For each For any There exists at least one There exists There is Some
Section 1.3 Predicates and Quantifiers Assume universe of discourse is all the people who are participating in this course. Also let us assume that we know each person in the course. Consider the following
More informationCSE Discrete Structures
CSE 2315 - Discrete Structures Homework 2- Fall 2010 Due Date: Oct. 7 2010, 3:30 pm Proofs using Predicate Logic For all your predicate logic proofs you can use only the rules given in the following tables.
More information