Chapter 1 - Foundations

Size: px
Start display at page:

Download "Chapter 1 - Foundations"

Transcription

1 Chapter 1 - oundations Introduction Suppose that: 1. Babies are illogical. 2. Nobody is despised who can manage a crocodile. 3. Illogical persons are despised. What conclusion may be reached using all of these premises? 1 Which is better, eternal happiness or a ham sandwich? It would appear that eternal happiness is better, but this is really not so! After all, nothing is better than eternal happiness, and a ham sandwich is certainly better than nothing. herefore a ham sandwich is better than eternal happiness. 2 And one of my favorite Lewis Carroll quotes:... Seven years and six months! Humpty Dumpty repeated thoughtfully. An uncomfortable sort of age. Now if you d asked my advice, I d have said Leave off at seven but it s too late now. I never ask advice about growing, Alice said indignantly. oo proud? the other enquired. Alice felt even more indignant at this suggestion. I mean, she said, that one can t help growing older. One can t, perhaps, said Humpty Dumpty; but two can. With proper assistance, you might have left off at seven Propositional Logic Definitions and Notation Logic Proposition Notation Negation 1 aken from Lewis Carroll 2 Raymond Smullyan 1

2 ruth ables p q p q Conjunction and Disjunction Conjunction of p and q: p q p q Disjunction of p and q: p q p q Other Definitions Exclusive Or (notation: ) Implication / Conditional (notation: or = ) Biconditional (notation: or ) p q p q p q p q 2

3 Other Operations on Implications Converse Contrapositive Inverse Precedence Operator Precedence () We will follow the book s convention and [almost] always use parentheses to group operators in order to avoid confusion. One exception to this is when negating a proposition, e.g., p q is equivalent to ( p) q, as opposed to (p q) Compound Propositions in ruth ables Example 1. p q p p q p q (p q) ( p q) 3

4 Logic and Bit Operators Applications of Propositional Logic Example 2. Suppose that: 1. Babies are illogical. 2. Nobody is despised who can manage a crocodile. 3. Illogical persons are despised. What conclusion may be reached using all of these premises? Propositional Equivalences Definitions Compound Proposition autology Contradiction Contingency 4

5 Logical Equivalence Definition 1. Notation: ruth tables can be used to show that compound propositions are logically equivalent. Example 3. Show that p p (p q): p q p q p (p q) A Larger Example... Show that (p q) (p r) p (q r): p q r p q p r (p q) (p r) q r p (q r) 5

6 able of Logical Equivalences (he abbreviations are not universal, but you may use them in your homework or on tests if you wish.) Equivalence Name Abbr. p p p p Identity / Idempotent (Conjunction) Identity / Idempotent (Disjunction) p Domination (Conjunction) DomC p Domination (Disjunction) DomD ( p) p Double Negation DN p q q p Commutative (Conjunction) CC p q q p Commutative (Disjunction) CD (p q) r p (q r) Associative (Conjunction) AC (p q) r p (q r) Associative (Disjunction) AD p (q r) (p q) (p r) Distributive (Conjunction) DC p (q r) (p q) (p r) Distributive (Disjunction) DD (p q) p q (p q) p q DeMorgan s Law (Conjunction) DeMorgan s Law (Disjunction) IdC IdD DMC DMD p (p q) p Absorption (Conjunction) AbC p (p q) p Absorption (Disjunction) AbD p p p p Negation (Conjunction) Negation (Disjunction) able 1: able of Logical Equivalences 6

7 Equivalence Name Abbr (p q) p q Negation of Implication NI p q p q Implication to Disjunction ID p q q p Contrapositive C p q p q p q (p q) (p q) (p r) p (q r) (p r) (q r) (p q) r (p q) (p r) p (q r) (p r) (q r) (p q) r able 2: Logical Equivalences Involving Implications Equivalence Name Abbr. (p q) p q Negation of Biconditional NB (p q) p q Negation of Biconditional (alternative) p q (p q) (q p) Biconditional B p q p q p q (p q) ( p q) able 3: Logical Equivalences Involving Biconditionals NB Additional autologies (Remember, tautology these will always be true for any values of p, q, r, and s.) autology Name Abbr. p p Excluded Middle EM (p q) p Simplification S p (p q) Addition A [p (p q)] q Modus Ponens MP [(p q) (q r)] (p r) Hypothetical Syllogism HS [(p q) q] p Disjunctive Syllogism DS [ q (p q)] p Modus ollens M [(p r) [(p q) (r s)]] (q s) [( q s) [(p q) (r s)]] ( p r) Constructive Dilemma Destructive Dilemma CDL DDL (p p) p Idempotent IM able 4: Additional autologies 7

