Proof -- Diagnostic Tests
Intuition
Section titled “Intuition”Mathematics is the language of patterns and logic — a tool for describing relationships and solving problems.
Proof — Diagnostic Tests
Section titled “Proof — Diagnostic Tests”Unit Tests
Section titled “Unit Tests”Tests edge cases, boundary conditions, and common misconceptions for proof.
UT-1: Proof by Contradiction — is Irrational
Section titled “UT-1: Proof by Contradiction — 2\sqrt{2}2 is Irrational”Question:
(a) Prove by contradiction that is irrational.
(b) A student”s proof contains the following claim: “Since is even, must be even.” Justify this step rigorously by proving its contrapositive.
(c) Adapt the method to prove that is irrational.
[Difficulty: hard. Tests the full rigour of proof by contradiction, including the contrapositive argument that “if is even then is even.”]
Solution:
(a) Suppose, for contradiction, that is rational. Then where , And (i.e. The fraction is in its lowest terms).
Squaring: So .
Since , is even. Since the square of an odd number is odd, must be even.
Write for some integer . Then So Giving .
Since , is even, and by the same argument, is even.
So both and are even, contradicting .
Therefore is irrational.
(b) The claim is: “If is even, then is even.”
The contrapositive is: “If is odd, then is odd.”
Proof of contrapositive: If is odd, write for some integer . Then:
Which is odd (of the form where ).
Since the contrapositive is logically equivalent to the original statement, and we have proved the contrapositive, the original statement is also proved.
(c) Suppose in lowest terms.
So is divisible by 3.
We need: “If is divisible by 3, then is divisible by 3.”
Contrapositive: “If is not divisible by 3, then is not divisible by 3.”
If is not divisible by 3, then or .
- If : .
- If : .
In either case, So is not divisible by 3.
Therefore is divisible by 3. Write . Then So And by the same argument, is divisible by 3.
Both and divisible by 3 contradicts . Therefore is irrational.
UT-2: Proof by Induction — Base Case Errors
Section titled “UT-2: Proof by Induction — Base Case Errors”Question:
A student is asked to prove that for all .
(a) Write out the full proof by induction, including the base case and inductive step.
(b) A different student claims the formula holds for all and starts their base case at . Show that the formula also holds for and explain why starting at does not invalidate the proof.
(c) A third student tries to prove that for all by induction. Show that the inductive step fails at Even though the statement is true for . Find the smallest value of such that for all .
[Difficulty: hard. Tests the role of the base case in anchoring the induction, and the subtlety that the inductive step may require to be sufficiently large.]
Solution:
(a) Let be the statement .
Base case (): LHS . RHS . LHS RHS. is true.
Inductive step: Assume is true for some :
For :
This is . By induction, is true for all .
(b) At : LHS (empty sum). RHS . True.
Starting at is valid because the inductive step from to works for . The proof establishes the result for all Which is a stronger statement than . This does not invalidate the proof; it proves a more general result.
(c) Check values: . True. . Not strictly greater (equality, not inequality). . False!
So the statement ” for all ” is actually false at .
Inductive step from to : Assume . Need .
(by the inductive hypothesis).
We need I.e. I.e. .
So the inductive step works for Meaning for all (since we need to verify the base case at Or anchor at and step forward).
Wait, let me check: ? No, . Not strictly greater.
. True.
. True. And the inductive step works from onwards.
So the smallest is : for all .
UT-3: Necessary vs Sufficient Conditions
Section titled “UT-3: Necessary vs Sufficient Conditions”Question:
For each of the following, state whether the condition is necessary, sufficient, both, or neither.
(a) "" as a condition for "".
(b) ” is prime” as a condition for ” is odd”.
(c) "" (where ) as a condition for ” and ”.
(d) A student claims: “If a function is differentiable at a point, then it is continuous at that point.” State whether this is a necessary condition, a sufficient condition, or both, for continuity.
(e) Prove that "" is necessary but not sufficient for "", and construct a counterexample to show insufficiency.
[Difficulty: hard. Tests the fundamental distinction between necessary and sufficient conditions, which students confuse persistently.]
Solution:
(a) "" implies "": if then . So "" is sufficient for "".
However, "" is not necessary: gives But .
Answer: sufficient but not necessary.
(b) If is prime and Then is odd. But is prime and even.
So “prime” does not imply “odd” (counterexample: 2). Also, “odd” does not imply “prime” (counterexample: 9).
Answer: neither necessary nor sufficient.
(c) "": since and The sum is zero only when both are zero. So .
Answer: both necessary and sufficient (the condition is equivalent).
(d) The statement “If differentiable then continuous” means differentiability is sufficient for continuity. Equivalently, continuity is necessary for differentiability.
Note: the converse is false (e.g. is continuous at but not differentiable there), so differentiability is not necessary for continuity.
Answer: Differentiability is sufficient (but not necessary) for continuity.
(e) "" is necessary for "": if then . (Every satisfies .)
"" is not sufficient for "": the counterexample is Since but .
Integration Tests
Section titled “Integration Tests”Tests synthesis of proof with other topics. Requires combining concepts from multiple units.
IT-1: Proving Convergence of a Recurrence Relation by Induction (with Sequences)
Section titled “IT-1: Proving Convergence of a Recurrence Relation by Induction (with Sequences)”Question:
A sequence is defined by and for .
(a) Prove by induction that for all .
(b) Prove by induction that for all .
(c) State the limit of the sequence and justify your answer using the monotone convergence theorem.
(d) Find in terms of Giving your answer in its simplest form.
[Difficulty: hard. Combines proof by induction with recurrence relations, boundedness, monotonicity, and series summation.]
Solution:
(a) Let be "".
Base case (): . True.
Inductive step: Assume for some .
(since ).
So . By induction, for all .
(b) Let be "".
Base case (): , . . True.
Inductive step: Assume for some . We need .
.
By part (a), So Giving .
So . By induction, for all (strictly increasing).
(c) The sequence is strictly increasing (part b) and bounded above by 3 (part a). By the monotone convergence theorem, the sequence converges.
Let . Then .
(d) The recurrence can be solved: .
This gives So .
IT-2: Proving a Function is Injective (with Functions)
Section titled “IT-2: Proving a Function is Injective (with Functions)”Question:
(a) Prove that is injective on using two different methods: (i) by algebra, and (ii) by calculus.
(b) Prove that is NOT injective on by providing a specific counterexample.
(c) Find the largest subset of on which is injective, and prove your answer.
[Difficulty: hard. Combines injectivity proofs with algebraic and calculus-based arguments, and domain restriction analysis.]
Solution:
(a) (i) Algebraic proof: Suppose for some .
.
Either or .
Now .
Equality requires and Giving .
So only when . In all cases, .
Therefore is injective.
(ii) Calculus proof: for all With equality only at .
means is non-decreasing. To show strict monotonicity: for any with , on (since is a single point), so by the Mean Value Theorem, for some .
If : .
Therefore for all So is strictly increasing and hence injective.
(b) But . Therefore is not injective on .
(c) Claim: is injective on .
Proof: If and Then . Since We need Giving .
Similarly, is injective on .
Maximality: Any domain that contains both a positive and a negative number fails to make injective (since for ). Adding to either half preserves injectivity. Therefore the largest subsets are and .
IT-3: Divisibility Proof Using Induction (with Number Theory)
Section titled “IT-3: Divisibility Proof Using Induction (with Number Theory)”Question:
(a) Prove by induction that is divisible by 6 for all positive integers .
(b) Prove that is divisible by 7 for all .
(c) A student claims that is prime for all positive integers . Disprove this claim by counterexample, finding the smallest counterexample.
[Difficulty: hard. Combines induction for divisibility with disproof by counterexample, requiring systematic search.]
Solution:
(a) Let be ” is divisible by 6.”
Base case (): . True.
Inductive step: Assume for some integer .
For :
Since is the product of two consecutive integers, one is even, so is divisible by 2. Therefore is divisible by .
So for some integer . Divisible by 6.
By induction, is divisible by 6 for all .
(Alternative proof: The product of three consecutive integers. Among any three consecutive integers, one is divisible by 3 and at least one is divisible by 2. So the product is divisible by .)
(b) Let be ” is divisible by 7.”
Base case (): . True.
Inductive step: Assume for some integer .
For :
Divisible by 7. By induction, is divisible by 7 for all .
(c) Check values:
| Prime? | ||
|---|---|---|
| 1 | 3 | Yes |
| 2 | 7 | Yes |
| 3 | 13 | Yes |
| 4 | 21 | No () |
The smallest counterexample is : Which is not prime.
Cross-References
Section titled “Cross-References”- Pure Mathematics: Pure maths covers algebra, calculus, and functions
- Mechanics: Mechanics applies maths to physical problems
- Statistics: Statistics develops data analysis methods