Skip to content

Appendix B. Proof Techniques

A mathematical proof is a logically complete argument establishing the truth of a statement from accepted assumptions, definitions, and previously proved results.

B.1 The Nature of Mathematical Proof

A mathematical proof is a logically complete argument establishing the truth of a statement from accepted assumptions, definitions, and previously proved results.

In number theory, proofs often combine algebraic manipulation, divisibility arguments, congruences, induction, and structural reasoning. A proof must justify every essential step. Numerical examples may suggest a statement, but they do not establish it universally.

The distinction between observation and proof is fundamental. For instance,

221=3,321=8,521=24 2^2-1=3,\quad 3^2-1=8,\quad 5^2-1=24

suggests that p21p^2-1 is divisible by 2424 for primes p>3p>3. A proof must explain why this always occurs.

B.2 Direct Proof

A direct proof begins from the assumptions and proceeds logically to the conclusion.

Example: prove that the sum of two even integers is even.

Let

a=2m,b=2n a=2m,\quad b=2n

for integers m,nm,n. Then

a+b=2m+2n=2(m+n). a+b=2m+2n=2(m+n).

Since m+nZm+n\in\mathbb{Z}, the number a+ba+b is even.

Direct proofs are common when definitions naturally expand into algebraic expressions.

B.3 Proof by Contrapositive

To prove

P    Q, P\implies Q,

it is often easier to prove the logically equivalent statement

¬Q    ¬P. \neg Q\implies \neg P.

Example: prove that if n2n^2 is odd, then nn is odd.

Instead of proving this directly, prove the contrapositive:

If nn is even, then n2n^2 is even.

Let

n=2k. n=2k.

Then

n2=4k2=2(2k2), n^2=4k^2=2(2k^2),

so n2n^2 is even.

Therefore the original statement holds.

Contrapositive arguments are especially effective when negating the conclusion simplifies the algebraic structure.

B.4 Proof by Contradiction

In contradiction arguments, one assumes the statement is false and derives an impossibility.

The contradiction may take several forms:

  • violation of a known theorem,
  • impossibility in arithmetic,
  • incompatible parity,
  • infinite descent,
  • logical inconsistency.

Example: irrationality of 2\sqrt{2}

Assume 2\sqrt{2} is rational. Then

2=ab \sqrt{2}=\frac{a}{b}

with integers a,ba,b having no common factor and b0b\ne0.

Squaring gives

a2=2b2. a^2=2b^2.

Hence a2a^2 is even, so aa is even. Write

a=2k. a=2k.

Substituting,

4k2=2b2, 4k^2=2b^2,

so

b2=2k2. b^2=2k^2.

Thus bb is even.

Both aa and bb are even, contradicting the assumption that they share no common factor.

Therefore 2\sqrt{2} is irrational.

Contradiction proofs are central in classical number theory.

B.5 Proof by Cases

Sometimes a statement naturally separates into distinct situations.

Example: prove that

n(n+1) n(n+1)

is even for every integer nn.

Every integer is either even or odd.

Case 1: nn is even. Then n(n+1)n(n+1) is even.

Case 2: nn is odd. Then n+1n+1 is even, so n(n+1)n(n+1) is even.

Hence the product is always even.

The cases must collectively exhaust all possibilities.

B.6 Mathematical Induction

Induction proves statements indexed by the natural numbers.

To establish P(n)P(n) for all n1n\ge1:

  1. Prove the base case.
  2. Assume P(n)P(n) is true.
  3. Prove P(n+1)P(n+1).

Example

Prove that

1+2++n=n(n+1)2. 1+2+\cdots+n=\frac{n(n+1)}{2}.

Base case:

1=122. 1=\frac{1\cdot2}{2}.

Inductive step: assume

1+2++n=n(n+1)2. 1+2+\cdots+n=\frac{n(n+1)}{2}.

Then

1+2++n+(n+1)=n(n+1)2+(n+1). 1+2+\cdots+n+(n+1) = \frac{n(n+1)}{2}+(n+1).

Factor:

=(n+1)(n2+1)=(n+1)(n+2)2. = (n+1)\left(\frac{n}{2}+1\right) = \frac{(n+1)(n+2)}{2}.

Thus the formula holds for n+1n+1.

Therefore it holds for all n1n\ge1.

B.7 Strong Induction

Strong induction assumes all previous cases.

Example: every integer n2n\ge2 factors into primes.

Base case: 22 is prime.

Assume every integer between 22 and nn factors into primes.

Consider n+1n+1.

If n+1n+1 is prime, the claim holds.

Otherwise,

n+1=ab n+1=ab

with

1<a,b<n+1. 1<a,b<n+1.

