Solutions for the fourth week s homework Math 131

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

Section 1.2: Propositional Logic

1 Propositional Logic

- 1.2 Implication P. Danziger. Implication

PROBLEM SET 3: PROOF TECHNIQUES

5. And. 5.1 The conjunction

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

5. And. 5.1 The conjunction

Recitation 4: Quantifiers and basic proofs

8. Reductio ad absurdum

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

THE LOGIC OF COMPOUND STATEMENTS

Logic, Sets, and Proofs

Propositional Logic Not Enough

Chapter 3: Logic. Diana Pell. A statement is a declarative sentence that is either true or false, but not both.

Mat 243 Exam 1 Review

Sec 3.3 The Conditional & Circuits

Supplementary Logic Notes CSE 321 Winter 2009

COT 2104 Homework Assignment 1 (Answers)

Predicate Logic & Quantification

Compound Propositions

Take the Anxiety Out of Word Problems

Recitation Week 3. Taylor Spangler. January 23, 2012

Introducing Proof 1. hsn.uk.net. Contents

Mathematical Logic Part One

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

Section 1.1: Logical Form and Logical Equivalence

LOGIC CONNECTIVES. Students who have an ACT score of at least 30 OR a GPA of at least 3.5 can receive a college scholarship.

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

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

Chapter 3. The Logic of Quantified Statements

1. From Lewis Carroll: extract a pair of premises and finish the conclusion.

Section 2.3: Statements Containing Multiple Quantifiers

We have seen that the symbols,,, and can guide the logical

CSC Discrete Math I, Spring Propositional Logic

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Section 3.1 Statements, Negations, and Quantified Statements

Introduction to Metalogic

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

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9

Predicates, Quantifiers and Nested Quantifiers

Propositional Logic: Semantics

The statement calculus and logic

Notes for Recitation 1

THE LOGIC OF COMPOUND STATEMENTS

Definition 2. Conjunction of p and q

MI 4 Mathematical Induction Name. Mathematical Induction

DISCRETE MATH: LECTURE Chapter 3.3 Statements with Multiple Quantifiers If you want to establish the truth of a statement of the form

Computer Science 280 Spring 2002 Homework 2 Solutions by Omar Nayeem

Week 2. Week 1 Recap. Week 2

Some Review Problems for Exam 1: Solutions

Manual of Logical Style (fresh version 2018)

Formal Logic. Critical Thinking

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

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

FORMAL PROOFS DONU ARAPURA

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

EECS 1028 M: Discrete Mathematics for Engineers

Tecniche di Verifica. Introduction to Propositional Logic

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Introduction to Proofs

Solving Equations by Adding and Subtracting

Announcements CompSci 102 Discrete Math for Computer Science

8. Reductio ad absurdum

1.1 Statements and Compound Statements

- a reversed conditional; if a conditional is p q, than its converse is q p

CS Module 1. Ben Harsha Apr 12, 2017

2/13/2012. Logic: Truth Tables. CS160 Rosen Chapter 1. Logic?

Sec$on Summary. Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs

Proposition logic and argument. CISC2100, Spring 2017 X.Zhang

Where are my glasses?

Section 1.2: Conditional Statements

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

Proofs. Joe Patten August 10, 2018

Propositional Logic Revision Tutorial. Mr Tony Chung

2. Find all combinations of truth values for p, q and r for which the statement p (q (p r)) is true.

CSCI Homework Set 1 Due: September 11, 2018 at the beginning of class

Propositional Logic. Fall () Propositional Logic Fall / 30

Math.3336: Discrete Mathematics. Propositional Equivalences

Mathematical Logic Part One

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

Inference and Proofs (1.6 & 1.7)

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

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

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

Deductive reasoning is the process of reasoning from accepted facts to a conclusion. if a = b and c = d, c 0, then a/c = b/d

DISCRETE MATHEMATICS BA202

Manual of Logical Style

Math Fundamentals for Statistics I (Math 52) Unit 7: Connections (Graphs, Equations and Inequalities)

(b) Follow-up visits: December, May, October, March. (c ) 10, 4, -2, -8,..

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

