We have,
Prove that:-
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
¯¯¯¯A.¯¯¯¯B=¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B
Proof:-
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
Since each variable can have a value either 0or1, then the four cases arises:-
(1).
When,A=0,B=0,
Then,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯¯¯¯¯¯¯¯¯0+0=¯¯¯0=1
¯¯¯¯A.¯¯¯¯B=¯¯¯0.¯¯¯0=1.1=1
Hence,¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
(2).
A=1,B=0
Then,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯¯¯¯¯¯¯¯¯1+0=¯¯¯1=0
¯¯¯¯A.¯¯¯¯B=¯¯¯1.¯¯¯0=0.1=0
Hence,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
(3)
A=0,B=1
Then,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯¯¯¯¯¯¯¯¯0+1=¯¯¯1=0
¯¯¯¯A.¯¯¯¯B=¯¯¯0.¯¯¯1=1.0=0
Hence,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
(4).
A=1,B=1
Then,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯¯¯¯¯¯¯¯¯1+1=¯¯¯1=0
¯¯¯¯A.¯¯¯¯B=¯¯¯1.¯¯¯1=0.0=0
Hence,
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B=¯¯¯¯A.¯¯¯¯B
Hence proved,
Similarly, We can prove that,
¯¯¯¯A.¯¯¯¯B=¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯A+B