Proof by Mathematical Induction
Mathematical induction is a method of proof used to establish that a statement is true for all natural numbers. The main idea is that you assume that the statement is true for some natural number. Then you show, that if it is true for that natural number, then it is true for the next. Hence, if you find it is true for some number, then this means it is true for the next, hence it is true for the next, and so on, proving for it is true for all numbers greater.
Steps
It consists of a few main steps (and one extra but important step for the examinations):
- Call your statement $P(n)$. For example, "$P(n)$: $n(n+1)(n+2)$ is divisible by $6$ for all numbers $n\in\mathbb{N}$."
- Base case: Prove the statement is true for the smallest value (usually $n = 1$ or $n = 0$, but there can be others, so make sure to check what the smallest possible value is). Call this $P(1)$ or $P(0)$ (or whatever number you're using as the base case).
- Inductive hypothesis: Assume $P(k)$ holds for some number $k\in\mathbb{N}$ - i.e. the statement is true for some arbitrary natural number $k$. Let this $k$ be bigger than or equal to the number you used in your base step.
- Inductive step: Hence, now prove $P(k+1)$ holds if $P(k)$ holds – i.e. the statement is true for $k+1$ if it is true for $k$. Make sure to use your inductive hypothesis somewhere – this is what differentiates proof by induction from proof by deduction.
- (Extra but important) Conclusion: Make sure to give a conclusion that $P(k+1)$ holds if $P(k)$ holds for $k\in\mathbb{N}$, and $P(\text{base case})$ holds, therefore $P(n)$ holds for all $n \geq \text{base case}$.
Let's prove that the sum of the first $n$ positive integers is given by the formula:
$$P(n): S_n = \frac{n(n+1)}{2} $$
Base case ($n = 1$): $P(1): S_1 = 1 = \frac{1(1+1)}{2} = 1$, so $P(n)$ holds for $n = 1$.
Inductive hypothesis: Assume $P(k)$ holds for some number $k\in\mathbb{N}$ where $k\geq1$, i.e., $S_k = \frac{k(k+1)}{2}$
Inductive step:
$S_{k+1} = S_k + (k+1)$
$= \frac{k(k+1)}{2} + (k+1)$
$= \frac{k(k+1) + 2(k+1)}{2}$
$= \frac{(k+1)(k+2)}{2}$
This is exactly the formula for $n = k + 1$, thus $P(k+1)$ holds if $P(k)$ holds.
Conclusion: $P(k+1)$ holds if $P(k)$ holds, and $P(1)$ holds. Thus, $P(n)$ holds for all $n\in\mathbb{N}$.
In exams, follow this exact structure, including the notation $P(n)$. Don't add or remove anything – this could put you at risk of being docked marks.
Prove that $n^3 - n$ is divisible by $6$ for all $n\in\mathbb{N}$:
- deductively
- inductively.
Proof by Contradiction
Proof by contradiction is a method where we assume the opposite of what we want to prove, and then show that this assumption leads to a logical contradiction. This implies that our original statement must be true.
Let's prove that $\sqrt3$ is irrational.
- Assume $\sqrt3$ is rational. This means it can be expressed as a fraction $\frac{a}{b}$ where a and b are integers with no common factors.
- If this is true, then $\frac{a}{b} = \sqrt{3}$
- Square both sides: $\frac{a^2}{b^2} = 3$
- Multiply both sides by $b^2$: $a^2 = 3b^2$
- This means $a^2$ is divisible by 3, which implies a is divisible by 3. Let $a = 3k$ for some integer k.
- Substitute this back: $(3k)^2 = 3b^2$
- Simplify: $9k^2 = 3b^2$
- Divide by 3: $3k^2 = b^2$
- This means $b^2$ is divisible by 3, which implies b is divisible by 3.
- But this contradicts our initial assumption that a and b have no common factors.
Therefore, our initial assumption must be false, and √3 must be irrational.
Students often forget to clearly state the contradiction and explain why it invalidates the initial assumption.
Counterexamples
A counterexample is a specific case that disproves a general statement. It's a powerful tool to show that a statement is not always true.
All elements of P are prime
Consider the set $P$ of numbers of the form $n^2 + 41n + 41$, where $n$ is a natural number.
To disprove that all elements of $P$ are prime, we need to find a value of $n$ for which $n^2 + 41n + 41$ is not prime.
Let's try $n = 41$:
$41^2 + 41(41) + 41 = 1681 + 1681 + 41 = 3403 = 41 \times 83$
This is not a prime number as it's divisible by 41 and 83.
When using a counterexample, it's crucial to explain why the example contradicts the given statement, not just state the example.
Proof by induction is mostly seen on papers 1 and 2, while proof by contradiction and counterexample are most often seen on paper 3.