Introductory Guide to Boolean Algebra

In this article, we will introduce Boolean algebra, a key concept in computing. British mathematician George Boole first introduced it in a book on mathematics.

Boolean Algebra’s output is either True or False. This can easily be represented by one binary digit or bit, with 1 representing a True value and 0 representing a false value. This is the key difference between Boolean Algebra and other types of Algebra, which can result in any value.

In 1938, Claude Shannon was a master’s student at the Massachusetts Institute of Technology when he realized that electronic circuits could be built to process Boolean logic.

Boolean Truth table

Before I introduce you to the three basic Boolean operators, I want to introduce you to the concept of the Boolean truth table. It is a good way of showing what input values for a specific operator will output. It contains an example of each possible input and what the resulting output will be.

Basic Boolean operators

In this guide, I’ll explain the three core operators in Boolean Algebra, though there are others that are normally a combination of these three basic operators.

Or Operator

Input 1Input 2Output value
FalseFalseFalse
TrueFalseTrue
FalseTrueTrue
TrueTrueTrue

As you can see in the logic table above, the Boolean Or operator has two inputs, which are evaluated. If either of those inputs is true, the output is true. If both inputs are false, the output will also be false.

And Operator

Input 1Input 2Output value
FalseFalseFalse
TrueFalseFalse
FalseTrueFalse
TrueTrueTrue

The And operator can only ever return a true value if the value of both inputs is true; any other input condition will result in a false value.

Not Operator

Input 1Output value
FalseTrure
TrueFalse

The Not operator reverses the value of the input so False will become True and True will become False.

Conclusion

After reading this introductory guide, you should understand Boolean algebra and its three core operators.

If you have any further questions, please leave them in the comments section.

Leave a Comment

Your email address will not be published. Required fields are marked *