I've just started learning about Boolean identities and simplification, and I'm already puzzled by one rule. I'm following this tutorial, which presents the following rule:
A + AB = A
The proof is as follows:
A + AB
↓ Factoring A out of both terms
A(1 + B)
↓ Applying identity A + 1 = 1
A(1)
↓ Applying identity 1A = A
A
I understand the second and third steps. B + 1 must be equivalent to 1 because if one input to an OR gate is 1, the output will always be 1. And the third step makes sense too, because whether 1 x A evaluates to 1 or 0 depends on the value of A.
What I don't understand is the first step. It's been many years since I've studied algebra at school, and the intuitive leap that "factoring A out of both terms" leads from A + AB
to A(1 + B)
is beyond my rusty skills.
I would greatly appreciate an explanation to help my understanding of how you "factor out" a Boolean variable for an equation, and how I would know to do this for any given equation.
A + AB
to A(1 + B) in the first place. \$\endgroup\$