8 De Morgan s Laws Example 4. Suppose there is an island populated solely by knights and knaves, and that knights always tell the truth but knaves always lie. While on this island, we encounter two people, A and B. A says I am a knave or B is a knight, while B says nothing. Determine, if possible, what A and B are. Arguments Using Logical Equivalence Example 5. Prove that (p q) q is a tautology. Example 6. Use equivalences from the tables to prove that (p q) (p r) and p (q r) are logically equivalent. 8

9 Practicality of Using ables How many rows does a truth table need for a compound proposition containing 2 variables? 3 variables? 5 variable? 100 variables? in general? Propositional Satisfiability Definition Predicates and Quantifiers Introduciton Is x > 3 a proposition? Definition 3 (Predicates (or Propositional unctions )). 9

10 Note that if x has no meaning, then P (x) is just a form. Definition 4 (Domain of Discourse). he domain of discourse (or the universe of discourse or simply domain) of x is... here are two ways to give meaning to a predicate P (x): he Universal Quantifier Definition 5. he universal quantification of the predicate P (x) is the statement... In symbols, Note: Example 7. (Let the domain of discourse be all real numbers.) 10

11 he Existential Quantifier Definition 6. he existential quantification of the predicate P (x) is the statement... In symbols, Note: Example 8. (Let the domain of discourse be all Grove City students and faculty.) Definition 7 (ree and Bound variables). Definition 8 (Scope). 11

12 Quantifiers with Conjunction and Disjunction Negating Quantified Expressions ranslating Into English Example 9. Let P (x) be the statement x likes to fly kites, Q(x, y) be the statement x knows y, and L(x, y) the statement x likes y. ranslate the following logical expressions into conversational English statements: 1. x (Q(Amy, x) P (x)) 2. x (L(Alice, x) L(x, Bob)) ranslating rom English Example 10. ranslate the following statements into logical expressions. Be sure to state the domain of discourse. 1. All cats are gray. 2. here are pigs which can fly. 12

13 1.5 - Nested Quantifiers Example x (x 0 y(xy = 1)) 2. x y(x + y = y) Note: he order of quantification matters! Example 12. Let M(x, y) = x is y s mother. ranslate the following into English: y xm(x, y) x ym(x, y) Example 13. ranslated each of the following in to English, where M is as in the previous example and S(x) = x is a student. 1. y (S(y) xm(x, y)) 2. y x (S(y) M(x, y)) 13

14 Example 14. Let L(x, y) = x loves 3 y and S as in the previous example. ranslate the following into logical expressions: 1. Everybody loves somebody. 2. here are people who love everybody. 3. All students love each other. Negating Nested Quantifiers Example 15. ( x y xy = 1) We move the negation through each level of quantification, using De Morgan s rules for quantifiers at each step: Example 16. Let I(x) = x has an internet connection, (x, y) = x and y have acebook messaged, and the domain be students in this class. ranslate the following into logical expressions: 1. Someone in your class has an internet connection but has not acebook messaged anyone else in the class. 2. here are two students in the class who, between them, have messaged everyone else in the class. 3 In a 1 John 4 sort of way. 14

15 Example 17. Let C(x, y) = student x is enrolled in class y and the domain of x be GCC students. ranslate the following into English sentences: 1. ( x y C(x, y)) 2. x y z ((x y) (C(x, z) C(y, z))) Rules of Inference Definitions Argument Conclusion Premises Valid [Argument] allacy 15

16 Standard Rules of Inference Each of the following is based on a tautology. Modus Ponens p p q q Modus ollens q p q p Hypothetical Syllogism p q q r p r Disjunctive Syllogism p q p q Addition p p q Simplification p q p Conjunction p q p q Resolution p q p r q r Example 18. Identify the rules of inference used in each of the following arguments. 1. Alice is a math major. herefore, Alice is either a math major or a c.s. major. 2. If it snows today, the college will close. he college is not closed today. herefore it did not snow today. 3. If I go swimming, then I will stay in the sun too long. If I stay in the sun too long, then I will sunburn. herefore, if I go swimming, then I will get sunburn. 16

