MATH135 Lecture Notes - Lecture 4: One Direction, Euclidean Algorithm, And1

51 views6 pages
leensy188 and 36637 others unlocked
MATH135 Full Course Notes
40
MATH135 Full Course Notes
Verified Note
40 documents

Document Summary

University of waterloo - fall 2014 - math 135. Suppose a and b are integers, at least one di erent than 0. Compute gcd(24, 30), gcd( 15, 10), gcd(9, 16), gcd(0, 29), gcd(0, 0). The gcd of integers a and b exists and is unique. Let s be the set of all integers that divide both a and b. The set s is non-empty because it always contains 1. Also, if c s, then by bounds of divisibility, |c| |a| and |c| |b|. So s contains a nite number of integers. Let d be the largest element of s. then d | a, d | b, and if c divides both a and b, c d. therefore d = gcd(a, b). If a and b are non-zero integers, and a = qb + r, then gcd(a, b) = gcd(b, r). Suppose d s. then d | a and d | b. Note that r = a q b.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents