Summary of Lecture 1
Divide, Divisor, Multiple, Prime, Composite
- Fundamental Theorem of Arithmetic:
- The Well-Ordering Property:
- Division Algorithm:
- Ideal of : A nonempty set such that and
- THEOREM: is an ideal of
- Sum of Ideals:
- THEOREM: are ideals of is an ideal of
- Sum of ideals:
- Greatest common divisor:
FTA Proof
THEOREM: If and , then .
- such that
THEOREM: If is a prime and , then or .
- : done
FTA: proof of uniqueness
- Suppose that , where are all primes
- for some
- W.l.o.g., we suppose that . Then
- The theorem is true by induction.
FTA Applications
THEOREM: Suppose that . Then , where
- is a common divisor of
- is largest among the common divisors
- Suppose that is a common divisor of
- for all ;
for all ;- for all
THEOREM (Euclid) There are infinitely many primes.
- Supposethereare only primes:
- By FTA, must be a product of primes
- such that
- But
Equivalence Relation
DEFINITION: Let be two sets. A binary relation from to is a subset .
EXAMPLE: is a binary relation from to
DEFINITION: Let be a set. An equivalence relation on is a binary relation from to such that
- Reflective:
- Symmetric:
- Transitive:
DEFINITION: The equivalence class of is the set
Equivalence Class
THEOREM: Let be an equivalence relation on . For any if and only if .
- ;
- Similarly,
THEOREM: Let be an equivalence relation on . For any , either or .
- , done
- , i.e.,
The equivalence classes under form a partition of : a set of nonempty subsets of such that
Congruence
THEOREM: Let . Then is an equivalence relation on (from to ).
- is a binary relation from to
- Reflective:
- Symmetric:
- Transitive:
DEFINITION: Let and .
- The notation means that .
- is called a congruence
- Read as: is congruent to modulo
- is called the modulus of the congruence
- , or equivalently
- Read as: is not congruent to modulo
Residue Class
DEFINITION: Let . We denote the equivalence class of under the equivalence relation with and call it the residue class of .
- any element of is a representative 代表元 of
EXAMPLE:
THEOREM: Let . For any , there is a unique integer such that and .
- Existence: by division algorithm, such that
- Uniqueness: suppose that and
- and
- and
COROLLARY: For , there are residue classes, i.e., .
DEFINITION: Let and . Then there are unique integers such that and .
- We define as .
DEFINITION: Let .
- : floor of , the largest integer
- : ceiling of , the smallest integer
- If , then and
DEFINITION: Let be any positive integer. We define to be the set of all residue classes modulo .
- 完全剩余系
- ;
EXAMPLE: Two representations of the set
DEFINITION: Let . For all , define
- addition:
- subtraction:
- multiplication:
Well-defined??
- Yes.
- such that
- such that
DEFINITION: Let and . The residue class is called an inverse of if .
- The inverse of a residue class is unique (if exist). We denote .
- division: If , define
THEOREM: Let . has an inverse if and only if .
- Only if: such that
- If: such that
DEFINITION: Let . Define .
- If is prime, then
- If is composite, then
EXAMPLE:
这讲义写得也太干了吧,看得我头大 😵
模运算这块儿有点绕啊
同余关系这块得画个图才清楚
我也画了图才明白
等价类的划分原来这么来的
同感,一下就明白了
数学系的吧,看着就眼熟
不是哦
同感,一看就是数论
同余那块儿老记混,得再瞅瞅
等价关系的定义还是得背熟
模运算这块儿挺绕的
同感,得慢慢消化
同余类乘法那块儿有点懵
这些定理证明写得好详细啊
证明过程确实清晰
模运算的应用场景多吗?
很多,密码学里常用
mod n 的逆元那块卡了好久,有人能说说为啥 gcd(b,n)=1 就一定有逆吗?
之前搞密码学作业就栽在 residue class 上,现在看还是有点懵
这数学符号看得我眼花缭乱 🤯