Linear Diophantine Equation Signs

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













How to determine the coefficient signs for the solution of a linear diophantine equation?




Take $24x + 69y = 33$ for example.



I know the solution is $x = 33 − 23k , y = −11 + 8k$, and I understand fully how to arrive at the values, but how do I determine the sign on the coefficients?



In other words, why is $23k$ negative, and why is $8k$ positive?



Through all the examples I can find, there seems to be no pattern.







share|cite|improve this question


















  • 2




    All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
    – Lord Shark the Unknown
    Aug 17 at 4:10










  • check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
    – farruhota
    Aug 17 at 5:16














up vote
0
down vote

favorite













How to determine the coefficient signs for the solution of a linear diophantine equation?




Take $24x + 69y = 33$ for example.



I know the solution is $x = 33 − 23k , y = −11 + 8k$, and I understand fully how to arrive at the values, but how do I determine the sign on the coefficients?



In other words, why is $23k$ negative, and why is $8k$ positive?



Through all the examples I can find, there seems to be no pattern.







share|cite|improve this question


















  • 2




    All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
    – Lord Shark the Unknown
    Aug 17 at 4:10










  • check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
    – farruhota
    Aug 17 at 5:16












up vote
0
down vote

favorite









up vote
0
down vote

favorite












How to determine the coefficient signs for the solution of a linear diophantine equation?




Take $24x + 69y = 33$ for example.



I know the solution is $x = 33 − 23k , y = −11 + 8k$, and I understand fully how to arrive at the values, but how do I determine the sign on the coefficients?



In other words, why is $23k$ negative, and why is $8k$ positive?



Through all the examples I can find, there seems to be no pattern.







share|cite|improve this question















How to determine the coefficient signs for the solution of a linear diophantine equation?




Take $24x + 69y = 33$ for example.



I know the solution is $x = 33 − 23k , y = −11 + 8k$, and I understand fully how to arrive at the values, but how do I determine the sign on the coefficients?



In other words, why is $23k$ negative, and why is $8k$ positive?



Through all the examples I can find, there seems to be no pattern.









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 17 at 4:20









Math Lover

12.6k21232




12.6k21232










asked Aug 17 at 4:00









Ben Corson

165




165







  • 2




    All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
    – Lord Shark the Unknown
    Aug 17 at 4:10










  • check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
    – farruhota
    Aug 17 at 5:16












  • 2




    All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
    – Lord Shark the Unknown
    Aug 17 at 4:10










  • check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
    – farruhota
    Aug 17 at 5:16







2




2




All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
– Lord Shark the Unknown
Aug 17 at 4:10




All that matters here is that these two signs are opposite: $33+23k$ and $-11-8k$ work just as well.
– Lord Shark the Unknown
Aug 17 at 4:10












check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
– farruhota
Aug 17 at 5:16




check this out: brilliant.org/wiki/linear-diophantine-equations-one-equation/…
– farruhota
Aug 17 at 5:16










1 Answer
1






active

oldest

votes

















up vote
0
down vote













You want to parameterize the solutions to the equation$$24x + 69y = 33$$



You know that $(x_0, y_0) = (33, -11)$ is a solution.



beginalign
24(phantom3x) + 69(phantom-1y) &= 33 \
24(33) + 69(-11) &= 33 &text(subtract) \
hline
24(x-33) + 69(y+11) &= 0
endalign



Since $24$ divides $24(x-33)$, then it must also divide $69(y+11)$.



Since $24$ and $69$ are relatively prime to each other, then we must have $24$ divides
$y+11$. So, for some integer $t, y+11 = 24t$. Hence $y=24t-11$. We can now solve for $x$.



beginalign
24(x-33) + 69(y+11) &= 0 \
24(x-33) + 69(24t-11+11) &= 0 \
24(x-33) + 69(24t) &= 0 \
24(x-33) &= -69(24t) &textNote the change in sign. \
x-33 &= -69t \
x &= -69t + 33
endalign



And you get
beginalign
x &= -69t + 33 \
y &= 24t - 11
endalign



