Chapter 1 Section 1.4 More on Conditionals. There are three statements that are related to a conditional statement. They are called the converse, inverse.

Slides:



Advertisements
Similar presentations
Logic Day Two.
Advertisements

Logic ChAPTER 3.
The Conditional & Biconditional MATH 102 Contemporary Math S. Rook.
Logic ChAPTER 3 1. Truth Tables and Validity of Arguments
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
John Rosson Thursday February 15, 2007 Survey of Mathematical Ideas Math 100 Chapter 3, Logic.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
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.
Boolean Algebra Computer Science AND (today is Monday) AND (it is raining) (today is Monday) AND (it is not raining) (today is Friday) AND (it is.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
Conditional Statements
Propositional Logic Lecture 2: Sep 9. Conditional Statement If p then q p is called the hypothesis; q is called the conclusion “If your GPA is 4.0, then.
3.2 – Truth Tables and Equivalent Statements
TRUTH TABLES. Introduction Statements have truth values They are either true or false but not both Statements may be simple or compound Compound statements.
Logic ChAPTER 3.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Propositional Logic.
1.1 Sets and Logic Set – a collection of objects. Set brackets {} are used to enclose the elements of a set. Example: {1, 2, 5, 9} Elements – objects inside.
Conditional Statements M Deductive Reasoning Proceeds from a hypothesis to a conclusion. If p then q. p  q hypothesis  conclusion.
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Section 1.5 Implications. Implication Statements If Cara has a piano lesson, then it is Friday. If it is raining, then I need to remember my umbrella.
Section 1-4 Logic Katelyn Donovan MAT 202 Dr. Marinas January 19, 2006.
Discrete Maths 2. Propositional Logic Objective
Chapter 1 The Logic of Compound Statements. Section 1.1 Logical Form and Logical Equivalence.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Chapter 3 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
MATH 102 Contemporary Math S. Rook
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Fall 2002CMSC Discrete Structures1 Let’s get started with... Logic !
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Conditional. Conditional Statements Vocabulary Conditional: A compound sentence formed by using the words if….then. Given the simple sentences p and q,
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 3.2 Truth Tables.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
3.3: Truth Tables. Types of Statements Negation: ~p Conjunction: p ˄ q (p and q) Disjunction: p V q (p or q, or both) Conditional: p → q (if p, then q)
Chapter 2: The Logic of Compound Statements 2.2 Conditional Statements
Lecture Propositional Equivalences. Compound Propositions Compound propositions are made by combining existing propositions using logical operators.
Boolean Algebra. Logical Statements A proposition that may or may not be true:  Today is Monday  Today is Sunday  It is raining.
Chapter 7 Logic, Sets, and Counting
Conditional Statements
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 3 Logic.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
MAIN TOPIC : Statement, Open Sentences, and Truth Values Negation Compound Statement Equivalency, Tautology, Contradiction, and Contingency Converse, Inverse,
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
How do I show that two compound propositions are logically equivalent?
Chapter 7 Logic, Sets, and Counting Section 1 Logic.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
LOGIC.
Logical Form and Logical Equivalence Lecture 1 Section 1.1 Wed, Jan 12, 2005.
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.
Lesson 20 INTERPRETING TRUTH TABLES. Review Conditional Statements (Less. 17) Original If p, then q. Converse If q, then p. Inverse If ~p, then ~q. Contrapositive.
Conditional Statements – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Conditional Statements Reading: Kolman, Section 2.2.
Section 1.1. Section Summary Propositions Connectives Negation Conjunction Disjunction Implication; contrapositive, inverse, converse Biconditional Truth.
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
Notes - Truth Tables fun, fun, and more fun!!!!. A compound statement is created by combining two or more statements, p and q.
Joan Ridgway. If a proposition is not indeterminate then it is either true (T) or false (F). True and False are complementary events. For two propositions,
Section 1.1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: a) The Moon is made of green.
Conditional Statements Lecture 2 Section 1.2 Fri, Jan 20, 2006.
Mathematics for Computing Lecture 2: Computer Logic and Truth Tables Dr Andrew Purkiss-Trew Cancer Research UK
TRUTH TABLES Edited from the original by: Mimi Opkins CECS 100 Fall 2011 Thanks for the ppt.
Spring 2003CMSC Discrete Structures1 Let’s get started with... Logic !
3/6/20161 Let’s get started with... Logic !. 3/6/20162 Logic Crucial for mathematical reasoningCrucial for mathematical reasoning Used for designing electronic.
Conditional statement or implication IF p then q is denoted p ⇒ q p is the antecedent or hypothesis q is the consequent or conclusion ⇒ means IF…THEN.
Assign Yourself and Do Now Thursday, January 10, 2013.
Reasoning and Proof Chapter Use Inductive Reasoning Conjecture- an unproven statement based on an observation Inductive reasoning- finding a pattern.
Logic The Conditional and Related Statements Resources: HRW Geometry, Lesson 12.3.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Chapter 1 Logic and proofs
Logical Operators (Connectives) We will examine the following logical operators: Negation (NOT,  ) Negation (NOT,  ) Conjunction (AND,  ) Conjunction.
Logic and Reasoning.
Presentation transcript:

