Discrete 1
Discrete 1
Om Sakthi
: III / V
MA2265-
F
T
CD / Page 1 of 10
AkAsHViShAl
T
T
F
F
T
F
T
F
T
T
T
F
Example :
1.I shall go to market or a cinema.
2. there is something wrong with the bulb or wiring.
4.state molecular statements?
Those statements which contain one or more atomic statements and some connectives are
called molecular statements.
Examples;
~P,P^~Q,P v Q.
5. Define conditional and biconditional?
If P and Q are any two statements then the statement P-> Q which is read as if P then Q is
called a conditional statement. Here P is called antecedent and Q is called consequent.
Truth table:
P
T
T
F
F
Q
T
F
T
F
P-.>
T
F
T
T
Example:
P: it is hot.
Q: 5+3=8.
p-> is false only when P is true and Q is false. Otherwise p->Q is true.
Biconditional
If P and Q are any two statements , then the statement P<-> which is read as P if only if Q is
called Biconditional statement , the statement p<->Q has the truth value T whenever both P
and Q have identical truth values . the truth table for biconditional is as follows;
Q
P
P
T
T
F
f
T
F
T
F
T
F
F
T
AkAsHViShAl
CD / Page 2 of 10
Example:
P v~P
P
T
F
~P
PV~P
F
T
T
T
Contradiction:
A statement formula which is false regardless of the truth table values of the statements which
replace variables in it is called a contradiction.
Example:
P^~P
Truth table for PV~P
P
~P
P^~P
T
F
F
T
F
F
CD / Page 3 of 10
AkAsHViShAl
PCNF: a formula which is equivalent to a given formula which consists of product of maxterms
is called PCNF.
12.construct the truth table for (q ^ (P->Q))->P)
Solution;
P Q P->Q Q^(P->Q) (Q^(P->Q))->P
T T T
T
T
T F F
F
T
F T T
T
F
F F T
F
T
13 .construct the truth table for (P^Q)v()7p^Qv(P^7Q)v(7p^7Q)
Solution;
p
Q
7P
7Q
P^Q
7P^Q
p^7Q
7P^7Q T
R
S
T
T
F
T
T
F
T
F
F
F
T
T
F
T
F
T
T
F
F
F
F
F
T
F
F
T
F
F
F
F
F
T
T
F
T
F
F
T
F
T
T
T
T
T
CD / Page 4 of 10
AkAsHViShAl
Sol:
7pvQ(7P^T)v(T^Q)
(7P^(Qv7Q))v((Pv7P)^Q)
(7P^Q)v(7P^7Q)v(P^Q)v(7P^Q)
(P^Q)v(7P^Q)v(7p^7Q)
18.obtain the PDNF for P->((P->Q)^7(7Qv7P))
Solution;
P->((P->Q^7(QV7P))
P->((7PVQ)^(Q^P))
7PV(7PVQ)^(Q^P))
7P^(QV7Q)V(F^Q)V(P^Q)
(7P^Q)V(7P^7Q)V(P^Q)
UNIT-III&IV
1.Define a simple statement function.
A simple statement function of one variable is defined to be anexpression consisting of a
predicate symbol and an individual variable. Such a statement function becomes a statement
when the variable is replased by the name of any object.
Ex:
If X is a teacher is denoted by T(x),it is a statement function.if X is replased by John,then
Johan is a teacher is statement .
2.Define a compound statement function.
A compound stament function is obtained by combining one or more simple statement
functions by logical connectives.
Ex:
M(x)^H(x)
M(x)->H(x)
M(x) 7H(x)
An extension of this idea to the statement functions of two or more variables is straight
forward.
3.Define universal Quantifiers and existential Quantifiers.
Universal Quantifiers:
The universal Quantification of P(x) is the proposition.P(x) is true for all values of x in the
universe of discourse.
The notation x P(x) denotes the universal quantification of P(x).here is called the
universal quantifier.
Existential Quantifier:
The existential Quantification of P(x) is the proposition. There exists an element x in the
universe of discourse such that P(x) is true.
We use the notation x P(x) for the existential quantification of p(x).here is called the
existential quantifier.
4. what are the rules of Quantifier?
Adhiparasakthi College of Engg., G.B. Nagar, Kalavai
CD / Page 5 of 10
AkAsHViShAl
CD / Page 6 of 10
AkAsHViShAl
12. Express the statement For every x there exist a y such that
symbolic form.
Universe of discourse = Set of all integers.
in
(x)(y)(
13.Give an example to show that (x) (A(x) B(x)) need not be a conclusion from(x) a(x) B(x).
Let the universe of discourse be the set of all integers.
Let A(x) : 2x + 1 = 5 and B(x) :
The statements (x) A(x) and(x)B(x) are true. The statement (x)(A(x)B(x)) is false,
because there is no integer a such that 2a+1=5and
14.show that ~P(a,b)follows logically from (x),(y)(P(x.y)->W(x,y)and ~W(a,b)
(i) (x)(y)(P(x,y)->W(x,y)
rule P
(ii) (y)(P(a,y)->W(a,y))
US,(i)
(iii) P(a,b)->W(a,b)
US ,(ii)
(iv) ~W(a,b)
rule P(v) ~P(a,b)
rule T(iii,iv)
15. show that (x) (p(x))->Q(x))^(x)(Q(x))->R(x))=>(x)(p(x))->R(x))
Solution;
Sno
Premises
Rule
reason
1
(x)(p(x))->Q(x))
P
Given premises
2
P(a)->Q(a)
T
From(1),US rule
3
(x)(Q(x)->R(x))
P
GP
4
Q(a)->R(a)
T
From(3),US rule
5
P(a)->R(a)
T
From(2),(4)(p->Q),(Q->R)=>P->R
6
(x)(p(x)->R(x))
T
From(5),UG rule
16.using CP or otherwise obtain the following implication
(x)(P(x))->Q(x)),(x)(R(x)-> ~Q(x))=>(x) r(x)->~P(x)
Solution:
Sno Premises
rules Reason
1
(x)(p(x)->Q(x) P
Given premises
2
P(a)->Q(a)
T
US rule
3
R(x)
P
Additional premises
4
(x)(R(x)P
GP
>~Q(x))
5
R(a)->~Q(a)
T
US rule
6
~(~Q(a)->~R(a) P
From (5)
P->Q~Q->~P
7
Q(a)->~R(a)
T
From(6)
8
P(a)->~R(a)
~(~R(a))->~P(a) T
From(8)
10
11
R(a)->~P(a)
(x)(R(x)>~P(x)
From(9)
UG rule
T
T
From(2)&(7)P->Q
CD / Page 7 of 10
AkAsHViShAl
Unit-V
1.define function.
Let X and Y be any two sets A relation f from X to Y is called a function if for every x X there is
a unique y Y such that (x, y)f.
2. define graph of a function.
With each function we can associate a graph ,which is a diagrammatic representation of a
function.if the domain x and codomain Y of a function f are finite,we can represent such a
function as follows
We draw a circle for each element x of X and each element y of Y and join x with y by a
directed line, directed from x to y ,if (x ,y)f
.
3. define identity map
A mapping Ix:X->X is called an identify map if
Ix={(x,x)|{xX}
4. define commutative property
A binary operation f:X x X ->X is said to be commutative if for every x, y X ,f(x, y)=f(y, x).
5 define distributive
A binary operation f: X*X->X denote by * is said to be , distributive over the operation g:X*X>X, denoted by if for every x, y, z X.
X*(yz))=(x*Y)(x*z)
6. define idempotent
Let * be a binary operation on X an element a X is called idempotent with respect to * if
a*a=a.
Adhiparasakthi College of Engg., G.B. Nagar, Kalavai
CD / Page 8 of 10
AkAsHViShAl
CD / Page 9 of 10
AkAsHViShAl
Led F: X Y such that there is at least one element b Y which has no pre image under F,
then F is said to be a pinto be a into function from X into Y .
Clear F : X Y is an into function if ( X) = Y.
18.definr one to one
A mapping F : X Y is called one (injection, or 1-1) if distinct element of X are mapped into
element of Y .
In other ,F is one to one if
X1# F( X2) X1 = X2 .
CD / Page 10 of 10
AkAsHViShAl