~ p is always false. Based on the basic truth table for disjunction, if q is true then p ~

Similar documents
MAT 101 Exam 2 Logic (Part I) Fall Circle the correct answer on the following multiple-choice questions.

CSC Discrete Math I, Spring Propositional Logic

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

Compound Propositions

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

Proofs. Joe Patten August 10, 2018

1.1 Language and Logic

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

Functions. Lecture 4: Truth functions, evaluating compound statements. Arithmetic Functions. x y x+y

PHIL12A Section answers, 16 February 2011

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

A statement is a sentence that is definitely either true or false but not both.

AMTH140 Lecture 8. Symbolic Logic

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

2.2: Logical Equivalence: The Laws of Logic

Mathematical Reasoning (Part I) 1

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

PROPOSITIONAL CALCULUS

Definition 2. Conjunction of p and q

1.1 Language and Logic

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

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

Logic and Propositional Calculus

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

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

Section 1.1: Logical Form and Logical Equivalence

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

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

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

Solutions to Homework I (1.1)

Propositional Equivalence

CSE 20 DISCRETE MATH. Fall

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

University of California, San Diego Department of Computer Science and Engineering CSE 20. Solutions to Midterm Exam Winter 2018

FUNDAMENTALS OF MATHEMATICS HANDOUT 1.3 DR. MCLOUGHLIN

CSE 20: Discrete Mathematics

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

THE LOGIC OF COMPOUND STATEMENTS

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

15414/614 Optional Lecture 1: Propositional Logic

PHIL 422 Advanced Logic Inductive Proof

3.2: Compound Statements and Connective Notes

Section L.1- Introduction to Logic

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.

EECS 1028 M: Discrete Mathematics for Engineers

A Statement; Logical Operations

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

CSCE 222 Discrete Structures for Computing. Propositional Logic. Dr. Hyunyoung Lee. !!!!!! Based on slides by Andreas Klappenecker

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

1.1 Statements and Compound Statements

Examples. Example (1) Example (2) Let x, y be two variables, and denote statements p : x = 0 and q : y = 1. Solve. x 2 + (y 1) 2 = 0.

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.

DISCRETE STRUCTURES WEEK5 LECTURE1

Boolean Logic. CS 231 Dianna Xu

Exclusive Disjunction

1.3 Propositional Equivalences

We last time we began introducing equivalency laws.

Chapter 1, Section 1.1 Propositional Logic

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

Chapter 5: Section 5-1 Mathematical Logic

Math Assignment 2 Solutions - Spring Jaimos F Skriletz Provide definitions for the following:

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as:

CSE 311: Foundations of Computing. Lecture 2: More Logic, Equivalence & Digital Circuits

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

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

The Logic of Compound Statements cont.

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

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

Logic. Def. A Proposition is a statement that is either true or false.

ICS141: Discrete Mathematics for Computer Science I

Propositional logic ( ): Review from Mat 1348

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication

Logic and Propositional Calculus

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

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

Today s Lecture 2/9/10. Symbolizations continued Chapter 7.2: Truth conditions for our logical operators

Discrete Mathematics and Its Applications

Chapter 4: Classical Propositional Semantics

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

Proposition/Statement. Boolean Logic. Boolean variables. Logical operators: And. Logical operators: Not 9/3/13. Introduction to Logical Operators

Introduction Propositional Logic

The statement calculus and logic

STRATEGIES OF PROBLEM SOLVING

Propositional Logic. Spring Propositional Logic Spring / 32

Overview. 1. Introduction to Propositional Logic. 2. Operations on Propositions. 3. Truth Tables. 4. Translating Sentences into Logical Expressions

Discrete Mathematics and Applications COT3100

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods

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

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

Where are my glasses?

DISCRETE MATHEMATICS BA202

CISC-102 Winter 2016 Lecture 17

Tautologies, Contradictions, and Contingencies

Mathematical Logic Part One

Foundation of proofs. Jim Hefferon.

Discrete Structures for Computer Science

CS206 Lecture 03. Propositional Logic Proofs. Plan for Lecture 03. Axioms. Normal Forms

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

Transcription:

