Table of Contents
Conjunction (AND)
đ¤ Conjunction (AND)
In logic, Conjunction means AND.
Itâs written as:
đ p â§ q
(or sometimes p . q or p & q)
Read as: "p AND q"
đ§ What does it mean?
A statement with AND is true only when both parts are true.
Think of it like this:
âYou can go out to play if you finish your homework AND clean your room.â
-
If you do both â â Yes, you can go!
-
If you miss even one â â Nope, you canât.
đĸ Truth Table for p â§ q (Using 0 and 1)
| p | q | p â§ q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
đ Summary:
| What happens | Result |
|---|---|
| Both are 1 (true) | â 1 |
| One or both are 0 | â 0 |
đ Example:
-
p = You finish your homework
-
q = You clean your room
-
p â§ q = You can go play
If both are 1 (true) â You go play.
If either one is 0 (false) â You canât go.