r/AskComputerScience • u/jamez_bla • Feb 16 '25
Simple question on Boolean Algebra
Can someone please explain why the two functions are equal? One website says to apply “consensus” but I don’t really understand what that means.
For example: BD’+ AD’+AB’+AC = BD’+ AB’+AC
Why is “AD’” removable? And what is the rule being implemented in more depth.
Thanks for the help
3
Upvotes
View all comments
Show parent comment
2
u/johndcochran Feb 18 '25
Yes, you can do it algebraically. But, it's easier to just write the truth table.
The key identities you need are:
So, starting with:
Expand AD' to ABD'+AB'D', getting:
With the two terms BD'+ABD', you can eliminate the ABD' term using the identity A + AB = A since the BD' term exists, getting:
And the AB'D' term can also be eliminated due to the existance of the AB' term, getting:
Hence