The AND Operation
Learn how the AND operation works in Boolean logic and how it combines two conditions.
Definition
The AND operation (also called logical conjunction) is a Boolean operation that returns true only when both inputs are true.
We write AND using the symbol or sometimes as a dot () or the word AND.
Truth Table for AND:
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
The key insight: AND is like a strict gatekeeper: both conditions must be met!
Try it now
What does the AND operation return when both inputs are TRUE?
Interactive Visual
Truth Table
P ∧ Q
| P | Q | P ∧ Q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
T= TrueF= False
Truth Table
P ∧ Q ∧ R
| P | Q | R | P ∧ Q | P ∧ Q ∧ R |
|---|---|---|---|---|
| T | T | T | T | T |
| T | T | F | T | F |
| T | F | T | F | F |
| T | F | F | F | F |
| F | T | T | F | F |
| F | T | F | F | F |
| F | F | T | F | F |
| F | F | F | F | F |
T= TrueF= False
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
16 problemsProblem 1 of 16
Easy
What does the AND operation return when both inputs are TRUE?
Glossary
- AND operation
- A Boolean operation that returns true only when both inputs are true; also called logical conjunction
- Conjunction
- The formal mathematical name for the AND operation
- Truth table
- A table showing all possible input combinations and their outputs for a logical operation
- AND gate
- An electronic circuit that implements the AND operation, outputting high voltage only when both inputs are high