Math 10850, fall 2017, University of Notre Dame

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

CSE 311: Foundations of Computing. Lecture 6: More Predicate Logic

Logic and Propositional Calculus

THE LOGIC OF QUANTIFIED STATEMENTS

Quantifiers. P. Danziger

Chapter 2: The Logic of Quantified Statements

Ella failed to drop the class. Ella dropped the class.

Transcription:

Solutions for the fourth week s homework Math 131 Jason Riedy 15 September, 2008 Also available as PDF. 1 Section 3.1 1.1 Problems 1-5 1. Logical statement: there is enough data to verify the statement. 2. Logical statement: again, there is enough data. 3. Not a logical statement: rhetorical, not logical. 4. Not a logical statement: this is a directive and not a statement. 5. Logical statement: verifiable. 1.2 Problems 40, 42, 44 40. He is not 48 years old. 42. She has green eyes, he is 48 years old, or both. 44. She has green eyes and he is not 48 years old. 1.3 Problems 49-54 49. p q 50. p q 51. p q 52. q p 53. (p q) 54. (p q) (p q) 1

2 Section 3.2 2.1 Problems 15-18 15. = (0 1) (0 0) 0 1. 16. = ( 0 1) (1 0) 1 0. 17. = [ 0 ( 1 0)] (1 0) 0 1. 18. = [( 0 1) 1] (0 0) 1. 2.2 Problems 37-40 37. Two variables, so 2 2 = 4 rows. 38. Three variables, 2 3 = 8 rows. 39. Four variables, 2 4 = 16 rows. 40. Five variables, 2 5 = 32 rows. 2.3 Problems 53-55 53. 54. 55. p q p q p q (p q) (p q) 1 1 1 1 1 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 p q p q p q ( p q) ( p q) 1 1 0 1 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 1 2

p q r p q ( p q) r 1 1 1 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 2.4 Problems 61, 62 61. Symbolically, the statement is p q. So the negation is (p q) p q. Back into English: You cannot pay me now and you cannot pay me later. 62. Again, the statement is p q and its negation is p q. In English: I am going and she is not going. 3 Section 3.3 3.1 Problems 1-5 1. If it is breathing, then it must be alive. 2. If you see it on the Internet, then you can believe it. 3. If it is summer, then Lorri Morgan visits Hawaii. 4. If the number is Tom Shaffer s area code, then the number is 216. (Alternate from homeworks: If the area code is 216, then it is Tom Shaffer s. This is another reasonable interpretation. As is: If you are Tom Shaffer, then your area code is 216.) 5. If it is a picture, then it tells a story. 3.2 Problems 13, 15, 20 13. If q is false, then the statement leads from a false premise and must be true. So assume q really is true. Then the validity of the statement depends on (p q) q being true. The clause p 1 simplifies, leading to p 1. From the truth table, we see that the value of p does not matter and the result always is true. So the statement is true. 3

15. The truth table for an if-then rule or conditional has one false entry. The negation of the conditional thus has only one true entry and so is not a conditional itself. So the statement is false. 20. From a false hypothesis, anything can follow. The statement is true. 3.3 Problems 35-38 35. b r 36. p r 37. b (p r) 38. p (r b) 3.4 Problems 58, 60 58. 60. p q q p ( q p) q 1 1 1 0 1 0 0 1 0 1 1 0 0 0 1 1 p q p q p q (p q) (p q) 1 1 1 1 1 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 3.5 Problems 67, 68 67. That is an authentic Persian rug and I am not surprised. 68. Ella reaches that note and she does not shatter glass. Quick note on Problem 67. Authentic Persian rugs and other rugs from that region must have flaws in the design. That is a religious requirement. And you can tell if it s hand-made by checking the seams near the edges. If the seams are too small, the rug was machine-made. 4

