Definition

the original conditional statement wtih a hypothesis made up of a disjunction of propositions can be proved by proving each of the conditional statements individually.

To prove , we can find and then individually prove every case.

Common Errors

  • Drawing incorrect conclusions from examples
  • No matter how many cases we cover in our own proof, we cannot prove the theorem to be true unless we prove every case

Example: if is a real number, then is a positive real number.

Proof: Let us consider two cases:
  1. is positive, since a positive number times a positive number is positive, must be positive.
  2. is negative, since a negative number times a negative number is positive, must be positive This “completes” the proof (no it doesn’t. the proof is wrong)

Why? : we missed the case where

Example: Use proof by cases to prove that , where and are real numbers.

First, we need the definition of absolute value.

Transclude of Definitions#absolute-value

Proof: We will consider four cases.

Case 1: .

Therefore, we have and . Also, . Therefore,

for ,

Case 2: .

Therefore, we have and . Also, . Therefore,

for , we have

Case 3: .

Therefore, we have and . Also, . Therefore,

for , we have

Case 4: .

Therefore, we have and . Also, . Therefore,

for , we have

for all real numbers, , :

Without loss of generality (WLOG)

  • in the last example, we dismissed case 3 because it was the same as case 2 with reversed roles
  • to shorten the proofs, we could have proved cases 2 and 3 together because both are completely arbitrary, and whichever one is positive and whichever one is even does not matter

Example: Show that if and are integers and both and are even, then both and are even.

Techniques Employed:

Proof: Using proof by contrapositive, we will show that if is odd or is odd, is odd or is odd.

Without loss of generality, assume is odd.

there exists and integer such that

Now, all we have to analyze is when is odd and is even.

we must consider two cases, is odd or is even

Cases:
  1. is odd
  2. is even
Case 1: is odd.

there exists integer ,

Now \begin{align} xy\\ \equiv<substitution>\\ (2m+1)(2n+1)\\ \equiv<algebra>\\ 4mn+2m+2n+1\\ \equiv<algebra>\\ 2(2mn+m+n)+1\\ \end{align} Since and are integers, is also an integer. is odd.

Case 2: is even.

there exists integer such that y=

Now, $$\begin{align} x+y\ \equiv\ 2m+1+2n\ \equiv\ 2(m+n)+1 \end{align}$$$m, n\thereforem+n$ is an integer.

is odd.

By contraposition, if and are even, then both and are even.