Professional Documents
Culture Documents
Elementary product. Similarly, A sum of the variables and their negation is called an
Elementary sum.
Let P and Q be any two atomic variables, then P, P Q, are some example of
elementary products. Similarly P, P Q are example of elementary sum of two variables.
Disjunction Normal Forms- A formula which is equivalent to a given formula and which
consists of a sum of elementary products is called a disjunction normal form of the given
formula.
b) (P Q) (P Q)
By using the equivalence
R S (R S) ( R S)
Consider,
(P Q) (P Q)
( (P Q) (P Q)) ( (P Q) (P Q)
( P Q P Q) ((P Q) ( P Q))
( P Q P Q) ((P Q) P) (P Q) Q)
( P Q P Q) (P P) (Q P) (P Q) (Q Q)
is the required disjunctive normal form.
b) (P Q) (P Q)
By using
R S (R S) (SR)
Consider,
(P Q) (P Q)
( (P Q) (P Q)) ((P Q) (P Q)
((P Q) (P Q)) ( (P Q) (P Q)
((P Q P) (P Q Q)) ( P Q) (P Q)
(P Q P) (P Q Q)) ( P Q P) (P Q Q)
(P Q) (P Q) ( P Q) (P Q)
P P (P Q) (A T A and A A T)
(P Q) (P Q) ----------------------2 (Distributive
law)
From equation 1 and 2
P (P Q) P
b) P (P Q) P Q
(P (Q Q)) (P Q)
(P (Q Q)) (P Q)
(P Q) (P Q)) (P Q) --------1 (Distributive)
PQ (P (Q Q)) (Q (P P))
(P Q) (P Q)) (Q P) (Q P) (Distributive)
(P Q) (P Q)) (P Q) --------2
From 1 and 2
P (P Q) P Q
3) Obtain the principal disjunctive normal form of
P ((P Q) (Q P))
Solution-
Using P Q PQ and De’Morgan’s law, we obtain
P ((P Q) (Q P))
P ((P Q) (Q P))
P (P (Q P)) (Q (Q P))
P ((P P Q) (Q Q P))
P ((F Q) (Q P))
P ((F (Q P))
P (P Q)
( P (Q Q)) (P Q)
( P Q) ( P Q) (P Q)
Example 1- Obtain the principal conjunctive normal form of the formula S given
by
( PR) (Q P)
Solution-
S ( PR) (Q P)
(P R) ((QP) (PQ))
(P R) ( Q P) ( P Q)
(P R (Q Q)) ( Q P (R R)) ( P Q (R R))
(P R Q) (P R Q) ( Q P R) ( Q P R))
( P Q R) ( P Q R))
(P Q R) (P Q R) (P Q R) (P Q R))
( P Q R) ( P Q R))
(P Q R) (P Q R) (P Q R)) ( P Q R)
( P Q R))
Which is the required principal disjunctive normal form of S.