ACTIVITY 2 Logic and Proofs
ACTIVITY 2 Logic and Proofs
ACTIVITY 2 Logic and Proofs
Definition 1:
Let p be a proposition. The negation of p, denoted by ¬p (also denoted by ̅p), is the statement “It
is not the case that p.”
The proposition ¬p is read “NOT ̅p”. The truth value of the negation of p, ¬p, is the opposite of the truth value
of p.
TABLE 1:
𝒑 ̅𝒑
T F
F T
Definition 2:
Let p and q be propositions. The conjunction of p and q, denoted by p ∧ q, is the proposition “p AND q”. The
conjunction p ∧ q is true when both p and q are true and is false otherwise.
TABLE 2:
𝒑 q 𝒑∧𝒒
T T T
T F F
F T F
F F F
Definition 3:
Page 1 of 4
Let p and q be propositions. The disjunction of p and q, denoted by p ∨ q, is the proposition “p OR q”.
The disjunction p ∨ q is false when both p and q are false and is true otherwise.
TABLE 3:
𝒑 q 𝒑∨𝒒
T T T
T F T
F T T
F F F
Definition 4:
Let p and q be propositions. The exclusive or of p and q, denoted by p ⨁ q, is the proposition that is true when
exactly one of p and q is true and is false otherwise.
TABLE 4:
𝒑 q 𝒑⊕𝒒
T T F
T F T
F T T
F F F
Definition 5:
Let p and q be propositions. The conditional statement p → q is the proposition “if p, then q.” The conditional
statement p → q is false when p is true and q is false, and true otherwise. In the conditional statement p → q, p
is called the hypothesis (or antecedent or premise) and q is called the conclusion (or consequence).
TABLE 5:
The Truth Table for the Conditional Statement p
→ q.
𝒑 q 𝒑→𝒒
T T T
T F F
F T T
F F T
Definition 6:
Let p and q be propositions. The biconditional statement p ↔ q is the proposition “p if and only if q”. The
biconditional statement p ↔ q is true when p and q have the same truth values, and is false otherwise.
Biconditional statements are also called bi-implications.
TABLE 6:
Page 2 of 4
The Truth Table for the Biconditional p ↔ q.
𝒑 q 𝒑↔𝒒
T T T
T F F
F T F
F F T
Compound Proposition
A compound proposition is a proposition that involves the assembly of multiple statements.
Familiarization of the functions or the truth table of every propositions is very important because this will allow
to use it effectively.
Ex:
Construct the Truth Table of the following compound proposition:
1) → 𝑞̅
𝒑 𝒒 𝒒 𝒑→𝒒
T T F F
T F T T
F T F T
F F T T
2) ↔ 𝑞̅
𝒑 𝒒 𝒑 𝒑 ↔𝒒
T T F F
T F F T
F T T T
F F T F
3) (𝑝 → 𝑞̅ 𝑝 → 𝑞̅)
𝒑 𝒒 𝒑 (𝒑 → 𝒒) (𝒑 → 𝒒)
T T F T T T
T F F F T T
F T T T T T
F F T T F T
Page 3 of 4
4) (𝑝 → 𝑞̅ 𝑝 → 𝑞̅)
𝒑 𝒒 𝒑 (𝒑 → 𝒒) (𝒑 → 𝒒)
T T F T T T
T F F F T F
F T T T T T
F F T T F F
5) (𝑝 ↔ 𝑞̅ 𝑝 ↔ 𝑞̅)
𝒑 𝒒 𝒑 (𝒑 ↔ 𝒒) (𝒑 ↔ 𝒒) (𝒑 ↔ 𝒒 𝒑 ↔ 𝒒)
T T F F T T
T F F T F T
F T T T F T
F F T F T T
Page 4 of 4