Boolean algebra

From WikiMD's Food, Medicine & Wellness Encyclopedia

(Redirected from Boolean searching)

Boolean algebra is a sub-discipline of mathematics and computer science that deals with operations on logical values. Named after George Boole, a 19th-century mathematician and logician, Boolean algebra is fundamental to the design and operation of computer hardware and software.

History[edit | edit source]

Boolean algebra was introduced by George Boole in his first book The Mathematical Analysis of Logic (1847), and set forth more fully in his An Investigation of the Laws of Thought (1854). Boole's system was based on binary variables with two possible values, 0 and 1, and on the three basic operations, AND, OR, and NOT.

Basic operations[edit | edit source]

Boolean algebra includes three basic operations:

  • AND: The AND operation, also known as conjunction, takes two Boolean inputs and returns 1 if both inputs are 1, and 0 otherwise.
  • OR: The OR operation, also known as disjunction, takes two Boolean inputs and returns 1 if at least one input is 1, and 0 otherwise.
  • NOT: The NOT operation, also known as negation, takes a single Boolean input and returns the opposite value.

Properties[edit | edit source]

Boolean algebra has many properties that are similar to other algebraic structures, such as commutativity, associativity, and distributivity. It also has additional properties that are unique to Boolean algebra, such as idempotency, involution, and the laws of De Morgan.

Applications[edit | edit source]

Boolean algebra is used extensively in computer science and electrical engineering. It is fundamental to the design of digital circuits, including logic gates, flip-flops, and microprocessors. In software, Boolean algebra is used in the design of algorithms, in programming languages, and in database query languages.

See also[edit | edit source]

Wiki.png

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) available.
Advertise on WikiMD

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