Check this boolean algebra problem?
The problem: simplify the following expression: a’d(b’+c)+a’d’(b+c’)+(b’+c)(b+c’)
My answer: a’+(b’+c)(b+c’)
My reasoning:
If (b’+c)(b+c’)=1, then a’d(b’+c)+a’d’(b+c’)+(b’+c)(b+c’)=1.
If (b’+c)(b+c’)=0, then either (b’+c)=0 or (b+c’)=0, but not both. For if both were 0, this would imply b=b’ and c=c’. Thus, since at least one of (b’+c),(b+c’) is equal to 1, at least one of d(b’+c),d’(b+c’) is also equal to 1, which implies that when (b’+c)(b+c’)=0, a’d(b’+c)+a’d’(b+c’)+(b’+c)(b+c’)=a’.
Thus, a’d(b’+c)+a’d’(b+c’)+(b’+c)(b+c’)=0 iff a’=0 and (b’+c)(b+c’)=0, which implies a’d(b’+c)+a’d’(b+c’)+(b’+c)(b+c’)= a’+(b’+c)(b+c’) (qed).
I checked the answer key for this problem, which gave the answer bc+b'c'+a'bd'+a'b'd, but said that "other solutions are possible"
Posted Feb 16, 2020, 6:36 AM UTC
That's false! What if (b+c') = 0 and d' = 1?
If (b+c') = 0 then (b'+c) = 1
If d' = 1 then d = 0
Thus d(b'+c) = (0 and 1) = 0
and
d'(b+c') = (1 and 0) = 0
So it is possible to give a counter example:
a = 0
b = 0
c = 1
d = 0
Original expression:
1.0.(1+1)+1.1.(0+0)+(1+1).(0+0) = 0 + 0 + 0 = 0
Your simplification:
Since a' = 1, your expression outputs 1