If you let $t=-u$, you get
beginalign
x &= 69u + 33 \
y &= -24u - 11
endalign






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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2885392%2flinear-diophantine-equation-signs%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    You want to parameterize the solutions to the equation$$24x + 69y = 33$$



    You know that $(x_0, y_0) = (33, -11)$ is a solution.



    beginalign
    24(phantom3x) + 69(phantom-1y) &= 33 \
    24(33) + 69(-11) &= 33 &text(subtract) \
    hline
    24(x-33) + 69(y+11) &= 0
    endalign



    Since $24$ divides $24(x-33)$, then it must also divide $69(y+11)$.



    Since $24$ and $69$ are relatively prime to each other, then we must have $24$ divides
    $y+11$. So, for some integer $t, y+11 = 24t$. Hence $y=24t-11$. We can now solve for $x$.



    beginalign
    24(x-33) + 69(y+11) &= 0 \
    24(x-33) + 69(24t-11+11) &= 0 \
    24(x-33) + 69(24t) &= 0 \
    24(x-33) &= -69(24t) &textNote the change in sign. \
    x-33 &= -69t \
    x &= -69t + 33
    endalign



    And you get
    beginalign
    x &= -69t + 33 \
    y &= 24t - 11
    endalign



    If you let $t=-u$, you get
    beginalign
    x &= 69u + 33 \
    y &= -24u - 11
    endalign






    share|cite|improve this answer
























      up vote
      0
      down vote













      You want to parameterize the solutions to the equation$$24x + 69y = 33$$



      You know that $(x_0, y_0) = (33, -11)$ is a solution.



      beginalign
      24(phantom3x) + 69(phantom-1y) &= 33 \
      24(33) + 69(-11) &= 33 &text(subtract) \
      hline
      24(x-33) + 69(y+11) &= 0
      endalign



      Since $24$ divides $24(x-33)$, then it must also divide $69(y+11)$.



      Since $24$ and $69$ are relatively prime to each other, then we must have $24$ divides
      $y+11$. So, for some integer $t, y+11 = 24t$. Hence $y=24t-11$. We can now solve for $x$.



      beginalign
      24(x-33) + 69(y+11) &= 0 \
      24(x-33) + 69(24t-11+11) &= 0 \
      24(x-33) + 69(24t) &= 0 \
      24(x-33) &= -69(24t) &textNote the change in sign. \
      x-33 &= -69t \
      x &= -69t + 33
      endalign



      And you get
      beginalign
      x &= -69t + 33 \
      y &= 24t - 11
      endalign



      If you let $t=-u$, you get
      beginalign
      x &= 69u + 33 \
      y &= -24u - 11
      endalign






      share|cite|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        You want to parameterize the solutions to the equation$$24x + 69y = 33$$



        You know that $(x_0, y_0) = (33, -11)$ is a solution.



        beginalign
        24(phantom3x) + 69(phantom-1y) &= 33 \
        24(33) + 69(-11) &= 33 &text(subtract) \
        hline
        24(x-33) + 69(y+11) &= 0
        endalign



        Since $24$ divides $24(x-33)$, then it must also divide $69(y+11)$.



        Since $24$ and $69$ are relatively prime to each other, then we must have $24$ divides
        $y+11$. So, for some integer $t, y+11 = 24t$. Hence $y=24t-11$. We can now solve for $x$.



        beginalign
        24(x-33) + 69(y+11) &= 0 \
        24(x-33) + 69(24t-11+11) &= 0 \
        24(x-33) + 69(24t) &= 0 \
        24(x-33) &= -69(24t) &textNote the change in sign. \
        x-33 &= -69t \
        x &= -69t + 33
        endalign



        And you get
        beginalign
        x &= -69t + 33 \
        y &= 24t - 11
        endalign



        If you let $t=-u$, you get
        beginalign
        x &= 69u + 33 \
        y &= -24u - 11
        endalign






        share|cite|improve this answer












        You want to parameterize the solutions to the equation$$24x + 69y = 33$$



        You know that $(x_0, y_0) = (33, -11)$ is a solution.



        beginalign
        24(phantom3x) + 69(phantom-1y) &= 33 \
        24(33) + 69(-11) &= 33 &text(subtract) \
        hline
        24(x-33) + 69(y+11) &= 0
        endalign



        Since $24$ divides $24(x-33)$, then it must also divide $69(y+11)$.



        Since $24$ and $69$ are relatively prime to each other, then we must have $24$ divides
        $y+11$. So, for some integer $t, y+11 = 24t$. Hence $y=24t-11$. We can now solve for $x$.



        beginalign
        24(x-33) + 69(y+11) &= 0 \
        24(x-33) + 69(24t-11+11) &= 0 \
        24(x-33) + 69(24t) &= 0 \
        24(x-33) &= -69(24t) &textNote the change in sign. \
        x-33 &= -69t \
        x &= -69t + 33
        endalign



        And you get
        beginalign
        x &= -69t + 33 \
        y &= 24t - 11
        endalign



        If you let $t=-u$, you get
        beginalign
        x &= 69u + 33 \
        y &= -24u - 11
        endalign







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Aug 19 at 22:51









        steven gregory

        16.6k22055




        16.6k22055






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2885392%2flinear-diophantine-equation-signs%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Why am i infinitely getting the same tweet with the Twitter Search API?

            Carbon dioxide