Proof by cases - Discrete Math
- To prove "For integers and , if is odd, then " using proof by cases, which case analysis correctly handles the constraint that is odd? Answer: Case 1: and . Case 2: and . Case 3: and . Case 4: and . When proving statements involving products of integers, you need to think carefully about what constraints the hypothesis imposes. Here, " is odd" tells us something very specific: both and must be odd, since a product is odd if and only if both factors are odd. The key insight is that for modular arithmetic proofs, you want cases that distinguish between different remainders modulo the relevant number. Since we're proving something about congruence modulo 4, and we know both and are odd, we should consider what remainders odd numbers can have when divided by 4. Odd numbers are congruent to either 1 or 3 modulo 4. Choice B correctly identifies this: it considers all possible combinations where and are each congruent to either 1 or 3 modulo 4. These four cases are exhaustive and mutually exclusive, covering exactly the situation where both numbers are odd. Choice A focuses on signs (positive/negative), which is irrelevant since squaring eliminates sign differences. Choice C overcomplicates by introducing additional variables and and considering their parity, when the direct modular approach is cleaner. Choice D considers ordering relationships (, , ), which don't affect the computation of . Study tip: For modular arithmetic proofs, always identify what remainders are possible given your constraints, then create cases based on those remainders. Don't get distracted by irrelevant properties like sign or relative size.
- Consider the statement: "For any integer , if is even, then is odd." Which approach correctly demonstrates this statement using proof by cases? Answer: Case 1: Assume is even, so . Then , which is odd. Case 2: Assume is odd, so . Then , which is even. Choice A correctly uses proof by cases on the variable (even vs. odd) to show that when is even, is odd (making the hypothesis false, so the implication is vacuously true), and when is odd, is even (making both hypothesis and conclusion true). Choice B incorrectly attempts to assume both hypothesis and conclusion simultaneously. Choice C has the right idea but uses imprecise language about "confirming" rather than proving. Choice D makes an error in reasoning about the parity of .
- A student proves "If and are real numbers with , then " by considering cases based on the signs of and . Which case requires the most careful analysis to establish the upper bound ? Answer: Case where and , since both variables contribute positively to the sum and we need to find the maximum value subject to The upper bound is achieved when both and are non-negative and as large as possible. Using Lagrange multipliers or the Cauchy-Schwarz inequality: , so with equality when . The case where both are non-negative requires the most careful analysis because it's where the maximum is achieved. Choices B and C involve mixed signs that naturally limit the sum. Choice D addresses the lower bound, not the upper bound.
- Consider proving "if is an integer and is even, then is even" by contrapositive using proof by cases. The contrapositive statement is "if is odd, then is odd." When is odd, we can write . What does the case analysis reveal about ? Answer: , which is odd, proving the contrapositive. When you encounter a proof by contrapositive, you're proving that "if P then Q" by instead proving "if not Q then not P." Here, we're showing that if is odd, then must be odd. Since is odd, we can write for some integer . Let's substitute this into : Now we need to determine the parity of . We can rewrite this as: Since is always even (it's 2 times an integer), adding 1 makes the entire expression odd. This proves our contrapositive statement. Option A correctly calculates but incorrectly claims we need further case analysis on 's parity. We don't—the expression is odd regardless of . Option B makes an algebraic error, writing , which gives . While the arithmetic works out, they incorrectly conclude this makes the expression even. Option C stops at without recognizing that we can definitively determine its parity by factoring out the even part. Option D correctly performs all calculations and recognizes that is definitively odd, completing the contrapositive proof. Study tip: In parity proofs, always try to express your result in the form (odd) or (even) to make the conclusion clear.
- A student proves that "if and are real numbers with , then and have the same sign" using proof by cases based on the signs of and . The student considers four cases: (), (), (), and (). What is the key insight that makes this proof by cases work? Answer: Cases () and () satisfy , while cases () and () give , contradicting the hypothesis. When you encounter a proof by cases involving conditional statements, you need to understand how the hypothesis constrains which cases are actually possible. In this proof, the key insight is recognizing that not all four sign combinations are consistent with the given hypothesis . Let's analyze each case systematically: - Case (): If both and , then . This satisfies our hypothesis. - Case (): If both and , then . This also satisfies our hypothesis. - Case (): If and , then . This contradicts our hypothesis . - Case (): If and , then . This also contradicts our hypothesis. The proof works because cases () and () are impossible given the hypothesis, leaving only cases where and have the same sign. This makes answer D correct. Answer A is wrong because the case analysis actually illuminates why the statement is true. Answer B misunderstands the logic—we don't need all cases to satisfy ; rather, we use the hypothesis to eliminate impossible cases. Answer C incorrectly suggests the product "approaches zero" in mixed-sign cases, when it's actually negative. Strategy tip: In proof by cases with hypotheses, always check which cases are actually possible under the given conditions. Often, the hypothesis eliminates certain cases, making the proof more straightforward.
- To prove that "For all integers and , if is divisible by 4, then both and are even," a student considers cases based on the remainders when and are divided by 2. How many cases must be analyzed, and which cases lead to a contradiction? Answer: 4 cases total; cases where exactly one of is even lead to contradictions, plus the case where both are odd leads to a contradiction We need 4 cases: (1) both even, (2) even, odd, (3) odd, even, (4) both odd. When exactly one is odd, , contradicting divisibility by 4. When both are odd, , also contradicting divisibility by 4. Choice B incorrectly counts cases. Choice C misses that the mixed cases also lead to contradictions. Choice D oversimplifies by combining cases prematurely.
- A proof by cases is used to establish: "For integers with , at least one of is divisible by 4." The proof considers cases based on the remainders of and when divided by 4. Which combination of cases leads to the conclusion that must be divisible by 4? Answer: When both and , since then , which forces to be divisible by 4 When and , we have and . More precisely, and when , so . This forces to be even, and since , we must have . Choice A has an arithmetic error. Choice B is impossible since no perfect square is congruent to 2 modulo 4. Choice D incorrectly analyzes the modular arithmetic.
- Consider the statement: "For all real numbers , ." A proof by cases analyzes the critical points of . After finding , what case division correctly identifies all regions for monotonicity analysis? Answer: Case 1: ; Case 2: ; Case 3: Setting f'(x) = 3x² - 1 = 0 gives x² = 1/3, so x = ±√3/3 = ±1/√3. These critical points divide the domain into three intervals where f'(x) has consistent sign: f'(x) > 0 for x < -√3/3 and x > √3/3 (function increasing), and f'(x) < 0 for -√3/3 < x < √3/3 (function decreasing). Choice B uses incorrect critical points, Choice C uses the correct points but with unnecessary boundary inclusions, and Choice D ignores the actual critical points.
- Consider the statement: "For any integer , either is prime or has a prime divisor with ." A proof by cases divides based on whether is prime or composite. What additional insight is required to complete the composite case? Answer: If is composite, then where . We can assume , so , giving . The smallest prime divisor of is . Choice C provides the correct reasoning: if with , we can assume without loss of generality. Then , so . Since is composite or prime, it has a smallest prime divisor , and this also divides . Choice A shows one factor is but doesn't ensure it's prime. Choice B incorrectly assumes the smallest prime divisor's location. Choice D misapplies the pigeonhole principle.
- In proving "every integer can be expressed as where are non-negative integers," a student uses strong induction with proof by cases in the inductive step. For where , the student considers cases based on the remainder when is divided by 4. Which case requires invoking the inductive hypothesis? Answer: Case: , because this requires using the hypothesis for to handle the remainder. When k+1 ≡ 1 (mod 4), we cannot express k+1 directly as 4a since it's not divisible by 4. However, k+1-5 = k-4 ≡ 0 (mod 4) and k-4 ≥ 8 (since k ≥ 12), so we can apply the inductive hypothesis to k-4 = 4a + 5b, giving k+1 = 4a + 5(b+1). Choice A allows direct construction, Choice C has k-9 which might be less than 12, and Choice D has k-14 which could be negative.
- Consider proving: "For any real number , " using proof by cases based on the location of relative to the critical points. Which case division is both necessary and sufficient for a complete proof? Answer: Case 1: , Case 2: , Case 3: , analyzing the behavior of each absolute value expression separately in each interval When proving inequalities involving absolute values, you need to identify the critical points where the expressions inside the absolute value bars equal zero, then analyze each resulting interval separately. For , the critical points are and , since these are where the absolute value expressions change their behavior. The correct approach divides the real line into three intervals based on both critical points: , , and . In each interval, you can remove the absolute value bars by determining the sign of each expression. For : both and are negative, so and . For : and . For : both expressions are non-negative. This three-case division in option D captures all necessary behavioral changes. Option A fails because it only considers one critical point, missing the behavioral change at . Option B unnecessarily includes , which isn't a critical point for either absolute value expression, creating redundant work. Option C also ignores the critical point at , focusing incorrectly on only the second absolute value term. Remember: for absolute value proofs, always identify ALL critical points where expressions inside the bars equal zero, then create cases for each interval between consecutive critical points.
- A student attempts to prove that "if is an integer, then is odd" using proof by cases. The student considers Case 1: is even, and Case 2: is odd. In Case 1, the student writes and concludes , which is odd. What error, if any, occurs in the Case 2 analysis? Answer: No error occurs; the case division is complete and both cases lead to the correct conclusion that the expression is always odd. The proof approach is correct. For Case 2 (n odd): n = 2k+1, so n² + n + 1 = (2k+1)² + (2k+1) + 1 = 4k² + 4k + 1 + 2k + 1 + 1 = 4k² + 6k + 3 = 2(2k² + 3k + 1) + 1, which is odd. The case division is complete and sufficient. Choice B suggests an error that doesn't exist, Choice C is incorrect since the statement is true, and Choice D is wrong since n = 0 is covered in the even case.
- A student attempts to prove "If is an integer and is odd, then is even" using proof by cases on the remainder when is divided by 3. What is the fundamental flaw in this approach? Answer: The case division creates unnecessary work, since the statement can be proven directly by noting that is always even for any integer The fundamental flaw is that is the product of three consecutive integers, so one of them must be even, making the entire product even. Therefore, is never odd for any integer , making the hypothesis of the conditional always false. The student's case division by residues modulo 3 is irrelevant because the statement is vacuously true. Choice A misidentifies the issue. Choice B suggests an unnecessary complication. Choice C focuses on the wrong modulus but misses that the hypothesis is impossible.
- To prove "if is an odd integer, then divides ," a student uses cases based on . Since is odd, only four cases need consideration. If the student finds that three cases work correctly but one case seems to fail, which case most likely contains the computational error? Answer: Case: , because and reducing modulo often leads to arithmetic errors. For n ≡ 5 (mod 8): n² - 1 ≡ 5² - 1 ≡ 25 - 1 ≡ 24 ≡ 0 (mod 8). The error likely occurs in reducing 24 mod 8, where students might incorrectly compute 24 ÷ 8 = 3 remainder 0, but write the remainder as 3, or make similar arithmetic mistakes with the larger intermediate values. The other cases involve smaller intermediate calculations that are less error-prone: Case A gives 0 directly, Case B gives 8 ≡ 0, and Case D gives 48 ≡ 0.
- A student attempts to prove "for any integer , at least one of , , is divisible by 3" using proof by cases. The student divides based on and correctly handles the case . In analyzing the case , which number in the triple is divisible by 3? Answer: , because implies , making it divisible by 3. If n ≡ 1 (mod 3), then n + 2 ≡ 1 + 2 ≡ 3 ≡ 0 (mod 3), so n + 2 is divisible by 3. Choice A is wrong because n has remainder 1, not 0. Choice C is incorrect since n + 4 ≡ 1 + 4 ≡ 5 ≡ 2 (mod 3), giving remainder 2. Choice D misses the point by discussing the sum rather than identifying which individual number in the triple is divisible by 3.
- In a proof by cases for "if and are integers with even, then and have the same parity," what is the most significant logical flaw in considering only two cases: Case 1 (both and even) and Case 2 (both and odd)? Answer: The case division incorrectly assumes the conclusion, making the proof circular by only considering cases where the conclusion holds. This case division assumes what we're trying to prove. A proper proof by cases should consider all possible parity combinations: (even, even), (even, odd), (odd, even), and (odd, odd). Then show that only the first and last cases can satisfy the hypothesis a² + b² even, thus proving the conclusion. Choice A misunderstands the logical structure, Choice B identifies incompleteness but doesn't recognize the circularity, and Choice D incorrectly focuses on zero as a special case.
- A proof by cases for the statement " is divisible by 12 for all integers " requires showing divisibility by both 3 and 4. If a student chooses to prove divisibility by 4 using cases based on , which case requires the most careful analysis? Answer: Case: , because this requires showing that is divisible by 4. For n ≡ 2 (mod 4), we have n = 4k + 2, so n⁴ - n² = (4k + 2)⁴ - (4k + 2)². The expansion yields multiple terms, and careful factoring is needed to show divisibility by 4. The other cases are more straightforward: Case A gives immediate divisibility, while Cases B and D, though requiring algebra, follow more standard patterns. Case C requires the most detailed algebraic manipulation to demonstrate the divisibility property.
- Consider the statement: "For any integer , either is prime or has a prime divisor ." A student plans to prove this by cases, dividing based on whether is prime or composite. What is the primary weakness in this approach? Answer: The case division creates a circular argument since determining whether is prime or composite requires the very result being proved. The proposed case division (prime vs. composite) is circular because to determine which case applies, we would need to already know whether n is prime—which is essentially what the statement is designed to help us determine efficiently. A better approach would use contradiction or direct construction. Choice B suggests an irrelevant distinction, Choice C proposes an overly complex division, and Choice D incorrectly accepts the circular logic as sound.
- A student proves that " is irrational" using proof by cases on the parity of integers and in the fraction . The student considers four cases: (even, even), (even, odd), (odd, even), and (odd, odd). Which case analysis contains a fundamental error? Answer: Case (even, even): This case should be excluded from consideration because it violates the assumption that . In the standard proof that √2 is irrational, we assume √2 = p/q where gcd(p,q) = 1 (fraction in lowest terms). The case (even, even) violates this assumption since both p and q would share the common factor 2. The correct approach shows that cases (even, odd) and (odd, even) both lead to contradictions from p² = 2q². Choice B is wrong since this case is algebraically straightforward, Choice C misunderstands the contradiction mechanism, and Choice D is incorrect as this case does lead to contradiction.
- To prove that " or for any real number " using proof by cases, the critical case division depends on the fractional part of . What is the key threshold that determines which equality holds? Answer: The threshold is whether the fractional part of is less than or at least , since this determines whether has fractional part less than 1 Let where is an integer and is the fractional part. Then . If , then , so . If , then , so . The threshold is critical because it determines when crosses the integer boundary. Choices A and D use incorrect thresholds. Choice C is insufficient since it only addresses one case.