Why is GCD of any two integers positive? [unit normalization of GCDs]












4














The definition in my text reads,



An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,




$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$
then $k|d$




Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$



What I take from this? GCD is not unique! That is if $mathrm{gcd}(12,8)= 4$ then by the definition, $mathrm{gcd}(12,8) = -4$ as well.



Yet I never ever seen a negative gcd. Someone please explain.



Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justifies the definition.










share|cite|improve this question




















  • 2




    Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
    – Roberto Rastapopoulos
    Oct 2 '18 at 10:15












  • I expect your definition required $din mathbb N$,
    – lulu
    Oct 2 '18 at 10:18






  • 3




    Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
    – Tobias Kildetoft
    Oct 2 '18 at 10:20










  • @RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
    – William
    Oct 2 '18 at 10:24






  • 2




    In some definitions it's a gcd (because there can be more than one)
    – John Cataldo
    Oct 2 '18 at 10:42
















4














The definition in my text reads,



An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,




$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$
then $k|d$




Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$



What I take from this? GCD is not unique! That is if $mathrm{gcd}(12,8)= 4$ then by the definition, $mathrm{gcd}(12,8) = -4$ as well.



Yet I never ever seen a negative gcd. Someone please explain.



Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justifies the definition.










share|cite|improve this question




















  • 2




    Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
    – Roberto Rastapopoulos
    Oct 2 '18 at 10:15












  • I expect your definition required $din mathbb N$,
    – lulu
    Oct 2 '18 at 10:18






  • 3




    Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
    – Tobias Kildetoft
    Oct 2 '18 at 10:20










  • @RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
    – William
    Oct 2 '18 at 10:24






  • 2




    In some definitions it's a gcd (because there can be more than one)
    – John Cataldo
    Oct 2 '18 at 10:42














4












4








4







The definition in my text reads,



An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,




$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$
then $k|d$




Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$



What I take from this? GCD is not unique! That is if $mathrm{gcd}(12,8)= 4$ then by the definition, $mathrm{gcd}(12,8) = -4$ as well.



Yet I never ever seen a negative gcd. Someone please explain.



Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justifies the definition.










share|cite|improve this question















The definition in my text reads,



An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,




$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$
then $k|d$




Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$



What I take from this? GCD is not unique! That is if $mathrm{gcd}(12,8)= 4$ then by the definition, $mathrm{gcd}(12,8) = -4$ as well.



Yet I never ever seen a negative gcd. Someone please explain.



Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justifies the definition.







abstract-algebra elementary-number-theory greatest-common-divisor






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 21 '18 at 2:36









Bill Dubuque

209k29190629




209k29190629










asked Oct 2 '18 at 10:12









William

1,170314




1,170314








  • 2




    Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
    – Roberto Rastapopoulos
    Oct 2 '18 at 10:15












  • I expect your definition required $din mathbb N$,
    – lulu
    Oct 2 '18 at 10:18






  • 3




    Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
    – Tobias Kildetoft
    Oct 2 '18 at 10:20










  • @RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
    – William
    Oct 2 '18 at 10:24






  • 2




    In some definitions it's a gcd (because there can be more than one)
    – John Cataldo
    Oct 2 '18 at 10:42














  • 2




    Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
    – Roberto Rastapopoulos
    Oct 2 '18 at 10:15












  • I expect your definition required $din mathbb N$,
    – lulu
    Oct 2 '18 at 10:18






  • 3




    Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
    – Tobias Kildetoft
    Oct 2 '18 at 10:20










  • @RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
    – William
    Oct 2 '18 at 10:24






  • 2




    In some definitions it's a gcd (because there can be more than one)
    – John Cataldo
    Oct 2 '18 at 10:42








2




2




Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
– Roberto Rastapopoulos
Oct 2 '18 at 10:15






Where is than definition from? From wikipedia: "In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers"
– Roberto Rastapopoulos
Oct 2 '18 at 10:15














I expect your definition required $din mathbb N$,
– lulu
Oct 2 '18 at 10:18




I expect your definition required $din mathbb N$,
– lulu
Oct 2 '18 at 10:18




3




3




Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
– Tobias Kildetoft
Oct 2 '18 at 10:20




Indeed, the greatest common divisor of two elements is only uniquely determined up to an invertible element (i.e. up to a sign in the integers). For the integers we usually choose the positive one, since this is a "nice" way to single out one of them.
– Tobias Kildetoft
Oct 2 '18 at 10:20












@RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
– William
Oct 2 '18 at 10:24




@RobertoRastapopoulos you can find it many algebra textbooks, but here is an example in the form of question. math.stackexchange.com/q/85565/552998
– William
Oct 2 '18 at 10:24




2




2




In some definitions it's a gcd (because there can be more than one)
– John Cataldo
Oct 2 '18 at 10:42




In some definitions it's a gcd (because there can be more than one)
– John Cataldo
Oct 2 '18 at 10:42










2 Answers
2






active

oldest

votes


















2














You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $kleq d$". So that definition already requires the gcd to be positive.






