Class: CSE 16 Subject: computer-science discrete-math Date: 2024-11-06 Teacher: Prof. Musacchio
Direct Proof
Introduction
- Sometimes we have to look at multiple cases before we can prove a statement is true
Example 1
- Proposition: If , then is a multiple of .
- Proof Suppose (Then is either even or odd.)
- Case 1
- Suppose is even.
- Then for some , and .
- Thus , which is a multiple of .
- Case 2
- Suppose n is odd.
- Then for some , and .
- Thus , which is a multiple of .