Discrete Math Quiz: Proof By Cases
20 questions · exam conditions
0:00
Proof By CasesQuestion 1 of 20

A proof by cases is used to establish: "For integers a,b,ca, b, c with a2+b2=c2a^2 + b^2 = c^2, at least one of a,b,ca, b, c is divisible by 4." The proof considers cases based on the remainders of aa and bb when divided by 4. Which combination of cases leads to the conclusion that cc must be divisible by 4?

When both a2(mod4)a \equiv 2 \pmod{4} and b2(mod4)b \equiv 2 \pmod{4}, since then c280(mod4)c^2 \equiv 8 \equiv 0 \pmod{4}, forcing c0(mod4)c \equiv 0 \pmod{4}
When a1(mod4)a \equiv 1 \pmod{4} and b3(mod4)b \equiv 3 \pmod{4}, since then c21+92(mod4)c^2 \equiv 1 + 9 \equiv 2 \pmod{4}, which requires c0(mod4)c \equiv 0 \pmod{4}
When both a2(mod4)a \equiv 2 \pmod{4} and b2(mod4)b \equiv 2 \pmod{4}, since then c24+40(mod8)c^2 \equiv 4 + 4 \equiv 0 \pmod{8}, which forces cc to be divisible by 4
When a0(mod4)a \equiv 0 \pmod{4} and b≢0(mod4)b \not\equiv 0 \pmod{4}, since the constraint a2+b2=c2a^2 + b^2 = c^2 forces c2b2(mod4)c^2 \equiv b^2 \pmod{4}, making c0(mod4)c \equiv 0 \pmod{4}
← Back to quizzes

Discrete Math Quiz

Discrete Math Quiz: Proof By Cases

Practice Proof By Cases in Discrete Math with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Proof By Cases, giving you a quick way to practice the rules, question types, and explanations that matter most for Discrete Math.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

A proof by cases is used to establish: "For integers a,b,ca, b, c with a2+b2=c2a^2 + b^2 = c^2, at least one of a,b,ca, b, c is divisible by 4." The proof considers cases based on the remainders of aa and bb when divided by 4. Which combination of cases leads to the conclusion that cc must be divisible by 4?

  1. When both a2(mod4)a \equiv 2 \pmod{4} and b2(mod4)b \equiv 2 \pmod{4}, since then c280(mod4)c^2 \equiv 8 \equiv 0 \pmod{4}, forcing c0(mod4)c \equiv 0 \pmod{4}
  2. When a1(mod4)a \equiv 1 \pmod{4} and b3(mod4)b \equiv 3 \pmod{4}, since then c21+92(mod4)c^2 \equiv 1 + 9 \equiv 2 \pmod{4}, which requires c0(mod4)c \equiv 0 \pmod{4}
  3. When both a2(mod4)a \equiv 2 \pmod{4} and b2(mod4)b \equiv 2 \pmod{4}, since then c24+40(mod8)c^2 \equiv 4 + 4 \equiv 0 \pmod{8}, which forces cc to be divisible by 4 (correct answer)
  4. When a0(mod4)a \equiv 0 \pmod{4} and b≢0(mod4)b \not\equiv 0 \pmod{4}, since the constraint a2+b2=c2a^2 + b^2 = c^2 forces c2b2(mod4)c^2 \equiv b^2 \pmod{4}, making c0(mod4)c \equiv 0 \pmod{4}
Explanation: When a2(mod4)a \equiv 2 \pmod{4} and b2(mod4)b \equiv 2 \pmod{4}, we have a240(mod4)a^2 \equiv 4 \equiv 0 \pmod{4} and b240(mod4)b^2 \equiv 4 \equiv 0 \pmod{4}. More precisely, a20(mod8)a^2 \equiv 0 \pmod{8} and b20(mod8)b^2 \equiv 0 \pmod{8} when a,b2(mod4)a, b \equiv 2 \pmod{4}, so c2=a2+b20(mod8)c^2 = a^2 + b^2 \equiv 0 \pmod{8}. This forces cc to be even, and since c20(mod8)c^2 \equiv 0 \pmod{8}, we must have c0(mod4)c \equiv 0 \pmod{4}. 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.

Question 2

