Mathematical-Reasoning ยท Unit 9 ยท Video 2 ยท Interactive Practice

Choosing Exhaustive Cases and Writing a Case Proof

IKey Formulas

FormulaNameUse in a case proof
(PโˆจQ)โ†’Rโ‰ก(Pโ†’R)โˆง(Qโ†’R)(P \vee Q) \to R \equiv (P \to R) \wedge (Q \to R)Proof by casesProve the conclusion separately in each case; the cases must cover every object the hypothesis allows
n=2mn = 2m or n=2m+1n = 2m + 1 for some mโˆˆZm \in \mathbb{Z}Parity splitEvery integer is even or odd; two integers mm, nn give 2ร—2=42 \times 2 = 4 cases
x>0x > 0, x=0x = 0, x<0x < 0  (or xโ‰ฅ0x \geq 0, x<0x < 0)Sign splitEvery real number is positive, zero or negative; the boundary value 00 must land in some case
a=0a = 0 or aโ‰ 0a \neq 0Guarding a stepDividing by aa is valid only in the case aโ‰ 0a \neq 0

Key Insight: Cases may overlap, but they may never leave a gap: every object that satisfies the hypothesis has to fall into at least one case, and each case should open with its own label ("Case 1", "In the case where โ€ฆ").

IIVisualization 1 โ€” Do the Cases Leave a Gap?

Cases may overlap, but every object allowed by the hypothesis must fall into at least one case.

IIIVisualization 2 โ€” Both Cases of n2โˆ’5n+7n^2 - 5n + 7

Every integer is even or odd, and each case's algebra ends in the form 2(integer)+12(\text{integer}) + 1.

In the case where nn is even, there is an integer mm with n=2mn = 2m.

n2โˆ’5n+7=(2m)2โˆ’5(2m)+7=4m2โˆ’10m+6+1=2(2m2โˆ’5m+3)+1\begin{aligned} n^2 - 5n + 7 &= (2m)^2 - 5(2m) + 7 \\ &= 4m^2 - 10m + 6 + 1 \\ &= 2(2m^2 - 5m + 3) + 1 \end{aligned}

In the case where nn is odd, there is an integer mm with n=2m+1n = 2m + 1.

n2โˆ’5n+7=(2m+1)2โˆ’5(2m+1)+7=4m2โˆ’6m+3=2(2m2โˆ’3m+1)+1\begin{aligned} n^2 - 5n + 7 &= (2m + 1)^2 - 5(2m + 1) + 7 \\ &= 4m^2 - 6m + 3 \\ &= 2(2m^2 - 3m + 1) + 1 \end{aligned}

๐Ÿ’ก Each bracket is an integer because sums, differences and products of integers are integers, so in both cases n2โˆ’5n+7n^2 - 5n + 7 has the form 2k+12k + 1 with kโˆˆZk \in \mathbb{Z}.

IVVisualization 3 โ€” The Step That Chooses the Cases

If ab=0ab = 0, dividing by aa is valid only when aโ‰ 0a \neq 0, so that condition and its failure become the cases.

VQuiz Questions

Problem 1 ยท Exhaustive Cases for a Real Number

Given: a proposition whose hypothesis is "xx is a real number." Which list of cases exhausts every possibility for xx?

โœ… Correct! Every real number satisfies xโ‰ฅ0x \geq 0 or xโ‰ค0x \leq 0. The number 00 satisfies both, and an overlap is allowed.
โŒ Not quite. The real number 00 is neither positive nor negative, so these two cases say nothing about x=0x = 0.
โŒ Not quite. The real number 11 satisfies neither x>1x > 1 nor x<1x < 1, so x=1x = 1 falls into no case.
โŒ Not quite. A number such as x=โˆ’12x = -\tfrac{1}{2} is not positive, not 00, and not less than โˆ’1-1: every xx with โˆ’1โ‰คx<0-1 \leq x < 0 is left out.
Show solution

The cases exhaust the hypothesis exactly when every real number satisfies at least one of them. Test each list at its boundary values.

  • (a) x=0x = 0 satisfies neither x>0x > 0 nor x<0x < 0: a gap.
  • (b) x=1x = 1 satisfies neither x>1x > 1 nor x<1x < 1: a gap.
  • (c) If xx is not โ‰ฅ0\geq 0, then x<0x < 0, so xโ‰ค0x \leq 0. Every real number is covered; x=0x = 0 is covered twice, which is allowed.
  • (d) x=โˆ’12x = -\tfrac{1}{2} satisfies none of x>0x > 0, x=0x = 0, x<โˆ’1x < -1: a gap covering all of โˆ’1โ‰คx<0-1 \leq x < 0.

Only list (c) is exhaustive.

Problem 2 ยท The Missing Parity Case

Given: a proof about all integers mm and nn uses three cases. Case 1: mm and nn are both even. Case 2: mm and nn are both odd. Case 3: mm is even and nn is odd. Which pair (m,n)(m, n) falls into none of the three cases?

โœ… Correct! Here m=5m = 5 is odd and n=8n = 8 is even. That mixed case, mm odd with nn even, is missing from the list, so the proof says nothing about this pair.
โŒ Not quite. Both 22 and 44 are even, so (2,4)(2, 4) is in Case 1.
โŒ Not quite. Both 33 and 55 are odd, so (3,5)(3, 5) is in Case 2.
โŒ Not quite. Here m=4m = 4 is even and n=7n = 7 is odd, which is exactly Case 3.
Show solution

