Question
Question: State and prove De Morgan’s theorem....
State and prove De Morgan’s theorem.
Solution
Hint : De Morgan’s law is a mathematical logic. Which is used in proposition logics and Boolean algebra, to denote the proposition of truth where 0 is false and1 is true. Using A+B=A⋅B and A⋅B=A+B Or A∩B=A∪B and A∪B=A∩B
Formula used:
A+B=A⋅B or A∩B=A∪B
A⋅B=A+B or A∪B=A∩B
Complete step by step solution :
De Morgan’s law is a mathematical logic. Which is used in proposition logics and Boolean algebra, to denote the proposition of truth where 0 is false and1 is true. In English, the rules are expressed as negations, of conjunction and disjunction.
There are two De Morgan’s theorem :
De Morgan’s first theorem: the complement of a logical sum of two or more variables is equal to the logical product of the complement of the variables. A+B=A⋅B
In English, it is expressed as the negation of a disjunction is the conjunction of the negations. A∩B=A∪B
If A=0 and B=1, then
RHS:0+1=1=0
LHS:0⋅1=1⋅0=0
RHS=LHS
De Morgan’s second theorem: the complement of a logical product of two or more variables is equal to the logical sum of the complement of the variables.A⋅B=A+B
In English, it is expressed as the negation of a conjunction is the disjunction of the negation. A∪B=A∩B
If A=0 and B=1, then
RHS:0⋅1=0=1
LHS:0+1=1⋅0=1
RHS=LHS
Note : It is worth remembering the law and its expression. It is used in truth tables and logic gates. We can see symmetry in both the laws, where complement of the product is the sum of individual complements, whereas complement of sum is the product of individual complements. In English, the rules are expressed as negations, of conjunction and disjunction.