FUNDAMENTALS OF MATHEMATICS HANDOUT 1.3 DR. MCLOUGHLIN

Similar documents
CSC Discrete Math I, Spring Propositional Logic

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

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

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

Compound Propositions

Introduction to Sets and Logic (MATH 1190)

Section 1.1: Logical Form and Logical Equivalence

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

EECS 1028 M: Discrete Mathematics for Engineers

THE LOGIC OF COMPOUND STATEMENTS

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

2.2: Logical Equivalence: The Laws of Logic

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

The statement calculus and logic

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

AMTH140 Lecture 8. Symbolic Logic

1.3 Propositional Equivalences

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

3.2: Compound Statements and Connective Notes

Chapter 1, Section 1.1 Propositional Logic

Section 3.1. Statements and Logical Connectives. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

THE LOGIC OF COMPOUND STATEMENTS

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

Discrete Mathematics and Its Applications

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

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

Logic and Propositional Calculus

Logic and Truth Tables

Propositional Equivalence

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

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Logic and Propositional Calculus

PL: Truth Trees. Handout Truth Trees: The Setup

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

PHI Propositional Logic Lecture 2. Truth Tables

Propositional Logic. Spring Propositional Logic Spring / 32

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

Boolean Logic. CS 231 Dianna Xu

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example

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

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

Propositional logic ( ): Review from Mat 1348

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

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

PROPOSITIONAL CALCULUS


Proofs. Joe Patten August 10, 2018

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

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.

Propositional Logic Not Enough

Section 3.1 Statements, Negations, and Quantified Statements

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

1.1 Language and Logic

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!

1.1 Statements and Compound Statements

1.1 Language and Logic

On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA

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.

DISCRETE MATHEMATICS BA202

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

1 Propositional Logic

Today s Topic: Propositional Logic

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

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

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 and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov

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

Section 1.2: Propositional Logic

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

CSE 20: Discrete Mathematics

Chapter 4, Logic using Propositional Calculus Handout

3 The Semantics of the Propositional Calculus

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

MAT2345 Discrete Math

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

2 Truth Tables, Equivalences and the Contrapositive

Math.3336: Discrete Mathematics. Propositional Equivalences

CISC-102 Winter 2016 Lecture 17

A Little Deductive Logic

Section 1.2: Conditional Statements

Introduction to Decision Sciences Lecture 2

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

- 1.2 Implication P. Danziger. Implication

Mathematical Reasoning (Part I) 1

Section L.1- Introduction to Logic

Logic and Truth Tables

Glossary of Logical Terms

ICS141: Discrete Mathematics for Computer Science I

PHIL12A Section answers, 16 February 2011

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

13.3 Truth Tables for the Conditional and the Biconditional

An Introduction to Logic 1.1 ~ 1.4 6/21/04 ~ 6/23/04

Mat 243 Exam 1 Review

ANS: If you are in Kwangju then you are in South Korea but not in Seoul.

COT 2104 Homework Assignment 1 (Answers)

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.

Part Two: The Basic Components of the SOFL Specification Language

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods

Tautologies, Contradictions, and Contingencies

Transcription:

021 McLoughlin Handout 1.3, page 1 of 6 FUNDAMENTALS OF MATHEMATICS HANDOUT 1.3 DR. MCLOUGHLIN Truth Table for Not K K T F F T Truth Table for And B M B M T F F F T F F F F Truth Table for Or R S R S T F T F T T F F F Highest precedence parentheses not or/and and/or (from left to right only) Lowest precedence Compound statement: Truth Table for It is not the case P or M P M P M (P M) F T F T F F T T F F F F T

021 McLoughlin Handout 1.3, page 2 of 6 Truth Table for P M L P M L P M (P M) L T T T T F T F T F T F F T F F T F T F T F F F T F F F F F F F Truth Table P (M L) P M L M L P (M L) T T T T F F T T F T F T T F F F T F T F T F F F F F T F F F F F F F Note the truth values obtained for the statement in this table are different than in the previous table. Two statements are said to be equivalent (or synonymous, the same, or logically equivalent) only in the instance where the final column of the compleat truth tables are the same where the prime statements were assigned truth values in the exact same order. Suppose the statement X is equivalent to Y, we symbolise this as X Y. Two statements are said to non- equivalent in the instance where they are not equivalent (duh). Suppose the statement X is not equivalent to Y, we symbolise this as X / Y. Finally two statements, X and Y, are said to be logical opposites in the instance where X Y (and Y X). As with any convention, when we wish to symbolise not a particular property in symbol form, we slash through the symbol to represent such a scenario. Note, that the negation of the conjunction (p q) is equivalent to the disjunction p q (it is left as an exercise to verify). Also note, the parentheses are necessary, for the statement (p q) is not the same as p q (see truth tables 1.7 and 1.8)! This is problematic for some people for they might erroneously think the two are the same. For colloquial statements in English, this can be a problem, but for proper statements in logic it is not. Let us assign to the symbol p the simple statement it is pouring and assign to the symbol q the simple statement Natasha is quick. Now, the statement, it is not pouring and Natasha is quick is p q; whereas, the statement, it is not the case that it is pouring and Natasha is quick is, (p q). Since (p q) is equivalent to p q, for many it would be clearer if one simply said, it is not pouring or Natasha is not quick.