In proving "every integer n12n \geq 12 can be expressed as 4a+5b4a + 5b where a,ba, b are non-negative integers," a student uses strong induction with proof by cases in the inductive step. For n=k+1n = k+1 where k12k \geq 12, the student considers cases based on the remainder when k+1k+1 is divided by 4. Which case requires invoking the inductive hypothesis?

  1. Case: k+10(mod4)k+1 \equiv 0 \pmod{4}, because this allows direct construction as k+1=4k+14+50k+1 = 4 \cdot \frac{k+1}{4} + 5 \cdot 0.
  2. Case: k+11(mod4)k+1 \equiv 1 \pmod{4}, because this requires using the hypothesis for k+15=k4k+1-5 = k-4 to handle the remainder. (correct answer)
  3. Case: k+12(mod4)k+1 \equiv 2 \pmod{4}, because this requires using the hypothesis for k+110=k9k+1-10 = k-9 to eliminate two fives.
  4. Case: k+13(mod4)k+1 \equiv 3 \pmod{4}, because this requires using the hypothesis for k+115=k14k+1-15 = k-14 to handle three fives.
Explanation: 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.

Question 3

Consider the statement: "For any integer n2n \geq 2, either nn is prime or nn has a prime divisor pnp \leq \sqrt{n}." A student plans to prove this by cases, dividing based on whether nn is prime or composite. What is the primary weakness in this approach?

  1. The case division creates a circular argument since determining whether nn is prime or composite requires the very result being proved. (correct answer)
  2. The case division is incomplete because it doesn't separately handle the case where nn is a perfect square versus non-perfect square.
  3. The case division is too broad and should instead focus on specific forms like n=pkn = p^k where pp is prime and k1k \geq 1.
  4. The case division is logically sound, but computationally inefficient compared to direct construction methods for finding prime divisors.
Explanation: 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.

Question 4

In proving "for any positive integer nn, n2+n+12=n\left\lfloor \frac{n}{2} \right\rfloor + \left\lfloor \frac{n+1}{2} \right\rfloor = n" by cases on the parity of nn, a student analyzes Case 1 (nn even) and Case 2 (nn odd). In Case 2, when n=2k+1n = 2k + 1 for some integer k0k \geq 0, what are the values of the two floor expressions?

  1. 2k+12=2k+12\left\lfloor \frac{2k+1}{2} \right\rfloor = \frac{2k+1}{2} and 2k+22=k+1\left\lfloor \frac{2k+2}{2} \right\rfloor = k+1, but the first expression is not an integer.
  2. 2k+12=k+1\left\lfloor \frac{2k+1}{2} \right\rfloor = k+1 and 2k+22=k+1\left\lfloor \frac{2k+2}{2} \right\rfloor = k+1, giving sum 2k+2n2k+2 \neq n.
  3. 2k+12=k\left\lfloor \frac{2k+1}{2} \right\rfloor = k and 2k+22=k\left\lfloor \frac{2k+2}{2} \right\rfloor = k, giving sum 2kn2k \neq n.
  4. 2k+12=k\left\lfloor \frac{2k+1}{2} \right\rfloor = k and 2k+22=k+1\left\lfloor \frac{2k+2}{2} \right\rfloor = k+1, giving sum 2k+1=n2k+1 = n. (correct answer)
Explanation: When proving statements involving floor functions, case analysis based on parity (even vs. odd) is essential because floor functions behave differently depending on whether the input is an integer or has a fractional part. For Case 2 where n=2k+1n = 2k + 1 (odd), you need to evaluate 2k+12+(2k+1)+12=2k+12+2k+22\left\lfloor \frac{2k+1}{2} \right\rfloor + \left\lfloor \frac{(2k+1)+1}{2} \right\rfloor = \left\lfloor \frac{2k+1}{2} \right\rfloor + \left\lfloor \frac{2k+2}{2} \right\rfloor. For the first term: 2k+12=k+12\frac{2k+1}{2} = k + \frac{1}{2}, which is not an integer. The floor function gives us the greatest integer less than or equal to this value, so k+12=k\left\lfloor k + \frac{1}{2} \right\rfloor = k. For the second term: 2k+22=k+1\frac{2k+2}{2} = k+1, which is exactly an integer. Therefore k+1=k+1\left\lfloor k+1 \right\rfloor = k+1. The sum is k+(k+1)=2k+1=nk + (k+1) = 2k+1 = n, confirming our formula works for odd nn. This matches answer choice D. Answer A incorrectly states that 2k+12=2k+12\left\lfloor \frac{2k+1}{2} \right\rfloor = \frac{2k+1}{2}, but the floor of a non-integer cannot equal that non-integer. Answer B incorrectly claims 2k+12=k+1\left\lfloor \frac{2k+1}{2} \right\rfloor = k+1, which would mean the floor of k+12k + \frac{1}{2} rounds up rather than down. Answer C gets the second floor value wrong, stating k+1=k\left\lfloor k+1 \right\rfloor = k instead of k+1k+1. Remember: the floor function always rounds down to the nearest integer, never up. When the input is already an integer, the floor function leaves it unchanged.

Question 5

Consider the statement: "For all real numbers xx, x3x239x^3 - x \geq -\frac{2\sqrt{3}}{9}." A proof by cases analyzes the critical points of f(x)=x3xf(x) = x^3 - x. After finding f(x)=3x21f'(x) = 3x^2 - 1, what case division correctly identifies all regions for monotonicity analysis?

  1. Case 1: x<33x < -\frac{\sqrt{3}}{3}; Case 2: 33<x<33-\frac{\sqrt{3}}{3} < x < \frac{\sqrt{3}}{3}; Case 3: x>33x > \frac{\sqrt{3}}{3} (correct answer)
  2. Case 1: x<1x < -1; Case 2: 1<x<0-1 < x < 0; Case 3: 0<x<10 < x < 1; Case 4: x>1x > 1
  3. Case 1: x13x \leq -\frac{1}{\sqrt{3}}; Case 2: 13x13-\frac{1}{\sqrt{3}} \leq x \leq \frac{1}{\sqrt{3}}; Case 3: x13x \geq \frac{1}{\sqrt{3}}
  4. Case 1: x<0x < 0; Case 2: x=0x = 0; Case 3: x>0x > 0
Explanation: 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.

Question 6

A proof by cases for the statement "n4n2n^4 - n^2 is divisible by 12 for all integers nn" requires showing divisibility by both 3 and 4. If a student chooses to prove divisibility by 4 using cases based on n(mod4)n \pmod{4}, which case requires the most careful analysis?

  1. Case: n0(mod4)n \equiv 0 \pmod{4}, because the fourth power grows rapidly and may cause computational overflow issues.
  2. Case: n1(mod4)n \equiv 1 \pmod{4}, because odd residues often lead to more complex algebraic manipulations than even residues.
  3. Case: n2(mod4)n \equiv 2 \pmod{4}, because this requires showing that 16k4+32k3+20k24k16k^4 + 32k^3 + 20k^2 - 4k is divisible by 4. (correct answer)
  4. Case: n3(mod4)n \equiv 3 \pmod{4}, because the resulting expression involves the most terms after expansion and factoring.
Explanation: 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.

Question 7

A student proves that "2\sqrt{2} is irrational" using proof by cases on the parity of integers pp and qq in the fraction pq\frac{p}{q}. The student considers four cases: (even, even), (even, odd), (odd, even), and (odd, odd). Which case analysis contains a fundamental error?

  1. Case (even, even): This case should be excluded from consideration because it violates the assumption that gcd(p,q)=1\gcd(p,q) = 1. (correct answer)
  2. Case (even, odd): The algebra becomes intractable when substituting p=2kp = 2k into the equation p2=2q2p^2 = 2q^2.
  3. Case (odd, even): This case leads to a contradiction too quickly, suggesting an error in the logical setup.
  4. Case (odd, odd): This case cannot yield a contradiction, indicating that the proof method is fundamentally flawed.
Explanation: 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.

Question 8

To prove "if nn is an odd integer, then 88 divides n21n^2 - 1," a student uses cases based on n(mod8)n \pmod{8}. Since nn 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?

  1. Case: n1(mod8)n \equiv 1 \pmod{8}, because n210(mod8)n^2 - 1 \equiv 0 \pmod{8} requires careful handling of the identity element.
  2. Case: n3(mod8)n \equiv 3 \pmod{8}, because n218(mod8)n^2 - 1 \equiv 8 \pmod{8} involves higher-order terms in the expansion.
  3. Case: n5(mod8)n \equiv 5 \pmod{8}, because n2124(mod8)n^2 - 1 \equiv 24 \pmod{8} and reducing 2424 modulo 88 often leads to arithmetic errors. (correct answer)
  4. Case: n7(mod8)n \equiv 7 \pmod{8}, because n2148(mod8)n^2 - 1 \equiv 48 \pmod{8} and students commonly miscalculate 727^2 as 4747 instead of 4949.
Explanation: 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.

