Escolar Documentos
Profissional Documentos
Cultura Documentos
and
or
if…..then
if and only if
not
s : John studies.
p : John passes.
h : John is happy This symbol replaces
the word “AND”
p h
s : John studies. ~
p : John passes.
h : John is happy This symbol negates the
statement it precedes
~ s
s : John studies.
p : John passes.
h : John is happy This symbol replaces
the word “OR”
s ~p
s : John studies.
p : John passes.
h : John is happy This symbol replaces
the connective “if … then”
s p
s : John studies.
p : John passes.
h : John is happy This symbol replaces
the words “if and only if”
h s
When using the connective
The direction of the arrow
is important.
cause effect
c o
If Herman lives in Cleveland then
Herman lives in Ohio.
c
Herman lives in Ohio if Herman lives in Cleveland.
o
Herman lives in Cleveland only if Herman lives
in Ohio.
John is happy ONLY IF he studies.
John is happy IF he studies.
John is happy IF AND ONLY IF he studies.
and : m: Herman takes math
h: Herman is happy
or : a: Herman gets an A
if ...then : b: Herman bribes the teacher
ifandonlyif :
not :~
similarly
l g a is different from l g a
When a statement has two or more connectives,
one of the connectives is said to be dominant. This
determines the grouping (placement of parentheses)
A SIMPLE STATEMENT has one verb.
The following four statements are simple:
f h s p
Now we have two COMPOUND STATEMENTS
f h s p
Finally , we can connect these two compound
statements:
Is the dominant
connective. It is
last one placed.
f h s p
and : l: The teacher likes Herman
g: Herman does good work
or : a: Herman gets an A
if ...then :
ifandonlyif :
not :~
l g a
3 + 5 x 2
to mean (3) + ( 5 x 2 )
When an arithmetic sentence contains + and signs
and NO PARENTHESES to indicate otherwise
we assume that + is dominant
There is a similar convention in logic:
If a statement contains two or more connectives
and there are NO PARENTHESES to show you how
to group symbols, then we will agree that the
DOMINANT CONNECTIVE is whatever is highest
on this chart:
~
If it rains then we go to a movie and if it
doesn’t rain then we swim.
(r m) (~r s )
In this statement, the parentheses are
~ necessary because “and” is dominant
If Herman does not study then he will
fail math and his life will be ruined.
~s f r
~s f r
Interpret the following statement:
~p q r ~s r
~
This is highest
on the chart.
This is dominant
Interpret the following statement:
~p q r ~s r
~p q r
~p q r ~s r
~p q r ~s r