Boolean logic

From WikiMD's Wellness Encyclopedia

Boolean Logic is a subfield of algebra in mathematics and is named after the mathematician George Boole. It is a form of mathematical logic in which all variables are either "true" or "false", or "on" or "off". It is used extensively in computer science, electrical engineering and philosophy.

History[edit | edit source]

George Boole introduced Boolean logic in the mid-19th century. He developed an algebraic system that was capable of binary or two-valued decisions, a concept that was revolutionary at the time. This system later became known as Boolean algebra.

Principles[edit | edit source]

Boolean logic is based on binary variables, which can take two possible values: 0 and 1, often interpreted as false and true respectively. The basic operations of Boolean logic are conjunction (AND), disjunction (OR) and negation (NOT).

Conjunction[edit | edit source]

The AND operation, also known as conjunction, takes two Boolean inputs and returns true if both inputs are true.

Disjunction[edit | edit source]

The OR operation, also known as disjunction, takes two Boolean inputs and returns true if at least one of the inputs is true.

Negation[edit | edit source]

The NOT operation, also known as negation, takes one Boolean input and returns the opposite value.

Applications[edit | edit source]

Boolean logic has a wide range of applications, particularly in computer science and electrical engineering. It is fundamental to the design of digital circuits, computer programming, database queries, and search engine algorithms.

See also[edit | edit source]

References[edit | edit source]


This Eastern European history-related article is a stub.

WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD