propositional logic
Logical Connectives
You should know: propositional logic
Overview
A logical connective is an operation that combines one or more propositions into a new proposition, whose truth value is determined entirely by the truth values of its inputs. The standard connectives are negation (¬, unary), conjunction (∧, 'and'), disjunction (∨, 'or', inclusive), the conditional (→, 'implies'), and the biconditional (↔, 'if and only if'); XOR and NAND/NOR are common derived or minimal alternatives. Every one of these connectives is truth-functional — its output depends only on the truth values of its arguments, never on their content or context — which is what makes truth tables a complete method for evaluating any propositional formula. A small set of connectives, such as {¬, ∧} or the single NAND connective, is functionally complete, meaning every possible truth function can be built from it alone.
Intuition
Connectives are the logical equivalent of arithmetic operators: just as + and × combine numbers into new numbers, ∧, ∨, ¬, →, and ↔ combine truth values into new truth values, following fixed rules with no ambiguity. The conditional p → q is the one that trips people up — it's defined to be true whenever p is false, regardless of q, which feels odd in English but is exactly what's needed for it to match statements like 'if it's a square, it's a rectangle': the statement isn't lying just because we're talking about a shape that isn't a square at all.
Formal Definition
The five standard connectives, defined by their truth conditions:
Worked Examples
p is false, so p → q is automatically true (a false antecedent makes any conditional vacuously true).
p ∧ q requires both to be true; p is false, so the conjunction is false.
Answer: p → q is true; p ∧ q is false.
Practice Problems
If p is true and q is false, what is the truth value of p ↔ q?
Express the exclusive or (XOR) of p and q, which is true exactly when p and q differ, using ∧, ∨, and ¬.
Show that the single connective NAND (written p ↑ q ≡ ¬(p ∧ q)) can express negation alone.
Quiz
Summary
- Logical connectives (¬, ∧, ∨, →, ↔) are truth-functional operations: their output depends only on the truth values of the inputs.
- The conditional p → q is true whenever p is false, which can feel counterintuitive but matches its intended logical role (vacuous truth).
- A small set like {¬, ∧} or even the single NAND connective is functionally complete — sufficient to express every possible truth function.
Mathematics