17 Example 19. Use rule of inference to show that the premises Henry works hard, If Henry works hard then he is a dull boy, and If Henry is a dull boy then he will not get the job imply the conclusion Henry will not get the job. Standard Rules of Inference Each of the following is based on a tautology. Universal Instantiation x P (x) P (c) for any fixed c Universal Generalization P (c) for an arbitrary c x P (x) Existential Instantiation x P (x) P (c) for some c Existential Generalization P (c) for some c x P (x) Universal Modus Ponens x (P (x) Q(x)) P (c) Q(c) Universal Modus ollens x (P (x) Q(x)) Q(c) P (c) Example 20. What can you conclude about Henry, Jack, and Jill, given the following premises? 1. Every c.s. major has an ipad. 2. Henry does not have an ipad. 3. Jill has an ipad. 4. Jack is a c.s. major. 17

18 allacies Affirming the Conclusion p q q p Denying the Hypothesis p q p q Begging the Question p p Valid or allacy? Do the following represent valid arguments, or fallacies? 1. All students in this class understand logic. Pascal is a student in this class. herefore, Pascal understands logic. (Let P (x) = x is in this class and Q(x) = x understands logic.) 2. Every c.s. major takes discrete mathematics. Esther is taking discrete mathematics. herefore, Esther is a c.s. major. (Let P (x) = x is a c.s. major and Q(x) = x takes discrete.) 3. All parrots like fruit. My pet bird is not a parrot. herefore, my pet bird does not like fruit. (Let P (x) = x is a parrot and Q(x) = x like fruit.) 4. Everyone who eats granola every day is healthy. John is not healthy. herefore John does not eat granola every day. (Let P (x) = x eats granola every day and Q(x) = x is healthy.) 18

19 1.7 - Introduction to Proofs erms that arise in ormal Proofs Proof Undefined erm heorem Proposition Lemma Corollary Conjecture Axiom / Postulate Quantifiers When no quantifier is given, then a universal quantification is assumed. Example 21. If xy > 0, then either x and y are both positive or x and y are both negative. 19

20 Basic acts/definitions/postulates An integer n is even iff there exists an integer k such that n = 2k. An integer n is odd iff there exists an integer k such that n = 2k + 1. An integer a is a perfect square iff there exists an integer b such that a = b 2. or a and b are integers such that a 0, we say that a divides b iff there exists an integer c such that b = ac. A real number r is rational iff there exists integers p and q with q 0 such that r = p q. A real number is irrational if it is not rational. Methods of Proving heorems Definition 9 (Direct Proof). o prove a statement of the form p q using a direct proof, we assume that p (the if ) is true and then show by a direct argument (which may take many steps) that q (the then ) must also be true. his is the most common form of proof, and we ll almost always start by trying this approach. Example 22. Prove the statement: If a person likes math, then he is cool. Example 23. Proposition 1. If n is a perfect square then n is either odd or divisible by 4. Proof. Q.E.D. 20

21 Methods of Proving heorems Definition 10 (Proof by Contraposition). A proof by contraposition is an indirect proof in which we prove the contrapositive of the original statement, i.e., we prove that q p (recall that the contrapositive has the same truth values as the original implication). Example 24. Prove the statement: If a person likes math, then he is cool. Example 25. Proposition 2. If n and m are integers and mn is even, then either m or n must be even. Proof. Q.E.D. 21

22 Proving a Biconditional Statement o prove a statement of the form p q we prove both p q and q p Example 26. Prove the statement: A person likes math if and only if he is cool. Proving Multiple Equivalences o prove that three or more statements are equivalent (all connected with if and only if s), it is enough to show that a chain of if... then... statements are true, as long as we can get from any statement to any other statement through the chain. Example 27. Prove that the following are equivalent [shorthand abbr. AE ; might also see AE for these are equivalent ] for any a, b R: 1. a < b a + b 2 a + b 2 > a < b 22

23 Other Methods of Proof Proof by Contradiction Assume the opposite of what you want to show and then show that this leads to a contradiction. Can be useful, but usually does not yield a very enlightening proof. As far as it is practical, try to avoid proof by contradiction. Vacuous Proof Show that p q is true by showing that p is false. rivial Proof Show that p q is true by showing that q is true (without using p). Example 28. Proposition 3. he product of a non-zero rational number and an irrational number is irrational. Proof. Q.E.D. 23

