Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,907,072,281 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

two-valued logic

   Also found in: Dictionary/thesaurus, Medical, Legal, Wikipedia 0.01 sec.
two-valued logic [′tü ¦val·yüd ′läj·ik]
(mathematics)
A system of logic where each statement has two possible values or states, truth or falsehood.

(logic)two-valued logic - (Commonly known as "Boolean algebra") A mathematical system concerning the two truth values, TRUE and FALSE and the functions AND, OR, NOT. Two-valued logic is one of the cornerstones of logic and is also fundamental in the design of digital electronics and programming languages.

The term "Boolean" is used here with its common meaning - two-valued, though strictly Boolean algebra is more general than this.

Boolean functions are usually represented by truth tables where "0" represents "false" and "1" represents "true". E.g.:

A | B | A AND B --+---+-------- 0 | 0 | 0 0 | 1 | 0 1 | 0 | 0 1 | 1 | 1

This can be given more compactly using "x" to mean "don't care" (either true or false):

A | B | A AND B --+---+-------- 0 | x | 0 x | 0 | 0 1 | 1 | 1

Similarly:

A | NOT A A | B | A OR B --+------ --+---+-------- 0 | 1 0 | 0 | 0 1 | 0 x | 1 | 1 1 | x | 1

Other functions such as XOR, NAND, NOR or functions of more than two inputs can be constructed using combinations of AND, OR, and NOT. AND and OR can be constructed from each other using DeMorgan's Theorem:

A OR B = NOT ((NOT A) AND (NOT B)) A AND B = NOT ((NOT A) OR (NOT B))

In fact any Boolean function can be constructed using just NOR or just NAND using the identities:

NOT A = A NOR A A OR B = NOT (A NOR B)

and DeMorgan's Theorem.


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?  References in periodicals archive?   Encyclopedia browser?   Full browser?
No references found
 
LogicType: LogicType class indicates types of logic including two-valued logic and fuzzy logic.
Conclusion In the penultimate section of the original article the author offers the hypothesis that: Because digital computers are constituted by circuits embodying binary, off-on, two-valued logics, the models and other products of digital computers will have a bias toward emphasizing processes of division, exclusion and conflict; and will have a bias against emphasizing processes of joining together, inclusion, and negotiation.
 
 
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.