Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

Discrete Mathematics Lecture 1 Logic of Compound Statements
TRUTH TABLES The general truth tables for each of the connectives tell you the value of any possible statement for each of the connectives. Negation.
The Foundation: Logic Propositional Logic, Propositional Equivalence Muhammad Arief download dari
CS128 – Discrete Mathematics for Computer Science
Discrete Mathematics Lecture 1 Logic of Compound Statements Harper Langston New York University.
SEVENTH EDITION and EXPANDED SEVENTH EDITION
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.
Copyright © Cengage Learning. All rights reserved.
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
CSCI2110 – Discrete Mathematics Tutorial 8 Propositional Logic Wong Chung Hoi (Hollis)
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Chapter 8 Logic DP Studies. Content A Propositions B Compound propositions C Truth tables and logical equivalence D Implication and equivalence E Converse,
Discrete Mathematics and Its Applications
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
(CSC 102) Lecture 3 Discrete Structures. Previous Lecture Summary Logical Equivalences. De Morgan’s laws. Tautologies and Contradictions. Laws of Logic.
Math 240: Transition to Advanced Math Deductive reasoning: logic is used to draw conclusions based on statements accepted as true. Thus conclusions are.
The Foundations Logic and Proofs by raedRASHEED 2014.
Lecture 4. CONDITIONAL STATEMENTS: Consider the statement: "If you earn an A in Math, then I'll buy you a computer." This statement is made up of two.
Reading: Chapter 4 (44-59) from the text book
LOGIC Lesson 2.1. What is an on-the-spot Quiz  This quiz is defined by me.  While I’m having my lectures, you have to be alert.  Because there are.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
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 M Logical Form Example 1 If the syntax is faulty or execution results in division by zero, then the program.
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.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
Outline Logic Propositional Logic Well formed formula Truth table
Discrete Mathematics Lecture # 4. Conditional Statements or Implication  If p and q are statement variables, the conditional of q by p is “If p then.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 01: Boolean Logic Sections 1.1 and 1.2 Jarek Rossignac.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Logic and Truth Tables Winter 2012 COMP 1380 Discrete Structures I Computing Science Thompson Rivers University.
Law of logic Lecture 4.
Chapter 1 Logic and proofs
Chapter 1 Propositional Logic
Introduction to Logic © 2008 Pearson Addison-Wesley.
Logic.
2. The Logic of Compound Statements Summary
The Foundations: Logic and Proofs
DISCRETE MATHEMATICS CHAPTER I.
Discrete Mathematics Lecture 1 Logic of Compound Statements
CSNB 143 Discrete Mathematical Structures
Lecture 1 – Formal Logic.
Discrete Mathematics Logic.
Truth Tables and Equivalent Statements
COMP 1380 Discrete Structures I Thompson Rivers University
Citra Noviyasari, S.Si, MT
(CSC 102) Discrete Structures Lecture 2.
Discrete Mathematics Lecture # 2.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Logic – Bell Ringer.
Chapter 8 Logic Topics
Propositional Equivalences
Information Technology Department
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
CS201: Data Structures and Discrete Mathematics I
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Discrete Mathematics Logic.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Chapter 7. Propositional and Predicate Logic
Foundations of Discrete Mathematics
COMP 1380 Discrete Structures I Thompson Rivers University
CS201: Data Structures and Discrete Mathematics I
Presentation transcript:

Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when two propositions are equivalent Master the basic equivalences between propositions

2.1 Logical Form and Logical Equivalence The central concept of deductive logic is the concept of argument form. An argument is a sequence of statements aimed at demonstrating the truth of an assertion. The assertion at the end of the sequence is called the conclusion, and the preceding statements are called premises.

In logic what matters is the form of the argument, not its content Charles will go overseas or finish school 3 is greater than 2 or 3 is less than 5 Both statements have the form

A proposition (statement) is a sentence that is either true (T) or false (F) but not both Today is Sunday – It is false since today is not Sunday 2+2=4 – It is true Not statements He is tall – He does not refer to any particular person x>2

Compound Statements Statements are denoted by letters such as p, q, r, s t: Today is Sunday q: 2+2=4 Four symbols are used to build more complicated logical expressions out of simpler ones. ~ denotes not  denotes and  denotes or  denotes implication (conditional)

Given a statement p –“~p” is read “not p” or “It is not the case that p” and is called the negation of p. In some computer languages the symbol is used in place of ~. Given statements p, q –“p  q” is read “p and q” and is called the conjunction of p and q. –“p  q” is read “p or q” and is called the disjunction of p and q. – "p  q" is read " if p then q" and is called implication

COMMENTS – ~(p  q) represents the negation of the conjunction of p and q. –an expression such as p  q  r is considered ambiguous. This expression must be written as either (p  q)  r or p  (q  r) to have meaning. EXERCISE: Write symbolically each of the statements below. Label propositions. – Today is hot but it is not humid – Chris will play chess or he will read a book – Jessica does not like shopping – If it is cloudy, it will rain – The car is neither expensive nor powerful.

TRUTH TABLES Tree to choose combination of truth values. False when both are false True when both are true

Exercise Construct the truth table for the statement form (p  q)  ~(p  q). Note: When or is used in its exclusive sense, the statement “p or q” means “p or q but not both” or “p or q and not both p and q,” which translates into symbols as (p  q)  ~(p  q). This is sometimes abbreviated

Logical Equivalent Propositions Two statements, P, Q, are equivalent if they have exactly the same truth value for any choice of truth value for the component statements. It is denoted P≡Q

Double Negative Property: ∼ ( ∼ p) ≡ p p: Firrco is not blind ~p: ~(~p):

De Morgan’s laws Symbolically we can represent the two logic equivalences as: and Use truth tables to show they are equivalent.

Write negations for each of the following statements: a. John is 6 feet tall and he weighs at least 200 pounds. b. The bus was late or Tom’s watch was slow. Solution: a. John is not 6 feet tall or he weighs less than 200 pounds. b. The bus was not late and Tom’s watch was not slow. Or neither was the bus late nor was Tom’s watch slow.

Show that the statement forms ~(p  q) and ~p  ~q are not logically equivalent Solution: a. This method uses a truth table annotated with a sentence of explanation. Logically Non-Equivalent Statements

Knowledge of logically equivalent statements is very useful for constructing arguments. It often happens that it is difficult to see how a conclusion follows from one form of a statement, whereas it is easy to see how it follows from a logically equivalent form of the statement.

A number of logical equivalences are summarized in Theorem for future reference. Summary of Logical Equivalences

Use Theorem to verify the logical equivalence

Tautology and Contradiction A tautology is a proposition that is always true. To be or not to be A contradiction is a proposition that is always false. To be and not to be