24 inding Mistakes in Proofs 1. a = b Given. 2. a 2 = ab Multiply both sides by a. 3. a 2 b 2 = ab b 2 Subtract b 2 from both sides. 4. (a b)(a + b) = b(a b) actor. 5. a + b = b Cancel a b on both sides. 6. 2b = b Substitute a for b since a = b = 1 Divide both sides by b. Where is the mistake in this proof? Other Errors in Proofs Begging the Question his occurs when the part of the proof is based on the truth of the statement being proved (we saw this in the previous section). Circular Reasoning Occurs when you use a statement to prove itself Proof Methods and Strategy Proof Methods Proof by Cases Logically, it has a form similar to: p q r p s q s r s s We can use this method when there are finitely many possibilities and show that each possible case leads to the desired result. Exhaustive Proof Similar to a proof by cases. Generally used when looking at a relatively small number of examples will exhaust all possibilities. 24

25 Something so important it gets its own subsubsection. Note Neither a Proof by Cases nor an Exhaustive Proof will constitute a valid proof unless all cases or possibilities have been examined! Proof by M&Ms (a.k.a., Proof by doing a couple of examples ) is not a valid form of proof! Example 29. heorem 1 (riangle Inequality). or any two real numbers x and y, x + y x + y. Proof. Q.E.D. Existence Proofs A proof of a proposition of the form x P (x) is called an existence proof. here are two types of existence proofs: 1. Constructive: 2. Nonconstructive: Example 30 (Constructive Example). Show that there is a positive integer that can be written as the sum of cubes in two different ways. Example 31 (Nonconstructive Example). Show that there exists two irrational numbers x and y such that x y rational. is 25

26 Uniqueness Definition 11 (he Uniqueness Quantifier).!x P (x) means Example 32. y R (y 0!x(xy = 1)) Counterexamples o show that x P (x) is false it is sufficient to find one value of x for which P (x) is false. Example 33. Every positive integer is the sum of three squares. 26

27 Open Problems Example 34 (he 3x + 1 Conjecture). Starting with any positive integer and repeatedly applying the transformation whereby an even integer gets divided by 2, and an odd integer gets multiplied by 3 and incremented by 1, we will ultimately generate the integer 1. Example 35 (Goldbach s Conjecture). Every positive even integer n 4 can be written as the sum of two prime numbers. 27

28 Additional Logic Puzzles 1. Use all of the following premises to reach a conclusion: he only books in this library, that I do not recommend for reading, are unhealthy in tone. he bound books are all well written. All the romances are healthy in tone. I do not recommend you to read any of the unbound books Use all of the following premises to reach a conclusion: All my sons are slim. No child of mine is healthy who takes no exercise. All gluttons, who are children of mine, are fat. No daughter of mine takes any exercise. 3. Let us assume that there are five houses of different colors next to each other on the same road. In each house lives a man of a different nationality. Every man has his favorite drink, his favorite brand of cigarettes, and keeps pets of a particular kind. he Englishman lives in the red house. he Swede keeps dogs. he Dane drinks tea. he green house is just to the left of the white one. he owner of the green house drinks coffee. he Pall Mall smoker keeps birds. he owner of the yellow house smokes Dunhills. he man in the center house drinks milk. he Norwegian lives in the first house. he Blend smoker has a neighbor who keeps cats. he man who smokes Blue Masters drinks bier. he man who keeps horses lives next to the Dunhill smoker. he German smokes Prince. he Norwegian lives next to the blue house. he Blend smoker has a neighbor who drinks water. Who keeps fish as his pet? 5 4 Puzzles 1 and 2 are attributed to Lewis Carroll 5 Commonly attributed to Albert Einstein. 28

29 4. he Lady or the iger. 6 A certain king likes to entertain himself by making his prisoners play a game to decide their fate. he prisoners are presented with two doors. In a room behind each door is either a lady whom the prisoner may marry, or a tiger whom may eat the prisoner. A clue is written on each door and the prisoner decides which door to open based on these clues. he clues provided to three prisoners brought before the king are below. ry to figure out which door each prisoner should open. Prisoner 1 is told that exactly one of the following clues is true and exactly one is false. Door 1: here is a lady behind this door and a tiger behind the other. Door 2: here is a lady behind one of the doors and a tiger behind the other. Prisoner 2 is told that either both clues are true or both are false. Door 1: Either there is a tiger behind this door or a lady behind the second door. Door 2: here is a lady behind this door. Prisoner 3 receives directions which are a bit tricker since the first two escaped. his prisoner is told that if a lady is behind door 1 then the clue on door 1 is true, but if a tiger is behind door 1 then the clue on that door is false. Door 2 follows the opposite rule: if a lady is behind door 2 the clue on door 2 is false, but if a tiger is behind door 2 the clue on that door is true. Door 1: A lady is waiting behind at least one of the doors. Door 2: A lady is waiting behind the other door. 6 Commonly attributed to Raymond Smullyan. 29

