Idempotent law: A AND A = A, A OR A = A
The idempotent law says that combining a value with itself by AND or by OR gives the value back: A AND A = A and A OR A = A.
Combining a value with itself by AND or OR gives the same value.
Idempotent means that applying the operation again changes nothing. Asking twice whether A holds is the same as asking once, and requiring A and also A is the same as requiring A. Ordinary arithmetic has no such law (x + x is 2x), which is one of the visible differences between Boolean algebra and the algebra of numbers.
The simplifier uses idempotence to merge duplicate operands, so A AND B AND A becomes A AND B, and the normal-form converter uses it after a distribution has copied a term into two places. It is also behind the rule that a truth table never needs the same variable twice: A AND A has one input, not two, and the engine's diagram draws one input node with fan-out to both ports.
The proof below has two rows, one per value of A, and both sides agree on each.
Statement
A AND A = AA OR A = A Proof by truth table: A AND A = A
| # | A | lhs | rhs |
|---|---|---|---|
| 0 | FALSE | FALSE | FALSE |
| 1 | TRUE | TRUE | TRUE |
The same law in four notations
A AND AA && AA ∧ AA·AA \cdot AAAAAAProof by truth table: A OR A = A
| # | A | lhs | rhs |
|---|---|---|---|
| 0 | FALSE | FALSE | FALSE |
| 1 | TRUE | TRUE | TRUE |
The same law in four notations
A OR AA || AA ∨ AA + AA + AAAAAAThe common slip
Expecting A OR A to be “more true” or A AND A to be stricter. Boolean values do not accumulate: there is no quantity to double.
Questions
Is XOR idempotent?
No: A XOR A is FALSE, because XOR is true only when its operands differ. That identity has its own page under the XOR identities.
Related
Lesson that teaches this
Tools
- Boolean algebra calculator and simplifier with steps (every law named and verified)
- Logical equivalence checker: two expressions, exact verdict, counterexample
Practice
- Boolean simplification exercises with answers: basic
- Boolean simplification exercises with answers: intermediate
- Boolean simplification exercises with answers: advanced
See also
- XOR identities: A XOR FALSE = A, A XOR TRUE = NOT A, A XOR A = FALSE
- Lesson 7: Simplification laws (intermediate, 12 min)
Laws
Generated from the Tangibool engine, semantics tangibool-semantics/1, engine 1.0.0, build . Every table, map, simplification and verdict on these pages was computed by the Tangibool engine when the site was built, and every claim was re-checked by the same exact checker the app uses. Limits are stated where they apply. © 2026 Foreranger LTD.