Section - 1
Statement
We communicate our ideas or thoughts with the help of sentences in particular languages.
Note :
(ii) Optative Sentence : A sentence that expresses a wish is called an interrogative sentence.
Example : 1. God bless you.
p
T
F
p
T
T
F
F
q
T
F
T
F
Compound Statement
A statement which is formed by combining two or more simple statements is called a compound
statement.
Example : (1)
(2)
Section - 2
Basic Logical Connectives or Logical Operators
Connectives : The words and, but, not, either... or, neither...nor, if ...then, ...if and only if
... etc. are called connectives.
(a)
Conjunction :
If two simple statements are connected by the word and, then the compound statement is called the
conjunction of the statements. We use symbol to denote the conjunction.
Example : Let p and q be two given statements.
p : 5 is an integer
q : Sun is shining
p q : 5 is an integer and sun is shining.
The truth value of the conjunction p q.
1. The statement p q has the truth value T whenever both p and q have the truth value T..
2. The statement p q has the truth value F whenever either p or q or both have the truth value F..
Table :
p
q
T
T
T
F
F
T
F
F
(b)
p q
T
F
F
F
Disjunction or Alternation :
Two simple statements can be connected by the word or to form a compound statement, called the
disjunction of the original statements. We use symbol to denote disjunction.
If p and q are two statements the p q is disjunction and it read as p or q.
The truth value of the disjunction p q
1. The statement p q has truth value T whenever either p or q or both have the truth value T..
2. The statement p q has truth value F whenever both p and q have the truth value F..
Example : Let p and q are two statements.
p : Three plus two is five.
q : Two is a even number.
p q : Three plus two is five or two is a even number..
Truth Table :
p
T
T
F
F
q
T
F
T
F
p q
T
T
T
F
(c)
Negation :
The negation of a statement is generally formed by introducing the word no at some suitable place
in the statement or by prefixing the statement with it is not the case that or it is false that and denoted
by ~ p
Example : 1. p : Ram is fat.
p
T
F
(d)
p
F
T
Some properties :
1. Prove that ~ ( ~ p) = p
Proof : Truth table :
p
T
F
p
F
T
(p)
T
F
p
T
T
F
F
q
T
F
T
F
p
F
F
T
T
q
F
T
F
T
pq
q
F
T
F
T
pq
T
F
F
F
(p q)
F
T
T
T
p q
F
T
T
T
(p q)
F
F
F
T
p q
F
F
F
T
p
T
T
F
F
q
T
F
T
F
p
F
F
T
T
T
T
T
F
4. Prove that (p q) r p (q r)
Proof : Truth table :
p
T
T
T
T
F
F
F
F
q
T
F
T
F
T
F
T
F
r
T
T
F
F
T
T
F
F
pq
T
F
T
F
F
F
F
F
qr
(p q) r
p (q r)
T
F
F
F
T
F
F
F
T
F
F
F
F
F
F
F
T
F
F
F
F
F
F
F
q : Sun is a star
r : Roses are yellow
3
s : cos 30
2
State the truth values of the following :
(i) p q, p r, p s,q r,q s, r s
(ii) p q, p r, p s,q r,q s, r s
(iii) ~ (p s) , ~ (p r)
(iv) p r, r s,q s
SOLUTION:
Section - 3
Conditional and Biconditional Statements
(a)
Conditional Statement :
If p and q are two statements, then statement of the form if p then q is called the conditional statement
and it is denoted by p q and is read as p implies q.
T
T
F
F
(b)
T
F
T
F
T
F
T
T
T
T
F
T
Contrapositive :
If p and q are true statements, then the contrapositive of the implication
p q (~ q) (~ p)
Proof : For any two statements p and q, let us consider the truth tables of the statements p q and
~ q ~ p as given below
Note : The statement p q has the truth value F only when the truth value of p has T and truth value
of q has F.
Truth Table :
p
T
T
F
F
(c)
q
T
F
T
F
pq
T
F
T
T
Some properties :
1. Prove that p q ~ p q
Proof : truth table
p
T
T
F
F
q
T
F
T
F
~p
pq
~ pq
F
F
T
T
T
F
T
T
T
F
T
T
Illustration-2
SOLUTION:
Let p : x is non-zero
q : x is four
~ p : x is not non-zero
~ q : x is not four
~ q ~ p : If x is not four, then x is not non-zero
Converse : If p and q are two statements then the converse of p q is q p . But
pqqp
(d)
Biconditional Statements :
If p and q are two statements, then statement of the form p if and only if q is called the biconditional
statement and it is denoted by p q
It means :
(i) p is a necessary and sufficient condition for q
(ii) q is a necessary and sufficient condition of p
(iii) If p then q and if q then p
(iv) q if and only if p.
Note : 1.
p q is true if both p and q have the same truth value i.e., if either both p and q
aare true or both are false.
p q is false if p and q have opposite truth values.
2.
p
T
F
T
F
(e)
pq
q
T
T
F
F
T
F
F
T
Some properties :
1.
Prove that (p q) r p (q r)
Proof : Truth table :
p
T
T
T
T
F
F
F
F
q
T
F
T
F
T
F
T
F
r
T
T
F
F
T
T
F
F
pq
qr
(p q) r
p (q r)
T
F
T
F
F
T
F
T
T
F
F
T
T
F
F
T
T
F
F
T
F
T
T
F
T
F
F
T
F
T
T
F
Illustration-3
SOLUTION:
(a) A triangle is isosceles if and only if its two sides are same.
(b) A number is divisible by 3 if and only if the sum of the digits forming the number is divisible
by 3.
(a)
Tautologies :
This is a statement which is always true of all truth values of its components.
Illustration-4.
Consider p ~ p
SOLUTION:
Truth table :
p
T
F
~p
p ~ p
F
T
T
T
Fallacy (contradiction) :
This is a statement which is always false for all truth values of its components.
Illustration-5
Consider p ~ p
SOLUTION:
Truth table :
p
T
F
~p
p ~ p
F
T
F
F
(2)
Check the last column of truth table. If the last column contains T only then the given arguments
is valid. Otherwise, it is an invalid argument.
Illustration-6
Consider p ~ p
SOLUTION:
Truth table :
p
T
T
F
F
q
T
F
T
F
pq
~ (p q)
p ~ (p q)
T
F
F
F
F
T
T
T
T
T
T
T
( p q ) ( p q ) is
(A) tautology
(C) tautology and contradiction
SOLUTION:
(B) a contradiction
(D) neither a tautology nor a contradiction
(B)
p q
p q
(p q) ( p q)
As we see from the last column of truth table all entries are F.
Illustration-8
SOLUTION:
(B) tautology
(D) None of the above
(B)
p q
q p
(p q) ( q q)
Duality
Two compound statements S1 and S2 are said to be duals of each other if one can be obtained from
the other by replacing by and by .
The connectives and are also called duals of each other..
Duality Symbol :
Let S(p,q) p q be a compound statement.
then S* (p,q) p q , where S* (p,q) is the dual statement of S(p, q)
Its dual = p q
i.e., Ram or Shyam cannot read English.
Algebra of Statements
Statements satisfy many laws some of which are given below :
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(ii) p t p
(iii) p c p
(iv) p c c
(ii) p (~ p) c
(iii) ~ t c
(iv) ~ c t
of a Venn diagram.
SOLUTION:
Let Q denotes the set of all rational numbers and R denote the set of all real numbers.
U
Q
SOLVED EXAMPLES
Q1. Which of the following are statements?
(i) The earth is round (ii) 7 + 5 < 9
(iii) Is 5 a positive integer?
(iv) Come here, Rahul!
(v) Study logic
(vi) 6 + x = 0
(vii) It is raining here (viii) Sonu is a kind boy.
Sol. (i) It is a declarative sentence, which is clearly true.
Therefore, it is a true statement.
(ii) It is a declarative sentence, which is clearly false.
Therefore, it is a false statement.
(iii) It is an interrogative sentence and therefore, it
is not a statement.
(iv) It is an imperative sentence and therefore, it is
not a statement.
(v) it is an imperative sentence and therefore, it is
not a statement.
(vi) Without knowing the value of x, we do not
know whether the given sentence is true or false.
So, it is a sentence but not a statement.
(vii) The word here is ambiguous. So it is not a
statement.
(viii) He may be kind to one but not to others.
So, it is not a statement.
Q2. Which of the following are statements ?
(i) Sheela is a beautiful girl
(ii) Rohit is inside his house
(iii) Reenu is doing her homework
(iv) There will be snowfall in Shimla in December.
A
BorB
A ,or ABandB A
andAB.
IN-CHAPTER EXERCISE
1.
(ii)
3.
(ii)
14 divides 27
*7.
(iv) 7 > 3
8.
(ii)
(ii)
pq
pq
(iii) p ~ q
(iii) tan(315) 1
(i)
*9.
(ii)
~ p (q ~ r)
(i)
| z1z 2 || z1 || z 2 |
(ii)
~pq
(iv) ~ p ~ q
pq
(iii) ~ p q
(ii)
p ~ q
(iv) ~ (~ p ~ q)
~pq
(ii)
~ p ~ q
(iii) ~ p q
(iv) ~ p q
p ~ q
(vi) p ~ q
(viii) ~ p ~ q
(v)
(vii) ~ p ~ q
5.
(ii)
(i)
4.
(2 4 6) (2 3 6)
(i)
(i)
(i)
(p q) p is a tautology
(ii)
p (p q) is a tautology
(i)
(i)
(p q) ~ (p q) is a fallacy
(ii)
(ii)
(p q) (~ p ~ q) is a fallacy
*14.
Show that :
18.
(i) (p q) (~ p q) is a tautology
(ii) ~ (p q) (~ p ~ q) is a tautology
*15.
Show that : p q (p q) (q p)
*16.
Show
that
~ (p q) (~ p) q p ~ q
*17.
19.
20.
(ii) [(p q) ~ r] (p t)
OBJECTIVE WORKSHEET
1.
2.
3.
4.
*5.
2 + 3 = 5 and 8 10
(C)
(D)
2 + 3 5 or 8 10
None of these
The conditional ( p q ) p is
6.
7.
(A)
A tautology
(B)
A fallacy i.e., contradiction
(C)
Neither tautology nor fallacy
(D)
None of these
Which of the following is logically equivalent
to ~ (~ p q )
(A)
pq
(B)
p ~ q
(C)
~ pq
(D)
~ p~q
(B)
(D)
~ p~q
p~q
~ ( p q ) is equal to
(A)
(C)
8.
9.
10.
~ p~q
~ pq
(~ (~ p )) q is equal to
(A)
~ pq
(B)
pq
(C)
p~q
(D)
~ p~q
~ ((~ p) q) is equal to
(A)
p (~ q )
(B)
pq
(C)
p (~ q )
(D)
~ p~q
p~q
~ q ~ p
(D)
None of these
(B)
~ pq
*11. ~ ( p q ) ~ p ~ q is
(A)
(B)
(C)
(D)
(C)
A tautology
A contradiction
Neither a tautology nor a contradiction
Cannot come to any conclusion
*12. ( p ~ q ) (~ p q ) is
(A)
A contradiction
(B)
A tautology
(C)
Either (A) or (B)
(D)
Neither (A) nor (B)
*13. The negation of the compound proposition
p (~ p q ) is
(A)
( p ~ q) ~ p
(B)
( p ~ q) ~ p
(C)
( p ~ q) ~ p
15.
(A)
pq~ p~q
(B)
~ ( p ~ q) ~ p q
(C)
~ (~ p ~ q ) ~ p q
16.
17.
(B)
P
T
(C)
U
(D)
None of these
*19. Which Venn diagram represents the truth of the
statement
Some teenagers are not dreamers
~ ( p q ) [~ ( p q) ~ ( q p)]
~ ( p q ) (~ p q ) is logically equivalent to
(A)
(C)
(D)
None of these
*14. Which of the following is true
(D)
(A)
~p
q
(B)
(D)
~r~ pq
(B)
~ pq~r
(C)
r p~q
(D)
None of these
Let p be the proposition : Mathematics is an
interesting and let q be the proposition that
Mathematics is difficult, then the symbol p q
means
(A)
Mathematics is interesting implies that
Mathematics is difficult
(B)
Mathematics is interesting implies and
is implied by Mathematics is difficult
p
~q
(A)
(B)
U
(C)
U
(D)
20.
None of these
The negative of q ~ ( p r ) is
(A)
~ q ~ ( p r)
(B)
~ q ( p r)
(C)
~ q ( p r)
(D)
None of these
(B)
( p q ) (~ q ~ p ) is a
contradiction
(A)
Tautology and contradiction
(B)
Neither tautology nor contradiction
(C)
Contradiction
(D)
Tautology
Which of the following is always true
(C)
~ (~ p ) p is a tautology
(D)
p (~ p ) is a tautology
22.
23.
(A)
( p q) ~ q ~ p
(B)
~ ( p q) p ~ q
(C)
~ ( p q) p ~ q
(D)
~ ( p q) ~ p ~ q
(A)
(B)
The contrapositive of ( p q ) r is
(A)
r ( p q)
(B)
~ r ( p q)
(C)
~r~ p~q
(D)
p (q r )
( p q) ( p q)
(B)
( p q) (q p)
(C)
( p q) (q p)
(D)
( p q) (q p)
p (~ p ) is a contradiction
(C)
(D)
3 is a prime
2 is irrational
Mathematics is interesting
5 is an even integer
*29. ( p ~ q ) (~ p q ) is
30.
31.
(A)
(B)
(C)
(D)
~ pq
A tautology
A contradiction
Both a tautology and a contradiction
Neither a tautology nor a contradiction
is logically equivalent to
(A)
pq
(B)
q p
(C)
~ ( p q)
(D)
~ (q p)
(i)
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
17.
18.
True
(ii)
p
T
T
T
F
T
F
F
F
False
(iii)
q
T
T
F
T
F
T
F
F
False
r
T
F
T
T
F
F
T
F
p
T
T
F
T
p
T
T
T
F
T
F
F
F
q
T
F
T
F
q
T
T
F
T
F
T
F
F
(i)
F
T
T
F
r
T
F
T
T
F
F
T
F
(iv)
(i)
T
F
T
T
T
F
T
F
False
(v)
(ii)
F
T
F
T
F
T
T
F
(iii)
F
T
F
F
T
T
T
T
(ii)
T
F
F
T
(p q) r
T
F
T
T
F
F
F
T
(ii)
20. Valid
True
[(p q) ~ r] (p t)
(iv)
F
F
T
T
F
F
T
F
pq
( p q) p
( p q ) p is a tautology..
6.(D) Since ~ ( p q ) p ~ q
~ (~ p q ) ~ p ~ q
7.(B) ~ ( p q) ~ p ~ q .
8.(B) (~ (~ p )) q p q .
9.(A) ~ ((~ p ) q ) ~ (~ p ) ~ q p (~ q ) .
10.(B)
pq~ pq.
11.(C)
p
pq
~(pq)
~p ~q
~p~q
~(pq)
~p~q
12.(A)
p q ~p
~q
p~q
~pq
(p~q)(~pq)
T T
T F
F T
F F
Clearly, ( p ~ q ) ( p ~ q ) is a contradiction.
13.(A) ~ [ p (~ p q )] ~ p ~ (~ p q )
~ p (~ (~ p ) ~ q) ~ p ( p ~ q ) .
14.(C) ~ ( p q ) p ~ q
~ (~ p ~ q) ~ p ~ (~ q) ~ p q
Thus ~ (~ p ~ q ) ~ p q .
15.(A) ~ ( p q ) (~ p q ))
(~ p ~ q ) (~ p q ) ~ p (~ q q ) ~ p .
16.(B) Inverse of p q is ~ p ~ q
inverse of ( p ~ q ) r is
~ ( p ~ q ) ~ r i.e. (~ p q ) ~ r .
~p
Clearly, ( p ~ p ) (~ p p ) is a contradiction.
22.(C) p q ~ p q ~ ( p q ) p ~ q .
23.(C) Contrapositive of p q is ~ q ~ p
contrapositive of ( p q ) r is
~ r ~ ( p q) i.e. ~ r (~ p ~ q ) .