Logic and Proof. Aiichiro Nakano

Logic 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 information

1 The Foundation: Logic and Proofs

1 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 information

1 The Foundation: Logic and Proofs

1 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 information

At least one of us is a knave. What are A and B?

At least one of us is a knave. What are A and B? 1. This is a puzzle about an island in which everyone is either a knight or a knave. Knights always tell the truth and knaves always lie. This problem is about two people A and B, each of whom is either

More information

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

COMP 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 information

Logic Overview, I. and T T T T F F F T F F F F

Logic 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 information

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

3/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 information

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1)

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1) CS100: DISCREE SRUCURES Lecture 5: Logic (Ch1) Lecture Overview 2 Statement Logical Connectives Conjunction Disjunction Propositions Conditional Bio-conditional Converse Inverse Contrapositive Laws of

More information

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

2/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 information

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional Logical Operators Conjunction Disjunction Negation Exclusive Or Implication Biconditional 1 Statement meaning p q p implies q if p, then q if p, q when p, q whenever p, q q if p q when p q whenever p p

More information

Intro to Logic and Proofs

Intro 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 information

Logic. Logic is a discipline that studies the principles and methods used in correct reasoning. It includes:

Logic. Logic is a discipline that studies the principles and methods used in correct reasoning. It includes: Logic Logic is a discipline that studies the principles and methods used in correct reasoning It includes: A formal language for expressing statements. An inference mechanism (a collection of rules) to

More information

Review: Potential stumbling blocks

Review: Potential stumbling blocks Review: Potential stumbling blocks Whether the negation sign is on the inside or the outside of a quantified statement makes a big difference! Example: Let T(x) x is tall. Consider the following: x T(x)

More information

Tools for reasoning: Logic. Ch. 1: Introduction to Propositional Logic Truth values, truth tables Boolean logic: Implications:

Tools for reasoning: Logic. Ch. 1: Introduction to Propositional Logic Truth values, truth tables Boolean logic: Implications: Tools for reasoning: Logic Ch. 1: Introduction to Propositional Logic Truth values, truth tables Boolean logic: Implications: 1 Why study propositional logic? A formal mathematical language for precise

More information

Mat 243 Exam 1 Review

Mat 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 information

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007 Proofs Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 1.5, 1.6, and 1.7 of Rosen cse235@cse.unl.edu

More information

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

CHAPTER 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 information

CS2336 Discrete Mathematics

CS2336 Discrete Mathematics CS2336 Discrete Mathematics Homework 1 Tutorial: March 20, 2014 Problems marked with * will be explained in the tutorial. 1. Determine which of the following statements are propositions and which are non-propositions.

More information

Chapter 1 Elementary Logic

Chapter 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 information

ECOM Discrete Mathematics

ECOM Discrete Mathematics ECOM 2311- Discrete Mathematics Chapter # 1 : The Foundations: Logic and Proofs Fall, 2013/2014 ECOM 2311- Discrete Mathematics - Ch.1 Dr. Musbah Shaat 1 / 85 Outline 1 Propositional Logic 2 Propositional

More information

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Proofs: 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 information

Predicate Logic & Quantification

Predicate 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 information

Announcements CompSci 102 Discrete Math for Computer Science

Announcements CompSci 102 Discrete Math for Computer Science Announcements CompSci 102 Discrete Math for Computer Science Read for next time Chap. 1.4-1.6 Recitation 1 is tomorrow Homework will be posted by Friday January 19, 2012 Today more logic Prof. Rodger Most

More information

Discrete Mathematics and Its Applications

Discrete Mathematics and Its Applications Discrete Mathematics and Its Applications Lecture 1: The Foundations: Logic and Proofs (1.3-1.5) MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 19, 2017 Outline 1 Logical

More information

software design & management Gachon University Chulyun Kim

software design & management Gachon University Chulyun Kim Gachon University Chulyun Kim 2 Outline Propositional Logic Propositional Equivalences Predicates and Quantifiers Nested Quantifiers Rules of Inference Introduction to Proofs 3 1.1 Propositional Logic

More information

CSC Discrete Math I, Spring Propositional Logic

CSC Discrete Math I, Spring Propositional Logic CSC 125 - Discrete Math I, Spring 2017 Propositional Logic Propositions A proposition is a declarative sentence that is either true or false Propositional Variables A propositional variable (p, q, r, s,...)

More information

A. Propositional Logic

A. 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 information

Chapter 1: The Logic of Compound Statements. January 7, 2008

