Ch6 Powerpoint

Chapter 6
Logic
Copyright © 2012 Pearson Education, Inc. All rights reserved
6.1
Statements
Copyright © 2012 Pearson Education, Inc. All rights reserved
Symbolic Logic
Symbolic logic is to use formal mathematics
with symbols to represent statements and
arguments in very day life.
 It is a Time-saver om argumentation.


6- 3
It helps prevent logical confusion when
dealing with complex argument.
© 2012 Pearson Education, Inc.. All rights reserved.
• Statement

A statement is a declarative sentence that is
either true or false, but not both
simultaneously.

Statements that involve one or more of the
connectives ``and'', ``or'', ``not'', ``if then'' and
`` if and only if '' are compound statements
(otherwise they are simple statements).
6- 4
© 2012 Pearson Education, Inc.. All rights reserved.
Example 1 and Your Turn 1
Decide whether each statement is compound.
(a) George Washington was the first U.S. president, and John
Adams was his vice president.
(b) If what you’ve told me is true, then we are in great peril.
(c) We drove across New Mexico toward the town with the curious
name Truth or Consequences.
(d) The money is not there.
6- 5
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 1: “I bought Ben and Jerry’s ice cream.”
Solution: This statement is not compound. Even though and is a
connective, here it is to connect two people Ben and Jerry.
It is not connecting two statements.
6- 6
© 2012 Pearson Education, Inc.. All rights reserved.
Negation

The negation of a statement is the
contradiction or denial of something.

The negation of “I play piano” is “I do not
play piano.”

It is equivalent to say “ It is not true that I
play piano”.
6- 7
© 2012 Pearson Education, Inc.. All rights reserved.
Example 2 and Your Turn 2
Give the negation of each statement.
(a) California is the most populous state in the country.
(b) It is not raining today.
Your Turn 2: “Wal-Mart is not the largest corporation in the USA.”
6- 8
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 3
Write the negation of the following inequality.
4x  2 y  5
6- 9
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 10
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 4
Let h represent “My backpack is heavy,” and r represent “It’s
going to rain.”
Write the symbolic statement in words h   r.
Solution:
6 - 11
© 2012 Pearson Education, Inc.. All rights reserved.
Truth Value and Truth Table

The truth value of a statement is T if it is true
and F if it is false.

The truth value of a compound statement is
determined from the truth values of its simple
components under certain rules.
6 - 12
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 13
© 2012 Pearson Education, Inc.. All rights reserved.
Conjunction

The conjunction is the word logicians use for
p and q, denoted p^q.
Ex: My birthday is in October and yours in in
Novememter.
6 - 14
© 2012 Pearson Education, Inc.. All rights reserved.
It is only true when both component
statements are true.
6 - 15
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 5
Let p represent “ 7 < 2 ” and q represent “ 4 > 3”. Find the truth
value of  p  q.
6 - 16
© 2012 Pearson Education, Inc.. All rights reserved.
It is only false when both component statements are
false.
6 - 17
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 6
If p is false, q is true, and r is false, find the truth value of the
statement: ( p  q)  r.
Solution:
6 - 18
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 7
Let p represent “7 < 2, ” q represent “4>3,” and r represent
“ 2 > 8.” Find the truth value of p  ( q  r ).
6 - 19
© 2012 Pearson Education, Inc.. All rights reserved.
6.2
Truth Tables and
Equivalent Statements
Copyright © 2012 Pearson Education, Inc. All rights reserved
Ex: Construct a true table for (~pq) ~q
6 - 21
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 1
Construct a truth table for p  ( p  q).
If p and q are both true, find the truth value of p  ( p  q).
6 - 22
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 2
Construct a truth table for the statement: “I do not order pizza,
or you do not make dinner and I order pizza.”
6 - 23
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 24
© 2012 Pearson Education, Inc.. All rights reserved.
Ex: Construct the truth table for (~pq) ~q
6 - 25
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 26
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 3
Find the negation of the statement: “You do not make dinner or
I order pizza.”
and I do not order pizza.
6 - 27
© 2012 Pearson Education, Inc.. All rights reserved.
6.3
The Conditional and
Circuits
Copyright © 2012 Pearson Education, Inc. All rights reserved
Conditionals

