Logic
Logic
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
TYPES OF CONNECTIVES
I. Negation
•Given any statement p, another statement, called the negation
of p, can be formed by writing “It is false that..” before p or, if
possible, by inserting in p the word “not”. Symbolically, the
negation of p is denoted by ~p. The common terms used for
negation are: it is not the case that, no, never, none, nowhere, no
one, no means.
•Examples:
•Consider the proposition: p: Pampanga is located in Region III.
• Its negation will be:
1.~p : It is false that Pampanga is located in Region III.
2.~p : Pampanga is not located in Region III.
TYPES OF CONNECTIVES
I. Negation
• The truth value of the negation of a statement satisfies the following
property:
• If p is true, then ~p is false; if p is false then ~p is true.
• In other words, the truth value of the negation of a statement is always the
opposite of the truth value of the original statement.
p p
T F
F T
TYPES OF CONNECTIVES
II. Conjunction
•Any two statements can be combined by the word “and” to form a
composite statement which is called the conjunction of the original
statements. Symbolically, the conjunction of the two statements p and
q is denoted by p Ù q. The common terms used for conjunction are:
but, still, while, yet, whereas, albeit, despite, although, however,
nonetheless, nevertheless, moreover, in spite of, and furthermore.
•Examples:
Let p be “It is raining.”, and q be “The sun is shining”.
Then p Ù q denotes the statement “It is raining, and the sun is shining”.
TYPES OF CONNECTIVES
II. Conjunction
• The truth value of the composite statement p q satisfies the following
property:
• Examples:
1.Let p be “He enrolled Math I”, and let q be “He dropped Math II”.
• Then p q is the statement “He enrolled Math I or he dropped
Math II”.
• p q : He enrolled Math I and he dropped Math II.
TYPES OF CONNECTIVES
III. Disjunction
• The truth value of the composite statement p q satisfies the
following property:
• If p is true or q is true or both p and q are true, then p q is true;
otherwise, p q is false.
p q pq
T T T
T F T
F T T
F F F
TYPES OF CONNECTIVES
•
IV. Conditional
• Many statements, especially in mathematics, are of the form “if p then q”.
Such statements are called conditional statements and are denoted by p
q. The conditional p q can also be read “p implies q”.
IV. Conditional
• The truth value of the conditional of a statement satisfies the
following property:
• The conditional p q is true unless p is true, and q is false.
p q p q
T T T
T F F
F T T
F F T
TYPES OF CONNECTIVES
• v. Biconditional
• Another common statement is of the form “p if and only if q” or,
simply, “p iff q”. Such statements are called biconditional
statements and are denoted by p q.
• Examples: Consider the following statements:
Pampanga is in Region III iff 2 + 2 = 5. False
• T F
Pampanga is in NCR iff 2 + 2 = 4. False
• FT
Pampanga is in Region III iff 2 + 2 = 4. True
• TT
Pampanga is in NCR iff 2 + 2 = 5. True
• FF
TYPES OF CONNECTIVES
• v. Biconditional
• The truth value of the biconditional of a statement satisfies the following
property:
• If p and q have the same truth value, then p q is true; if p and q have opposite
truth values, then p q is false.
p q p q
T T T
T F F
F T F
F F T
TYPES OF CONNECTIVES
• The proper use of parenthesis, bracket or braces as grouping
marks:
1.The parenthesis is used whenever the word “both” goes with “and”,
and “either” goes with “or”. The representations of the following
phrases are:
Both P or Q and R:(P Ú Q) Ù R
P or both Q and R:P Ú (Q Ù R)
Either P and Q or R:(P Ù Q) Ú R
P and either Q or R:P Ù (Q Ú R)
TYPES OF CONNECTIVES
• The proper use of parenthesis, bracket or braces as grouping
marks:
2. The parentheses are used to indicate which simple propositions are
grouped together.
Symbolic form The Parentheses indicated
that:
P (q r) Q and r are grouped together
(p q) r P and q are grouped together
(p q) (r s) P and q are grouped together
R and s are grouped together
TYPES OF CONNECTIVES
• The proper use of parenthesis, bracket or braces as grouping marks:
3. If the compound proposition is written in English sentence, then a comma is used to indicate which
simple proposition are grouped together. Statements on the same side of a comma are grouped together