MAT 101 Solutions Exam 2 (Logic, Part I) Multiple-Choice Questions 1. D Because this sentence contains exactly ten words, it is stating that it is false. But if it is taken to be false, then it has to be true and if it is assumed to be true then it has to be false based on what it says a contradiction either way! So this sentence is not a statement. Check that all the other sentences are actual statements. The first statement is false 2017 since 2 is an even prime. The second statement is false since 10 is vastly greater 10 2017 10 than 2017 (by comparison: 10 has 2,018 digits while 2017 has 34 digits!) The third statement is false based on the truth table for biconditionals (to be studied later in this chapter) and the fifth statement is false for all integer values of x. 2. B Plug-in the given truth values for the components pqr,, into the compound statement and reduce based on the basic truth tables for negation, conjunction and disjunction: ~ T ~ F F ~ T T F ~ T F ~ T ~ F 3. C First, note that the first part of the compound statement p ~ p is always false. Based on the basic truth table for disjunction, if q is true then p~ p q is true; if q is false then p~ p q is false. Hence, the compound statement is only true when q is true. 4. D. Six components can be either true or false. This implies a total of in the truth table of this compound statement. 6 2 64 rows 5. A Recall that a statement of the form It is not the case that w or h is symbolically written as ~ w h. 6. B The first statement is actually the conjunction ~ w ~ h. The third statement is symbolically written as ~ w h. The fourth statement is an exclusive disjunction logically different from the second statement.

7. B The first and fourth statements are logically equivalent to the conditional r w ~ h. The third statement is written symbolically as the conditional w~ h ~ r. Problem 1 a) Here we identify two component statements: p You may say I m a dreamer. q I am the only one. The statement is then written symbolically as the conjunction p ~ q since the connective but is logically equivalent to and. b) Here we identify two component statements: p You are ready. q Here I come. The statement is then written symbolically as follows: p~ p q. Note that the comma in the quotation acts logically as the connective and. c) Here we identify three component statements: p You lean on me. q You are strong. r I ll be your friend. The statement is then written symbolically as follows: ~ q p ~ q since the connective when is logically equivalent to if.

Problem 2 a) This arithmetical statement is verbalized as 2017 is less than or equal to 2 11, and can thus be written symbolically as the following disjunction: 11 11 2017 2 2017 2. Using De Morgan s Law, we negate this statement as follows: 11 11 11 11 11 11 11 2017 2 2017 2 2017 2. ~ 2017 2 2017 2 ~ 2017 2 ~ 2017 2 This is verbally stated as 2017 is greater than 11 2. b) The statement is negated (straightforwardly) using De Morgan s Law as follows: She was willing to join the party and her car did not break down that day. c) Let p represent the statement Everyone on L.I. was affected by super storm Sandy and q represent the statement Everyone lost power in their homes. ~ q is then the statement Some did not lose power in their homes. The overall statement is therefore written symbolically as the conjunction p ~ q since the word but is logically equivalent to the connective and. Using one of De Morgan s laws, we have the following equivalency: ~ p ~ q ~ p q Since ~ p is the statement Some on L.I. were not affected by super storm Sandy, we can write the negation of the original statement as follows: Some on L.I. were not affected by super storm Sandy or everyone lost power in their homes.

Problem 3 a) Using the alternate method for constructing truth tables, we get the following: p q ~ p ~ p q T T F T F T F F F T F T T T F F F T T F ~ ~ p q p q ~ q p ~ q T T F T T F T T F T F F F F T T Since both statements have different truth tables, they are not logically equivalent. b) By De Morgan s Law, we have: ~ ~ p q ~ ~ p ~ q p ~ q. However, it is clear that p ~ q p ~ q. (e.g. I ordered a burger and fries is not equivalent to I ordered a burger or fries. ) You could also argue with a counterexample: Suppose pq, have the same truth value (i.e. both are true or both are false). Then the statement ~ ~ p q [Check this.] equivalent. has to be false while the statement p ~ q has to be true. This, of course, implies that the two statements are not logically

Problem 4 a) p q r ~ p ~ q ~ p q ~ q r (~ p q) (~ q r ) T T T F F T T T T T F F F T F T T F T F T F T T T F F F T F T T F T T T F T T T F T F T F T F T F F T T T T T T F F F T T T T T The final column for (~ p q) (~ q r) consists only of true values. Therefore, the statement (~ p q) (~ q r) is a tautology. b) The three component statements given here are all clearly false. However, the overall compound statement (~ p q) (~ q r) is still true, even with these false components, by row 8 of the truth table constructed above. Bonus Problem Either p or q is the exclusive disjunction that states p or q, but not both. This is symbolically written as the following conjunction: p q ~ p q. It is false when both components pq, have identical truth values and true when both components pq, have different truth values.