Boolean distributivity
Distributivity of OR
Section titled “Distributivity of OR”The distributive law of boolean ORing says whenever we have an expression
of the form
This is because the AND operation requires both sides to be true for the result
to be true, so for
Or, you can just think of it like how you ‘expand brackets’ in maths, it works basically the same way.
This also works the other way around, we can factor out the
The important thing is that we recognise the
We put the
This also works for more than 2 terms, for example:
Distributivity of AND
Section titled “Distributivity of AND”We can also distribute a slightly different way, more similar to how we would expand and factorise double brackets.