6.1 Logic Logic is not only the foundation of mathematics, but also is important in numerous fields including law, medicine, and science. Although the.

Slides:



Advertisements
Similar presentations
Logic The study of correct reasoning.
Advertisements

TRUTH TABLES Section 1.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.
Constructing a Truth Table
Chapter 3 section 2. Please form your groups The 1 st column represents all possibilities for the statement that can be either True or False. The 2 nd.
Truth Tables Presented by: Tutorial Services The Math Center.
1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: The Moon is made of green cheese. Trenton.
The Conditional & Biconditional MATH 102 Contemporary Math S. Rook.
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.
1 Intro to Logic Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Conditional Statements
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Truth Tables for Negation, Conjunction, and Disjunction.
3.2 – Truth Tables and Equivalent Statements
Logic ChAPTER 3.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Conjunctions, Disjunctions, and Negations Symbolic Logic 2/12/2001.
The Foundations: Logic and Proofs
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.
1 Introduction to Abstract Mathematics The Logic of Compound Statements 2.1 and 2.2 Instructor: Hayk Melikya
Section 1-4 Logic Katelyn Donovan MAT 202 Dr. Marinas January 19, 2006.
Course Outline Book: Discrete Mathematics by K. P. Bogart Topics:
Chapter 8 Logic DP Studies. Content A Propositions B Compound propositions C Truth tables and logical equivalence D Implication and equivalence E Converse,
Lecture for Week Spring.   Introduction to Propositional Logic  Types of Proposition  Operator and Truth table Agenda.
CS 285- Discrete Mathematics Lecture 2. Section 1.1 Propositional Logic Propositions Conditional Statements Truth Tables of Compound Propositions Translating.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
MATH 102 Contemporary Math S. Rook
1 Introduction to Abstract Mathematics The Logic and Language of Proofs Instructor: Hayk Melikya Proposition: Informal introduction to.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Math 240: Transition to Advanced Math Deductive reasoning: logic is used to draw conclusions based on statements accepted as true. Thus conclusions are.
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
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 7 Logic, Sets, and Counting
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,
MLS 570 Critical Thinking Reading Notes for Fogelin: Propositional Logic Fall Term 2006 North Central College.
How do I show that two compound propositions are logically equivalent?
Thinking Mathematically
Chapter 7 Logic, Sets, and Counting Section 1 Logic.
Logic. Statements, Connectives, and Quantifiers In symbolic logic, we only care whether statements are true or false – not their content. In logic, a.
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.
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.
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.
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,
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
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.
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.
 2012 Pearson Education, Inc. Slide Chapter 3 Introduction to Logic.
Ms. Andrejko 2-2 Logic. Real World Legally Blonde.
Reasoning and Proof Chapter Use Inductive Reasoning Conjecture- an unproven statement based on an observation Inductive reasoning- finding a pattern.
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
Section 3.2: Truth Tables for Negation, Conjunction, and Disjunction
Discrete Structures for Computer Science Presented By: Andrew F. Conn Slides adapted from: Adam J. Lee Lecture #1: Introduction, Propositional Logic August.
Truth Tables and Equivalent Statements
Logic.
Chapter 1 The Foundations: Logic and Proof, Sets, and Functions
Discrete Mathematics and Its Applications Kenneth H
Discrete Mathematics Lecture 2: Propositional Logic
Equivalent Statements
Presentation transcript:

6.1 Logic Logic is not only the foundation of mathematics, but also is important in numerous fields including law, medicine, and science. Although the study of logic originated in antiquity, it was rebuilt and formalized in the 19 th and early 20 th century. George Boole (Boolean algebra) introduced mathematical methods to logic in 1847 while Georg Cantor did theoretical work on sets and discovered that there are many different sizes of infinite sets.

Statements or Propositions A proposition or statement is a declaration which is either true or false. A proposition or statement is a declaration which is either true or false. Some examples: Some examples: 2+2 = 5 is a statement because it is a false declaration. 2+2 = 5 is a statement because it is a false declaration. Orange juice contains vitamin C is a statement that is true. Orange juice contains vitamin C is a statement that is true. Open the door. This is not considered a statement since we cannot assign a true or false value to this sentence. It is a command, but not a statement or proposition. Open the door. This is not considered a statement since we cannot assign a true or false value to this sentence. It is a command, but not a statement or proposition.

