SEVENTH EDITION and EXPANDED SEVENTH EDITION

Slides:



Advertisements
Similar presentations
TRUTH TABLES Section 1.3.
Advertisements

Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.
CS128 – Discrete Mathematics for Computer Science
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Chapter 3 Section 5 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Adapted from Discrete Math
Propositions and Truth Tables
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.4 Equivalent Statements.
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.3, Slide Logic The Study of What’s True or False or Somewhere in Between.
2.5 Verifying Arguments Write arguments symbolically. Determine when arguments are valid or invalid. Recognize form of standard arguments. Recognize common.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.3, Slide Logic The Study of What’s True or False or Somewhere in Between.
Chapter 8 Logic DP Studies. Content A Propositions B Compound propositions C Truth tables and logical equivalence D Implication and equivalence E Converse,
Chapter 2 Section 5 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Chapter 3 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Section 3.5 Symbolic Arguments
2.2 Statements, Connectives, and Quantifiers
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Objectives 1. Statements, quantifiers, and compound statements 2. Statements involving the words not,
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.
Lecture Propositional Equivalences. Compound Propositions Compound propositions are made by combining existing propositions using logical operators.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
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.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.3 Truth Tables for the Conditional and Biconditional.
Thinking Mathematically Arguments and Truth Tables.
Chapter 1: The Foundations: Logic and Proofs
Chapter 3 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.4, Slide 1 3 Logic The Study of What’s True or False or Somewhere in Between 3.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
 2012 Pearson Education, Inc. Slide Chapter 3 Introduction to Logic.
Thinking Mathematically Logic 3.4 Truth Tables for the Conditional and Biconditional.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Introduction to Logic © 2008 Pearson Addison-Wesley.
2. The Logic of Compound Statements Summary
Truth Tables and Equivalent Statements
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Chapter 8 Logic Topics
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
2 Chapter Introduction to Logic and Sets
Information Technology Department
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Section 3.1 Statements and Logical Connectives
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Section 3.5 Symbolic Arguments
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
3.5 Symbolic Arguments.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Section 3.4 Equivalent Statements
TRUTH TABLES continued.
(1.4) An Introduction to Logic
Logic 3.1 Statements and Logical Connectives
1 Chapter An Introduction to Problem Solving
Discrete Mathematics and Its Applications Kenneth H
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
1 Chapter An Introduction to Problem Solving
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Equivalent Statements
Statements of Symbolic Logic
Section 3.3 Truth Tables for the Conditional and Biconditional
Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction
Truth Tables for the Conditional and Biconditional
Statements and Logical Connectives
CHAPTER 3 Logic.
Section 3.4 Equivalent Statements
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
3.5 Symbolic Arguments.
Presentation transcript:

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Chapter 3 Logic

Statements and Logical Connectives 3.1 Statements and Logical Connectives

HISTORY—The Greeks: Aristotelian logic: The ancient Greeks were the first people to look at the way humans think and draw conclusions. Aristotle (384-322 B.C.) is called the father of logic. This logic has been taught and studied for more than 2000 years.

Mathematicians Gottfried Wilhelm Leibniz (1646-1716) believed that all mathematical and scientific concepts could be derived from logic. He was the first to seriously study symbolic logic. In this type of logic, written statements use symbols and letters. George Boole (1815 – 1864) is said to be the founder of symbolic logic because he had such impressive work in this area.

Logic and the English Language Connectives - words such as and, or, if, then Exclusive or - one or the other of the given events can happen, but not both. Inclusive or - one or the other or both of the given events can happen.

Statements and Logical Connectives Statement - A sentence that can be judged either true or false. Labeling a statement true or false is called assigning a truth value. Simple Statements - A sentence that conveys only one idea. Compound Statements - Sentences that combine two or more ideas and can be assigned a truth value.

Quantifiers Negation of a statement - the opposite meaning of a statement. The negation of a false statement is always a true statement. The negation of a true statement is always false. Quantifiers - words such as all, none, no, some, etc…

Example: Write Negations Write the negation of the statement. Some candy bars contain nuts. Since some means “at least one” this statement is true. The negation is “No candy bars contain nuts,” which is a false statement.

Example: Write Negations continued Write the negation of the statement. All tables are oval. This is a false statement since some tables are round, rectangular, or other shapes. The negation could be “Some tables are not oval.”

Compound Statements Statements consisting of two or more simple statements are called compound statements. The connectives often used to join two simple statements are and, or, if…then…, and if and only if.

Not Statements The symbol used in logic to show the negation of a statement is ~. It is read “not”.

And Statements is the symbol for a conjunction and is read “and.” The other words that may be used to express a conjunction are: but, however, and nevertheless.

Example: Write a Conjunction Write the conjunction in symbolic form. The dog is gray, but the dog is not old. Solution: Let p and q represent the simple statements. p: The dog is gray. q: The dog is old. In symbol form, the compound statement is

Or Statements: The disjunction is symbolized by and read “or.” Example: Write the statement in symbolic form. Carl will not go to the movies or Carl with not go to the baseball game. Solution:

