 To combine propositions using connectives  To construct the truth table of a given compound proposition  To define de Morgan Law for logic  To define.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

TRUTH TABLES Section 1.3.
RMIT University; Taylor's College This is a story about four people named Everybody, Somebody, Anybody and Nobody. There was an important job to be done.
CS128 – Discrete Mathematics for Computer Science
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
Discrete Mathematics Math 6A Instructor: M. Welling.
First Order Logic. Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Chapter 2: The Logic of Compound Statements 2.1 Logical Forms and Equivalence 12.1 Logical Forms and Equivalences Logic is a science of the necessary laws.
Adapted from Discrete Math
Predicates and Quantifiers
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Propositions and Truth Tables
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
1 Logic Logic is a discipline that studies the principles and methods used in correct reasoning It includes: A formal language for expressing statements.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Review I Rosen , 3.1 Know your definitions!
Propositional Equivalences
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Lecture Propositional Equivalences. Compound Propositions Compound propositions are made by combining existing propositions using logical operators.
Thinking Mathematically
Section 1.2: Propositional Equivalences In the process of reasoning, we often replace a known statement with an equivalent statement that more closely.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
Logical Form and Logical Equivalence Lecture 1 Section 1.1 Wed, Jan 12, 2005.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
TRUTH TABLES. Introduction The truth value of a statement is the classification as true or false which denoted by T or F. A truth table is a listing of.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
LECTURE 1. Disrete mathematics and its application by rosen 7 th edition THE FOUNDATIONS: LOGIC AND PROOFS 1.1 PROPOSITIONAL LOGIC.
Learning Objectives  To define a proposition  To form a compound proposition using connectives  To determine the truth values of compound propositions.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
Thinking Mathematically Logic 3.4 Truth Tables for the Conditional and Biconditional.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
 Statement - sentence that can be proven true or false  Truth value – true or false  Statements are often represented using letters such as p and q.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
ICS 6D Logic Overview Instructor: Sandy Irani. What is logic? Branch of mathematics in which variables and expressions have value true (T) or false (F)
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
Chapter 1 Propositional Logic
The Foundations: Logic and Proofs
CSE15 Discrete Mathematics 01/23/17
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
Thinking Mathematically
Truth Tables and Equivalent Statements
CHAPTER 3 Logic.
Classwork/Homework Classwork – Page 90 (11 – 49 odd)
CMSC Discrete Structures
Logic – Bell Ringer.
1.2 Propositional Equivalences
Propositional Equivalences
Information Technology Department
CHAPTER 1: LOGICS AND PROOF
Propositional Equivalences
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
1.2 Propositional Equivalences
Statements of Symbolic Logic
Predicates and Quantifiers
1.2 Propositional Equivalences
1.3 Propositional Equivalences
CHAPTER 3 Logic.
Presentation transcript:

 To combine propositions using connectives  To construct the truth table of a given compound proposition  To define de Morgan Law for logic  To define the difference between a predicate and a proposition  To use a quantifier in a predicate 1 RMIT University; Taylor's College LECTURE 7

 Let P be a proposition.  It has a truth value of T (for true) or F (for false).  Its negation is “not P”, denoted by ~P. RMIT University; Taylor's College 2 NEGATION: A REVISION P~P~P TF FT When P is true, ~P is false. When P is false, ~P is true. Truth table for Negation

Let P and Q be propositions. They can be combined in various ways.  Conjunction (AND)  Disjunction (OR)  Implication (if P then Q)  Equivalence (P if and only if Q) RMIT University; Taylor's College 3 COMBINING PROPOSITIONS

 Expressions created using the five connectives are called compound propositions.  We combine elementary (or constituent) propositions to create compound propositions.  The truth values of the constituent propositions determine the truth values of a compound proposition. RMIT University; Taylor's College 4 COMPOUND PROPOSITIONS

RMIT University; Taylor's College 5 TRUTH TABLES PQP Q TTFFTTFF TFTFTFTF TFFFTFFF PQ TTFFTTFF TFTFTFTF PQ TTFFTTFF TFTFTFTF PQ TTFFTTFF TFTFTFTF

a)Construct the truth table for the compound proposition b)Construct the truth table for the compound proposition RMIT University; Taylor's College 6 EXAMPLE 1

a)Construct the truth table for the compound propositions and. b)What is the relationship between these two compound propositions? RMIT University; Taylor's College 7 EXAMPLE 2

 Consequence: Any expression using “or” can be replaced by an expression using “and” and “not”  “I’ll watch G. I. Joe or Final Destination 4 this weekend” is logically equivalent to  “It’s not true that I won’t watch G.I. Joe and that I won’t watch Final Destination 4 this weekend” RMIT University; Taylor's College 8 DE MORGAN LAWS FOR LOGIC

 Example 3: Construct the truth table for the following compound proposition. RMIT University; Taylor's College 9 HIERARCHY OF CONNECTIVES

 If the last column in a truth table has only T (for true), then the compound proposition is called a tautology  If the last column in a truth table has only F (for false), then the compound proposition is called a contradiction  If a compound proposition is neither a tautology nor a contradiction then the last column of the truth table will have both T and F appearing. Such a compound proposition is called a contingency RMIT University; Taylor's College 10 TAUTOLOGY, CONTRADICTION, CONTINGENCY

Show that the following is a contradiction. RMIT University; Taylor's College 11 EXAMPLE 4

Several logical equivalences have been established RMIT University; Taylor's College 12 LOGICAL EQUIVALENCES

 Consequence: All compound propositions can be expressed using only two connectives: negation and conjunction, or negation and disjunction, or negation and implication  Example: “If dogs have humps then the moon is green” is equivalent to “Dogs don’t have humps or the moon is green”. RMIT University; Taylor's College 13 LOGICAL EQUIVALENCES

 A proposition has to be unambiguously true or false.  In contrast, a predicate is a statement involving at least one variable, for example, the variable x. The truth value may depend on the value of x.  Example: Let P(x) mean “x is an integer”. Then P(2) is true, but P(π) is false.  Example: Let Y(t) mean “ my friend t wears glasses ”. Then Y(Albert) may be true, while Y(Aaron) may be false. RMIT University; Taylor's College 14 PROPOSITIONS VS. PREDICATES

 What values is the variable allowed to take?  There may be several variables. Example, let T(x, y) mean x and y are relatively prime.  The variables have to range over some set D, called the domain of interpretation or the universe of discourse. RMIT University; Taylor's College 15 PREDICATE LOGIC

Let the domain of interpretation for a predicate T(x, y) be D = Z = the set of all integers.  Let T(x, y) mean that x and y are relatively prime.  Then T(10, 21) is true while T(12, 15) is false.  Why? RMIT University; Taylor's College 16 EXAMPLE 5

 It’s natural to introduce the idea of a quantifier when we’re considering predicates. These tell us how often the predicate is true  “for all”  “there exists”  Predicate logic involves statements like this:  [ for all x, P(x) is true ]  [ for all x there exists y such that P(x, y) is true ] RMIT University; Taylor's College 17 QUANTIFIERS