2.1 Mathematical Statements
TLDR: This section defines mathematical statements as unambiguous sentences that are definitively true or false. It explains how simpler statements can be combined into more complex ones using logical connectives, and highlights how these statements are crucial in computer science for describing properties of programs and systems.
2.1.1 The Concept of a Mathematical Statement
A mathematical statement (also called a proposition) is distinct from everyday statements because it must be unequivocally true or false based on the rules of mathematics. It’s free from subjectivity and ambiguity.
-
Example: “71 is a prime number.” This is a mathematical statement because it’s objectively true (71 is only divisible by 1 and itself).
-
Example: “Birds can fly.” This is not a mathematical statement. While generally true, there are exceptions (e.g., penguins, ostriches). It lacks the precise truth or falsity required in mathematics.
-
Example: “Roger Federer is the best tennis player.” This is subjective and not a mathematical statement. The criteria for “best” aren’t mathematically defined.
-
Theorem, Lemma, Corollary: A proven true mathematical statement is often called a theorem (particularly significant results), a lemma (intermediate, often technical results), or a corollary (a direct consequence of a theorem or lemma).
-
Conjecture: A statement believed to be true or false but lacking a proof is a conjecture.
-
Assumption: In a line of reasoning, we might assume a statement to be true, even if we don’t know for sure ; this is an assumption.
2.1.2 Composition of Mathematical Statements
We can create complex mathematical statements from simpler ones using logical connectives:
-
Negation (): The negation of a statement is true if and only if is false. For example, if is “4 is even,” then is “4 is not even” (or “4 is odd”), which is false.
-
Conjunction (): A conjunction of two statements and (written ) is true if and only if both and are true. For example, “4 is even 71 is prime” is true. However, “5 is even 71 is prime” is false because “5 is even” is false.
-
Disjunction (): A disjunction of two statements and (written ) is true if and only if at least one of and is true. So “5 is even 71 is prime” is true because “71 is prime” is true.
-
Implication (): An implication is true in all cases except when is true and is false. It does not imply causality. For example, “4 is even 71 is prime” is true. Also, “5 is even 71 is prime” is true (because is false). Critically, “4 is even 70 is prime” is false (because is true and is false).
-
Two-sided implication (): is true if and only if both and have the same truth value (both true or both false). It’s equivalent to .
2.1.3 Mathematical Statements in Computer Science
In computer science, mathematical statements precisely capture properties of programs, systems, and algorithms. Proving these statements allows us to guarantee correctness, performance, and security.
- Example: “Program terminates for all inputs.” This is a mathematical statement we’d aim to prove to ensure a program doesn’t enter an infinite loop.
- Example: “Algorithm solves problem with accuracy .” This quantifies algorithm performance, a common goal in algorithm design and analysis.
- Example: “Encryption scheme is secure.” Security properties are formalized as mathematical statements, and their proofs are critical for confidence in security systems. Note: “secure” itself must be mathematically defined.
2.2 The Concept of a Proof
TLDR: This section delves into the nature of mathematical proofs, differentiating between formal and informal approaches. It provides various proof techniques (direct proof, proof by contradiction, proof by induction, etc.), illustrates common pitfalls with examples of false proofs, and emphasizes the role of logic in establishing rigorous mathematical arguments.
2.2.1 Examples of Proofs
A proof rigorously demonstrates the truth of a mathematical statement through a chain of logical steps. Let’s look at some methods:
Example 2.2: Proof by Simple Calculation
Claim: The number is not prime.
Proof: A simple calculation shows that . Since 2047 has factors other than 1 and itself, it’s not a prime number.
Example 2.2 (Alternative): Proof by Generalization
Claim: If is not prime, then is not prime.
Proof: If is not prime, then for some integers . We can factor as follows:
.
Since , . And since , the second term is also greater than 1. Therefore, is a product of two integers larger than 1, meaning it’s composite (not prime). This proves the claim. This is a direct proof which shows the statement is true without resorting to contradiction.
Example 2.3: Proof Using Definitions and Algebraic Properties
Claim: If and are perfect squares, then is also a perfect square.
Proof:
-
Definition: A number is a perfect square if there exists an integer such that .
-
Assumption: and are perfect squares. This means there exist integers and such that and .
-
Derivation: .
-
Conclusion: Since is an integer, is a perfect square by definition.
Example 2.4 (INCORRECT): A Flawed Proof by Induction
Claim: Any lines in the plane (no two parallel, no three concurrent) intersect at a single point.
Flawed Proof (by induction):
- Base case (n=2): Two non-parallel lines intersect at one point.
- Inductive step: Assume that lines intersect at a single point. Consider lines. The first intersect at a point . The last line intersects the first lines at points . Since these must all be , they all intersect at .
Flaw: The inductive step is incorrect. While any two lines intersect at a point, there’s no guarantee those intersection points are identical. The problem shows that intuition can be misleading even in simple problems. A correct proof would require different mathematical tools.
Example 2.5 (INCORRECT): A Proof Leading to a False Conclusion
- Let .
- Multiply both sides by : .
- Subtract from both sides: .
- Factor both sides: .
- Divide both sides by : .
- Since , substitute for : , which simplifies to .
- Divide both sides by : .
The Mistake:
The error lies in step 5. We divided both sides of the equation by . However, since we started with the assumption that , then . Division by zero is undefined and invalidates the entire proof. The other steps are mathematically sound but are rendered irrelevant and meaningless because of this initial error. Any result derived from an invalid operation is itself invalid.
In short: The proof manipulates a mathematically true statement () to obtain a false one (). This is possible only because the proof relies on an illegal algebraic step—division by zero. This highlights the importance of ensuring that every step in a mathematical proof is valid and does not rely on any undefined operations or logically inconsistent assumptions.
2.2.2 Examples of False Proofs
False proofs appear correct at first glance due to subtle logical errors. They highlight the critical need for rigorous arguments and careful attention to detail. (Example 2.4 and 2.5 are examples of this).
2.2.3 Two Meanings of the Symbol
The symbol has two distinct but related meanings:
- Implication: In propositional logic, is a formula representing the statement “If is true, then is true.” Its truth table is:
P | Q | |
---|---|---|
True | True | True |
True | False | False |
False | True | True |
False | False | True |
- Logical Consequence: In the context of a proof, indicates a derivation. It means that from the truth of , the truth of logically follows. This is a semantic concept, relating statements’ truth values, while implication is a syntactic tool for building formulas.
2.2.4 Proofs Using Several Implications
A proof might involve a chain of implications, demonstrating a progression of logical steps. To prove , we may show , , . Each implication is a separate, proven step.
2.2.5 An Informal Understanding of the Proof Concept
Informally, a proof is a persuasive argument that establishes a statement’s truth. It’s a sequence of clear, easily verifiable steps starting from known facts or axioms, progressing through logical deductions, and arriving at the desired conclusion.
2.2.6 Informal vs. Formal Proofs
-
Informal Proofs: Use natural language, making the logical connections implicit rather than explicitly formalizing them in a logical system. They’re easier to understand and communicate, but they can be less precise and may contain hidden assumptions.
-
Formal Proofs: Explicity state every step within a formal system, using well-defined rules. The axioms, rules, and logical steps are all explicitly defined, leaving no room for ambiguity or hidden assumptions. This guarantees precision but may be less intuitive.
2.2.7 The Role of Logic
Logic is the foundation of rigorous mathematical reasoning. It provides the formal language and rules for constructing sound and complete proofs. Formal logic helps prevent errors, allows for automatic verification of proofs (by computer), and ensures a deeper understanding of the underlying mathematical relationships.
2.2.8 Proofs in this Course
The course uses primarily informal proofs, balancing mathematical rigor with intuitive accessibility. While formal proofs are referenced for completeness and precision, the emphasis is on clear, understandable reasoning.
2.3 A First Introduction to Propositional Logic
TLDR: This section introduces propositional logic, a formal system for reasoning about truth values. It defines logical constants, operators, and formulas, shows how formulas can be viewed as functions, explores logical equivalence and basic laws, and discusses concepts like logical consequence, tautologies, and satisfiability. The section also briefly touches on the representation of propositional logic using logical circuits.
2.3.1 Logical Constants, Operators, and Formulas
Propositional logic uses symbols to represent statements and their relationships.
Logical Constants:
- True ( or 1): Represents a statement that is always true.
- False ( or 0): Represents a statement that is always false.
Logical Operators:
These symbols combine simpler statements into more complex ones:
-
Negation (): Reverses the truth value of a statement. is true if is false, and false if is true.
-
Conjunction (): Represents “and.” is true if and only if both and are true.
-
Disjunction (): Represents “or” (inclusive or). is true if and only if at least one of and is true.
-
Implication (): Represents “if…then.” is false only when is true and is false ; otherwise, it’s true. It doesn’t express causality.
-
Equivalence (): Represents “if and only if.” is true if and only if and have the same truth value (both true or both false).
Formulas:
Formulas are well-formed expressions built from logical constants, variables (representing simple statements), and logical operators. Parentheses control the order of operations, as in standard algebra.
2.3.2 Formulas as Functions
A formula with variables can be seen as a Boolean function that maps each of the possible combinations of truth values for those variables to a single truth value (True or False).
Example 2.16:
Consider the formula . Regardless of the truth values of , , and , the formula is always false. It represents a function that always outputs 0 (False).
2.3.3 Logical Equivalence and some Basic Laws
Logical Equivalence:
Two formulas are logically equivalent if they have identical truth values for all possible truth assignments to their variables. We denote equivalence by or .
Basic Laws of Propositional Logic:
These laws describe relationships between formulas:
-
Idempotency: , . (Repeating a statement has no effect on its truth value).
-
Commutativity: , . (Order doesn’t matter for conjunction and disjunction).
-
Associativity: , . (Grouping in conjunctions and disjunctions doesn’t matter).
-
Distributivity: , . (Conjunction distributes over disjunction, and vice versa).
-
Absorption: , . (Redundant terms can be eliminated).
-
Double Negation: . (Negating a negation returns the original statement).
-
De Morgan’s Laws: , . (Negating a conjunction is equivalent to the disjunction of negations, and vice versa).
-
Tautology Laws: , (Anything “or” True is True, and anything “and” True remains unchanged).
-
Unsatisfiability Laws: , (Anything “or” False remains unchanged, anything “and” False is False).
-
Excluded Middle: (A statement is either true or false).
-
Contradiction: (A statement and its negation cannot both be true).
These laws are used to simplify formulas and show their logical equivalence.
Example 2.8:
. This demonstrates that equivalence can be expressed using implication.
Example 2.9:
. This demonstrates a more complex equivalence.
Example 2.10:
. This shows a distributive law.
2.3.4 Logical Consequence (for Propositional Logic)
Logical Consequence:
(read as “P logically implies Q”) signifies that whenever is true, must also be true. This is a semantic relationship between formulas ; it means that the truth of Q is guaranteed by the truth of P. It is not a syntactic relationship like implication. This means that if there is no truth assignment where is true and is false, then .
Example 2.11:
. (If both and are true, then at least one of and is true).
Example 2.12:
. This is a more complex example of logical consequence. This requires demonstrating that there are no truth assignments where is true, and is false.
Example 2.13:
. (Implication is transitive). This example demonstrates the transitivity of logical consequence.
2.3.5 Lifting Equivalences and Consequences to Formulas
Equivalence Lifting:
If two formulas and are equivalent (), then replacing with (or vice versa) in any larger formula doesn’t change its truth value.
Consequence Lifting:
If and is part of formula , then replacing with in gives a new formula where . The resulting formula will still be a logical consequence of .
2.3.6 Tautologies and Satisfiability
Tautology:
A tautology is a formula that is always true, regardless of the truth values of its variables. We denote this with .
Example 2.15:
and are tautologies.
Satisfiable:
A formula is satisfiable if there exists at least one truth assignment for which it’s true.
Unsatisfiable:
A formula is unsatisfiable if it is false for all possible truth assignments. We often write this as
Lemma 2.2:
A formula is a tautology if and only if is unsatisfiable.
Proof: If is a tautology, it’s always true, so is always false (unsatisfiable). Conversely, if is unsatisfiable (always false), then must be always true (a tautology).
Lemma 2.3:
is a tautology if and only if .
Proof:
-
Assume is a tautology. This means there’s no truth assignment where is true and is false. Thus, whenever is true, must also be true, implying .
-
Assume . This means there is no truth assignment where is true and is false. This is the exact definition of being a tautology. Thus if is true, is a tautology.
2.3.7 Logical Circuits *
Logical circuits are electronic circuits implemented using logic gates (AND, OR, NOT, etc.) that perform the operations of propositional logic. They can physically represent and compute the values of propositional logic formulas.
2.4 A First Introduction to Predicate Logic
TLDR: Predicate logic extends propositional logic by allowing statements about properties of objects and relationships between them. It uses quantifiers ( for “for all,” for “there exists”) to make general statements about a universe of objects. The section introduces predicates, functions, and the manipulation of quantifiers, emphasizing the importance of interpretations (which assign meaning to the symbols) and extending concepts like tautologies and logical consequences to this richer logical framework.
2.4.1 Predicates
Definition:
A predicate is a statement containing one or more variables that becomes a proposition (true or false) when specific values are substituted for its variables. The number of variables determines the predicate’s arity.
Examples:
-
Example 2.17: Let be the predicate “x is an even number.” Then is true, is false. This is a unary predicate (one variable).
-
Example 2.17: Let be the predicate ” is less than .” Then is true, is false. This is a binary predicate (two variables).
-
Example 2.19: Let be the predicate ” is a prime number.” Then is true, is false. This is again a unary predicate.
-
Example 2.20: Fermat’s Last Theorem can be expressed using predicates: where the universe is the natural numbers, and the predicate indicates whether a specific equation is true or false.
2.4.2 Functions and Constants
Functions
- Definition: A function symbol, , maps a specified number (the arity) of input values from a universe to an output value within that same universe. For a k-ary function, we write .
Examples:
-
Example 2.18: . This is a unary function. , .
-
Example 2.18: . This is a binary function. , .
Constants
A constant symbol is a function with zero arguments ; it simply names a specific value within the universe of discourse.
Examples:
- Example 2.18: In the statement “x > 3,” the ‘3’ is a constant representing the value 3.
2.4.3 The Quantifiers and
Quantifiers:
-
Existential Quantifier (): The symbol means “there exists.” means “there exists at least one such that is true.”
-
Universal Quantifier (): The symbol means “for all.” means “for all , is true.”
Examples:
-
Example 2.17: means “There exists a number greater than 5,” which is true over the natural numbers.
-
Example 2.17: means “All numbers are greater than 0,” which is true over the positive integers but false over the integers (because 0 is not greater than 0).
-
Example 2.21: states that for any natural number x, there is a larger prime number y.
2.4.4 Nested Quantifiers
Quantifiers can be nested, creating more complex statements where the order is crucial.
Examples:
-
Example 2.18: means “For every , there exists a such that .” This is true for the set of real numbers or integers but false for the natural numbers (there is a smallest natural number, 0).
-
Example 2.18: means “There exists a such that for all .” This is false for all number systems.
-
Example 2.22: states that “Every number is either 0 or has a multiplicative inverse.” This is true for the set of non-zero rational numbers but is false for the set of integers (e.g., 2 does not have an integer multiplicative inverse).
2.4.5 Interpretation of Formulas
An interpretation gives meaning to the symbols (predicates, functions, and constants) in a predicate logic formula within a specific universe. This provides a concrete way to evaluate the formula’s truth.
Definition:
An interpretation consists of:
- A universe (a non-empty set).
- An assignment of a value in to each free variable.
- For each k-ary function symbol , a function .
- For each k-ary predicate symbol , a function .
Examples:
-
Example 6.20: Consider the formula . One interpretation might be:
-
(natural numbers).
-
(a constant).
-
(a function).
-
” is an even number” (a predicate).
With this interpretation, F would be true. A different interpretation might have (real numbers), ”,” and . In this case, F would be false.
2.4.6 Tautologies and Satisfiability
These concepts, already defined for propositional logic, extend to predicate logic with the caveat that we must consider truth values over all possible interpretations.
Definitions:
- Tautology: A formula that is true in every interpretation.
- Satisfiable: A formula that is true in at least one interpretation.
- Unsatisfiable: A formula that is false in every interpretation.
2.4.7 Equivalence and Logical Consequence
These concepts are similar to the propositional case, but we consider all possible interpretations.
Definitions:
- Equivalence: Formulas and are equivalent () if they have the same truth value under all interpretations.
- Logical Consequence: if, for any interpretation where is true, is also true.
Examples:
-
Example 2.24: is equivalent to .
-
This demonstrates an equivalence involving quantifiers.
2.4.8 Some Useful Rules
These informal rules, as in propositional logic, provide guidance for constructing valid arguments but lack the formal structure of rules within a fully defined calculus.
Additional Rules and Examples:
-
Universal Specialization: If is true, then is true for any constant symbol from the universe. (Similar to universal instantiation but for constants).
-
Existential Generalization: If is true for some constant symbol , then is true. (If we can find one object in the universe that satisfies a property, then there exists at least one object with that property.)
-
Quantifier Movement (Limited): In certain specific cases, the order of quantifiers can be changed. Care is needed ; the truth value will only be preserved under certain conditions. For example:
- . (The order of universal quantifiers is interchangeable.)
- . (The order of existential quantifiers is interchangeable.)
However, is not generally equivalent to . But is always true.
These added rules and examples further clarify the use of quantifiers in constructing predicate logic arguments. Remember, these are guidelines, not formal rules within a specific calculus. A formal treatment would require a precisely defined logical calculus.
2.5 Logical Formulas vs. Mathematical Statements
TLDR: This short chapter distinguishes between predicate logic formulas (syntactic objects) and mathematical statements (semantic assertions). A formula only becomes a statement when an interpretation (which assigns meaning to its symbols) is explicitly given. Mathematical statements can then be made about formulas, concerning their truth value, equivalence, or logical consequences.
2.5.1 Fixed Interpretations and Formulas as Statements
A predicate logic formula is a syntactic object, a sequence of symbols, lacking inherent truth value. It only becomes a mathematical statement (true or false) when we provide a fixed interpretation that assigns meanings to its predicates, functions, constants, and universe.
Example:
Consider the formula . This is just a formula.
-
Interpretation 1: Let the universe be the natural numbers (). The formula is true since all natural numbers are greater than 0.
-
Interpretation 2: Let the universe be the integers (). The formula is false because 0 is not greater than 0.
The formula itself is not true or false ; only the formula within a specific interpretation becomes a mathematical statement with a definitive truth value.
2.5.2 Mathematical Statements about Formulas
Once interpretations are given to formulas, we can make mathematical statements about those formulas. These meta-statements concern properties such as truth value, equivalence, or consequence.
Examples:
-
“Formula is a tautology.” This meta-statement asserts that is true under all possible interpretations.
-
“Formula is satisfiable.” This meta-statement asserts that there exists at least one interpretation where is true.
-
“Formula is unsatisfiable.” This meta-statement asserts that is false under all possible interpretations.
-
“Formula logically implies formula ()“. This means that, for any interpretation, if is true, is also true within that interpretation.
-
“Formulas and are logically equivalent ()“. This means and have the same truth value under all interpretations.
These statements about formulas are themselves mathematical statements that can be proven or disproven using appropriate logical techniques. They highlight the distinction between the syntax (form) and semantics (meaning) of a formula.
2.6 Some Proof Patterns
TLDR: This section outlines common proof strategies used in mathematics. It covers direct and indirect proofs for implications, modus ponens, proof by cases, proof by contradiction, existence proofs (including the pigeonhole principle), proof by counterexample, and proof by induction. Each method is explained with its underlying logic and illustrated (where possible) with examples.
2.6.1 Composition of Implications
This rule formalizes the idea of chaining implications:
Rule: If and are true, then is also true.
Proof (using truth tables): We can construct the truth tables for the implications:
P | Q | R | ||||
---|---|---|---|---|---|---|
T | T | T | T | T | T | T |
T | T | T | F | F | F | T |
T | F | F | T | T | F | T |
T | F | F | F | T | F | T |
F | T | T | T | T | T | T |
F | T | T | F | F | T | T |
F | F | T | T | T | T | T |
F | F | T | F | T | T | T |
The final column shows that the implication is always true, thus proving the rule. This rule is essentially the transitivity of implication.
2.6.2 Direct Proof of an Implication
This is a fundamental proof technique for implications:
Method: To prove directly, assume is true and then logically derive the truth of .
Example:
Claim: If is an even integer, then is also an even integer.
Proof:
-
Assumption: is an even integer. By definition, this means for some integer .
-
Derivation: .
-
Conclusion: Since is an integer, is of the form , making it an even integer by definition. Therefore, the implication holds.
2.6.3 Indirect Proof of an Implication (Proof by Contradiction)
This approach uses contradiction to prove an implication:
Method: To prove , assume both and are true and then derive a contradiction. The contradiction shows that our initial assumptions must be false, proving .
Example 2.26:
Claim: If is irrational, then is irrational.
Proof:
-
Assumptions: is irrational, and is rational.
-
Derivation: If is rational, then for some integers where and . Squaring both sides gives . This implies that is rational, contradicting the initial assumption that is irrational.
-
Conclusion: The contradiction arises from the assumption that is rational. Therefore, must be irrational.
2.6.4 Modus Ponens
A fundamental rule of inference:
Rule: If is true and is true, then is true.
Proof (using truth tables): The implication is always true.
P | Q | |||
---|---|---|---|---|
T | T | T | T | T |
T | F | F | F | T |
F | T | T | F | T |
F | F | T | F | T |
2.6.5 Case Distinction (Proof by Cases)
This involves dividing a proof into separate cases:
Method: To prove a statement, one breaks the proof down into a set of exhaustive cases. If the statement holds true in each case, it must be true generally.
Example:
Claim: For any integer , is divisible by 3.
Proof:
-
Case 1 (): If is divisible by 3, then is also divisible by 3.
-
Case 2 (): If has a remainder of 1 when divided by 3, then is divisible by 3. Thus is divisible by 3.
-
Case 3 (): If has a remainder of 2 when divided by 3, then is divisible by 3. Thus is divisible by 3.
-
Conclusion: Since these cases are exhaustive, is divisible by 3 for all integers .
2.6.6 Proofs by Contradiction
This approach proves a statement by showing the opposite leads to a contradiction.
Method: To prove , assume and derive a logically impossible result (a contradiction). This contradiction shows that must be false, therefore must be true.
Example:
Claim: There are infinitely many prime numbers.
Proof:
-
Assumption: Assume a finite number of primes ().
-
Derivation: Construct a new number . This number is either prime or divisible by a prime not in the original set, contradicting the initial assumption.
-
Conclusion: The assumption of a finite number of primes leads to a contradiction. Therefore, there must be infinitely many prime numbers.
2.6.7 Existence Proofs
This type of proof shows that at least one object with a particular property exists. It doesn’t necessarily tell us how to find that object.
Method: To prove , you need only find one specific for which is true.
Example:
Claim: There exists a prime number such that and are also prime.
Proof: satisfies the condition since 13, 3, and 23 are all prime. This is a constructive existence proof, as it provides a specific example. Otherwise we call the proof non-constructive.
2.6.8 Existence Proofs via the Pigeonhole Principle
The Pigeonhole Principle states: if items are put into containers, with , then at least one container must contain more than one item.
Example 2.31:
Claim: In any group of 100 people, at least nine share the same birth month.
Proof: There are 12 months (containers). If we have 100 people (items), then at least must share a birth month.
2.6.9 Proofs by Counterexample
This method disproves a universal statement.
Method: To disprove , it suffices to find a single example (a counterexample) where is false.
Example:
Claim: All even numbers are divisible by 4.
Counterexample: 2 is an even number that is not divisible by 4. This disproves the claim.
2.6.10 Proofs by Induction
This is a powerful technique for proving statements about recursively defined sequences.
Method (Mathematical Induction): To prove that a statement is true for all natural numbers , we follow these steps:
-
Base Case: Prove (or , depending on the starting point of the sequence).
-
Inductive Step: Assume is true for some arbitrary (the inductive hypothesis). Prove that is also true.
The base case establishes the starting point. The inductive step shows that if the property holds for a given number, it also holds for the next. By the principle of mathematical induction, the property then holds for all subsequent numbers. It’s like climbing an infinite ladder: If you can reach the first rung and climb from any rung to the next, you can climb to any rung.
Example 2.37:
Claim: Every integer amount of postage greater than or equal to 12 cents can be made using only 4-cent and 5-cent stamps.
Proof:
-
Base Case: 12 cents = 3(4 cents), 15 cents = 3(5 cents)
-
Inductive Hypothesis: Assume that it is possible to form a postage of cents, where , using only 4-cent and 5-cent stamps.
-
Inductive Step: We now need to show that we can also make a postage of cents. Since , we have two cases:
- If the postage of cents contains at least one 5-cent stamp, replace it with two 4-cent stamps (). This yields a postage of cents.
- If the postage of cents does not contain any 5-cent stamps, it must consist entirely of 4-cent stamps, and thus is a multiple of 4. Since , we must have , so we can replace at least four 4-cent stamps with five 5-cent stamps (). This yields a postage of cents.
- Conclusion: By the principle of mathematical induction, the statement is true for all integers .
Next Chapter: Chapter 3 - Sets, Relations, and Functions