If-Then Statements The conditional is symbolized by and is read “if-then.” The antecedent is the part of the statement that comes before the arrow. The consequent is the part that follows the arrow.

Example: Write a Conditional Statement Let p: Nathan goes to the park. q: Nathan will swing. Write the following statements symbolically. If Nathan goes to the park, then he will swing. If Nathan does not go to the park, then he will not swing. Solutions: a) b)

If and Only If Statements The biconditional is symbolized by and is read “if and only if.” If and only if is sometimes abbreviated as “iff.”

Example: Write a Statement Using the Biconditional Let p: The dryer is running. q: There are clothes in the dryer. Write the following symbolic statements in words. a) b) Solutions: The clothes are in the dryer if and only if the dryer is running. It is false that the dryer is running if and only if the clothes are not in the dryer.

Truth Tables for Negation, Conjunction, and Disjunction 3.2 Truth Tables for Negation, Conjunction, and Disjunction

Truth Table A truth table is used to determine when a compound statement is true or false.

Negation Truth Table T Case 2 F F Case 1 T ~p p

Conjunction Truth Table The conjunction is true only when both p and q are true. F Case 4 T Case 3 Case 2 Case 1 q p

Disjunction The disjunction is true when either p is true, q is true, or both p and q are true. F Case 4 T Case 3 Case 2 Case 1 q p

Truth Tables for the Conditional and Biconditional 3.3 Truth Tables for the Conditional and Biconditional

Conditional The conditional statement is true in every case except when p is a true statement and q is a false statement. T F Case 4 Case 3 Case 2 Case 1 q p

Biconditional 5 6 4 7 2 3 1 F T case 4 case 3 case 2 case 1 p) (q q) The biconditional statement, means that and or, symbolically 5 6 4 7 2 3 1 order of steps F T case 4 case 3 case 2 case 1 p) (q q) (p q p

Self-Contradiction A self-contradiction is a compound statement that is always false. When every truth value in the answer column of the truth table is false, then the statement is a self-contradiction.

Tautology A tautology is a compound statement that is always true. When every truth value in the answer column of the truth table is true, the statement is a tautology.

Implication An implication is a condition statement that is a tautology. The consequent will be true whenever the antecedent is true.

Equivalent Statements 3.4 Equivalent Statements

Equivalent Statements Two statements are equivalent if both statements have exactly the same truth values in the answer columns of the truth tables. In a truth table, if the answer columns are identical, the statements are equivalent. If the answer columns are not identical, the statements are not equivalent.

De Morgan’s Laws

To change a conditional statement into a disjunction, negate the antecedent, change the conditional symbol to a disjunction symbol, and keep the consequent the same. To change a disjunction statement to a conditional statement, negate the first statement, change the disjunction symbol to a conditional symbol, and keep the second statement the same.

Variations of the Conditional Statement The variations of conditional statements are the converse of the conditional, the inverse of the conditional, and the contrapositive of the conditional.

Variations of the Conditional Statement “if not q, then not p” ~p ~q Contrapositive of the conditional “if not p, then not q” Inverse of the conditional “if q, then p” p q Converse of the conditional “if p, then q” Conditional Read Symbolic Form Name

3.5 Symbolic Arguments

Symbolic Arguments An argument is valid when its conclusion necessarily follows from a given set of premises. An argument is invalid (or a fallacy) when the conclusion does not necessarily follow from the given set of premises.

Valid or Invalid? If the truth table answer column is true in every case, then the statement is a tautology, and the argument is valid. If the truth table answer column is not true in every case then the statement is not a tautology, and the argument is invalid.

Law of Detachment Also called modus ponens. The argument form:

Determining Whether an Argument is Valid Write the argument in symbolic form. Compare the form with forms that are known to be either valid or invalid. If the argument contains two premises, write a conditional statement of the form [(premise 1) (premise 2)] conclusion

Determining Whether an Argument is Valid continued Construct a truth table for the statement in step 3. If the answer column of the table has all trues, the statement is a tautology, and the argument is valid. If the answer column of the table does not have all trues, the argument is invalid.

Valid Arguments Law of Detachment Law of Syllogism Law of Contraposition Disjunctive Syllogism

Invalid Arguments Fallacy of the Converse Fallacy of the Inverse

Euler Diagrams and Syllogistic Arguments 3.6 Euler Diagrams and Syllogistic Arguments

Syllogistic Arguments Another form of argument is called a syllogistic argument, better known as syllogism. The validity of a syllogistic argument is determined by using Euler diagrams.

Euler Diagrams One method used to determine whether an argument is valid or is a fallacy. Uses circles to represent sets in syllogistic arguments.

Symbolic Arguments Versus Syllogistic Arguments Euler diagrams all are, some are, none are, some are not Syllogistic argument Truth tables or by comparison with standard forms of arguments and, or, not, if-then, if and only if Symbolic argument Methods of determining validity Words or phrases used