Introduction to Boolean Logic
Learn the fundamentals of Boolean logic and how TRUE/FALSE values work in mathematics and computing.
Definition
Boolean logic is a branch of mathematics that deals with only two values: TRUE and FALSE (also represented as 1 and 0).
Named after mathematician George Boole (1815-1864), Boolean logic forms the foundation of all digital computers and modern technology.
Boolean logic uses special operations called logical operators:
- AND (): Both must be true
- OR (): At least one must be true
- NOT (): Reverses the value
Try it now
In Boolean logic, how many possible values are there?
Interactive Visual
Truth Table
P ∧ Q
| P | Q | P ∧ Q |
|---|---|---|
| F | F | F |
| F | T | F |
| T | F | F |
| T | T | T |
T= TrueF= False
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
15 problemsProblem 1 of 15
Easy
In Boolean logic, how many possible values are there?
Glossary
- Boolean
- A data type or system that has exactly two possible values: TRUE and FALSE
- AND ()
- A logical operator that returns TRUE only if both inputs are TRUE
- OR ()
- A logical operator that returns TRUE if at least one input is TRUE
- NOT ()
- A logical operator that reverses a Boolean value (TRUE becomes FALSE and vice versa)
- Truth Table
- A table showing all possible input combinations and their corresponding outputs for a logical operation
- Binary
- A number system using only two digits (0 and 1), closely related to Boolean logic