Session 1D
First proofs and counterexamples
45-75 min - work through lesson notes, practice, and the MCQ check.
In progress
Account sync
Sign in to keep this session synced across devices.
Account sync disabled
Add Supabase environment variables to enable account sync. Progress is saved locally in this browser for now.
Session tips
- Finish the MCQ before marking complete.
- Check the answer outlines after trying on paper.
- Mark complete to update your certificate progress.
Lesson notes
- Most beginner proofs follow a predictable structure: start with an arbitrary object, rewrite assumptions using definitions, then manipulate until you reach the conclusion. For example, to prove "if n is even then n^2 is even," you begin by letting n be even, which by definition means n = 2k for some integer k. That definition is powerful because it turns a word ("even") into algebra you can use. Once you rewrite in definitional form, the proof often becomes straightforward algebra: n^2 = (2k)^2 = 4k^2 = 2(2k^2), which matches the definition of even again.
- Disproving is different: to refute a "for all" claim, you only need one counterexample, and the best counterexamples are simple and decisive. If someone claims "all primes are odd," the number 2 instantly kills it. If someone claims "for all integers n, n^2 > n," then n = 0 or n = 1 refutes it. Learning when to prove and when to counterexample is a core skill: your first step should always be identifying whether a statement is universal (needs proof, vulnerable to counterexample) or existential (needs an example or construction).
Worked examples
- If n is even then n^2 is even (direct proof with n = 2k).
- Disprove 'for all integers n, n^2 > n' with n = 0.
Practice
- 1Prove: If n is odd, then n^2 is odd.
- 2Disprove: For all integers n, 2n + 1 is even.
- 3Prove: For all real numbers x, x^2 >= 0.
Show answers / outlines
Answers
- 1Let n = 2k + 1, then n^2 = 4k^2 + 4k + 1 is odd.
- 2n = 0 gives 2n + 1 = 1, which is not even.
- 3If x >= 0 then x^2 >= 0; if x < 0 then x^2 = (-x)^2 >= 0.
Week quiz
- 1Translate: 'Every integer has an additive inverse.'
- 2Negate: 'There exists a real x such that x^2 < 0.'
- 3Give a counterexample to: 'All primes are odd.'
Show quiz answers
Quiz answers
- 1forall n in Z, exists m in Z: n + m = 0
- 2forall x in R, x^2 >= 0
- 32
MCQ
Which is a valid counterexample to 'For all integers n, n^2 > n'?