CSCE 222 Discrete Structures for Computing Proofs Methods and Strategies Dr. Philip C. Ritchey Exhaustive Proofs β’ Prove for every element in the domain β’ Ex: π + 1 3 β₯ 3π for π β 0,1,2,3,4 β Exhaustive Proof: β 0 + 1 3 β₯ 30 β’ 1β₯1 β 1+1 3 β₯ 31 β’ 8β₯3 β 2+1 3 β₯ 32 β’ 27 β₯ 9 β 3+1 3 β₯ 33 β’ 64 β₯ 27 β 4+1 3 β₯ 34 β’ 125 β₯ 81 β β‘ Proof by Cases β’ Prove for every case in the theorem β’ Ex: if π is an integer, then π2 β₯ π β Proof by cases: β Case π β₯ 1: β’ πβ π β₯ 1β π β’ π2 β₯ π β Case π β€ 1: β’ π2 β₯ π, since π2 is positive and π is negative β Case π = 0: β’ 02 β₯ 0 β The claim holds in all cases β‘ Leveraging Proof by Cases β’ When you canβt consider every case all at once β’ When thereβs no obvious way to start, but extra information in each case helps β’ Ex: Formulate and prove a conjecture about the final digit of perfect squares β List some perfect squares β Look at the final digit 132 = 16π β See a pattern? Leveraging Proof by Cases β’ β’ Theorem: The final digit of a perfect square is 0,1,4,5,6, or 9. Proof: β π = 10π + π, π β 0,1,2, β¦ , 9 β π2 = 10π + π 2 = 10 10π2 + 2ππ + π2 β’ π2 and π2 have the same final digit β Case π = 0: β’ 02 = π, π2 ends in 0 β Case π β 1,9 : β’ 12 = π, 92 = 8π, π2 ends in 1 β Case π β 2,8 : β’ 22 = π, 82 = 6π, π2 ends in 4 β Case π β 3,7 : β’ 32 = π, 72 = 4π, π2 ends in 9 β Case π β 4,6 : β’ 42 = 1π, 62 = 3π, π2 ends in 6 β Case π = 5: β’ β β‘ 52 = 2π, π2 ends in 5 Leveraging Proof by Cases β’ Theorem: π₯ 2 + 3π¦ 2 = 8 has no integer solutions β’ Proof by Cases: β π₯2 β€ 8 π₯ < 3 β 3π¦ 2 β€ 8 π¦ < 2 β 15 cases β’ π₯ β β2, β1,0,1,2 β’ π¦ β β1,0,1 β 6 cases β’ π₯ 2 β 0,1,4 β’ π¦ 2 β 0,1 β β€6 cases β’ π₯ 2 β 0,1, π β’ 3π¦ 2 β 0, π β’ 4+3=7β 8 β β΄ no integer solutions β‘ Without Loss of Generality (wlog) β’ β’ Assert that the proof for one case can be reapplied with only straightforward changes to prove other specified cases. Ex: Let π₯, π¦ be integers. If π₯π¦ and π₯ + π¦ are both even, then π₯ and π¦ are both even. β Proof β Use contraposition β’ π₯ ππ πππ β¨ π¦ ππ πππ β π₯π¦ ππ πππ β¨ π₯ + π¦ ππ πππ β Assume π₯ ππ πππ β¨ π¦ ππ πππ β Wlog, assume π₯ is odd. β Case π¦ even: β’ π₯ + π¦ = πππ + ππ£ππ = πππ β β Case π¦ odd: β’ π₯π¦ = πππ πππ = πππ β β β΄ π₯ ππ πππ β¨ π¦ ππ πππ β π₯π¦ ππ πππ β¨ π₯ + π¦ ππ πππ β It follows that π₯π¦ ππ ππ£ππ β§ π₯ + π¦ ππ ππ£ππ β π₯ ππ ππ£ππ β§ π¦ ππ ππ£ππ β‘ β’ Exhaustive proof and proof by cases are only valid when you prove every case β’ Ex: every positive integer is the sum of 18 fourth powers of integers. β 79 is the counterexample β’ Ex: if π₯ is a real number, then π₯ 2 is positive β Case π₯ ππ πππ ππ‘ππ£π: β’ πππ ππ‘ππ£π πππ ππ‘ππ£π = (πππ ππ‘ππ£π) β β Case π₯ ππ πππππ‘ππ£π: β’ πππππ‘ππ£π πππππ‘ππ£π = (πππ ππ‘ππ£π) β β Case π₯ ππ π§πππ: β’ π§πππ π§πππ = π§πππ X Existence Proofs β’ To prove βπ₯π π₯ β Constructive: find a witness β Nonconstructive: shown without witness β’ Ex: Show that there exists some integer that is expressible as the sum of 2 cubes in 2 different ways β Constructive proof: 1729 = 103 + 93 = 123 + 13 Existence Proofs β’ Ex: Show that there exists 2 irrational numbers π₯, π¦ such that π₯ π¦ is rational β Nonconstructive proof: β’ Known: 2 is irrational β’ Consider π₯ = π¦ = 2, so π₯ π¦ = 2 β’ If 2 β’ If 2 2 2 2 is rational, then π₯ = π¦ = 2 are the witnesses is irrational, then let π₯ = 2 β π₯π¦ = β π₯= 2 2 2 2 2 2 and π¦ = 2 2 = 2 =2 and π¦ = 2 are the witnesses β’ Either way, we found irrational π₯, π¦ such that π₯ π¦ is rational β We just donβt know which value to use for π₯ Uniqueness Proofs β’ βexactly one element satisfies π π₯ β β Existence: βπ₯ π π₯ β Uniqueness: βπ¦ π π¦ β π¦ = π₯ β βπ₯βπ¦ π π₯ β§ π π¦ β π¦ = π₯ β βπ₯βπ¦ π π¦ β π¦ = π₯ Uniqueness Proofs β’ ππ + π = 0 has a unique solution when π, π are real and π β 0 β Proof: β Existence β’ ππ + π = 0 β’ ππ = βπ β’ π=β π π β Uniqueness β’ Assume βπ ππ + π = 0 β’ Then, ππ + π = ππ + π β’ ππ + π β π = ππ + π β π β’ ππ π = ππ π β’ π=π π π β β΄ π = β is the solution to ππ + π = 0 Proof Strategies β’ Forward β Start with premises, plug and chug to the conclusion. β’ Direct proof β Start with negation of conclusion, plug and chug to negation of premises β’ Indirect proof β’ Backward β Work backwards from the conclusion to find the correct steps for a direct proof Backward Reasoning β’ Prove that β π₯+π¦ 2 β π₯+π¦ 2 4 π₯+π¦ 2 β₯ π₯π¦ for positive reals π₯, π¦ β₯ π₯π¦ β₯ π₯π¦ β π₯ + π¦ 2 β₯ 4π₯π¦ β π₯ 2 + 2π₯π¦ + π¦ 2 β₯ 4π₯π¦ β π₯ 2 β 2π₯π¦ + π¦ 2 β₯ 0 β π₯βπ¦ 2 β₯0 β΄ π₯+π¦ 2 β₯ π₯π¦ both sides divide by 4 factor LHS add 4π₯π¦ expand LHS Tautology Adapting Existing Proofs β’ Theorem: 3 is irrational β Proof: 2 is irrational, use that proof β’ π is irrational when π is not a perfect square. β Same kind of proof: contradiction Tilings β’ Can a standard checkerboard (8 × 8) be tiled by dominoes? β Yes. β’ Can a standard checkerboard with one corner missing be tiled by dominoes? β No. β 63 squares is not an even number of squares β’ Can a standard checkerboard with two opposite corners missing be tiled by dominoes? β No. β Opposite corners have the same color. β’ 32 black + 30 white cannot be tiled because each domino covers 1 white and 1 black square
© Copyright 2026 Paperzz