Search Knowledge

© 2026 LIBREUNI PROJECT

Proof Techniques

Proof Techniques

A mathematical proof is an Inferential argument for a mathematical statement. It uses previously established statements, such as theorems, and follows logically sound rules. In mathematics, we are not looking for “evidence” (as in science), but for absolute certainty.

Direct Proof

In a direct proof, we assume PP is true and use logic to show that QQ must follow.

Example: Prove that if nn is an even integer, then n2n^2 is even.

  1. Assume nn is even. By definition, n=2kn = 2k for some integer kk.
  2. Square both sides: n2=(2k)2=4k2n^2 = (2k)^2 = 4k^2.
  3. Rewrite the result: n2=2(2k2)n^2 = 2(2k^2).
  4. Since 2k22k^2 is an integer, n2n^2 is in the form 2m2m, and thus n2n^2 is even.

Proof by Contradiction

To prove PP, we assume PP is false and show that this leads to an impossible logical contradiction (0=10 = 1 or xxx \neq x).

Example: Prove that 2\sqrt{2} is irrational.

  1. Assume 2\sqrt{2} is rational. Then 2=ab\sqrt{2} = \frac{a}{b} in lowest terms.
  2. 2=a2b2    a2=2b22 = \frac{a^2}{b^2} \implies a^2 = 2b^2.
  3. This means a2a^2 is even, so aa must be even (a=2ka = 2k).
  4. (2k)2=2b2    4k2=2b2    2k2=b2(2k)^2 = 2b^2 \implies 4k^2 = 2b^2 \implies 2k^2 = b^2.
  5. This means b2b^2 is even, so bb must be even.
  6. Contradiction: If both aa and bb are even, the fraction was not in lowest terms. Thus, the original assumption must be false.

Mathematical Induction

Induction is like a row of falling dominoes. To prove a statement P(n)P(n) is true for all n1n \geq 1:

  1. Base Case: Prove P(1)P(1) is true.
  2. Inductive Step: Assume P(k)P(k) is true (the “Inductive Hypothesis”) and show that P(k+1)P(k+1) must be true.

Let’s test the formula for the sum of the first nn integers: i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n+1)}{2}.

python
1# Testing the Sum Formula: n(n+1)/2
2def sum_formula(n):
3 return n * (n + 1) // 2
4 
5def sum_manual(n):
6 return sum(range(1, n + 1))
7 
8# Let's check if they match for various n
9n_values = [1, 10, 100, 1000]
10results = {n: (sum_manual(n) == sum_formula(n)) for n in n_values}
11 
12print("Results for various n:")
13for n, correct in results.items():
14 print(f"n={n}: Match? {correct}")
15 

By proving the inductive step, we show that if it works for kk, it guarantees work for k+1k+1, creating an infinite chain of truth.

Exercises

What is the first step in a Proof by Contradiction?

If we want to prove that 'All prime numbers are odd' is FALSE, what do we need?

Previous Module Projective Geometry