Class: CSE 16 Subject: computer-science discrete-math Date: 2024-11-06 Teacher: Prof. Musacchio

Direct Proof

Introduction

Example 1

  • Proposition: If is odd, then is odd.
    • Proof. Suppose is odd
    • Then for some , by definition of an odd number
    • Thus .
    • So where is the integer
    • Thus for an integer .

Example 2

  • Proposition: Let , and be integers. If and , then .
    • Proof. Suppose and .
    • By Definition 4.4, we know means for some .
    • Likewise, means for some .
    • Thus , so for the integer .
    • Therefore .