share|cite|improve this answer





















  • But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
    – William
    Oct 2 '18 at 12:31






  • 1




    So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
    – Mark
    Oct 2 '18 at 12:37












  • Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
    – William
    Oct 2 '18 at 14:55












  • Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
    – Mark
    Oct 2 '18 at 16:40





















1














The text is using the universal definition of a gcd, namely



$$ cmid a,b iff cmid gcd(a,b)$$



Direction $(Leftarrow)$ implies that gcd is a common divisor of $a,b,$ (by choosing $ c = gcd(a,b))$ and the reverse direction $(Rightarrow)$ implies that the gcd is "greatest" w.r.t. divisibility order, i.e. divisible by all other common divisors $c$ of $a,b$.



Scaling the gcd by a unit (invertible) $u$ (e.g. $-1)$ preserves the above definition, so generally gcds are unique only up to unit multiples, i.e. up to associates. In some rings with simple unit group structure we can choose canonical representatives of associate classes, which allows is to choose normal-forms for gcds, e.g. in $,Bbb Z,$ (with units $pm 1)$ we normalize gcds $ge 0,,$ and in a polynomial ring $,K[x],$ over a field (units = constants $0neq cin K) $ we normalize polynomial gcds to be monic (lead coeff $,c_n = 1),,$ by scaling the polynomial by $,c_n^{-1},$ if need be (so a constant gcd $,c_0neq 0$ normalizes to $1).,$ Hence in both cases we can say that two elements are coprime if their gcd $= 1$ (vs. a unit). Such normalizations are sometimes called unit normal representatives in the literature.