A conditional statement is a compound
statement that uses the connective
if….then,
or anything equivalent.
Ex: If it rains, then I carry my umbrella.
6 - 29
© 2012 Pearson Education, Inc.. All rights reserved.
The conditional is written with an arrow, so
that “if p, then q” is symbolized as “p → q”,
read as “ p implies q”.
 p is the antecedent.
q is the consequent.


Ex: Winners never quit.
6 - 30
© 2012 Pearson Education, Inc.. All rights reserved.
Ex: If you eat Wheat Crunchies, then
you will be full of energy.
6 - 31
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 32
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 1
Find the truth value of the statement, “If Little Rock is
the capital of Arkansas, then New York City is the capital of
New York.”
6 - 33
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 2
Determine if the statement is true or false: 4  5  F .
6 - 34
© 2012 Pearson Education, Inc.. All rights reserved.
Your Turn 3
If p, q, and r are all false, find the truth value of the statement
 q  ( p  r ).
6 - 35
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 36
© 2012 Pearson Education, Inc.. All rights reserved.
Construct a truth table for each statement
Ex: ( ~p → ~𝑞) ~(𝑝
6 - 37
© 2012 Pearson Education, Inc.. All rights reserved.
~ 𝑞)
6 - 38
© 2012 Pearson Education, Inc.. All rights reserved.
Example: Write the following statement
without using if…then

If you do the homework, then you will pass
the quiz.
6 - 39
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 40
© 2012 Pearson Education, Inc.. All rights reserved.
Example: Write the negation of each
statement.

(a)If you go to the left, I’ll go to the right.

(b) It must be alive if it is breathing.
6 - 41
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 42
© 2012 Pearson Education, Inc.. All rights reserved.
6.4
More on the
Conditional
Copyright © 2012 Pearson Education, Inc. All rights reserved
6 - 44
© 2012 Pearson Education, Inc.. All rights reserved.
Example: Equivalent Statements

Write the following statement in eight
different equivalent ways, using the common
translations of p → 𝑞 in the box above.
If you answer this survey, then you will be
entered in the drawing.
6 - 45
© 2012 Pearson Education, Inc.. All rights reserved.
Example 2 Equivalent Statement

Write each statement in the form “if p, then q”.
(a) Possession of a valid identification card is
necessary for admission.
(b) You should use this door only if there is an
emergency.
(c) All who are weary can come and rest.
6 - 46
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 47
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 48
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 49
© 2012 Pearson Education, Inc.. All rights reserved.
Example: Related Conditional Statement
If Cauchy is a cat, then Cauchy is a mammal.
(a) The converse

(b) The inverse
(c) The contrapositive
6 - 50
© 2012 Pearson Education, Inc.. All rights reserved.
Biconditionals
In logic, a biconditional is a compound
statement formed by combining two
conditionals under "and."
 A biconditional is read as "[some fact] if and
only if [another fact]" and is true when
the truth values of both facts are exactly the
same - BOTH TRUE or BOTH FALSE.
 Biconditionals are true when both
statements (facts) have the exact same truth
value.

6 - 51
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 52
© 2012 Pearson Education, Inc.. All rights reserved.
Example
Tell whether each statement is true or false.
(a) A triangle is isosceles if and only if the
tringle has two congruent sides.

(b)
Alaska is one of the original 13 states if and
only if kangaroos can fly.
(c)
2+2=4 if and only if 7>10
6 - 53
© 2012 Pearson Education, Inc.. All rights reserved.
6 - 54
© 2012 Pearson Education, Inc.. All rights reserved.