I'm still learning Boolean Algebra so I apologise if the question seems pretty straight forward. After working on this problem I thought the answer was 'x', my working out was:
x'y + x(x + y')
= x'y + xx + xy'
= x'y + x + xy'
= x + xy'
= x
but after runnng this through a logic circuit I realise if x = 0 and y = 1 then the ouput does not equal x. Can someone help me simplify this expression
You correct until the step
But you can go from there and see that
x'y + xy' = x ⊕ y.This follows since
x'y = 1 ⇒ x=0, y=1andxy' = 1 ⇒ x=1, y=0.Following this
x ⊕ y + xcan be simplified.With your final solution x'y + x(x + y') = x + y.