Question 9

Consider proving "if nn is an integer and 3n+23n + 2 is even, then nn is even" by contrapositive using proof by cases. The contrapositive statement is "if nn is odd, then 3n+23n + 2 is odd." When nn is odd, we can write n=2k+1n = 2k + 1. What does the case analysis reveal about 3n+23n + 2?

  1. 3n+2=3(2k+1)+2=6k+5=2(3k+2)+13n + 2 = 3(2k + 1) + 2 = 6k + 5 = 2(3k + 2) + 1, but this requires further case analysis on the parity of kk.
  2. 3n+2=3(2k+1)+2=6k+5=2(3k+3)13n + 2 = 3(2k + 1) + 2 = 6k + 5 = 2(3k + 3) - 1, which is even, contradicting the contrapositive approach.
  3. 3n+2=3(2k+1)+2=6k+3+2=6k+53n + 2 = 3(2k + 1) + 2 = 6k + 3 + 2 = 6k + 5, which could be even or odd depending on kk.
  4. 3n+2=3(2k+1)+2=6k+5=2(3k+2)+13n + 2 = 3(2k + 1) + 2 = 6k + 5 = 2(3k + 2) + 1, which is odd, proving the contrapositive. (correct answer)
Explanation: 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 nn is odd, then 3n+23n + 2 must be odd. Since nn is odd, we can write n=2k+1n = 2k + 1 for some integer kk. Let's substitute this into 3n+23n + 2: 3n+2=3(2k+1)+2=6k+3+2=6k+53n + 2 = 3(2k + 1) + 2 = 6k + 3 + 2 = 6k + 5 Now we need to determine the parity of 6k+56k + 5. We can rewrite this as: 6k+5=6k+4+1=2(3k+2)+16k + 5 = 6k + 4 + 1 = 2(3k + 2) + 1 Since 2(3k+2)2(3k + 2) 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 2(3k+2)+12(3k + 2) + 1 but incorrectly claims we need further case analysis on kk's parity. We don't—the expression is odd regardless of kk. Option B makes an algebraic error, writing 6k+5=2(3k+3)16k + 5 = 2(3k + 3) - 1, which gives 6k+61=6k+56k + 6 - 1 = 6k + 5. While the arithmetic works out, they incorrectly conclude this makes the expression even. Option C stops at 6k+56k + 5 without recognizing that we can definitively determine its parity by factoring out the even part. Option D correctly performs all calculations and recognizes that 2(3k+2)+12(3k + 2) + 1 is definitively odd, completing the contrapositive proof. Study tip: In parity proofs, always try to express your result in the form 2(integer)+12(\text{integer}) + 1 (odd) or 2(integer)2(\text{integer}) (even) to make the conclusion clear.

Question 10

A student attempts to prove that "if nn is an integer, then n2+n+1n^2 + n + 1 is odd" using proof by cases. The student considers Case 1: nn is even, and Case 2: nn is odd. In Case 1, the student writes n=2kn = 2k and concludes n2+n+1=4k2+2k+1n^2 + n + 1 = 4k^2 + 2k + 1, which is odd. What error, if any, occurs in the Case 2 analysis?

  1. No error occurs; the case division is complete and both cases lead to the correct conclusion that the expression is always odd. (correct answer)
  2. The student fails to substitute n=2k+1n = 2k + 1 properly, leading to an incorrect algebraic manipulation in the odd case.
  3. The student correctly handles both cases, but the original statement being proved is actually false for some integer values.
  4. The case division is insufficient because it doesn't account for n=0n = 0, which requires separate consideration in number theory proofs.
Explanation: 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.

Question 11

A student proves that "if xx and yy are real numbers with xy>0xy > 0, then xx and yy have the same sign" using proof by cases based on the signs of xx and yy. The student considers four cases: (+,++,+), (+,+,-), (,+-,+), and (,-,-). What is the key insight that makes this proof by cases work?

  1. The case division is redundant since the hypothesis xy>0xy > 0 immediately implies the conclusion without case analysis.
  2. All four cases must be shown to satisfy xy>0xy > 0 individually, then the conclusion follows from exhaustive verification.
  3. Cases (+,+,-) and (,+-,+) require special handling because the product xyxy approaches zero in these scenarios.
  4. Cases (+,++,+) and (,-,-) satisfy xy>0xy > 0, while cases (+,+,-) and (,+-,+) give xy<0xy < 0, contradicting the hypothesis. (correct answer)
Explanation: 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 xy>0xy > 0. Let's analyze each case systematically:
  • Case (+,++,+): If both x>0x > 0 and y>0y > 0, then xy>0xy > 0. This satisfies our hypothesis.
  • Case (,-,-): If both x<0x < 0 and y<0y < 0, then xy>0xy > 0. This also satisfies our hypothesis.
  • Case (+,+,-): If x>0x > 0 and y<0y < 0, then xy<0xy < 0. This contradicts our hypothesis xy>0xy > 0.
  • Case (,+-,+): If x<0x < 0 and y>0y > 0, then xy<0xy < 0. This also contradicts our hypothesis.
The proof works because cases (+,+,-) and (,+-,+) are impossible given the hypothesis, leaving only cases where xx and yy 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 xy>0xy > 0; 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.

Question 12

In a proof by cases for "if aa and bb are integers with a2+b2a^2 + b^2 even, then aa and bb have the same parity," what is the most significant logical flaw in considering only two cases: Case 1 (both aa and bb even) and Case 2 (both aa and bb odd)?

  1. The case division omits mixed parity situations, but this omission is intentional since those cases would contradict the hypothesis.
  2. The case division is incomplete because it fails to consider the cases where one variable is even and the other is odd.
  3. The case division incorrectly assumes the conclusion, making the proof circular by only considering cases where the conclusion holds. (correct answer)
  4. The case division is too narrow because it doesn't account for zero, which has special properties in parity arguments.
Explanation: 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.

Question 13

To prove that "max(a,b)+min(a,b)=a+b\max(a,b) + \min(a,b) = a + b for all real numbers aa and bb," a student uses proof by cases. The student considers Case 1: aba \leq b and Case 2: a>ba > b. In Case 1, what should the student's analysis conclude?

  1. max(a,b)=a\max(a,b) = a and min(a,b)=b\min(a,b) = b, so max(a,b)+min(a,b)=a+b\max(a,b) + \min(a,b) = a + b, completing this case.
  2. max(a,b)=b\max(a,b) = b and min(a,b)=a\min(a,b) = a, so max(a,b)+min(a,b)=b+a=a+b\max(a,b) + \min(a,b) = b + a = a + b, completing this case. (correct answer)
  3. The case aba \leq b must be further subdivided into a<ba < b and a=ba = b to handle the boundary condition properly.
  4. max(a,b)=min(a,b)=a+b2\max(a,b) = \min(a,b) = \frac{a+b}{2} when aba \leq b, so the sum equals a+ba + b, completing this case.
Explanation: When a ≤ b, we have max(a,b) = b (the larger value) and min(a,b) = a (the smaller value). Therefore, max(a,b) + min(a,b) = b + a = a + b. Choice A incorrectly assigns max and min. Choice C unnecessarily subdivides the case since the inequality a ≤ b adequately covers both strict inequality and equality. Choice D incorrectly states that max and min both equal the average, which is never true unless a = b.

Question 14

A student attempts to prove "for any integer nn, at least one of nn, n+2n+2, n+4n+4 is divisible by 3" using proof by cases. The student divides based on n(mod3)n \pmod{3} and correctly handles the case n0(mod3)n \equiv 0 \pmod{3}. In analyzing the case n1(mod3)n \equiv 1 \pmod{3}, which number in the triple is divisible by 3?

  1. nn itself, because n1(mod3)n \equiv 1 \pmod{3} and 11(mod3)1 \equiv 1 \pmod{3} means nn has remainder 1 when divided by 3.
  2. n+2n + 2, because n1(mod3)n \equiv 1 \pmod{3} implies n+230(mod3)n + 2 \equiv 3 \equiv 0 \pmod{3}, making it divisible by 3. (correct answer)
  3. n+4n + 4, because n1(mod3)n \equiv 1 \pmod{3} implies n+452(mod3)n + 4 \equiv 5 \equiv 2 \pmod{3}, which reduces to divisibility.
  4. None of them individually, but their sum 3n+63n + 6 is always divisible by 3 regardless of the value of nn.
Explanation: 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.

Question 15

