Boolean algebra facts for kids
In mathematics, Boolean algebra is an algebra for binary digits (where 0 means false and 1 means true). It is equipped with three operators: conjunction (AND), disjunction and negation (NOT). It uses normal math symbols, but it does not work in the same way. It is named for George Boole, who invented it in the middle 19th century. Boolean algebra did not get much attention except from mathematicians until the 20th century when engineers began using it for logic gates.
The NOT operator is written with a bar over numbers or letters like this:
It means that the output is not the input.
The AND operator is written as like this:
The output is true if and only if one and the other input is true.
The OR operator is written as like this:
If one or the other input is true, then the output to be true (and false otherwise).
XOR basically means "exclusive or", meaning one input or the other must be true, but not both. It is also sometimes called NOR, which means the same thing.
The XOR operator is written as like this:
In other words, the XOR operator returns true precisely when one or the other input is true—but not both.
Different gates can be put together in different orders:
- is the same as an AND then a NOT. This is called a NAND gate.
It is not the same as a NOT then an AND:
which is called XOR identity table
, if .
De Morgan's laws
These findings are commonly known as De Morgan's laws.
Images for kids
In Spanish: Álgebra de Boole para niños
Boolean algebra Facts for Kids. Kiddle Encyclopedia.