Each of mm and nn is even or odd, so there are 2ร—2=42 \times 2 = 4 parity pairs: (even, even), (even, odd), (odd, even), (odd, odd). The three cases cover (even, even), (odd, odd) and (even, odd). The pair (odd, even) is missing.

  • (2,4)(2, 4) is (even, even): Case 1.
  • (3,5)(3, 5) is (odd, odd): Case 2.
  • (4,7)(4, 7) is (even, odd): Case 3.
  • (5,8)(5, 8) is (odd, even): no case.

The two mixed cases are different cases. Unless the proof adds a fourth case, mm odd and nn even, it does not prove the statement for every pair of integers.

Problem 3 ยท Finishing the Odd Case

Given: the proposition "for each integer nn, n2+3n+5n^2 + 3n + 5 is odd," proved by cases. In the case where nn is odd, there is an integer mm with n=2m+1n = 2m + 1. Which line correctly finishes this case?

โœ… Correct! (2m+1)2+3(2m+1)+5=4m2+10m+9=2(2m2+5m+4)+1(2m + 1)^2 + 3(2m + 1) + 5 = 4m^2 + 10m + 9 = 2(2m^2 + 5m + 4) + 1, and 2m2+5m+42m^2 + 5m + 4 is an integer.
โŒ Not quite. This comes from writing 3(2m+1)3(2m + 1) as 6m+16m + 1. Distribute fully: 3(2m+1)=6m+33(2m + 1) = 6m + 3.
โŒ Not quite. This comes from squaring 2m+12m + 1 as 4m2+14m^2 + 1. The middle term is missing: (2m+1)2=4m2+4m+1(2m + 1)^2 = 4m^2 + 4m + 1.
โŒ Not quite. This is the even case: substituting n=2mn = 2m gives 4m2+6m+5=2(2m2+3m+2)+14m^2 + 6m + 5 = 2(2m^2 + 3m + 2) + 1. In this case n=2m+1n = 2m + 1.
Show solution

Proof. Let nn be an integer. We will prove that n2+3n+5n^2 + 3n + 5 is odd by examining the case where nn is even and the case where nn is odd.

In the case where nn is even, there exists an integer mm such that n=2mn = 2m. Then

n2+3n+5=4m2+6m+5=2(2m2+3m+2)+1.n^2 + 3n + 5 = 4m^2 + 6m + 5 = 2(2m^2 + 3m + 2) + 1.

In the case where nn is odd, there exists an integer mm such that n=2m+1n = 2m + 1. Then

n2+3n+5=(4m2+4m+1)+(6m+3)+5=4m2+10m+9=2(2m2+5m+4)+1.\begin{aligned} n^2 + 3n + 5 &= (4m^2 + 4m + 1) + (6m + 3) + 5 \\ &= 4m^2 + 10m + 9 \\ &= 2(2m^2 + 5m + 4) + 1. \end{aligned}

Sums and products of integers are integers, so 2m2+3m+22m^2 + 3m + 2 and 2m2+5m+42m^2 + 5m + 4 are integers. In both cases n2+3n+5n^2 + 3n + 5 is odd. โˆŽ

Check: n=3n = 3 gives m=1m = 1 and 2(2+5+4)+1=23=9+9+52(2 + 5 + 4) + 1 = 23 = 9 + 9 + 5.

Problem 4 ยท Cases That Guard a Division

Given: the proposition "for all real numbers xx and yy, if xy=xxy = x, then x=0x = 0 or y=1y = 1." A proof wants to divide both sides of xy=xxy = x by xx.

Which two cases cover every real number xx and make the division by xx valid wherever it is used?

In the case where xโ‰ 0x \neq 0, what does dividing both sides of xy=xxy = x by xx give?

โœ… Correct! The condition the step needs, xโ‰ 0x \neq 0, and its failure, x=0x = 0, are the cases. In the case x=0x = 0 the conclusion already holds; in the case xโ‰ 0x \neq 0 the division gives y=1y = 1.
โŒ Not quite. These cases leave out x=0x = 0, the very value where the division fails, so the proof says nothing about it.
โŒ Not quite. These cases cover every yy, but they say nothing about whether xโ‰ 0x \neq 0, so they do not make the division by xx valid.
โŒ Not quite. These cases do not exhaust the possibilities: x=2x = 2, y=1y = 1 satisfies xy=xxy = x but falls into neither case.
โŒ Not quite. That is the pattern of ab=0ab = 0. Here the right side is xx, not 00: xyx=xx\frac{xy}{x} = \frac{x}{x} gives y=1y = 1.
โŒ Not quite. Dividing by xx removes xx from both sides; it says nothing about the value of xx. The result is y=1y = 1.
โŒ Not quite. The right side xx divided by xx is 11, not xx, so the result is y=1y = 1.
Show solution

Proof. Let xx and yy be real numbers, and assume that xy=xxy = x. We will prove that x=0x = 0 or y=1y = 1 by considering two cases: (1) x=0x = 0, and (2) xโ‰ 0x \neq 0. Every real number xx falls into one of these.

In the case where x=0x = 0, the conclusion "x=0x = 0 or y=1y = 1" is true because its first part is true. There is nothing to prove.

In the case where xโ‰ 0x \neq 0, the number 1x\frac{1}{x} exists. Multiplying both sides of xy=xxy = x by 1x\frac{1}{x} gives

1xโ‹…xy=1xโ‹…x,soy=1.\frac{1}{x} \cdot xy = \frac{1}{x} \cdot x, \quad\text{so}\quad y = 1.

So in both cases x=0x = 0 or y=1y = 1. โˆŽ

The cases were chosen to match the condition the division step needs, exactly as in the proof that ab=0ab = 0 implies a=0a = 0 or b=0b = 0.

Solved: 0 / 4