Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.

Slides:



Advertisements
Similar presentations
3.4 More on the Conditional
Advertisements

Logic The study of correct reasoning.
Geometry Logic.
Logic Day Two.
Logic ChAPTER 3.
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.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
John Rosson Thursday February 15, 2007 Survey of Mathematical Ideas Math 100 Chapter 3, Logic.
IB Math Studies – Topic 3. IB Course Guide Description.
Part 2 Module 2 The Conditional Statement. The Conditional Statement A conditional statement is a statement of the form "If p, then q," denoted pqpq.
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.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
The Foundations: Logic and Proofs
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese.
2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt Truth Value Conjunction and.
Propositions and Truth Tables
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.
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.
Chapter 8 Logic DP Studies. Content A Propositions B Compound propositions C Truth tables and logical equivalence D Implication and equivalence E Converse,
Discrete Maths 2. Propositional Logic Objective
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese.
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.
CSci 2011 Textbook ^Discrete Mathematics and Its Applications,  Rosen  6th Edition  McGraw Hill  2006.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
(CSC 102) Lecture 3 Discrete Structures. Previous Lecture Summary Logical Equivalences. De Morgan’s laws. Tautologies and Contradictions. Laws of Logic.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
Conditional. Conditional Statements Vocabulary Conditional: A compound sentence formed by using the words if….then. Given the simple sentences p and q,
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Chapter 7 Logic, Sets, and Counting
Conditional Statements
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.
MADAM SITI AISYAH ZAKARIA. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC LOGICAL CONNECTIVES CONDITIONAL STATEMENT.
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)
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.
Venn Diagrams Truth Sets & Valid Arguments Truth Sets & Valid Arguments Truth Tables Implications Truth Tables Implications Truth Tables Converse, Inverse,
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
Topic 3 Sets, Logic and Probability Joanna Livinalli and Evelyn Anderson.
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.
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,
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese.
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.
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.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
Logic and Truth Tables Winter 2012 COMP 1380 Discrete Structures I Computing Science Thompson Rivers University.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Aim 1.4: To work with conditionals and biconditionals Do Now: Determine the truth value of the following sentences: 1.9 is a prime number and New York.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
Chapter 1 Logic and proofs
Simple Logic.
Chapter 1 Propositional Logic
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese.
Logic – Bell Ringer.
Chapter 8 Logic Topics
Equivalent Statements
Presentation transcript:

Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and Mark Bruce Haese and Haese Publications, 2004

Summary of Symbols SymbolReadMeaning pp “not p”Negation pqpq “p and q”Conjunction pqpq “p or q”Disjunction pqpq “p or q” Exclusive Disjunction p  q “if p then q”Implication pqpq “p if and only if q”Equivalence

Terms Tautology Contradiction Logical Equivalence Implication Converse Inverse Contrapositive

If two propositions can be linked with “If…, then…”, then we have an implication. p is the antecedent and q is the consequent SymbolReadMeaning pp “not p”Negation p  q “p and q”Conjunction p  q “p or q”Disjunction p  q “p or q”Exclusive disjunction p  q “if p then q”Implication Chapter 15E - Implication

Write down p  q in each of these cases: a) p: John is not at work. q: John is sick. a) p: My watch is slow. q: I will be late. b) p: The radio works. q: The power is on. Example 1

Truth Table for Implication p: It is Wednesday. q: I will have sushi for lunch. p  q: pq p  q TTT TFF FTT FFT If it is Wednesday, then I will have sushi for lunch.

Determine whether the statement p  q is logically true or false. If 5  4 = 20, then the Earth moves around the Sun. If the Sun goes around the Earth, then I am an alien. Example 2

Show that the following proposition is a tautology. Example 3

Implication and Venn Diagram p  q is same as P  Q P Q Let P = the set of the multiples of 9 Let Q = the set of the multiples of 3

Equivalence If two propositions are linked with “… if and only if…”, then it is an equivalence. SymbolReadMeaning pp “not p”Negation p  q “p and q”Conjunction p  q “p or q”Disjunction p  q “p or q”Exclusive disjunction p  q “if p then q”Implication p  q “p if and only if q”Equivalence

Write down p  q in each of these cases: a) p: We will play tennis. q: The weather is warm. a) p: Mary will pass math. q: The exam is easy. a) p: Madrid is in Spain. q: Spain is in Europe. Example 4 Note: p  q is the same as p  q and q  p

Truth Table for Equivalence pq p  q TTT TFF FTF FFT p : A polygon has 4 sides q : A polygon is a quadrilateral p  q : A polygon has 4 sides if it is a quadrilateral.

Equivalence and Venn Diagram P Q p  q is same as P = Q

Consider: p: My shoes are too small. q: My feet hurt. Implication: Converse: Inverse: Contrapositive: If my shoes are too small, then my feet hurt. If my feet hurt, then my shoes are too small. If my shoes are not too small, then my feet do not hurt. If my feet do not hurt, then my shoes are not too small. q  p q  pq  p  p   q p  q Section 15F - Converse, Inverse, and Contrapositive

Write the converse, inverse and contrapositive for: If a number is divisible by 10, then it ends in a zero. Example 5

Truth Table for Converse, Inverse, Contrapositive pq pp qqp  qq  p  p   q  q   p

Truth table for Converse, Inverse, Contrapositive pq pp qqp  qq  p  p   q  q   p TTFFTTTT TFFTFTTF FTTFTFFT FFTTTTTT What do you notice? Logical equivalence between 2 pairs of columns

 p   q  q   p p  q q  p CONVERSE INVERSE CONTRAPOSITIVE

Three propositions p, q and r are defined as follows: p: the water is cold. q: the water is boiling. r: the water is warm. a) Write one sentence, in words, for the following logic statement: (  p   q)  r b) Write the following sentence as a logic statement using symbols only. "The water is cold if and only if it is neither boiling nor warm" Example 6

Three propositions are defined as follows: p: The oven is working. q: The food supply is adequate. r: The visitors are hungry. a) Write one sentence, in words only, for each of the following logic statements. (i) q  r   p (ii)  r  (p  q) b) Write the sentence below using only the symbols p, q and logic connectives. "If the oven is working and the food supply is adequate then the oven is working or the food supply is adequate." Example 7

Homework 15E, pg 508 – #3, 4aceg, 5a, 7 15F, pg 509 – #1bd, 3ace