Set Theory
Set Theory
Set Theory
Examples.
1. It is sunny today;
2. Ms. W. will have a broader
audience next month;
3. I did not join the club
Simple statements do not contain other
statements as their parts.
or =∨
if . . . , then = →
Example.
s ∧ c.
The “operation” not = ¬
turns a single statement into its negation
and it is not a connective.
Simple statements.
1. p is true (Assertion)
2. ¬p is false (Negation)
Connectives and compound
statements
(t ∨ c) → g.
NOTE
If we had accidentally skipped the
parenthesis, we would have created the
compound statement t ∨ c → g, which
could be read as:
I search for pages containing “termites” or
if I search for pages containing “cattle”,
then I search for those containing “global
warming”.
Exercises
Example
1. If p=I play the piano is false, and
q=I study logic is true, then the
conjunction
p ∧ q =I play the piano and study
logic is a false statement.
Example. Construct the truth table for
the compound statement ¬(p ∨ q) ∧ p.
Basic Rules
COMPLETED TRUTH TABLE
EXERCISES
2. Construct truth tables for the following
compound statements: p ∧¬q.
EXERCISES
Construct truth tables for the following
compound statements
(a) p ∧¬q.
(b) ¬(¬p) ∧ p.
(c) ¬(p ∨ q).
(d) (¬p)∧¬q.
(e) ¬(p ∨¬q) ∨ p.
Represent the following statements
using logical connectives.
a) P or not Q.
(b) If P and R, then Q.
(c) P if and only if (Q and R).
(d) Not P and not Q.
(e) It is not the case that if P, then Q.
(f) If P and Q, then R or S.
Conditional statements
and their truth tables
p → q
p is called the antecedent
¬(¬p)
1. (p ∨ (p ∧ q)and p
EXERCISES
Exercises
Logical Equivalence:
Either you are not a billionaire or I am not crazy.
¬(p ∧ q) is logically equivalent to ¬(p)∨¬q.
Conditional statement:
If something is a picture, then it tells a
story.
2. You can believe it if you see it
on the internet.
2. You can believe it if you see it on
the internet.
Conditional Statement:
If you see it on the internet, then you can
believe it.
Related Conditionals
Three important forms of conditional
statements related to p → q.
Converse
Inverse
Contrapositive
Conditional Statement:
1. If you stay, then I leave.
p= you stay
q= I leave.
symbolic form of the conditional
statement p → q.
The Converse
1. If you stay, then I leave.
The converse statement is obtained by
interchanging antecedent and consequent.
In symbols, the converse is simply
q → p.
The Inverse
The inverse statement is obtained by
negating the antecedent and the
consequent.
In symbols,the contrapositive is
(¬q)→¬p.
EXERCISES1. For each of the statements
written below:
1.If I live in Miami, then I live in Florida;
(a) Write it in symbolic form, identifying the
antecendent p and the consequent q.
(b) Write its converse, first in symbols, then in
English.
(c) Write its inverse, first in symbols, then in
English.
(d) Write its contrapositive, first in symbols, then
in English
1. If I live in Miami, then I live in Florida.
(¬p)→¬q
The CONTRAPOSITIVE
(¬q)→¬p
2. If you do not agree, then the deal will fall
apart.
antecedent p=You do not agree,
consequent q=The deal will fall apart.
p → q.
Converse : If the deal will fall apart, then, you do not agree.
Inverse : If you do agree, then , the deal will not fall apart.
Contrapositive: If the deal will not fall apart, then you do
agree
3.It will bloom, if we water it;
RELATED CONDITIONALS
Logical equivalence of related conditionals
Correct negations:
¬P =None of us has headaches,
¬p =All of us do not have headaches.
NOTES: