150 likes | 539 Views
RULES OF BOOLEAN ALGEBRA . BASIC RULES OF BOOLEAN ALGERBA . De Morgan’s Theorems.
E N D
De Morgan’s Theorems • It states, that the complement of any expression can be obtained by replacing each variable and element with its complement and changing OR operators (+) with AND operators(.) and AND operator (.) with OR operators (+). • These theorems can be expressed as follows: • (A+B)’=(A)’.(B)’ First De Morgan’s Theorem. • (A.B)’=(A)’+(B)’ Second De Morgan’s Theorem. De Morgan’s theorems can also applicable to expressions in which there are more than two variables.
Three steps of simplification (demorganization) • Complement each of the individual variables. • Change all the OR’s (+) to AND (.) and AND’s(.) to OR’s(+). • Complement the whole Boolean function.
Examples 1 • Demorganize the following expression: AB’ + A’B’C +AC Step No. 1: Complement each of the individual variables Means : AB’ + A’B’C + AC A’B’’ + A’’B’’C’ + A’C’ Step No. 2: Change all the OR’s (+) to AND (.) and AND’s(.) to OR’s(+)
Examples 1 Means: A’B’’ + A’’B’’C’ + A’C’ A’B + ABC’ + A’C’ A’B + ABC’ + A’C’ (A’+B ).(A+B+C’).(A’+C’) Step No. 3: Complement the whole Boolean function Means: (A’+B ).(A+B+C’).(A’+C’) ((A’+B ).(A+B+C’).(A’+C’))’
Truth Table For This Example 1. Before Demorganization. AB’ + A’B’C +AC
Truth Table For This Example 2. After Demorganization. ((A’+B ).(A+B+C’).(A’+C’))’
Truth Table For This Example • Now Compare the results of the expression before and after Demorganization The Results are identical in both the tables. Before Demorganization After Demorganization
Truth Table For This Example 1. Before Demorganization. (A+B’).(A+B+C’).(AB)
Truth Table For This Example 2. After Demorganization. (A’.B+A’.B’.C+A’+B’)’
Truth Table For This Example • Now Compare the results of the expression before and after Demorganization The Results are identical in both the tables. Before Demorganization After Demorganization