Proofs and Examples
Proofs
Simple Example: Odd Numbers
- Claim: If n is odd, then n2 is odd.
- Proof:
- Assume n is odd.
- Then, we can write n=2k+1 for some integer k (universal quantifier implied).
- It follows that: n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1
- Note that since k is an integer, 2k2+2k is also an integer.
- Hence, n2 is one more than twice an integer, so n2 is odd.
- The square symbol ($\blacksquare)orQEDarecommonlyusedasend−of−proofsymbols.</li></ul><h4id="morecomplicatedexampleperfectcubes">MoreComplicatedExample:PerfectCubes</h4><ul><li><strong>Claim:</strong>Everyperfectcubeisonemoreoronelessthanamultipleof9.<ul><li>(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3</li></ul></li><li><strong>Proof:</strong><ul><li>Everyintegernisoneofthefollowing:<ul><li>Amultipleof3.</li><li>Onemorethanamultipleof3.</li><li>Twomorethanamultipleof3.</li></ul></li></ul></li></ul><h5id="case1ddnddisamultipleof3">Case1:nisamultipleof3</h5><ul><li>n = 3kforsomeintegerk(i.e.,n \mod 3 = 0).</li><li>n^3 = (3k)^3 = 27k^3 = 9(3k^3)</li><li>Since3k^3isaninteger,n^3isamultipleof9.</li></ul><h5id="case2ddnddisonemorethanamultipleof3">Case2:nisonemorethanamultipleof3</h5><ul><li>n = 3k + 1forsomeintegerk(i.e.,n \mod 3 = 1).</li><li>n^3 = (3k + 1)^3 = 27k^3 + 27k^2 + 9k + 1 = 9(3k^3 + 3k^2 + k) + 1</li><li>Since3k^3 + 3k^2 + kisaninteger,n^3isonemorethanamultipleof9.</li></ul><h5id="case3ddnddistwomorethanamultipleof3">Case3:nistwomorethanamultipleof3</h5><ul><li>n = 3k + 2forsomeintegerk(i.e.,n \mod 3 = 2).</li><li>n^3 = (3k + 2)^3 = 27k^3 + 54k^2 + 36k + 8 = 27k^3 + 54k^2 + 36k + 9 - 1 = 9(3k^3 + 6k^2 + 4k + 1) - 1</li><li>Since3k^3 + 6k^2 + 4k + 1isaninteger,n^3isonelessthanamultipleof9.</li></ul><h5id="commentoncasestructures">CommentonCaseStructures</h5><ul><li>Theproofwasbrokenintocasesbasedontheremainderwhenn$$ is divided by 3.
- When faced with such problems, ask yourself, "How would I know to try this?"
- The intuition about what case structure will work often develops this semester.
- Start by trying odd/even (i.e., remainder when we divide by 2).
- If that doesn't work, try others.