![]() |
VOOZH | about |
In Discrete Mathematics, PDNF and PCNF are standard ways of expressing a Boolean function. In these forms, each term contains all variables exactly once. PDNF represents the function using minterms corresponding to output 1, whereas PCNF uses maxterms corresponding to output 0.
PDNF is a logical expression written in the Sum of Products (SOP) form where every product term contains all variables exactly once, either in normal form or complemented form. The terms are joined using the OR (+) operator.
Example: (P . Q' . R) + (P' . Q . R) + (P . Q . R')
Here, the ‘+’ sign represents the OR operation, and each term contains all variables P, Q, and R.
PCNF is a logical expression written in the Product of Sums (POS) form where every sum term contains all variables exactly once, either in normal form or complemented form. The terms are joined using the AND (.) operator.
Example: (P + Q' + R) . (P' + Q + R) . (P + Q + R')
Here, the ‘.’ sign represents the AND operation, and each term contains all variables P, Q, and R.
Example 1: Convert the following Boolean expression to PDNF: A . (B + C')
Solution:
1. Distribute A
A . B + A . C'
2.Ensure each product term contains all variables
(A . B . C') + (A . B . C) + (A . B' . C')
Example 2: Convert the following Boolean expression to PCNF: (A + B') . (B + C)
Solution:
1.Ensure each sum term contains all variables using Boolean identity
(A+B′) = (A+B′+C) . (A+B′+C′)
(B+C) = (A+B+C) . (A′+B+C)
2.Write the expression in PCNF
(A+B′+C) . (A+B′+C′) . (A+B+C) . (A′+B+C)