Diagnostic Problems for Proof-based Courses
This page contains a running list of problems I give to students to help check their understanding of proof techniques. The manipulations required are routine, and only simple definitions are necessary to write a good proof for most of the problems.
Proofs (and disproofs) for these statements can be read by clicking on the corresponding word.1
Proof by Induction
Prove that \( \sum_{k=1}^n k = \frac{n(n+1)}{2} \) for all \( n \in \bb{Z}_{\geq 0} \) by induction.
Base Case:
When \( n = 0 \) we have \( \sum_{k=1}^n k = \sum_{k=1}^0 k = 0 \), as this is the empty sum.
Moreover, \( \frac{n(n+1)}{2} = \frac{0(0+1)}{2} = 0 \).
Hence the base case \( n = 0 \) holds.
Inductive Step:
As our inductive hypothesis, we suppose that \( \sum_{k=1}^n k = \frac{n(n+1)}{2} \).
Using this hypothesis and basic arithmetic we compute as follows.
Hence we have verified the inductive step.
As both the base case and inductive step hold, the original statement follows by weak mathematical induction.
Proof.
Set Theory
Let \( A \) and \( B \) be arbitrary sets. Prove or disprove: \( A \cap B = A \) if and only if \( A \subseteq B \).
\( \Rightarrow \):
Suppose \( A \cap B = A \), and let \( x \in A \) be arbitrary.
By definition of set equality, we have \( A \cap B \subseteq A \) and \( A \subseteq A \cap B \).
As \( A \subseteq A \cap B \), we have \( x \in A \cap B \) by definition of the subset relation.
By definition of set intersection, we have \( x \in A \) and \( x \in B \).
Thus \( x \in B \).
As \( x \) was arbitrary, we have shown that \( x \in A \) implies \( x \in B \) for all \( x \).
Hence \( A \subseteq B \) by definition of the subset relation.
\( \Leftarrow \):
Suppose \( A \subseteq B \).
To finish the proof, we must show \( A \subseteq A \cap B \) and \( A \supseteq A \cap B \).
\( \subseteq \): Let \( x \in A \) be arbitrary.
Thus \( x \in B \) by definition of the subset relation.
As \( x \in A \) and \( x \in B \), we have \( x \in A \cap B \) by definition of set intersection.
As \( x \) was arbitrary, we see \( A \subseteq A \cap B \).
\( \supseteq \): Let \( x \in A \cap B \) be arbitrary.
By definition of set intersection, \( x \in A \) and \( x \in B \).
Thus \( x \in A \).
As \( x \) was arbitrary, we see \( A \cap B \subseteq A \).
Hence, as both the sufficiency and necessity statements hold, the biconditional holds and the proof is complete.
Proof.
Counterexample
The header kind of spoils these problems… Students don't know in advance that these statements are false.
Let \( a, b, c \in \bb{Z} \) be arbitrary. Prove or disprove: \( ac \mid bc \) implies \( a \mid b \).
Example.
Proof by Contradiction
Prove that for all \( x, y \in \bb{R} \), if \( x + y \) is irrational, then either \( x \) is irrational or \( y \) is irrational via proof by contradiction.
This problem has a more natural proof using a Proof of Contrapositive: understanding the difference in these methods is important!
by basic arithmetic.
As \( b, d > 0 \), we have \( bd \in \Z_{>0} \) by order properties of \( \Z \).
Moreover, \( ad + bc \in \Z \) by closure properties of \( \Z \).
In particular, we have shown that \( x + y = \frac{ad + bc}{bd} \) is a rational number by definition of rationality.
However, this directly contradicts the assumption that \( x + y \) was irrational.
Hence, we conclude that our assumption that \( x \) and \( y \) are both rational must be false.
In particular, at least one of \( x \) or \( y \) is irrational, as claimed.
Proof.
Proof by Cases
Prove or disprove: \( 3 \mid n(n+1)(n+5) \) for all \( n \in \bb{Z} \).
Note that this can also be proved via two inductive arguments, but two are necessary because \( \Z \) is not well-ordered.
Case 0: If \( r = 0 \), then \( n = 3q+0 = 3q \).
Noting that \( k = q(n+1)(n+5) \in \Z \) by closure properties of \( \Z \), we have \( n(n+1)(n+5) = 3q(n+1)(n+5) = 3k \).
Case 1: If \( r = 1 \), then \( n+5 = (3q+1)+5 = 3(q+2) \) by basic arithmetic.
Noting that \( k = n(n+1)(q+2) \in \Z \) by closure properties of \( \Z \), we have \( n(n+1)(n+5) = 3n(n+1)(q+2) = 3k \).
Case 2: If \( r = 2 \), then \( n+1 = (3q+2)+1 = 3(q+1) \) by basic arithmetic.
Noting that \( k = n(q+1)(n+5) \in \Z \) by closure properties of \( \Z \), we have \( n(n+1)(n+5) = 3n(q+1)(n+5) = 3k \).
Thus in all cases we have shown that there is a \( k \in \Z \) such that \( n(n+1)(n+5) = 3k \).
By the definition of divisibility, we thus have \( 3 \mid n(n+1)(n+5) \) as claimed.
Proof.
Footnotes:
In related news: I've now learned more HTML than I ever cared to…