Propositions and truth functions
Separate statements from open sentences and evaluate logical connectives without importing conversational assumptions.
On this page
The question for today
What you’ll understand
- Recognize propositions and truth assignments.
- Evaluate implications and distinguish them from converses.
- Use a truth table to test equivalence rather than a few favorable examples.
A mathematical argument connects statements whose meanings stay fixed while the reasoning proceeds. Start with a small claim such as “the integer 12 is divisible by 3.” It has a definite truth value. Compare “the integer n is divisible by 3”: without an assigned n or a quantifier, this is an open condition. Logic tells us how truth values combine, independently of whether the statements concern arithmetic, geometry, or a software specification.
Connectives describe exact conditions
A proposition is a statement treated as true or false in classical logic. Negation reverses its truth value. Conjunction requires both component statements to be true. Inclusive disjunction requires at least one to be true and allows both. These are definitions, so a mathematical “or” need not mean the exclusive choice suggested by a restaurant menu. Name the component statements before manipulating a compound sentence; otherwise the meaning can change halfway through a calculation.
For example, let P assert that an integer is even and Q that it is divisible by three. At the integer six, both propositions hold, so their disjunction holds too. At the integer four, only P holds, but the disjunction still holds. Parentheses specify which propositions a connective combines. The negation of a conjunction denies that both hold together; it does not insist that both fail. Testing four truth assignments makes this distinction visible.
Implication promises no counterexample
The implication “if P, then Q” is false precisely when P is true and Q is false. When P is false, the implication is true under this truth-functional definition. It does not establish a causal connection, a chronological order, or that P ever happens. A theorem about all objects satisfying a hypothesis likewise has no failure at objects outside that hypothesis. This convention makes conditional reasoning compose consistently across different mathematical domains.
The converse exchanges hypothesis and conclusion and generally requires a separate proof. For integers, divisibility by four implies evenness, but evenness does not imply divisibility by four. The integer six separates the two statements. The contrapositive instead negates and reverses both sides; it has exactly the original truth table. Distinguish these transformations before choosing a proof method, because an elegant argument for a converse can still miss the requested theorem completely.
Truth tables establish finite logical identities
To check a proposed equivalence with two atomic propositions, enumerate all four possible assignments and evaluate both expressions in each row. Agreement in every row proves the equivalence as a statement of propositional logic. A single disagreement refutes it. This finite exhaustiveness is stronger than checking several arithmetic instances, because arithmetic instances might not realize every relevant assignment. A truth table proves a logical pattern, while a theorem can additionally depend on relationships between its mathematical predicates.
Biconditional means that each proposition implies the other. It is true when their truth values agree, including when both are false. A tautology is true on every assignment; a contradiction is false on every assignment. Keep the distinction between the object-language expression and a claim about that expression: writing a biconditional inside a formula differs from explaining that two formulas are equivalent. In either notation, state the range of assignments or objects over which the comparison is intended.
Work it through
Separate implication from its converse
Let P mean “n is divisible by four” and Q mean “n is even.” Evaluate both directions at n = 6, and decide what this establishes.
At n = 6, P is false because no integer multiplied by four gives six. Q is true because six equals two times three. Record these component values before evaluating either implication.
The implication P implies Q is true at this input, because its hypothesis is false. Its converse Q implies P is false, because it has a true hypothesis and false conclusion.
This one input refutes the converse universally over integers. It does not by itself prove the forward universal theorem; that proof writes n = 4k = 2(2k) for an arbitrary integer k.
A valid implication and its converse can differ. A counterexample must make the hypothesis true and the conclusion false.
The living notebook
Explore the model
Interactive lab · function
An implication on a controlled family
Pause the quadratic lab, set coefficient a positive, and compare positions x on both sides of zero. Test the statement “if x is nonzero, then .” Then set a to zero and locate a true-hypothesis, false-conclusion instance. These controls explore one real family; observations do not prove a universal implication.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA refutation needs a true hypothesis together with a false conclusion.
Pause & reason
Check your understanding
Your turn
Try it yourself
Are “P or Q” and “if not P, then Q” equivalent? Check every truth assignment.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Evaluate the implication by its unique failing case, rather than a conversational interpretation of “if.”
Compare with the solution
In the order (P,Q) = (true,true), (true,false), (false,true), (false,false), the disjunction has values true, true, true, false. The implication has the same values: its hypothesis not P is false in the first two rows, and in the last two rows it has Q’s value. Agreement in all four assignments proves equivalence.
Keep the idea
Take it with you
- A proposition has a truth value; an open predicate needs inputs or quantifiers.
- Implication fails only at a true hypothesis with a false conclusion.
- Converse, contrapositive, and biconditional express different logical operations.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.