COMP 2711H: Lecture 21

Date: 2024-10-21 09:02:41

Reviewed:

Topic / Chapter:

summary

❓Questions

Notes

Introduction to Integers ℤ
  • Introduction to

    • rules
        • if
      1. , then
        • 👨‍🏫 we don't need :p
    • order: an extension of on N:
      • if
    • predecessor:
      • rules
    • addition can be extended similarly
    • multiplication
    • subtraction
    • absolute value
  • Division

    • theorem: let
      • there exists unique s.t.
        • and
    • let
    • and
      • in : well-ordering principle doesn't work
      • we want
        • s.t. we can argue well ordering principle
    • itself is non empty
      • , then simply: when
      • if : use following lemma
    • lemma:
      • if : use
      • if : use
      • if : use
      • thus: we can make for arbitrary
    • let be minimum element of (exists due to )
      • so s.t.
    • suppose:
      • however, in this case, we can make a even smaller remainder
      • by contradiction: this implies
    • proof of uniqueness
      • proof by contradiction, again
      • let following be two different solutions
      • if , then
      • if and :
        • then
          • lemma:
          • 👨‍🏫 prove yourself!
        • but
          • thus contradiction
    • theorem: for every , where :
      • division by negative number
      • there exists unique s.t.
        • where
    • definition: if
    • theorem 2.2:
          • thus
        • use absolute value to prove
      1. for every
Greatest Common Divisor
  • Greatest Common Divisor

    • 👨‍🏫 you expected prime numbers? no! GCD first!
    • GCD: let , not BOTH are
      • unless: all number might be common divisor
    • : is iff:
        • 👨‍🏫 or equivalently:
          • but it will make some of our proof unnecessary
        • more interesting :)
    • for , finding one is trivial
      • find common divisor / intersection of divisors
      • and find greatest & positive one
    • unlike so: we must also prove existence of
    • theorem: for every , not both 0
      • s.t.
    • proof: let
        • if : it can be any multiple of another
        • otherwise
      • thus: has a minimum element,
      • : has all properties of
        • : divides both
        • suppose
          • ,
            • which: is smaller than , thus contradiction
          • finally,
        • similarly, prove
        • thus we have shown
      • suppose:
      • 👨‍🏫 furthermore, can be written as linear combination of
    • corollary: where not both 0
    • relatively prime: iff
    • theorem: if then
      • the only problem: , but it's given
    • theorem: if and and , then
      • 👨‍🏫 only if we had common prime factor, this would have been easier... (but not defined yet)
      • thus proven
  • ⭐ Euclid's lemma: if and , then
    • as ,