Labs ICT
โญ Pro Login

Propositional Logic

Learn about propositions, logical connectives, and truth tables.

2 min read | Discrete Mathematics
โญ

Want the full learning experience?

Get structured courses, certificates, projects, and instructor support with LabsICT Pro.

Explore Pro Courses

What Is Propositional Logic?

Propositional logic is the foundation of mathematical reasoning. A proposition is a declarative statement that is either true or false, but not both. For example, "The sun rises in the east" is a proposition (true), while "What time is it?" is not a proposition because it's a question.

We use uppercase letters like P, Q, R to represent propositions. The actual truth value they hold is called their truth value.

Logical Connectives

Connectives combine propositions into compound statements:

NOT (ยฌ)     Negation:  ยฌP (not P)
AND (โˆง)     Conjunction: P โˆง Q (P and Q)
OR (โˆจ)      Disjunction: P โˆจ Q (P or Q)
IMPLIES (โ†’) Conditional: P โ†’ Q (if P then Q)
IFF (โ†”)     Biconditional: P โ†” Q (P if and only if Q)

Truth Tables

Truth tables show the truth value of a compound proposition for every possible combination of truth values of its components.

P | Q | P โˆง Q | P โˆจ Q | P โ†’ Q | P โ†” Q
T | T |   T   |   T   |   T   |   T
T | F |   F   |   T   |   F   |   F
F | T |   F   |   T   |   T   |   F
F | F |   F   |   F   |   T   |   T

The Conditional Statement

The conditional P โ†’ Q is false only when P is true and Q is false. Think of it as a promise: "If it rains, I will carry an umbrella." The only time I broke my promise is if it rained and I didn't carry an umbrella.

P โ†’ Q  โ‰ก  ยฌP โˆจ Q

๐Ÿงช Quick Quiz

Which of the following is a proposition?