Greatest Common Divisors

    Given two integers there are potentially many integers that are divisors of both, called common divisors; and the greatest among these common divisors is called the greatest common divisor. Perhaps the reader is familiar with this concept, for example the greatest common divisor of 15 and 21 is 3, which is easily found since the prime factors of 15 and 21 are easy to see. However, given two large integers finding the prime factors is not practical.
    In this topic we introduce the great common divisor; but we do not attempt to show how to find the greatest common divisor; rather, we leave that for another topic. First, examples of the great common divisor are given and then a fundamental characterization of the greatest common divisor is proven.  We will use the Well-Ordering Principle and the Division Algorithm to show that the greatest common divisor is the least positive linear combination of the given integers.

Definition (Greatest Common Divisor) Let greatest common divisors _gr_1.gif] and greatest common divisors _gr_2.gif] be two integers that are not both zero. Then the greatest common divisor of greatest common divisors _gr_3.gif] and greatest common divisors _gr_4.gif] is the largest integer that divides both greatest common divisors _gr_5.gif] and greatest common divisors _gr_6.gif] The greatest common divisor of greatest common divisors _gr_7.gif] and greatest common divisors _gr_8.gif] is denoted by greatest common divisors _gr_9.gif] or sometimes by greatest common divisors _gr_10.gif]

Example (Greatest Common Divisor) The integers 4 and 8 have greatest common divisor of 4 and we write greatest common divisors _gr_11.gif] since 4 is the largest integer that divides both 4 and 8. Also greatest common divisors _gr_12.gif] and greatest common divisors _gr_13.gif] greatest common divisors _gr_14.gif]

Definition (Relatively Prime) If greatest common divisors _gr_15.gif] then greatest common divisors _gr_16.gif] and greatest common divisors _gr_17.gif] are said to be relatively prime.

Example (Relatively Prime) Note that greatest common divisors _gr_18.gif] and so 2 and 5 are relatively prime. But greatest common divisors _gr_19.gif] and so 8 and 24 are not relatively prime.   greatest common divisors _gr_20.gif]

Definition (Linear Combination) A linear combination of greatest common divisors _gr_21.gif] and greatest common divisors _gr_22.gif] is an integer of the form greatest common divisors _gr_23.gif] where greatest common divisors _gr_24.gif] and greatest common divisors _gr_25.gif] are integers.

Example (Linear Combination) Note that given 2 and 51 we can form many different linear combinations, here are three examples: greatest common divisors _gr_26.gif] greatest common divisors _gr_27.gif] and greatest common divisors _gr_28.gif] greatest common divisors _gr_29.gif]

    A number of properties of the great common divisor can be deduced from its definition however a fundamental characterization of the greatest common divisor can easily be proved using the Well-Ordering Principle and the Division Algorithm; and in doing so, many properties of the greatest common divisor can be deduced much quicker.

Proposition (Properties of Greatest Common Divisors)  Let greatest common divisors _gr_30.gif] and greatest common divisors _gr_31.gif] be integers, then

    (i) greatest common divisors _gr_32.gif] for some integers greatest common divisors _gr_33.gif] and greatest common divisors _gr_34.gif]
    
    (ii) the set of linear combinations of greatest common divisors _gr_35.gif] and greatest common divisors _gr_36.gif] is the set of multiples of greatest common divisors _gr_37.gif]
    
    (iii) greatest common divisors _gr_38.gif] if and only if there exists integers greatest common divisors _gr_39.gif] and greatest common divisors _gr_40.gif] such that greatest common divisors _gr_41.gif]
    
    (iv) greatest common divisors _gr_42.gif] is the least positive integer that is a linear combination of greatest common divisors _gr_43.gif] and greatest common divisors _gr_44.gif]
    
    (v) if greatest common divisors _gr_45.gif] then greatest common divisors _gr_46.gif]
    
    (vi) greatest common divisors _gr_47.gif] if and only if greatest common divisors _gr_48.gif] greatest common divisors _gr_49.gif] and if greatest common divisors _gr_50.gif] is another common divisor then greatest common divisors _gr_51.gif]
    
    Proof. (i) Consider the set