To prove that "For all integers aa and bb, if a2+b2a^2 + b^2 is divisible by 4, then both aa and bb are even," a student considers cases based on the remainders when aa and bb are divided by 2. How many cases must be analyzed, and which cases lead to a contradiction?

  1. 4 cases total; cases where exactly one of a,ba, b is even lead to contradictions, plus the case where both are odd leads to a contradiction (correct answer)
  2. 3 cases total; cases where aa is odd or bb is odd lead to contradictions, but these overlap so we only need to consider distinct remainder combinations
  3. 4 cases total; only the case where both aa and bb are odd leads to a contradiction, since a2+b22(mod4)a^2 + b^2 \equiv 2 \pmod{4} in that case
  4. 2 cases total; case where at least one is odd leads to a2+b2≢0(mod4)a^2 + b^2 \not\equiv 0 \pmod{4}, and case where both are even satisfies the conclusion directly
Explanation: We need 4 cases: (1) both even, (2) aa even, bb odd, (3) aa odd, bb even, (4) both odd. When exactly one is odd, a2+b21(mod4)a^2 + b^2 \equiv 1 \pmod{4}, contradicting divisibility by 4. When both are odd, a2+b22(mod4)a^2 + b^2 \equiv 2 \pmod{4}, 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.

Question 16

Consider proving: "For any real number xx, x1+x32|x - 1| + |x - 3| \geq 2" using proof by cases based on the location of xx relative to the critical points. Which case division is both necessary and sufficient for a complete proof?

  1. Case 1: x1x \leq 1, Case 2: x>1x > 1, since this divides the domain based on the first critical point where the expression changes behavior
  2. Case 1: x0x \leq 0, Case 2: 0<x<10 < x < 1, Case 3: 1x31 \leq x \leq 3, Case 4: x>3x > 3, ensuring all possible positions relative to both critical points are covered
  3. Case 1: x<3x < 3, Case 2: x3x \geq 3, since the absolute value x3|x - 3| has the larger coefficient effect on the sum
  4. Case 1: x<1x < 1, Case 2: 1x<31 \leq x < 3, Case 3: x3x \geq 3, analyzing the behavior of each absolute value expression separately in each interval (correct answer)
Explanation: 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 x1+x32|x - 1| + |x - 3| \geq 2, the critical points are x=1x = 1 and x=3x = 3, 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: x<1x < 1, 1x<31 \leq x < 3, and x3x \geq 3. In each interval, you can remove the absolute value bars by determining the sign of each expression. For x<1x < 1: both (x1)(x-1) and (x3)(x-3) are negative, so x1=(x1)|x-1| = -(x-1) and x3=(x3)|x-3| = -(x-3). For 1x<31 \leq x < 3: (x1)0(x-1) \geq 0 and (x3)<0(x-3) < 0. For x3x \geq 3: 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 x=3x = 3. Option B unnecessarily includes x=0x = 0, which isn't a critical point for either absolute value expression, creating redundant work. Option C also ignores the critical point at x=1x = 1, 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.

Question 17

A student proves "If xx and yy are real numbers with x2+y2=1x^2 + y^2 = 1, then 1x+y2-1 \leq x + y \leq \sqrt{2}" by considering cases based on the signs of xx and yy. Which case requires the most careful analysis to establish the upper bound x+y2x + y \leq \sqrt{2}?

  1. Case where x0x \geq 0 and y0y \geq 0, since both variables contribute positively to the sum and we need to find the maximum value subject to x2+y2=1x^2 + y^2 = 1 (correct answer)
  2. Case where x0x \geq 0 and y0y \leq 0, since we need to balance the positive contribution of xx against the negative contribution of yy while maintaining the constraint
  3. Case where x0x \leq 0 and y0y \geq 0, since the analysis is symmetric to the previous case but requires separate verification of the bound
  4. Case where x0x \leq 0 and y0y \leq 0, since both variables contribute negatively and we need to ensure the sum doesn't fall below the lower bound of 2-\sqrt{2}
Explanation: The upper bound x+y2x + y \leq \sqrt{2} is achieved when both xx and yy are non-negative and as large as possible. Using Lagrange multipliers or the Cauchy-Schwarz inequality: (x+y)22(x2+y2)=2(x + y)^2 \leq 2(x^2 + y^2) = 2, so x+y2x + y \leq \sqrt{2} with equality when x=y=12x = y = \frac{1}{\sqrt{2}}. 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.

Question 18

A student attempts to prove "If nn is an integer and n3nn^3 - n is odd, then nn is even" using proof by cases on the remainder when nn is divided by 3. What is the fundamental flaw in this approach?

  1. The case division doesn't align with the logical structure of the problem, since n3n=n(n1)(n+1)n^3 - n = n(n-1)(n+1) depends on consecutive integers, not residues modulo 3
  2. The case division is correct but incomplete, since we need to consider residues modulo 6 to capture both the parity and divisibility by 3 simultaneously
  3. The case division doesn't address the relevant parity properties, since n3nn^3 - n being odd depends on nn modulo 2, not modulo 3
  4. The case division creates unnecessary work, since the statement can be proven directly by noting that n3nn^3 - n is always even for any integer nn (correct answer)
Explanation: The fundamental flaw is that n3n=n(n21)=n(n1)(n+1)n^3 - n = n(n^2 - 1) = n(n-1)(n+1) is the product of three consecutive integers, so one of them must be even, making the entire product even. Therefore, n3nn^3 - n is never odd for any integer nn, 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.

Question 19

To prove that "2x=2x\lfloor 2x \rfloor = 2\lfloor x \rfloor or 2x=2x+1\lfloor 2x \rfloor = 2\lfloor x \rfloor + 1 for any real number xx" using proof by cases, the critical case division depends on the fractional part of xx. What is the key threshold that determines which equality holds?

  1. The threshold is whether the fractional part of xx is less than 13\frac{1}{3} or at least 13\frac{1}{3}, since this determines when doubling crosses an integer boundary
  2. The threshold is whether the fractional part of xx is less than 12\frac{1}{2} or at least 12\frac{1}{2}, since this determines whether 2x2x has fractional part less than 1 (correct answer)
  3. The threshold is whether xx itself is an integer or not, since integer values of xx always satisfy 2x=2x\lfloor 2x \rfloor = 2\lfloor x \rfloor
  4. The threshold is whether the fractional part of xx is less than 23\frac{2}{3} or at least 23\frac{2}{3}, since this determines when the floor of 2x2x increases by an extra unit
Explanation: Let x=n+fx = n + f where nn is an integer and 0f<10 \leq f < 1 is the fractional part. Then 2x=2n+2f2x = 2n + 2f. If f<12f < \frac{1}{2}, then 2f<12f < 1, so 2x=2n+2f=2n=2x\lfloor 2x \rfloor = \lfloor 2n + 2f \rfloor = 2n = 2\lfloor x \rfloor. If f12f \geq \frac{1}{2}, then 2f12f \geq 1, so 2x=2n+2f=2n+1=2x+1\lfloor 2x \rfloor = \lfloor 2n + 2f \rfloor = 2n + 1 = 2\lfloor x \rfloor + 1. The threshold 12\frac{1}{2} is critical because it determines when 2f2f crosses the integer boundary. Choices A and D use incorrect thresholds. Choice C is insufficient since it only addresses one case.

Question 20

Consider the statement: "For any integer n2n \geq 2, either nn is prime or nn has a prime divisor pp with pnp \leq \sqrt{n}." A proof by cases divides based on whether nn is prime or composite. What additional insight is required to complete the composite case?

  1. If nn is composite, then n=abn = ab where 1<a,b<n1 < a, b < n. If both a>na > \sqrt{n} and b>nb > \sqrt{n}, then ab>nab > n, a contradiction. So at least one factor is n\leq \sqrt{n}.
  2. If nn is composite, then n=abn = ab where 1<a,b<n1 < a, b < n. The smallest prime divisor of nn must divide either aa or bb, and by minimality must be n\leq \sqrt{n}.
  3. If nn is composite, then n=abn = ab where 1<a,b<n1 < a, b < n. We can assume aba \leq b, so a2ab=na^2 \leq ab = n, giving ana \leq \sqrt{n}. The smallest prime divisor of aa is an\leq a \leq \sqrt{n}. (correct answer)
  4. If nn is composite, then by the fundamental theorem of arithmetic, nn has a unique prime factorization. The smallest prime in this factorization must be n\leq \sqrt{n} by the pigeonhole principle.
Explanation: Choice C provides the correct reasoning: if n=abn = ab with 1<a,b<n1 < a, b < n, we can assume aba \leq b without loss of generality. Then a2ab=na^2 \leq ab = n, so ana \leq \sqrt{n}. Since a>1a > 1 is composite or prime, it has a smallest prime divisor panp \leq a \leq \sqrt{n}, and this pp also divides nn. Choice A shows one factor is n\leq \sqrt{n} but doesn't ensure it's prime. Choice B incorrectly assumes the smallest prime divisor's location. Choice D misapplies the pigeonhole principle.