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.

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!

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.

Answers to Questions

How to calculate the dual of a boolean equation?

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)

How to note the dual of a boolean equation?

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.

What is the duality principle?

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

Source code

dCode retains ownership of the online 'Boolean Dual' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Boolean Dual download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!