Chapter 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 information

Chapter 1, Part I: Propositional Logic. With Question/Answer Animations

Chapter 1, Part I: Propositional Logic. With Question/Answer Animations Chapter 1, Part I: Propositional Logic With Question/Answer Animations Chapter Summary Propositional Logic The Language of Propositions Applications Logical Equivalences Predicate Logic The Language of

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Originals slides by Dr. Baek and Dr. Still, adapted by J. Stelovsky Based on slides Dr. M. P. Frank and Dr. J.L. Gross

More information

Mathacle. PSet ---- Algebra, Logic. Level Number Name: Date: I. BASICS OF PROPOSITIONAL LOGIC

Mathacle. PSet ---- Algebra, Logic. Level Number Name: Date: I. BASICS OF PROPOSITIONAL LOGIC I. BASICS OF PROPOSITIONAL LOGIC George Boole (1815-1864) developed logic as an abstract mathematical system consisting of propositions, operations (conjunction, disjunction, and negation), and rules for

More information

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives Logic Logic is study of abstract reasoning, specifically, concerned with whether reasoning is correct. Logic focuses on relationship among statements as opposed to the content of any particular statement.

More information

First order Logic ( Predicate Logic) and Methods of Proof

First 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 information

Homework assignment 1: Solutions

Homework assignment 1: Solutions Math 240: Discrete Structures I Due 4:30pm Friday 29 September 2017. McGill University, Fall 2017 Hand in to the mailbox at Burnside 1005. Homework assignment 1: Solutions Discussing the assignment with

More information

Undergraduate 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 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 information

DISCRETE MATHEMATICS BA202

DISCRETE MATHEMATICS BA202 TOPIC 1 BASIC LOGIC This topic deals with propositional logic, logical connectives and truth tables and validity. Predicate logic, universal and existential quantification are discussed 1.1 PROPOSITION

More information

Definition 2. Conjunction of p and q

Definition 2. Conjunction of p and q Proposition Propositional Logic CPSC 2070 Discrete Structures Rosen (6 th Ed.) 1.1, 1.2 A proposition is a statement that is either true or false, but not both. Clemson will defeat Georgia in football

More information

Formal Logic. Critical Thinking

Formal Logic. Critical Thinking ormal Logic Critical hinking Recap: ormal Logic If I win the lottery, then I am poor. I win the lottery. Hence, I am poor. his argument has the following abstract structure or form: If P then Q. P. Hence,

More information

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

More information

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic Discrete Mathematical Structures Chapter 1 he oundation: Logic 1 Lecture Overview 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Quantifiers l l l l l Statement Logical Connectives Conjunction

More information

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference

Chapter 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 information

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions

Review. 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 information

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

Packet #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 information

A Guide to Proof-Writing

A Guide to Proof-Writing A Guide to Proof-Writing 437 A Guide to Proof-Writing by Ron Morash, University of Michigan Dearborn Toward the end of Section 1.5, the text states that there is no algorithm for proving theorems.... Such

More information

1.1 Statements and Compound Statements

1.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 information