021 McLoughlin Handout 1.3, page 3 of 6 Truth Table 7 Truth Table 8 P Q P Q (P Q) F T F T F F T T F F F F T P Q P P Q T T F T T F F F F F F T T 1.1 EXERCISES. 1. Construct a compleat truth table for the following statements, identify which statements are logically equivalent, which statements are logical opposites, and which are neither: A. p q B. p ~q C. p ~q D. p q E. q p F. p q G. p ~p H. ~ (p q) I. ~ (p q) J. p p 2. Construct a compleat truth table for the following statements: A. p q p r B. p (q p) r C. p q (p r) D. (p q) (p r) E. p q p r F. p ~(q p) r G. p q p r H. (p q) (p r)

021 McLoughlin Handout 1.3, page 4 of 6 CONDITIONAL AND BICONDITIONAL STATEMENTS Truth Table for if p, then q. p q p q T F F F T T F F T Truth Table for if p, then q; and, if q, then p. p q p q q p (p q) (q p) T T T F F T F F T T F F F F Which can be simplified to: Truth Table for p if and only if q. p Q p q T F F F T F F F T by replacing (p q) (q p) with the more parsimonious symbol p q. The biconditional P Q or P Q translates to: (1) P if and only if Q. (2) P iff Q (this is just a shorthand for version 1). (3) P is necessary and sufficient for Q. (4) P and Q are logically equivalent. (5) If P then Q and if Q then P. Condition (4) establishes that two statements, P and Q, are logically equivalent in the instance where P Q is true for note the only time when P Q is true is when both P and Q are true or when both P and Q are false.

021 McLoughlin Handout 1.3, page 5 of 6 Highest precedence parentheses ( ) not ~,, or and/or (from left to right) conditional biconditional Lowest precedence Various types of statements are of interest to mathematicians. A compound statement is a tautology when the compound statement is true for every true-false combination. A statement is a fallacy when the statement is true for at least one true-false combination and is false for at least one true-false combination. A contradiction is a compound statement that is false for every truefalse combination for the prime statements. We are interested in discerning what statement forms are tautologies, fallacies, or contradictions so that when we begin investigating argument forms, we can use tautologies or contradictions and avoid fallacies. A tautological argument is that which we attempt to construct when we prove an assertion. Finally there is one other type of disjunction, the exclusive disjunction, which is symbolised as P Q. We reference this because there are times in mathematics when we do not want to have the possibility of both conditions being satisfied but wish to have one or the other exclusively satisfied. P or Q, but not both. P exclusive or Q. P exor Q. Truth Table 1.2.4 p q p q T T F T F T F T T F F F Note that P Q is the logical opposite of P Q.

021 McLoughlin Handout 1.3, page 6 of 6 1.2 EXERCISES. 1. Construct a compleat truth table for the following statements, identify which statements are logically equivalent, and which statements are logical opposites: A. p q B. p q C. p q D. p q E. p ~q F. p q G. p q H. q p I. p q J. p q K. q p L. q p M. q q N. p ~p O. p p P. ~ (p q) Q. ~ (p q) R. p p 2. Construct a compleat truth table for the following statements: A. (p q) (p r) B. p q p r C. p (q p) r D. p q (p r) E. (p q) (p r) F. (p q) p G. (p q) q H. (p q) p I. (p q) q J. p p q K. q p q L. q p q r 3. Let p be "it is foggy" and q be "it is cold." Translate each of the following into symbolic logic. A. It is foggy or it is cold. B. It is not foggy and it is not cold. C. If it is foggy, then it is warm or hot. D. The day being foggy is a necessary and sufficient condition for it to be cold. E. It is false that it is both cold and foggy.