0

I have the following expressions:

$x = a⊕b , y = c⊕d, z = x⊕y $

So $x = ab'+a'b, y = cd'+c'd $

$z = xy'+x'y = (ab'+a'b) * (cd'+c'd)' + (ab'+a'b)'*(cd'+c'd)$

If I take the first term : $(ab'+a'b) * (cd'+c'd)' = (De Morgan) = (ab'+a'b) * c'dcd'$

Yet, $c'dcd'$ is false, so the first term is false.

Where is my mistake?

Thank you

XristosK
  • 103

2 Answers2

1

if you're in a boolean algebra

In a boolean algebra, $+$ denotes XOR already. $a \vee b$ corresponds to $a + b + ab$.

Besides (this may simplify your expressions nicely), the negation of $a$, which you write $a'$, is simply $1 + a$.

if you want to handle a boolean expression

There's a mistake in the de Morgan rule.

The first term is
$((a\wedge b')\vee (a'\wedge b)) \wedge ((c\wedge d')\vee (d'\wedge d))$
$ = [(a \wedge b') \wedge ((c\wedge d')\vee (c'\wedge d))] \vee [(a' \wedge b) \wedge ((c\wedge d')\vee (c'\wedge d))]$ $$=(a \wedge b' \wedge c \wedge d')\vee (a \wedge b' \wedge c' \wedge d)\vee (a' \wedge b \wedge c \wedge d') \vee (a' \wedge b \wedge c' \wedge d)$$

Olivier Roche
  • 5,319
  • 9
  • 16
  • 1
    @XristosK One usually uses $\vee$ (\vee) for or, and $\wedge$ (\wedge) for and. You can use $\sqcup$ (\sqcup) for XOR . – Olivier Roche Oct 18 '19 at 11:21