Advanced Proof Techniques
161 words
1 min read
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
# Advanced Proof Techniques ## Proof by Cases **Example:** Prove $n^3 - n$ is divisible by 3 for all integers $n$. **Proof:** Consider $n = 3k$, $3k+1$, or $3k+2$ (all integers are one of these forms by division algorithm).

Advanced Proof Techniques
Proof by Cases
Example: Prove n3−n is divisible by 3 for all integers n.
Proof: Consider n=3k, 3k+1, or 3k+2 (all integers are one of these forms by division algorithm).
- n=3k: n3−n=27k3−3k=3(9k3−k) ✓
- n=3k+1: n3−n=(27k3+27k2+9k+1)−(3k+1)=27k3+27k2+6k=3(9k3+9k2+2k) ✓
- n=3k+2: n3−n=(27k3+54k2+36k+8)−(3k+2)=27k3+54k2+33k+6=3(9k3+18k2+11k+2) ✓
Combinatorial Proofs
Prove ∑k=0n(kn)=2n:
Combinatorial argument: The RHS counts subsets of an n-element set. The LHS sums the number of subsets of each size k. Both count the same thing, so they're equal.
Join Discord
PreviousMathematical InductionNextSet Theory