Chapter Summary. Propositional Logic. Predicate Logic. Proofs. The Language of Propositions (1.1) Applications (1.2) Logical Equivalences (1.

Chapter Summary. Propositional Logic. Predicate Logic. Proofs. The Language of Propositions (1.1) Applications (1.2) Logical Equivalences (1. Chapter 1 Chapter Summary Propositional Logic The Language of Propositions (1.1) Applications (1.2) Logical Equivalences (1.3) Predicate Logic The Language of Quantifiers (1.4) Logical Equivalences (1.4)

More information

MATH 215 Discrete Mathematics Worksheets. Which of these are propositions? What are the truth values of those that are propositions?

MATH 215 Discrete Mathematics Worksheets. Which of these are propositions? What are the truth values of those that are propositions? Which of these are propositions? What are the truth values of those that are propositions? 1. Would you like some coffee? 2. I would like coffee with cream and sugar. 3. Either Mom or Dad will pick me

More information

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics Statistics York University Sept 18, 2014 Outline 1 2 Tautologies Definition A tautology is a compound proposition

More information

Chapter 2: The Logic of Compound Statements

Chapter 2: The Logic of Compound Statements Chapter 2: he Logic of Compound Statements irst: Aristotle (Gr. 384-322 BC) Collection of rules for deductive reasoning to be used in every branch of knowledge Next: Gottfried Leibniz (German, 17th century)

More information

Discrete Mathematical Structures: Theory and Applications

Discrete 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 information

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013 Propositional Logic Argument Forms Ioan Despi despi@turing.une.edu.au University of New England July 19, 2013 Outline Ioan Despi Discrete Mathematics 2 of 1 Order of Precedence Ioan Despi Discrete Mathematics

More information

Predicates, Quantifiers and Nested Quantifiers

Predicates, Quantifiers and Nested Quantifiers Predicates, Quantifiers and Nested Quantifiers Predicates Recall the example of a non-proposition in our first presentation: 2x=1. Let us call this expression P(x). P(x) is not a proposition because x

More information

STRATEGIES OF PROBLEM SOLVING

STRATEGIES OF PROBLEM SOLVING STRATEGIES OF PROBLEM SOLVING Second Edition Maria Nogin Department of Mathematics College of Science and Mathematics California State University, Fresno 2014 2 Chapter 1 Introduction Solving mathematical

More information

Math 3336: Discrete Mathematics Practice Problems for Exam I

Math 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 information

EECS 1028 M: Discrete Mathematics for Engineers

EECS 1028 M: Discrete Mathematics for Engineers EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 26 Why Study Logic?

More information

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.

Proofs. 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 information

Mat2345 Week 2. Chap 1.5, 1.6. Fall Mat2345 Week 2. Chap 1.5, 1.6. Week2. Negation. 1.5 Inference. Modus Ponens. Modus Tollens. Rules.

Mat2345 Week 2. Chap 1.5, 1.6. Fall Mat2345 Week 2. Chap 1.5, 1.6. Week2. Negation. 1.5 Inference. Modus Ponens. Modus Tollens. Rules. Fall 2013 Student Responsibilities Reading: Textbook, Sections 1.5 1.6 Assignments: as given in the Homework Assignment list (handout) Secs. 1.5 & 1.6 Attendance: Dryly Encouraged Overview Finish up 1.1

More information

The Logic of Compound Statements cont.

The Logic of Compound Statements cont. The Logic of Compound Statements cont. CSE 215, Computer Science 1, Fall 2011 Stony Brook University http://www.cs.stonybrook.edu/~cse215 Refresh from last time: Logical Equivalences Commutativity of :

More information

CSE 20 DISCRETE MATH. Winter

CSE 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 information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

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

5. 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 information

(Refer Slide Time: 02:20)

(Refer Slide Time: 02:20) Discrete Mathematical Structures Dr. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 5 Logical Inference In the last class we saw about

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

Why Learning Logic? Logic. Propositional Logic. Compound Propositions

Why Learning Logic? Logic. Propositional Logic. Compound Propositions Logic Objectives Propositions and compound propositions Negation, conjunction, disjunction, and exclusive or Implication and biconditional Logic equivalence and satisfiability Application of propositional

More information

Test 1 Solutions(COT3100) (1) Prove that the following Absorption Law is correct. I.e, prove this is a tautology:

Test 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 information

The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs The Foundations: Logic and Proofs Chapter 1, Part III: Proofs Summary Valid Arguments and Rules of Inference Proof Methods Proof Strategies Rules of Inference Section 1.6 Section Summary Valid Arguments

More information

Logic, Sets, and Proofs

Logic, 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 information

MAT2345 Discrete Math

MAT2345 Discrete Math Fall 2013 General Syllabus Schedule (note exam dates) Homework, Worksheets, Quizzes, and possibly Programs & Reports Academic Integrity Do Your Own Work Course Web Site: www.eiu.edu/~mathcs Course Overview

More information

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov Introduction Logic Inference Discrete Mathematics Andrei Bulatov Discrete Mathematics - Logic Inference 6-2 Previous Lecture Laws of logic Expressions for implication, biconditional, exclusive or Valid

More information

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012 March 5, 2012 Webwork Homework. The handout on Logic is Chapter 4 from Mary Attenborough s book Mathematics for Electrical Engineering and Computing. Proving Propositions We combine basic propositions

More information

III. Elementary Logic

III. Elementary Logic III. Elementary Logic The Language of Mathematics While we use our natural language to transmit our mathematical ideas, the language has some undesirable features which are not acceptable in mathematics.

More information

Unit I LOGIC AND PROOFS. B. Thilaka Applied Mathematics

Unit I LOGIC AND PROOFS. B. Thilaka Applied Mathematics Unit I LOGIC AND PROOFS B. Thilaka Applied Mathematics UNIT I LOGIC AND PROOFS Propositional Logic Propositional equivalences Predicates and Quantifiers Nested Quantifiers Rules of inference Introduction

More information

CSE 20 DISCRETE MATH. Fall

CSE 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 information

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference Logic? Propositional Logic (Rosen, Chapter 1.1 1.3) TOPICS Propositional Logic Truth Tables Implication Logical Proofs 10/1/12 CS160 Fall Semester 2012 2 What is logic? Logic is a truth-preserving system

More information

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. Math 0413 Appendix A.0 Logic Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. This type of logic is called propositional.

More information

Full file at

Full file at Transparencies to accompany Rosen, Discrete Mathematics and Its Applications Introduction Chapter 1 - Introduction Applications of discrete mathematics: Formal Languages (computer languages) Compiler Design

More information

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel LECTURE NOTES on DISCRETE MATHEMATICS Eusebius Doedel 1 LOGIC Introduction. First we introduce some basic concepts needed in our discussion of logic. These will be covered in more detail later. A set is

More information

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic CHAPER 1 MAHEMAICAL LOGIC 1.1 undamentals of Mathematical Logic Logic is commonly known as the science of reasoning. Some of the reasons to study logic are the following: At the hardware level the design

More information

Logic and Propositional Calculus

Logic 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 information

Logic and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007

Logic and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007 COT3100: Propositional Equivalences 1 Logic and Proofs Jan 2007 COT3100: Propositional Equivalences 2 1 Translating from Natural Languages EXAMPLE. Translate the following sentence into a logical expression:

More information

Predicate in English. Predicates and Quantifiers. Predicate in Logic. Propositional Functions: Prelude. Propositional Function

Predicate 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 information

CSC 125 :: Final Exam May 3 & 5, 2010

CSC 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 information

Example ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x.

Example ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x. Announcements CS311H: Discrete Mathematics More Logic Intro to Proof Techniques Homework due next lecture Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mathematics More Logic Intro

More information

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques Colin Stirling Informatics Some slides based on ones by Myrto Arapinis Colin Stirling (Informatics) Discrete Mathematics

More information

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

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here. Chapter 2 Mathematics and Logic Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here. 2.1 A Taste of Number Theory In this section, we will

More information

Propositional Logic. Spring Propositional Logic Spring / 32

Propositional Logic. Spring Propositional Logic Spring / 32 Propositional Logic Spring 2016 Propositional Logic Spring 2016 1 / 32 Introduction Learning Outcomes for this Presentation Learning Outcomes... At the conclusion of this session, we will Define the elements

More information

Propositional Logic Not Enough

Propositional 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

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

Section 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 information

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof Ch. 1.6 Introduction to Proofs The following techniques for methods of proofs are discussed in our text - Vacuous proof - Trivial proof - Direct proof - Indirect proof (our book calls this by contraposition)

More information

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

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology 1 Math/CSE 1019N: Discrete Mathematics for Computer Science Winter 2007 Suprakash Datta datta@cs.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/1019

More information

Section 1.1 Propositions

Section 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 information

Readings: Conjecture. Theorem. Rosen Section 1.5

Readings: 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 information

1 Predicates and Quantifiers

1 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 information

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

WUCT121. 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 information

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc (MATHEMATICS) I Semester Core Course. FOUNDATIONS OF MATHEMATICS (MODULE I & ii) QUESTION BANK

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc (MATHEMATICS) I Semester Core Course. FOUNDATIONS OF MATHEMATICS (MODULE I & ii) QUESTION BANK UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc (MATHEMATICS) (2011 Admission Onwards) I Semester Core Course FOUNDATIONS OF MATHEMATICS (MODULE I & ii) QUESTION BANK 1) If A and B are two sets

More information

Agenda. Introduction to Proofs Dr Patrick Chan School of Computer Science and Engineering South China University of Technology

Agenda. Introduction to Proofs Dr Patrick Chan School of Computer Science and Engineering South China University of Technology Discrete Mathematic Chapter 1: Logic and Proof 1.5 Rules of Inference 1.6 Introduction to Proofs Dr Patrick Chan School of Computer Science and Engineering South China University of echnology Agenda Rules

More information

With Question/Answer Animations. Chapter 1, Part III: Proofs

With Question/Answer Animations. Chapter 1, Part III: Proofs With Question/Answer Animations Chapter 1, Part III: Proofs Summary Valid Arguments and Rules of Inference Proof Methods Proof Strategies Section 1.6 Section Summary Valid Arguments Inference Rules for

More information

CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE

CSCI-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 information

Chapter 4, Logic using Propositional Calculus Handout

Chapter 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 information

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Sample 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 information