Professional Documents
Culture Documents
World
Lesson II:
Logic and Sets
Propositions
p q p^q
T T T
T F F
F T F
F F F
Disjunction
The disjunction of the propositions p and q is the compound statement “p or
q” denoted as p v q which is false only when both p and q are false.
Otherwise , it is true.
p q pvq
T T T
T F T
F T T
F F F
Negation
The negation of a statement p is denoted by ¬ p where ¬ is the symbol for
not .The truth value of the negation is always the reverse of the truth value
of the original statement
p ¬p
T F
F T
Implication
The implication of the propositions p and q is the compound statement “if p,
then q” denoted as p ՜ q which is false only when both p is true and q is
false
p q p՜q
T T T
T F F
F T T
F F T
Negation
The bi-conditional of the propositions p and q is the compound statement “p
if and only if q” denoted as p՞ q which is true only when both p and q have
the same truth values
p q
p՞ q
T T T
T F F
F T F
F F T
Construct the truth table for each
of the following statement
➢ ¬p v ¬q
p q ¬p ¬q ¬p v ¬q
T T F F F
T F F T T
F F T T T
F T T F T
Construct the truth table for each
of the following statement
(¬p ^ q) v (p ^ ¬ q)
p q ¬p ¬q ¬p ^q p ^¬q (¬p ^ q) v (p ^ ¬ q)
T T F F F F F
T F F T F T T
F F T T F F F
F T T F T F T
Construct the truth table for each
of the following statement
(p ՜ q) ՜ (p ^ q)
p q p՜q p^q (p ՜ q) ՜ (p ^ q)
T T
T F
F F
F T
Construct the truth table for
each of the following statement
[(p v ¬q) ^¬r]^ ¬(pvq)
Construct the truth table for each
of the following statement
(p՞ q) ՜ (¬p՞q)
p q ¬p
p՞ q ¬p՞q (p՞ q) ՜ (¬p՞q)
T T
T F
F F
F T
Set
➢A set is a collection of well-defined
objects.
➢ The individual objects in a set are called
the members or elements and is denoted
by ∈.
➢ A set is well-defined if it is possible to
decide whether an object belongs to a
given set or not.
Two Ways of Describing a Set
There are two ways of describing a set,
namely: the tabular or roster method and
the rule method.