I have 2 boolean functions that I am having some difficulty solving algebraically.
NOTE: ~ means NOT, & means AND, + means OR
1) $(\sim b~\&~\sim d)+(b~\&~\sim c~\&~d)+(b~\&~c~\&~d)+(a~\&~\sim b~\&~d)$ Here is what I got:
$$\begin{align*} &=(b~\&~d)~\&~(\sim c+c)+(\sim b~\&~\sim d)+(a~\&~\sim b~\&~d)\\ &=(b~\&~d)+(\sim b~\&~\sim d)+(a~\&~\sim b~\&~d)\\ &=(a~\&~\sim b~\&~d) \end{align*}$$
How can this be? Doesn't the variable $c$ have to exist as well in the simplification for the function to be logically equivalent?
I have a similar issue with the next question:
2) $(a+b)~\&~(a+\sim b)$
Using the boolean distributive identity of $A + B \cdot C = (A + B) \cdot (A + C)$
$$\begin{align*} &=a+(b~\&~\sim b)\\ &=a \end{align*}$$
Once again, don't I need $b$ or $\sim b$ in the simplification?
Please help. Thank you!