Tool to calculate the dual of a Boolean logical expression. The dual being a complementary expression inverting addition and multiplication as well as 0 and 1.
Boolean Dual - dCode
Tag(s) : Symbolic Computation, Electronics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The dual of a Boolean or of a Boolean expression is obtained by applying 2 operations: replacing/interchanging the logical ORs by logical ANDs and vice versa and replacing/interchanging the logical 0s by logical 1s and vice versa.
Example: The dual of a+b is a.b and conversely the dual of a.b is a+b (duality principle)
It is possible that the value $ a $ itself has a dual, some note this dual $ a' $ (be careful not to confuse this notation with the boolean NOT unary operator)
The dual of a boolean function $ F $ is sometimes denoted by $ Fˊ $ (not to be confused with the complement or NOT function) or $ F ^ d $.
Likewise 0 and 1 are dual, true and false are duals, ∧ and ∨ are dual.
Every Boolean expression has a dual, the Boolean Duality principle means that every theorem or any computation has a dual equivalent.
By proving something in Boolean algebra, its dual is also proved.
Example: x+1=1 has for dual x.0=0
dCode retains ownership of the "Boolean Dual" source code. Any algorithm for the "Boolean Dual" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Boolean Dual" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Boolean Dual" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Boolean Dual" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Boolean Dual on dCode.fr [online website], retrieved on 2025-04-16,