3.6 Problems 74, 75 74. The check is not in the mail or I am surprised. 75. She does or he will. 4 Section 3.4 4.1 Problems 1, 3, 6 1. Converse: If you wer an hour, then beauty would be a minute. Inverse: If beauty were not a minute, then you would not be an hour. Contrapositive: If you were not an hour, then beauty is not a minute. 3. Converse: If you don t fix it, it ain t broke. Inverse: If it is broke, then you fix it. Contrapositive: If you fix it, it is broke. 6. Converse: If it contains calcium, then it is milk. Inverse: If it is not milk, then it does not contain calcium. Contrapositive: If it does not contain calcium, then it is not milk. 4.2 Problem 51, 57, 58 51. By the rules, this must be contrary. 57. x = 1 and z = 37. x = 2 and the Coen brothers are funny. There are no other rules governing these, so they must be consistent. 58. x = 1 and x = 2. y = 1 and y = 2. A variable cannot have two values, so this is contrary. 5 Section 3.1 again 5.1 Problems 55, 56 55. Literally translated, k Items s Stores : (k is available in s). We can pull out the negation to see that this is the same as ( k Items s Stores : k is available in s. So no item is available in any store. This is not the correct statement. The advertisement means to state that some items may not be available in all stores. We do not have the proper symbols to translate may. 56. The direct translation is p People : (p has time to maintain his/her car properly). We can pull the negation out to see that ( p : p has time to maintain his/her car properly), and the original statement says that no one maintains his/her car properly. The 5

intent likely was that some people do not have time to maintain their cars properly, or p : (p has time to maintain his/her car properly). 5.2 Problems 60-64 60. A, B 61. A, C 62. C 63. B 64. A, C: Not every is both x : P (x) and x : P (x). Using the latter, p : ( (F (p))), where F (p) asserts that p has a frame. So the statement is p : F (p), or there is a framed picture. 5.3 Problem 75 The first statement is about every student, s : (s passed the test) The second negates the entire thing, so there exists some student who did not pass, because = s : s passed the test s : s did not pass the test. Note that the latter statement is still true if no student passed. So you cannot infer that anyone passed in either statement. 5.4 Problem 76 Hint: Quantifiers do not necessarily exclude each other. Both statements are true but they have different quantifiers. The original statement (for some real number) is true if you pick one number (say zero) and demonstrate its truth (0 2 = 0 0). Your friend s statement applies to all real numbers. To demonstrate its validity, the statement must be proven to be true regardless of the value of x. 6 Negating statements There is a number p for all numbers q such that the difference between p and q is 2. 6

Symbolically, q p : p q = 2. Note the order of the quantifiers. So the negation is And in English: ( q p : p q = 2) q p : p q 2. For some number q, for all numbers p, the difference between p and q is not 2. Quite often the phrasing is less bizarre if you push the negation only part-way through. Here, negating just the initial q gives the phrase: For some number q there is no number p such that the difference between p and q is 2. The initial statement is true, and its negation is false. For all sets A, for all sets B, there is a set C such that A B = C and C is not. Translating: A B C : A B = C C. Pushing the negation through the quantifiers and applying De Morgan s laws, ( A B C : A B = C C ) A B C : A B C C =. Back into English: There is a set A for which there is a set B such that for all C, A B C or C =. Note that the statement A B C : A B = C C is false. If two sets A and B are disjoint, then A B =. Thus the negation is true. 7 Function from truth table Derive a logic expression from the following truth table. Attempt to simplify it remembering the distributive property, De Morgan s laws, and that = z z 1 and = z z 0. 7

p q r f(p, q, r) 1 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 There are fewer true values, so we start by listing individual conditions where the function is true. These are p q r, p q r, and p q r. Joining these with or, = f(p, q, r) (p q r) (p q r) (p q r). Using the distributive property, we can pull out a p. Then = f(p, q, r) p ((q r) ( q r) ( q r)). Now we can pull out either q or r to try simplifying inside the parenthesis. With the former: Because = r r 1, = f(p, q, r) p ((q r) ( q (r r))). = f(p, q, r) p ((q r) q). Now re-distribute q and simplify to see = f(p, q, r) p (q q) (r q) p (r q). So a simplified form is = f(p, q, r) p (r q). Another equivalent form is = f(p, q, r) p (r q). 8