Professional Documents
Culture Documents
Pooja B
September 1, 2017
3 Open Sentences:
4 Quantifiers
Negation of a quantified statement
5 Rules of Inference:
6 Methods of Proof:
Proposition
A declarative sentence, which is either true or false, but not both, is called a statement
or a proposition.
Truth Value
The truthfulness or falsity of a statement is called its truth value.
Note
1 Any proposition is either true or false. The truthfulness or falsity of a proposition
must be universally accepted under any given context.
2 Questions, exclamations and opinions are not propositions.
3 The propositions are denoted using letters like p, q, . . . .
4 If a proposition p is true, then its truth value is denoted as T and if it is false, its
truth value is denoted as F.
Example
1 The sun rises in the east. Its truth value is T.
2 8 is greater than 12. Its truth value is F.
3 13 is divisible by 9. Its truth value is F.
Non-example
1 May I come in?
2 Will you please lend me your pen?
3 Wish you good luck in the exam.
Logical connectives
Two or more propositions can be connected using words like ’and’, ’or’, ’if...then’, ’if
and only if’ etc. They are called logical connectives.
Compound statement
A proposition which contains one or more logical connectives is called a compound
statement. The individual sentences are called components.
Example
The sun rises in the east and sets in the west. Here the logical connective is ’and’, and
the components are ’the sun rises in the east’ and ’the sun sets in the west’.
Note
The truth value of a compound statement, depends on the truth value of its
components. For different combinations of truth values of the components, the
compound sentence has different possibilities of truth values.
Simple statement
A proposition which is not a compound statement is called a simple statement.
Conjunction
A compound statement with two components connected by the logical connective ’and’,
is called a conjunction. It is denoted as p ∧ q. The components p and q are called
conjuncts.
p q p∧q
T T T
T F F
F T F
F F F
Note
A conjunction is true only when both the conjuncts are true, and is false for every other
case.
Disjunction
A compound statement with two components connected by the logical connective ’or’, is
called a disjunction. It is denoted as p ∨ q. The components p and q are called disjuncts.
p q p∨q
T T T
T F T
F T T
F F F
Note
A disjunction is false only when both the disjuncts are false, and is true for every other
case.
Negation
If p is a proposition, then the proposition, ’not p’ is called the negation of p, and it is
denoted by ∼ p.
p ∼p
T T
T F
Note
The truth value of the negation of a proposition, is the opposite of the truth value of
the proposition.
p q p⇒q
T T T
T F F
F T T
F F T
Note
1 The truth value of a conditional statement is false only when the antecedent is
true, but the consequent is false. For every other case, the truth value is true.
2 We say that p is the sufficient condition and q is the necessary condition.
p q p⇔q
T T T
T F F
F T F
F F T
Note
1 The truth value of a biconditional proposition is true when both the components
have the same truth value, and false when both the components have different
truth value.
2 The bicondition statement p ⇔ q can be broken down into two conditional
statements as (p ⇒ q) ∧ (q ⇒ p)
Tautology
A compound proposition is called a tautology if its truth value is true for all possible
combinations of the truth values of its components.
Contradiction
A compound proposition is called a contradiction if its truth value is false for all possible
combinations of the truth values of its components.
Logical Equivalence
Two compound propositions involving same components is said to be logically
equivalent if their truth values are same for each different combinations of the truth
values of their components involved in them.
1 Idempotent laws: 1 p ∧ (q ∨ r ) ≡ (p ∧ q) ∨ (p ∧ r )
1 p∨p ≡p 2 p ∨ (q ∧ r ) ≡ (p ∨ q) ∧ (p ∨ r )
2 p∧p ≡p 5 De’Morgan’s laws:
2 Commutative laws: 1 ∼ (p ∨ q) ≡∼ p ∧ ∼ q
1 p∨q ≡q∨p 2 ∼ (p ∧ q) ≡∼ p ∨ ∼ q
2 p∧q ≡q∧p 6 Law of double negation:
3 Associative laws: ∼ (∼ p) ≡ p
1 p ∨ (q ∨ r ) ≡ (p ∨ q) ∨ r 7 ∼ (p ⇒ q) ≡ p∧ ∼ q
2 p ∧ (q ∧ r ) ≡ (p ∧ q) ∧ r 8 p ⇒ q ≡∼ p ∨ q
4 Distributive laws: 9 p ⇒ (q ∧ r ) ≡ (p ⇒ q) ∧ (p ⇒ r )
Open Sentence
A sentence p depending on a variable x, denoted as p(x), is called an open sentence, on
a set S, if p(a) is a proposition for every a ∈ S. The set S is called the replacement set
of the open sentence.
Example
1 p(x) : x + 3 > 8, with R[p(x)] = Z. Here for x = 1, 2, 3, 4, 5, p(x) is false, and for
x = 6, 7, 8, . . . , p(x) is true. Hence p(x) is an open sentence.
2 p(x) : x + 3 > 8, with R[p(x)] = C. Since two complex numbers cannot be
compared, p(x) not a proposition for any x. Hence p(x) is not an open sentence.
True set
The elements of the replacement set, R[p(x)] of an open sentence p(x), for which the
proposition is true, is called a true set of p(x). It is denoted as
T [p(x)] = {a ∈ R[p(x)] : p(a) is true}.
Problem:
Find the truth set of the open sentence p(x) :
Quantifiers
Sentences which give an idea of quantity, are called quantifiers.
Example
Universal Quantifier
The phrases ’for all’, ’for every’, ’for each’, ’for any’, are called Universal quantifiers. It
is denoted by the symbol ∀. A sentence with a universal quantifier is written as ∀x; p(x),
and is read as for all x, such that p(x).
Existential Quantifier
The phrases ’for some’, ’there exists one’, ’there exists atleast one’, are called Existential
quantifiers. It is denoted by the symbol ∃. A sentence with an existential quantifier is
written as ∃x; p(x), and is read as there exists x, such that p(x).
Proof
A proof is an argument which shows that the statement p ⇒ q is logically true.
Rules of Inference
To prove a statement, we use certain properties of logic and propositions, and
they are called rules of inference.