Chapter 1 Section 1.4 More on Conditionals

There are three statements that are related to a conditional statement. They are called the converse, inverse and contrapositive statements. Converse Interchanges the hypothesis and conclusion: q → p Original Statement: If you pay your electric bill on time then the power company will keep your electricity on. Converse Statement: If the power company keeps your electricity on then you pay your electric bill on time. pq q → p TTT TFT FTF FFT Inverse Negates the hypothesis and conclusion: (~ p ) → (~ q ) Original Statement: If you pay your electric bill on time then the power company will keep your electricity on. Inverse Statement: If you do not pay your electric bill on time then the power company will not keep your electricity on. Contrapositive Negates and Interchanges the hypothesis and conclusion : (~ q ) → (~ p ) Original Statement: If you pay your electric bill on time then the power company will keep your electricity on. Contrapositive Statement: If the power company is not keeping your electricity on then you do not pay your electric bill on time. pq ~p~p ~q~q (~ p ) → (~ q ) TTFFT TFFTT FTTFF FFTTT pq ~p~p ~q~q (~ q ) → (~ p ) TTFFT TFFTF FTTFT FFTTT

The Biconditional Statement This is a statement that acts like an equal sign for logical statements. It is true when the two statements have the same truth value. It is often formed with the “if and only if” sentence construction. Uses the symbol p ↔ q. You pay you electric bill on time if and only if the power company keeps your electricity on. pq p ↔ q TTT TFF FTF FFT pq p → qq → p ( p → q ) Λ ( q → p ) TTTTT TFFTF FTTFF FFTTT The truth table to the right shows that the biconditional statement is logically equivalent to the conjunction of the statement and its converse. Notice the last columns of each of the truth tables above are the same which means the statements p ↔ q and ( p → q ) Λ ( q → p ) are logically equivalent. We use the symbol ≡ like and equal sign for numbers. We can "replace" the statement ( p → q ) Λ ( q → p ) by p ↔ q : ( p → q ) Λ ( q → p ) ≡ p ↔ q

Consider the truth table for each of the examples below. I. Truth Table for: p V (~ p )II. Truth Table for: p Λ ( q Λ (~ q )) p ~p~pp V (~ p ) T T T TF F Notice that the statement above will always evaluate to be true no matter what initial values of p we start with (look at the last column). This type of statement that evaluates to be true (T) no matter what values we start with is called a tautology. Notice: p V (~ p ) ≡ T pq ~q~qq Λ (~ q ) p Λ ( q Λ (~ q )) T F T T T T T F F F F F F F F F F F F F Notice that the statement above will always evaluate to false no matter what the initial values for p and q you start with (look at the last column). This type of statement evaluates to be false (F) no matter what values we start with is called a contradiction. Notice: p Λ ( q Λ (~ q )) ≡ F

Law of Double Negation The statements p and the ~(~ p ) are logically equivalent. We can see this by looking at the truth tables below: pp TT FF p ~p~p ~(~ p )) TFT FTF We can "replace" p by ~(~ p ) or in terms of logic: p ≡ ~(~ p ) Law of Contraposition The statements p  q and ~ q  ~ p are also logically equivalent. pq p  qp  q TTT TFF FTT FFT pq ~p~p ~q~q ~ q  ~ p TTFFT TFFTF FTTFT FFTTT We can "replace" p  q by ~ q  ~ p or in terms of logic: p  q ≡ ~ q  ~ p

DeMorgan's Laws DeMorgan's Laws are ways to "distribute" a negation inside parenthesis where the statements inside are being connected by an "and" (Λ) or and "or" (V). pq p Λ qp Λ q ~( p Λ q ) TTTF TFFT FTFT FFFT pq ~p~p ~q~q (~ p ) V (~ q ) TTFFF TFFTT FTTFT FFTTT This says that: ~( p Λ q ) ≡ (~ p ) V (~ q ) It is also true that: ~( p V q ) ≡ (~ p ) Λ (~ q ) Conditionals The implication statement p  q is equivalent to the statement (~ p ) V q. Which says that p  q  (~ p ) V q. Rewrite the conditional statement "If you can read then you can learn". Let p : You can read. q : You can learn. p  q : If you can read then you can learn. (~ p ) V q : You can not read or you can learn.