I need to solve two equations:
$$ x(1-y)=0 \\ y(1-x)=0 $$
If I had one equation, ex $x(1-y)$, the solution would be $x=0$ or $y = 1$. But how do I go about solving two such equations? Are the solutions as below? $$ x = 0 \lor y=0 \\ x = 0 \lor y=1 \\ x = 1 \lor y=0 \\ x = 1 \lor y=1 $$
Both equations in the system need to be satisfied.
If you choose $x=0$ from equation 1, then you can't choose $x=1$ for equation 2. So $y=0$.
Likewise, if you choose $y=1$ from equation 1, then you can't choose $y=0$ for equation 2. So $x=1$.
If you want to do it with boolean algebra, you have: $$\begin{aligned} ((x=0) \lor (y=1)) \land ((y=0) \lor (x=1)) &= ((x=0) \land (y=0)) \lor ((x=0) \land (x=1)) \lor ((y=1) \land (y=0)) \lor ((y=1) \land (x=1)) \\&= ((x=0) \land (y=0)) \lor \text{FALSE} \lor \text{FALSE} \lor ((y=1) \land (x=1)) \\&= ((x=0) \land (y=0)) \lor ((y=1) \land (x=1)) \end{aligned}$$