By the inductive hypothesis, both aa and bb factor into primes. Therefore n+1n+1 also factors into primes.

Strong induction is essential when smaller substructures arise naturally.

B.8 Existence Proofs

An existence proof establishes that an object exists.

Constructive existence

A constructive proof explicitly produces the object.

Example: there exists an even prime.

Indeed,

2 2

is even and prime.

Nonconstructive existence

A nonconstructive proof shows existence without explicit construction.

Example: there exist irrational numbers a,ba,b such that aba^b is rational.

Consider

x=22. x=\sqrt{2}^{\sqrt{2}}.

If xx is rational, we are done.

If xx is irrational, let

a=x,b=2. a=x,\quad b=\sqrt{2}.

Then

ab=(22)2=22=2, a^b = \left(\sqrt{2}^{\sqrt{2}}\right)^{\sqrt{2}} = \sqrt{2}^2 = 2,

which is rational.

Thus such irrational numbers exist.

B.9 Uniqueness Proofs

To prove uniqueness, one shows:

  1. existence of an object,
  2. no second distinct object can satisfy the same conditions.

Example: the quotient and remainder in the division algorithm are unique.

Suppose

a=bq+r=bq+r a=bq+r=bq'+r'

with

0r,r<b. 0\le r,r'<b.

Subtract:

b(qq)=rr. b(q-q')=r'-r.

Since both remainders lie between 00 and b1b-1,

rr<b. |r'-r|<b.

But the left side is divisible by bb. The only multiple of bb with absolute value less than bb is 00. Hence

r=r, r=r',

and therefore

q=q. q=q'.

B.10 Counterexamples

A universal statement is disproved by a single counterexample.

Example:

“All primes are odd.”

Counterexample:

2. 2.

Counterexamples are valuable because they reveal hidden assumptions or incorrect intuition.

In advanced mathematics, discovering a counterexample often leads to sharper definitions and deeper theory.

B.11 Infinite Descent

Infinite descent is a special contradiction method introduced by Fermat.

One assumes a solution exists and constructs a strictly smaller solution of the same type. Repeating this process generates an infinite decreasing sequence of positive integers, which is impossible.

Example idea

Suppose a minimal positive solution exists. Construct a smaller one. Contradiction.

Infinite descent was historically important in Diophantine equations and remains influential in arithmetic geometry.

B.12 Equivalence Proofs

To prove

PQ, P\Longleftrightarrow Q,

one proves:

P    Q P\implies Q

and

Q    P. Q\implies P.

Example:

An integer nn is even if and only if n2n^2 is even.

One direction:

n even     n2 even. n \text{ even } \implies n^2 \text{ even}.

Other direction:

n2 even     n even. n^2 \text{ even } \implies n \text{ even}.

Together these establish equivalence.

B.13 Common Errors in Proofs

Assuming the conclusion

A proof must not secretly use the statement being proved.

Checking only examples

Finite verification does not prove an infinite statement.

Ignoring quantifiers

Statements involving “for all” and “there exists” must be handled carefully.

Division by zero

Algebraic manipulations must preserve validity.

For example,

a2=b2 a^2=b^2

does not imply

a=b a=b

unless additional assumptions are given.

Undefined operations

Expressions must be meaningful within the domain under consideration.

B.14 Structure of Good Mathematical Writing

A proof should satisfy several principles:

PrincipleDescription
PrecisionEvery claim is logically justified
ClarityThe main argument is visible
BrevityUnnecessary steps are omitted
CompletenessEssential details are included
FlowThe argument progresses naturally

Good proofs balance rigor with readability.

In number theory, elegant proofs are especially valued because arithmetic phenomena often conceal deep structure beneath elementary statements.

B.15 Strategy in Number Theory Proofs

Certain methods recur frequently in number theory.

TechniqueTypical Use
Modular arithmeticdivisibility and residues
Inductionrecursive structure
Contradictionirrationality and infinitude
Factorizationprime decomposition
Infinite descentDiophantine equations
Counting argumentscombinatorial number theory
Bounding argumentsanalytic estimates
Symmetryalgebraic identities

Experienced mathematicians often recognize the correct method from structural features of the problem.

B.16 Reading and Constructing Proofs

Learning proofs requires active engagement.

When reading a proof:

  1. Identify the assumptions.
  2. Determine the target conclusion.
  3. Locate the main idea.
  4. Verify each inference.
  5. Reconstruct the argument independently.

When constructing a proof:

  1. Rewrite definitions explicitly.
  2. Test small examples.
  3. Search for structural patterns.
  4. Choose an appropriate method.
  5. Organize the argument before writing.

Proof writing improves through repeated practice. Number theory is especially well suited for this development because many deep ideas arise from elementary objects.