Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation,...

30
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction , and Disjunction

Transcript of Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation,...

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Section 3.2

Truth Tables for Negation,

Conjunction, and

Disjunction

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

What You Will Learn

Truth tables for negations,

conjunctions, and disjunctions

3.2-2

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Truth Table

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

3.2-3

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Negation Truth Table

3.2-4

p ~pCase 1 T FCase 2 F T

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Compound Statement Truth Table

3.2-5

p qCase 1 T TCase 2 T FCase 3 F TCase 4 F F

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Conjunction Truth Table

The conjunction is true only when both p and q are true.

3.2-6

p q p ⋀ qCase 1 T T TCase 2 T F FCase 3 F T FCase 4 F F F

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Disjunction Truth Table

The disjunction is true when either p is true, q is true, or both p and q are true.

3.2-7

p q p ⋁ qCase 1 T T TCase 2 T F TCase 3 F T TCase 4 F F F

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Negation

Negation ~p is read “not p.”

If p is true, then ~p is false;if p is false, then ~p is true.In other words, ~p will always have the opposite truth value of p.

3.2-8

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Conjunction

Conjunction p ⋀ q is read “p and q.”

p ⋀ q is true only when both p and q are true

3.2-9

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Disjunction

Disjunction p ⋁ q is read “p or q.”

p ⋁ q is true when either p is true or q is true, or both p and q are true.

In other words, p ⋁ q is false only when both p and q are false.

3.2-10

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables1. Determine if the statement is a negation, conjunction, disjunction, conditional, or biconditional.The answer to the truth table appears under:

~ if it is a negation⋀ if it is a conjunction ⋁ if it is a disjunction

→ if it is conditional↔ if it is biconditional

3.2-11

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables

2. Complete the columns under the simple statements, p, q, r, and their negations ~p, ~q, ~r, within parentheses, if present. If there are nested parentheses work with the innermost pair first.

3.2-12

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables

3. Complete the column under the connective within the parentheses, if present. You will use the truth values of the connective in determining the final answer in step 5.

3.2-13

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables

4. Complete the column under any remaining statements and their negation.

3.2-14

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables

5. Complete the column under any remaining connectives. The answer will appear under the column determined in step 1.For a conjunction, disjunction, conditional or biconditional, obtain the value using the last column completed on the left side and on the right side of the connective.

3.2-15

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Constructing Truth Tables

5. (continued)

For a negation, negate the values of the last column completed within the grouping symbols on the right of the negation. Circle or highlight the answer column and number the columns in the order they were completed.

3.2-16

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 3: Truth Table with a Negation

Construct a truth table for ~(~q ⋁ p).

3.2-17

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 3: Truth Table with a NegationConstruct a truth table for ~(~q ⋁ p).

Solutionp q ~ (~q ⋁ p)

TTFF

TFTF

FFTF

FTFT

TTFT

TTFF

False only when p is false and q is true.

2314

3.2-18

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Try This

Construct a truth table for the following:

~p ^q

3.2-19

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 7: Use the Alternative Method to Construct a Truth TableConstruct a truth table for ~p ⋀ ~q.

3.2-20

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 7: Use the Alternative Method to Construct a Truth TableConstruct a truth table with four cases.Solution

p q

TTFF

TFTF

3.2-21

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 7: Use the Alternative Method to Construct a Truth TableAdd a column for ~p ~⋀ q.Use columns ~p and ~q to find ~p ~⋀ q.

Solution

p q

TTFF

TFTF

3.2-22

~p ~q

FFTT

FTFT

~p ~⋀ q

FFFT

It is true only when ~p and~q are true.

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound StatementDetermine the truth value for each simple statement. Then, using these truth values, determine the truth value of the compound statement.

15 is less than or equal to 9.

3.2-23

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound StatementLet

p: 15 is less than 9.q: 15 is equal to 9.

Express “15 is less than or equal to 9” as p ⋁ q.

Both p and q are false.p ⋁ qF F⋁ F

Solution

3.2-24

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound StatementDetermine the truth value for each simple statement. Then, using these truth values, determine the truth value of the compound statement.George Washington was the first U.S. president or Abraham Lincoln was the second U.S. president, but there has not been a U.S. president born in Antarctica.

3.2-25

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound StatementLetp: George Washington was the

first U.S. president.q: Abraham Lincoln was the second

U.S. president.r:There has been a U.S. president

who was born in Antarctica.The statement can be written in

symbolic form as (p ⋁ q) ~⋀ r.

Solution

3.2-26

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound Statementp: George Washington was the first

U.S. president.q: Abraham Lincoln was the second

U.S. president.r:There has been a U.S. president

who was born in Antarctica.The statement is (p ⋁ q) ~⋀ r.p is true, q is false, r is false.Since r is false, ~r is true.

Solution

3.2-27

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Example 9: Determine the Truth Value of a Compound StatementThe statement is (p ⋁ q) ~⋀ r.p is true, q is false, ~r is true.

(p ⋁ q) ~⋀ r(T ⋁ F) T⋀ T T⋀

TThe original compound statement is true.

Solution

3.2-28

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Try This: P. 117 # 58

3.2-29

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Homework

P. 115 # 6-60 (x3)

3.2-30