Negation The negation of a statement, p, is “not p” and is denoted by ┐ p The negation of a statement, p, is “not p” and is denoted by ┐ p Truth table: Truth table: p ┐ p p ┐ p TF TF FT FT If p is true, then its negation is false. If p is false, then its negation is true. If p is true, then its negation is false. If p is false, then its negation is true.

Disjunction A disjunction is of the form p V q and is read p or q. A disjunction is of the form p V q and is read p or q. Truth table for disjunction: Truth table for disjunction: pqp V q pqp V q TTT TTT TFT TFT FTT FTT FFF FFF A disjunction is true in all cases except when both p and q are false. A disjunction is true in all cases except when both p and q are false.

Conjunction A conjunction is only true when both p and q are true. Otherwise, a conjunction of two statements will be false: A conjunction is only true when both p and q are true. Otherwise, a conjunction of two statements will be false: Truth table: Truth table: pqp q pqp q TT T TT T TF F TF F FT F FT F FF F FF F

Conditional statement To understand the logic behind the truth table for the conditional statement, consider the following statement. To understand the logic behind the truth table for the conditional statement, consider the following statement. “If you get an A in the class, I will give you five bucks.” “If you get an A in the class, I will give you five bucks.” Let p = statement “ You get an A in the class” Let p = statement “ You get an A in the class” Let q = statement “ I will give you five bucks.” Let q = statement “ I will give you five bucks.” Now, if p is true (you got an A) and I give you the five bucks, the truth value of Now, if p is true (you got an A) and I give you the five bucks, the truth value of p q is true. The contract was satisfied and both parties fulfilled the agreement. p q is true. The contract was satisfied and both parties fulfilled the agreement. Now, suppose p is true (you got the A) and q is false (you did not get the five bucks). You fulfilled your part of the bargain, but weren’t rewarded with the five bucks. Now, suppose p is true (you got the A) and q is false (you did not get the five bucks). You fulfilled your part of the bargain, but weren’t rewarded with the five bucks. So p q is false since the contract was broken by the other party. So p q is false since the contract was broken by the other party. Now, suppose p is false. You did not get an A but received five bucks anyway. (q is true) No contract was broken. There was no obligation to receive 5 bucks, so truth value of p q cannot be false, so it must be true. Now, suppose p is false. You did not get an A but received five bucks anyway. (q is true) No contract was broken. There was no obligation to receive 5 bucks, so truth value of p q cannot be false, so it must be true. Finally, if both p and q are false, the contract was not broken. You did not receive the A and you did not receive the 5 bucks. So p q is true in this case. Finally, if both p and q are false, the contract was not broken. You did not receive the A and you did not receive the 5 bucks. So p q is true in this case.

Truth table for conditional pqp q pqp q TTT TFF FTT FFT

Variations of the conditional Converse: The converse of p q is q p Converse: The converse of p q is q p Contrapositive: The contrapositive of p q is Contrapositive: The contrapositive of p q is ┐q ┐p ┐q ┐p

Examples Let p = you receive 90% Let p = you receive 90% Let q = you receive an A in the course Let q = you receive an A in the course p q ? p q ? If you receive 90%, then you will receive an A in the course. If you receive 90%, then you will receive an A in the course. Converse: q p Converse: q p If you receive an A in the course, then you receive 90% If you receive an A in the course, then you receive 90% Is the statement true? No. What about the student who receives a score greater than 90? That student receives an A but did not achieve a score of exactly 90%. Is the statement true? No. What about the student who receives a score greater than 90? That student receives an A but did not achieve a score of exactly 90%.

Example 2 State the contrapositive in an English sentence: State the contrapositive in an English sentence: Let p = you receive 90% Let p = you receive 90% Let q = you receive an A in the course Let q = you receive an A in the course p q ? p q ? If you receive 90%, then you will receive an A in the course If you receive 90%, then you will receive an A in the course ┐ q ┐ p ┐ q ┐ p If you don’t receive an A in the course, then you didn’t receive 90%. If you don’t receive an A in the course, then you didn’t receive 90%. The contrapositive is true not only for these particular statements but for all statements, p and q. The contrapositive is true not only for these particular statements but for all statements, p and q.

Logical equivalent statements Show that is logically equivalent to Show that is logically equivalent to We will construct the truth tables for both sides and determine that the truth values for each statement are identical. We will construct the truth tables for both sides and determine that the truth values for each statement are identical. The next slide shows that both statements are logically equivalent. The red columns are identical indicating the final truth values of each statement. The next slide shows that both statements are logically equivalent. The red columns are identical indicating the final truth values of each statement.