greatest common divisors _gr_52.gif]

Since greatest common divisors _gr_53.gif] is nonempty, ( greatest common divisors _gr_54.gif] are in greatest common divisors _gr_55.gif]), the Well-Ordering Principle yields a least positive integer greatest common divisors _gr_56.gif] such that greatest common divisors _gr_57.gif] for some integers   greatest common divisors _gr_58.gif] and greatest common divisors _gr_59.gif] The idea is to show that greatest common divisors _gr_60.gif] To do this we use the Division Algorithm obtaining greatest common divisors _gr_61.gif] and greatest common divisors _gr_62.gif] such that greatest common divisors _gr_63.gif] where greatest common divisors _gr_64.gif] If greatest common divisors _gr_65.gif] then greatest common divisors _gr_66.gif] is in greatest common divisors _gr_67.gif] because   greatest common divisors _gr_68.gif] But we can not have greatest common divisors _gr_69.gif] is in S because greatest common divisors _gr_70.gif] and greatest common divisors _gr_71.gif] is the least in greatest common divisors _gr_72.gif] Therefore greatest common divisors _gr_73.gif] and so greatest common divisors _gr_74.gif] Using the same argument with greatest common divisors _gr_75.gif] replaced by greatest common divisors _gr_76.gif] it is shown that greatest common divisors _gr_77.gif] To show greatest common divisors _gr_78.gif] it remains to show that greatest common divisors _gr_79.gif] is greater than any other common divisor of greatest common divisors _gr_80.gif] and greatest common divisors _gr_81.gif] and so let greatest common divisors _gr_82.gif] be a common divisor of greatest common divisors _gr_83.gif] and greatest common divisors _gr_84.gif] Then using Properties of Divisibility, greatest common divisors _gr_85.gif] that is greatest common divisors _gr_86.gif] and so greatest common divisors _gr_87.gif]
     (ii) By part (i), if greatest common divisors _gr_88.gif] then greatest common divisors _gr_89.gif] for some integers greatest common divisors _gr_90.gif] and greatest common divisors _gr_91.gif] Thus every multiple of greatest common divisors _gr_92.gif] is also a linear combination of greatest common divisors _gr_93.gif]and greatest common divisors _gr_94.gif] Conversely, let greatest common divisors _gr_95.gif] be a linear combination of greatest common divisors _gr_96.gif] and greatest common divisors _gr_97.gif] Then using Properties of Divisibility, greatest common divisors _gr_98.gif] and so   greatest common divisors _gr_99.gif] is a multiple of greatest common divisors _gr_100.gif]
     (iii) If greatest common divisors _gr_101.gif] then by greatest common divisors _gr_102.gif] there exists integers greatest common divisors _gr_103.gif] and greatest common divisors _gr_104.gif] such that greatest common divisors _gr_105.gif] Conversely, suppose greatest common divisors _gr_106.gif] and that greatest common divisors _gr_107.gif] for some integers greatest common divisors _gr_108.gif] and greatest common divisors _gr_109.gif] Then greatest common divisors _gr_110.gif] because greatest common divisors _gr_111.gif] and so greatest common divisors _gr_112.gif]
     (iv) This follows from the Well Ordering Principle as in the proof of (i).
     (v)
If greatest common divisors _gr_113.gif] then greatest common divisors _gr_114.gif] for some integers greatest common divisors _gr_115.gif] and greatest common divisors _gr_116.gif] Since greatest common divisors _gr_117.gif] and greatest common divisors _gr_118.gif] we have greatest common divisors _gr_119.gif] and by (ii) greatest common divisors _gr_120.gif]
     (vi) If greatest common divisors _gr_121.gif] then by definition, greatest common divisors _gr_122.gif] and greatest common divisors _gr_123.gif] Let greatest common divisors _gr_124.gif] be a common divisor of greatest common divisors _gr_125.gif] and greatest common divisors _gr_126.gif] with greatest common divisors _gr_127.gif] and greatest common divisors _gr_128.gif] for some integers greatest common divisors _gr_129.gif] and greatest common divisors _gr_130.gif]  By (i), there exists greatest common divisors _gr_131.gif] and greatest common divisors _gr_132.gif] such that greatest common divisors _gr_133.gif] and therefore we have   greatest common divisors _gr_134.gif] Whence, greatest common divisors _gr_135.gif] greatest common divisors _gr_136.gif]

Example (Showing Relatively Prime) Show that greatest common divisors _gr_137.gif] and greatest common divisors _gr_138.gif] are relatively prime.

    Solution. Since greatest common divisors _gr_139.gif] it follows that greatest common divisors _gr_140.gif]
greatest common divisors _gr_141.gif]

    We can easily extend the concept of greatest common divisor to a finite number of integers, (not all zero) by greatest common divisors _gr_142.gif] means greatest common divisors _gr_143.gif] is a divisor of   greatest common divisors _gr_144.gif] for greatest common divisors _gr_145.gif] and greatest common divisors _gr_146.gif] is the greatest among all possible common divisors.  To find such an integer, say for greatest common divisors _gr_147.gif] we can first find greatest common divisors _gr_148.gif] and then find greatest common divisors _gr_149.gif] and so greatest common divisors _gr_150.gif]

Definition (Mutually Relatively Prime) The integers greatest common divisors _gr_151.gif] greatest common divisors _gr_152.gif] greatest common divisors _gr_153.gif] greatest common divisors _gr_154.gif] are called mutually relatively prime when greatest common divisors _gr_155.gif]

Example (Mutually Relatively Prime) The integers 3, 5, 7 are mutually relatively prime and the integers 4, 19, 27 are mutually relatively prime.   greatest common divisors _gr_156.gif]

Definition (Pairwise Relatively Prime) The integers greatest common divisors _gr_157.gif] greatest common divisors _gr_158.gif] greatest common divisors _gr_159.gif] greatest common divisors _gr_160.gif] are called pairwise relatively prime when greatest common divisors _gr_161.gif] for every possible greatest common divisors _gr_162.gif] and greatest common divisors _gr_163.gif] with greatest common divisors _gr_164.gif]

Example (Pairwise Relatively Prime) The integers 3, 5, 7 are pairwise relatively prime because greatest common divisors _gr_165.gif] greatest common divisors _gr_166.gif] and greatest common divisors _gr_167.gif] The integers 4, 19, 27 are pairwise relatively prime because greatest common divisors _gr_168.gif] greatest common divisors _gr_169.gif] and greatest common divisors _gr_170.gif] The integers 10, 14, and 35 are mutually relatively prime because greatest common divisors _gr_171.gif] (there is no common divisor for all three) however they are not pairwise relatively prime because greatest common divisors _gr_172.gif]    greatest common divisors _gr_173.gif]

Example (Great Common Divisors) What is greatest common divisors _gr_174.gif] where greatest common divisors _gr_175.gif]and greatest common divisors _gr_176.gif] are relatively prime integers that are not both 0?

    Solution. Let greatest common divisors _gr_177.gif] be a prime dividing greatest common divisors _gr_178.gif] Then

greatest common divisors _gr_179.gif]

Now if greatest common divisors _gr_180.gif] then greatest common divisors _gr_181.gif] since greatest common divisors _gr_182.gif] But greatest common divisors _gr_183.gif] so greatest common divisors _gr_184.gif] Similarly, greatest common divisors _gr_185.gif] Therefore, greatest common divisors _gr_186.gif] and so greatest common divisors _gr_187.gif] or greatest common divisors _gr_188.gif] If greatest common divisors _gr_189.gif] and greatest common divisors _gr_190.gif] have the same parity, then greatest common divisors _gr_191.gif] and greatest common divisors _gr_192.gif] and so greatest common divisors _gr_193.gif] But if greatest common divisors _gr_194.gif] and greatest common divisors _gr_195.gif] have opposite parity, then greatest common divisors _gr_196.gif] and greatest common divisors _gr_197.gif] greatest common divisors _gr_198.gif]

Example (Great Common Divisors) Show that if greatest common divisors _gr_199.gif] is an even integer and greatest common divisors _gr_200.gif] is an odd integer, then greatest common divisors _gr_201.gif]

    Solution. Let greatest common divisors _gr_202.gif] for some integer greatest common divisors _gr_203.gif] Since greatest common divisors _gr_204.gif] and greatest common divisors _gr_205.gif] is odd. But greatest common divisors _gr_206.gif] Thus greatest common divisors _gr_207.gif] So greatest common divisors _gr_208.gif] greatest common divisors _gr_209.gif]
    

Example (Great Common Divisors) Show that if greatest common divisors _gr_210.gif] is an integer, then the integers greatest common divisors _gr_211.gif] greatest common divisors _gr_212.gif] greatest common divisors _gr_213.gif] greatest common divisors _gr_214.gif] and greatest common divisors _gr_215.gif] are pairwise relatively prime.

    Solution. Suppose that greatest common divisors _gr_216.gif] Then greatest common divisors _gr_217.gif] We have greatest common divisors _gr_218.gif] so if greatest common divisors _gr_219.gif] it follows that greatest common divisors _gr_220.gif] Hence greatest common divisors _gr_221.gif] To show that greatest common divisors _gr_222.gif] it is sufficient to show that neither 2 nor 3 divides greatest common divisors _gr_223.gif] If greatest common divisors _gr_224.gif] or greatest common divisors _gr_225.gif] and greatest common divisors _gr_226.gif] then greatest common divisors _gr_227.gif] and greatest common divisors _gr_228.gif] However, there are no such pairs greatest common divisors _gr_229.gif] in the set greatest common divisors _gr_230.gif] greatest common divisors _gr_231.gif]
    

Example (Great Common Divisors) Show that every positive integer greater than 6 is the sum of two relatively  prime integers greater than 1.

    Solution. By the previous example, we know that   greatest common divisors _gr_232.gif] greatest common divisors _gr_233.gif] greatest common divisors _gr_234.gif] greatest common divisors _gr_235.gif] and greatest common divisors _gr_236.gif] are pairwise relatively prime. To represent greatest common divisors _gr_237.gif] as the sum of two relatively prime integers greater than one, let greatest common divisors _gr_238.gif] greatest common divisors _gr_239.gif] We now examine the twelve cases, one for each possible value of greatest common divisors _gr_240.gif] in the following table:
    
greatest common divisors _gr_241.gif]
greatest common divisors _gr_242.gif]

Cite this as:
Greatest Common Divisors
Published by Library of Math -- Online math organized by subject into topics.
Written by Smith, David A.
http://www.libraryofmath.com/greatest-common-divisors.html
 
    
Library of Math
Online Math Organized by Subject Into Topics
math search
Library of Math AddThis Feed Button
The Library of Math - Online Math Organized by Subject Into Topics.
© 2005 - 2008 www.LibraryOfMath.com All rights reserved.
about us | feedback | privacy policy | terms of use | mision statement | help

Page copy protected against web site content infringement by Copyscape Valid CSS! Valid HTML 4.01 Transitional Subscribe to the Library of Math Feed
Art & Photography Shop | Being Healthy Shop | Best Sports Mall | Cafe Food Lover | Cafe Gift Shop | Cafe Internet Shop | Career Archives | City Annals
Countries Shop | Crazy Kids World | Dallas Cowboys Football Shop | Headline News Shop | Heart Boutique | Lover of Pets | Military Support Store
Musical Boutique | Online Math Store | Political Ramblings | Shop by Auction | Shop of Learning | Shop of Technology | Shop of Travels | Special Occasion Shop
Store of Hobbies | Theology Store | USA States Shop | Your Animal Store | Your Fitness World | Your Funny Store | Your Science Store