share|cite|improve this answer























    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2939195%2fwhy-is-gcd-of-any-two-integers-positive-unit-normalization-of-gcds%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $kleq d$". So that definition already requires the gcd to be positive.






    share|cite|improve this answer





















    • But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
      – William
      Oct 2 '18 at 12:31






    • 1




      So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
      – Mark
      Oct 2 '18 at 12:37












    • Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
      – William
      Oct 2 '18 at 14:55












    • Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
      – Mark
      Oct 2 '18 at 16:40


















    2














    You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $kleq d$". So that definition already requires the gcd to be positive.






    share|cite|improve this answer





















    • But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
      – William
      Oct 2 '18 at 12:31






    • 1




      So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
      – Mark
      Oct 2 '18 at 12:37












    • Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
      – William
      Oct 2 '18 at 14:55












    • Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
      – Mark
      Oct 2 '18 at 16:40
















    2












    2








    2






    You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $kleq d$". So that definition already requires the gcd to be positive.






    share|cite|improve this answer












    You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $kleq d$". So that definition already requires the gcd to be positive.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Oct 2 '18 at 10:20









    Mark

    6,050415




    6,050415












    • But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
      – William
      Oct 2 '18 at 12:31






    • 1




      So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
      – Mark
      Oct 2 '18 at 12:37












    • Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
      – William
      Oct 2 '18 at 14:55












    • Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
      – Mark
      Oct 2 '18 at 16:40




















    • But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
      – William
      Oct 2 '18 at 12:31






    • 1




      So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
      – Mark
      Oct 2 '18 at 12:37












    • Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
      – William
      Oct 2 '18 at 14:55












    • Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
      – Mark
      Oct 2 '18 at 16:40


















    But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
    – William
    Oct 2 '18 at 12:31




    But then again, if you agree that gcd can be positive as well as negative, obviously, positive > negative. So the positive divisor should be considered as it's greater. How can gcd be negative in the first place, as it asks for the "greatest" factor.
    – William
    Oct 2 '18 at 12:31




    1




    1




    So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
    – Mark
    Oct 2 '18 at 12:37






    So again, it's up to how you define. The definition I gave you obviously requires the gcd to be positive and hence unique. But in other places you might find a definition that doesn't require that and allows the gcd to be negative as well. (your definition for example). So all the question is do you call the negative number a gcd. Some people do, some do not. The fact is we usually don't really need the negative gcd so in most books you will see a definition according to which the gcd must be positive.
    – Mark
    Oct 2 '18 at 12:37














    Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
    – William
    Oct 2 '18 at 14:55






    Thank you :) I'm just having a hard time accepting that a particular concept has 2 definition, both of them are slightly different from one another. This just doesn't seem math-likely though...
    – William
    Oct 2 '18 at 14:55














    Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
    – Mark
    Oct 2 '18 at 16:40






    Well, note that all the definitions of the positive gcd are equivalent, there are no contradictions here. It's just that question-do you want to call the negative number a gcd or not? It's all just about names. I prefer the gcd to be positive and unique, it's much easier to think this way.
    – Mark
    Oct 2 '18 at 16:40













    1














    The text is using the universal definition of a gcd, namely



    $$ cmid a,b iff cmid gcd(a,b)$$



    Direction $(Leftarrow)$ implies that gcd is a common divisor of $a,b,$ (by choosing $ c = gcd(a,b))$ and the reverse direction $(Rightarrow)$ implies that the gcd is "greatest" w.r.t. divisibility order, i.e. divisible by all other common divisors $c$ of $a,b$.



    Scaling the gcd by a unit (invertible) $u$ (e.g. $-1)$ preserves the above definition, so generally gcds are unique only up to unit multiples, i.e. up to associates. In some rings with simple unit group structure we can choose canonical representatives of associate classes, which allows is to choose normal-forms for gcds, e.g. in $,Bbb Z,$ (with units $pm 1)$ we normalize gcds $ge 0,,$ and in a polynomial ring $,K[x],$ over a field (units = constants $0neq cin K) $ we normalize polynomial gcds to be monic (lead coeff $,c_n = 1),,$ by scaling the polynomial by $,c_n^{-1},$ if need be (so a constant gcd $,c_0neq 0$ normalizes to $1).,$ Hence in both cases we can say that two elements are coprime if their gcd $= 1$ (vs. a unit). Such normalizations are sometimes called unit normal representatives in the literature.






    share|cite|improve this answer




























      1














      The text is using the universal definition of a gcd, namely



      $$ cmid a,b iff cmid gcd(a,b)$$



      Direction $(Leftarrow)$ implies that gcd is a common divisor of $a,b,$ (by choosing $ c = gcd(a,b))$ and the reverse direction $(Rightarrow)$ implies that the gcd is "greatest" w.r.t. divisibility order, i.e. divisible by all other common divisors $c$ of $a,b$.



      Scaling the gcd by a unit (invertible) $u$ (e.g. $-1)$ preserves the above definition, so generally gcds are unique only up to unit multiples, i.e. up to associates. In some rings with simple unit group structure we can choose canonical representatives of associate classes, which allows is to choose normal-forms for gcds, e.g. in $,Bbb Z,$ (with units $pm 1)$ we normalize gcds $ge 0,,$ and in a polynomial ring $,K[x],$ over a field (units = constants $0neq cin K) $ we normalize polynomial gcds to be monic (lead coeff $,c_n = 1),,$ by scaling the polynomial by $,c_n^{-1},$ if need be (so a constant gcd $,c_0neq 0$ normalizes to $1).,$ Hence in both cases we can say that two elements are coprime if their gcd $= 1$ (vs. a unit). Such normalizations are sometimes called unit normal representatives in the literature.






      share|cite|improve this answer


























        1












        1








        1






        The text is using the universal definition of a gcd, namely



        $$ cmid a,b iff cmid gcd(a,b)$$



        Direction $(Leftarrow)$ implies that gcd is a common divisor of $a,b,$ (by choosing $ c = gcd(a,b))$ and the reverse direction $(Rightarrow)$ implies that the gcd is "greatest" w.r.t. divisibility order, i.e. divisible by all other common divisors $c$ of $a,b$.



        Scaling the gcd by a unit (invertible) $u$ (e.g. $-1)$ preserves the above definition, so generally gcds are unique only up to unit multiples, i.e. up to associates. In some rings with simple unit group structure we can choose canonical representatives of associate classes, which allows is to choose normal-forms for gcds, e.g. in $,Bbb Z,$ (with units $pm 1)$ we normalize gcds $ge 0,,$ and in a polynomial ring $,K[x],$ over a field (units = constants $0neq cin K) $ we normalize polynomial gcds to be monic (lead coeff $,c_n = 1),,$ by scaling the polynomial by $,c_n^{-1},$ if need be (so a constant gcd $,c_0neq 0$ normalizes to $1).,$ Hence in both cases we can say that two elements are coprime if their gcd $= 1$ (vs. a unit). Such normalizations are sometimes called unit normal representatives in the literature.






        share|cite|improve this answer














        The text is using the universal definition of a gcd, namely



        $$ cmid a,b iff cmid gcd(a,b)$$



        Direction $(Leftarrow)$ implies that gcd is a common divisor of $a,b,$ (by choosing $ c = gcd(a,b))$ and the reverse direction $(Rightarrow)$ implies that the gcd is "greatest" w.r.t. divisibility order, i.e. divisible by all other common divisors $c$ of $a,b$.



        Scaling the gcd by a unit (invertible) $u$ (e.g. $-1)$ preserves the above definition, so generally gcds are unique only up to unit multiples, i.e. up to associates. In some rings with simple unit group structure we can choose canonical representatives of associate classes, which allows is to choose normal-forms for gcds, e.g. in $,Bbb Z,$ (with units $pm 1)$ we normalize gcds $ge 0,,$ and in a polynomial ring $,K[x],$ over a field (units = constants $0neq cin K) $ we normalize polynomial gcds to be monic (lead coeff $,c_n = 1),,$ by scaling the polynomial by $,c_n^{-1},$ if need be (so a constant gcd $,c_0neq 0$ normalizes to $1).,$ Hence in both cases we can say that two elements are coprime if their gcd $= 1$ (vs. a unit). Such normalizations are sometimes called unit normal representatives in the literature.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Oct 2 '18 at 16:26

























        answered Oct 2 '18 at 16:00









        Bill Dubuque

        209k29190629




        209k29190629






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2939195%2fwhy-is-gcd-of-any-two-integers-positive-unit-normalization-of-gcds%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith