Linear Diophantine Equation Signs
Clash 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.
linear-algebra abstract-algebra number-theory diophantine-equations
add a comment |Â
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.
linear-algebra abstract-algebra number-theory diophantine-equations
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
add a comment |Â
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.
linear-algebra abstract-algebra number-theory diophantine-equations
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.
linear-algebra abstract-algebra number-theory diophantine-equations
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
answered Aug 19 at 22:51
steven gregory
16.6k22055
16.6k22055
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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