CHAPTER 3 Logic.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Truth Functional Logic
Chapter 21: Truth Tables.
Truth Tables How to Make and Use. Making a Truth Table To determine the number of rows other than the heading row. To determine the number of rows other.
Introduction to Symbolic Logic
CS128 – Discrete Mathematics for Computer Science
Uses for Truth Tables Determine the truth conditions for any compound statementDetermine the truth conditions for any compound statement Determine whether.
Today’s Topics n Review Logical Implication & Truth Table Tests for Validity n Truth Value Analysis n Short Form Validity Tests n Consistency and validity.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Truth Tables for Negation, Conjunction, and Disjunction.
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
Conjunction A conjunction is a compound statement formed by combining two simple sentences using the word “AND”. A conjunction is only true when both.
Thinking Mathematically
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 3 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
 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.
 Statement - sentence that can be proven true or false  Truth value – true or false  Statements are often represented using letters such as p and q.
Section 3.2: Truth Tables for Negation, Conjunction, and Disjunction
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
© 2010 Pearson Prentice Hall. All rights reserved. 1 §3.3, Truth Tables for Negation, Conjuction, and Disjunction.
Chapter 1 Logic and Proof.
Introduction to Logic © 2008 Pearson Addison-Wesley.
Truth Tables for Negation, Conjunction, and Disjunction
Presented by: Tutorial Services The Math Center
Logic.
1-4 Solving Inequalities
AND.
DISCRETE MATHEMATICS CHAPTER I.
Thinking Mathematically
Truth Tables and Equivalent Statements
CHAPTER 3 Logic.
Truth Tables for Negation, Conjunction, and Disjunction
Chapter 3: Introduction to Logic
Classwork/Homework Classwork – Page 90 (11 – 49 odd)
How do I show that two compound propositions are logically equivalent?
(CSC 102) Discrete Structures Lecture 2.
Truth Tables for Negation, Conjunction, and Disjunction
Truth Tables How to build them
6.1 Symbols and Translation
Chapter 8 Logic Topics
Computer Science 210 Computer Organization
3.5 Symbolic Arguments.
Propositional Equivalences
TRUTH TABLES.
Algebra 1 Section 4.4.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Discrete Mathematics Lecture 2: Propositional Logic
Truth tables 3.2 and 3.3 Constructing Truth tables
Deductive Arguments: More Truth Tables
Inductive Reasoning and Conjecture, and Logic
Statements of Symbolic Logic
Section 3.7 Switching Circuits
Algebra 1 Section 4.5.
Foundations of Discrete Mathematics
CHAPTER 3 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.
2-2 Logic Part 2 Truth Tables.
2-2 Logic Vocab Statement: A sentence that is either true or false
Logical truths, contradictions and disjunctive normal form
3.5 Symbolic Arguments.
Truth Tables for Conditional and Biconditional Statements
Propositional Satisfiability
Presentation transcript:

CHAPTER 3 Logic

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

Objectives Use the definitions of negation, conjunction, and disjunction. Construct truth tables. Determine the truth value of a compound statement for a specific case.

Truth Tables Negation (not): Opposite truth value from the statement.

Truth Tables Conjunction (and): Only true when both statements are true. Conjunction p q p  q T T T T F F F T F F

Truth Tables Disjunction (or): Only false when both statements are false. Disjunction p q p  q T T T T F F T F F F

Example: Using the Definitions of Negation, Conjunction, and Disjunction Let p and q represent the following statements: p: 10 > 4 q: 3 < 5 Determine the truth value for each statement: a. p  q Since both are true, the conjunction is true. b. ~ p  q Since p is true, ~p is false, so the conjunction is false.

Example continued Let p and q represent the following statements: p: 10 > 4 q: 3 < 5 Determine the truth value for each statement: c. p  ~ q 10 > 4 is true or is false. A disjunction is false only when both components are false. Only one component is false, this is a true statement. d. ~p  ~q Since q is true, ~q is false. So, the disjunction is false.

Example: Constructing Truth Tables Construct a truth table for ~(p  q) Step 1: First list the simple statements on top and show all the possible truth values. Step 2: Make a column for p  q and fill in the truth values. p q p  q T T T T F F F T F F

Example continued Step 3: Construct one more column for ~(p  q). The final column tells us that the statement is false only when both p and q are true. For example: p: Harvard is a college. (true) q: Yale is a college. (true) ~(p  q): It is not true that Harvard and Yale are colleges. A compound statement that is always true is called a tautology. Is this a tautology? NO p q p  q ~(p  q) T T T F T F F T F F

Example: Constructing a Truth Table Construct a truth table for (~p  q)  ~q. p q ~p ~p  q ~q (~p  q)  ~q T T F T T F F T F F

Constructing a Truth Table with Eight Cases There are eight different true-false combinations for compound statements consisting of three simple statements.

Example: Constructing a Truth Table with Eight Cases Construct a truth table for the following statement: a. I study hard and ace the final, or I fail the course. b. Suppose that you study hard, you do not ace the final and you fail the course. Under these conditions, is this compound statement true or false? Solution: We represent our statements as follows: p: I study hard. q: I ace the final. r: I fail the course.

Example continued Writing the given statement in symbolic form: The completed table is: The statement is True.

Determining Truth Values for Specific Cases We can determine the truth value of a compound statement for a specific case in which the truth values of the simple statements are known, without constructing an entire truth table. Substitute the truth values of the simple statements into the symbolic form of the compound statement and use the appropriate definitions to determine the truth value of the compound statement.

Example: Determining the Truth Value of a Compound Statement The bar graph shows the distribution of looks for American men and women, ranging from homely to strikingly attractive.

Example: Determining the Truth Value of a Compound Statement Use the information in the bar graph to determine the truth value of the following statement: It is not true that 1% of American men are homely and more than half are average, or it is not true that 5% of American women are strikingly attractive.

Example continued We begin by assigning letters to the simple statements, using the graph to determine whether each simple statement is true or false. As always, we let these letters represent statements that are not negated.

Example continued Substitute the truth values for p, q, and r that we obtained from the bar graph to determine the truth value. ~(p  q)  ~r This is the given compound statement in symbolic form. ~(T  T)  ~F Substitute the truth value obtained from the graph. ~T  ~F Replace T  T with T. Conjunction is true when both parts are true. F  T Replace ~T with F and ~F with T. Negation gives the opposite truth value. T Replace F  T with T. Disjunction is true when at least one part is true. We conclude that the given statement is true.