Chapter 2
Chapter 2
Chapter 2
Logic, Part I: The Propositional
Calculus
Definition 1
A statement, or proposition, is a declarative sentence
that is either true or false, but is not both true and false.
The designation T(true) or F(false), one and only one
of which is assignable to any given statement, is called
the truth value of that statement.
Logic, Part I: The Propositional Calculus
Basic Concepts of the Propositional Calculus
Example 1
The following are statements:
1 The moon is made of green cheese.
π 2 2π
2 (e ) = e .
3 6 is a prime number.
Example 2
The following are not statements:
π 2 2π
1 Is (e ) equal to e ?
5 x > 5.
Logic, Part I: The Propositional Calculus
Basic Concepts of the Propositional Calculus
Definition 2
Given statements p and q, we define three statements
formed from p and q
(a) The negation (or denial) of p, denoted by ∼ p and
read ”not p”, is true precisely when p is false.
(b) The conjunction of p and q, denoted by p ∧ q and read
”p and q”, is true precisely when p and q are both true.
(c) The disjunction of p and q, denoted by p ∨ q and read
”p or q”, is true when one or the other or both of the
statements p and q is (or are) true.
Logic, Part I: The Propositional Calculus
Basic Concepts of the Propositional Calculus
Example 3
Determine inder what truth conditionsR that statement form
π
for the compound statement ” Either −π sinxdx 6= 0 and
R π
d/dx (2x ) = x2x−1 or −π sinxdx = 0 and ln6 = (ln2) (ln3)”
is true. Is the statement itself true or false?
Logic, Part I: The Propositional Calculus
Basic Concepts of the Propositional Calculus
p q r ∼p ∼p∧q p∧r (∼ p ∧ q) ∨ (p ∧ r)
T T T F F T T
T F T F F T T
F T T T T F T
F F T T F F F
T T F F F F F
T F F F F F F
F T F T T F T
F F F T F F F
Definition 3
A statement form that is true under all possible truth
conditions for its components is called a tautology. A
statement form that is false under all possible truth
conditions for its components is called a contradiction.
Logic, Part I: The Propositional Calculus
Tautology, Equivalence, the Conditional, and Biconditional
Example 4
Show that the statement forms p ∨ ∼ p and p ∧ ∼ p are,
respectively, a tautology and a contradiction.
Solution.
p ∼p p∨∼p p∧∼p
T F T F
F T T F
Definition 4
Two compound statement forms that have the same truth
values as each other under all possible truth conditions for
their components are said to be logically equivalent.
Logic, Part I: The Propositional Calculus
Tautology, Equivalence, the Conditional, and Biconditional
Example 5
Show that the statement forms ∼ (p ∨ q) and ∼ p∧ ∼ q are
logically equivalent.
Solution.
p q p ∨q ∼p ∼q ∼p∧∼q ∼ (p ∨ q)
T T T F F F F
T F T F T F F
F T T T F F F
F F F T T T T
Definition 5
Given statements p and q, we define:
(a) The statement p implies q, denoted p → q, also read
”if p, then q” ,is true except in the case where p is true
and q is false. Such a statement is called a
conditional; the component statements p and q are
called the premise and conclusion, respectively.
(b) The statement p if and only if q, denoted p ↔ q, also
written ”p iff q”, is true precisely in the cases where p
and q are both true or p and q are both false. Such a
statement is called a biconditional.
Logic, Part I: The Propositional Calculus
Tautology, Equivalence, the Conditional, and Biconditional
p q p→q p↔q
T T T T
T F F F
F T T F
F F T T
Example 6
Examples of conditionals:
1 If I finish my work, I go out on the town.
Example 7
Examples of biconditionals:
1 3 is odd if and only if 4 is even.
Exercises 1
Construct a truth table for each of the following statement
forms. Label each a tautology or contradiction.
1 (p ∧ q) → p
2 (p ∨ q) → (p ∧ q)
3 p ↔∼ p
4 {[(p ∧ q) → r] → (p → r)} ↔ (p → q)
Logic, Part I: The Propositional Calculus
Tautology, Equivalence, the Conditional, and Biconditional
THANK YOU!!!