5th - Ed - Sect - 2pt1 - Logical - Form - and Equivalence
5th - Ed - Sect - 2pt1 - Logical - Form - and Equivalence
Lecture notes prepared by Dr.Leslie Meadows based on the text: Discrete Mathematics with Applications, 5th ed., Susanna Epp, Brooks/ Cole,
Cengage Learning
Statements
Definition
A statement (or proposition) is a sentence that is true or false but not both.
negation (~)
• “~” denotes not
~p is read “not p”
conjunction ( ∧ )
• “ ∧ ” denotes and
p ∧ q is read “p and q”
disjunction ( ∨ )
• “ ∨ ” denotes or
p ∨ q is read “p or q”
Example: These concepts look difficult but they are easy to understand.
Negation
If p is a statement variable, the negation of p is “not p” or “It is not the case that p “
and is denoted ~p.
It has the opposite truth value from p:
• if p is true, ~p is false;
• if p is false; ~p is true.
p ~p
Conjunction
If p and q are statement variables, the conjunction of p and q is “p and q” or denoted
p ∧ q . It is true when, and only when, both p and q are true.
p ∧ q is false:
• if either p or q is false, or
• both are false
Truth Table for p ∧ q :
p q p∧q
Disjunction
If p and q are statement variables, the disjunction of p and q is “ p or q“ or denoted
p ∨ q . It is true when, either p is true, or q is true, or both p and q are true.
It is false only when both p and q are false.
Definition
A statement form (or proposition form) is an expression made up of statement
variables (such as p, q and r) and logical connectives (such as ~, ∧ and ∨ ) that
becomes a statement when actual statements are substituted for the component statement
variables. The truth table for a given statement form displays the truth values that
correspond to all possible combinations of truth values for its component statement
variables
Definition
Two statement forms are called logically equivalent if and only if they have identical truth values for
each possible substitution of statements for their statement variables.The logical equivalence of
statement forms P and Q is denoted by writing P ≡ Q .
Two statement are called logically equivalent if, and only if, they have logically equivalent forms when
identical component statement variables are used to replace identical component statements.
Exercise 22:
Determine if the following statement forms are logically equivalent: p ∧ (q ∨ r ) and ( p ∧ q ) ∨ ( p ∧ r )
Exercise 17:
Determine if the following statement forms are logically equivalent: ~ ( p ∧ q ) and ~ p ∧ ~ q
De Morgan’s Laws
The negation of an and statement is logically equivalent to the or statement in which each
component is negated.
The negation of an or statement is logically equivalent to the and statement in which each
component is negated.
De Morgan’s laws: ~ ( p ∧ q) ≡~ p∨ ~ q ~ ( p ∨ q) ≡~ p ∧ ~ q
Exercise 26:
Use De Morgan’s Laws to write the negation for the following statement : Sam is an orange belt and
Kate is a red belt.
Definition
A tautology is a statement form that is always true regardless of the truth values of the
individual statements substituted for its statement variables. A statement whose form is a
tautology is a tautological statement.
A contradiction is a statement form that is always false regardless of the truth values of
the individual statements substituted for its statement variables. A statement whose form is
a contradiction is a contradictory statement.
Exercise 43: Use a truth table to establish whether the statement form is a tautology or a contradiction:
(~ p ∨ q ) ∨ ( p ∧ ~ q )
Hint: You wrote the truth table at your desk for an earlier exercise.
Exercise 54 (p.38): Use Theorem 2.1.1 to verify the following logical equivalence. Supply a reason for
each step.
( p ∧ (~ (~ p ∨ q ))) ∨ ( p ∧ q ) ≡ p