Uniqueness of fractional parts of integer multiples of a fraction

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











up vote
2
down vote

favorite












By considering lines on a torus, I had the following observation.




Let $a/b$ be a non-zero irreducible fraction with $|a| > |b|$. Then the fractional part of the integer multiples
$$
kfracab qquad k in big1, 2, ldots, (b-1)big
$$
are unique and are
$$
frac1b,enspace frac2b,enspace ldots,enspace fracb-1b.
$$




It feels fairly simple to prove and is easy with explicit examples, but I can't seem to prove it in general (supposing that it is true in general, that is).



Attempt



Consider two multiples, say $ma/b$ and $na/b$ for $m neq n$. Suppose that they have the same fractional part, say $r$. This means that there are integers $p, q$ such that
$$
ma = pb + r qquadtextandqquad na = qb + r
$$
so by rearranging we have
$$
a(m - n) = b(p - q)
$$
and
$$
fracab = fracp - qm - n
$$
since $m neq n$.



This is all that I could determine so far, and I'm not sure how to derive a contradiction from this. I would want to use the fact that $a$ and $b$ are coprime somehow (since $a/b$ is irreducible), but I couldn't figure anything else out. Hints would be more valuable than a solution for now.







share|cite|improve this question

















  • 1




    You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
    – saulspatz
    Jul 24 at 14:52











  • @saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
    – Bill Wallis
    Jul 24 at 15:00














up vote
2
down vote

favorite












By considering lines on a torus, I had the following observation.




Let $a/b$ be a non-zero irreducible fraction with $|a| > |b|$. Then the fractional part of the integer multiples
$$
kfracab qquad k in big1, 2, ldots, (b-1)big
$$
are unique and are
$$
frac1b,enspace frac2b,enspace ldots,enspace fracb-1b.
$$




It feels fairly simple to prove and is easy with explicit examples, but I can't seem to prove it in general (supposing that it is true in general, that is).



Attempt



Consider two multiples, say $ma/b$ and $na/b$ for $m neq n$. Suppose that they have the same fractional part, say $r$. This means that there are integers $p, q$ such that
$$
ma = pb + r qquadtextandqquad na = qb + r
$$
so by rearranging we have
$$
a(m - n) = b(p - q)
$$
and
$$
fracab = fracp - qm - n
$$
since $m neq n$.



This is all that I could determine so far, and I'm not sure how to derive a contradiction from this. I would want to use the fact that $a$ and $b$ are coprime somehow (since $a/b$ is irreducible), but I couldn't figure anything else out. Hints would be more valuable than a solution for now.







share|cite|improve this question

















  • 1




    You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
    – saulspatz
    Jul 24 at 14:52











  • @saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
    – Bill Wallis
    Jul 24 at 15:00












up vote
2
down vote

favorite









up vote
2
down vote

favorite











By considering lines on a torus, I had the following observation.




Let $a/b$ be a non-zero irreducible fraction with $|a| > |b|$. Then the fractional part of the integer multiples
$$
kfracab qquad k in big1, 2, ldots, (b-1)big
$$
are unique and are
$$
frac1b,enspace frac2b,enspace ldots,enspace fracb-1b.
$$




It feels fairly simple to prove and is easy with explicit examples, but I can't seem to prove it in general (supposing that it is true in general, that is).



Attempt



Consider two multiples, say $ma/b$ and $na/b$ for $m neq n$. Suppose that they have the same fractional part, say $r$. This means that there are integers $p, q$ such that
$$
ma = pb + r qquadtextandqquad na = qb + r
$$
so by rearranging we have
$$
a(m - n) = b(p - q)
$$
and
$$
fracab = fracp - qm - n
$$
since $m neq n$.



This is all that I could determine so far, and I'm not sure how to derive a contradiction from this. I would want to use the fact that $a$ and $b$ are coprime somehow (since $a/b$ is irreducible), but I couldn't figure anything else out. Hints would be more valuable than a solution for now.







share|cite|improve this question













By considering lines on a torus, I had the following observation.




Let $a/b$ be a non-zero irreducible fraction with $|a| > |b|$. Then the fractional part of the integer multiples
$$
kfracab qquad k in big1, 2, ldots, (b-1)big
$$
are unique and are
$$
frac1b,enspace frac2b,enspace ldots,enspace fracb-1b.
$$




It feels fairly simple to prove and is easy with explicit examples, but I can't seem to prove it in general (supposing that it is true in general, that is).



Attempt



Consider two multiples, say $ma/b$ and $na/b$ for $m neq n$. Suppose that they have the same fractional part, say $r$. This means that there are integers $p, q$ such that
$$
ma = pb + r qquadtextandqquad na = qb + r
$$
so by rearranging we have
$$
a(m - n) = b(p - q)
$$
and
$$
fracab = fracp - qm - n
$$
since $m neq n$.



This is all that I could determine so far, and I'm not sure how to derive a contradiction from this. I would want to use the fact that $a$ and $b$ are coprime somehow (since $a/b$ is irreducible), but I couldn't figure anything else out. Hints would be more valuable than a solution for now.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 25 at 20:32
























asked Jul 24 at 14:45









Bill Wallis

1,7811821




1,7811821







  • 1




    You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
    – saulspatz
    Jul 24 at 14:52











  • @saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
    – Bill Wallis
    Jul 24 at 15:00












  • 1




    You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
    – saulspatz
    Jul 24 at 14:52











  • @saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
    – Bill Wallis
    Jul 24 at 15:00







1




1




You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
– saulspatz
Jul 24 at 14:52





You have $maequiv napmodb$ where $a$ and $b$ are relatively prime. Have you studied this yet?
– saulspatz
Jul 24 at 14:52













@saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
– Bill Wallis
Jul 24 at 15:00




@saulspatz Not yet, my elementary Number Theory teaching was super limited so we never got onto modular congruences with coprime numbers.
– Bill Wallis
Jul 24 at 15:00










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










Well, I congratulate you. You've rediscovered a very important fact. The important point is that if $a$ and $b$ are relatively prime, then there is a $c$ such that $acequiv1pmodb$. Do you see how this solves your problem?



As for how we know there is such a $c$ I suggest you read about the extended Euclidean algorithm. If the Wikipedia post is too terse, you can google "extended Euclidean algorithm" to find lots of examples. You may want to google "Euclidean algorithm" first.






share|cite|improve this answer





















  • Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
    – Bill Wallis
    Jul 24 at 15:41







  • 1




    Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
    – saulspatz
    Jul 24 at 15:42











  • Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
    – Bill Wallis
    Jul 24 at 15:46










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%2f2861426%2funiqueness-of-fractional-parts-of-integer-multiples-of-a-fraction%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
2
down vote



accepted










Well, I congratulate you. You've rediscovered a very important fact. The important point is that if $a$ and $b$ are relatively prime, then there is a $c$ such that $acequiv1pmodb$. Do you see how this solves your problem?



As for how we know there is such a $c$ I suggest you read about the extended Euclidean algorithm. If the Wikipedia post is too terse, you can google "extended Euclidean algorithm" to find lots of examples. You may want to google "Euclidean algorithm" first.






share|cite|improve this answer





















  • Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
    – Bill Wallis
    Jul 24 at 15:41







  • 1




    Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
    – saulspatz
    Jul 24 at 15:42











  • Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
    – Bill Wallis
    Jul 24 at 15:46














up vote
2
down vote



accepted










Well, I congratulate you. You've rediscovered a very important fact. The important point is that if $a$ and $b$ are relatively prime, then there is a $c$ such that $acequiv1pmodb$. Do you see how this solves your problem?



As for how we know there is such a $c$ I suggest you read about the extended Euclidean algorithm. If the Wikipedia post is too terse, you can google "extended Euclidean algorithm" to find lots of examples. You may want to google "Euclidean algorithm" first.






share|cite|improve this answer





















  • Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
    – Bill Wallis
    Jul 24 at 15:41







  • 1




    Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
    – saulspatz
    Jul 24 at 15:42











  • Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
    – Bill Wallis
    Jul 24 at 15:46












up vote
2
down vote



accepted







up vote
2
down vote



accepted






Well, I congratulate you. You've rediscovered a very important fact. The important point is that if $a$ and $b$ are relatively prime, then there is a $c$ such that $acequiv1pmodb$. Do you see how this solves your problem?



As for how we know there is such a $c$ I suggest you read about the extended Euclidean algorithm. If the Wikipedia post is too terse, you can google "extended Euclidean algorithm" to find lots of examples. You may want to google "Euclidean algorithm" first.






share|cite|improve this answer













Well, I congratulate you. You've rediscovered a very important fact. The important point is that if $a$ and $b$ are relatively prime, then there is a $c$ such that $acequiv1pmodb$. Do you see how this solves your problem?



As for how we know there is such a $c$ I suggest you read about the extended Euclidean algorithm. If the Wikipedia post is too terse, you can google "extended Euclidean algorithm" to find lots of examples. You may want to google "Euclidean algorithm" first.







share|cite|improve this answer













share|cite|improve this answer



share|cite|improve this answer











answered Jul 24 at 15:07









saulspatz

10.4k21323




10.4k21323











  • Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
    – Bill Wallis
    Jul 24 at 15:41







  • 1




    Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
    – saulspatz
    Jul 24 at 15:42











  • Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
    – Bill Wallis
    Jul 24 at 15:46
















  • Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
    – Bill Wallis
    Jul 24 at 15:41







  • 1




    Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
    – saulspatz
    Jul 24 at 15:42











  • Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
    – Bill Wallis
    Jul 24 at 15:46















Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
– Bill Wallis
Jul 24 at 15:41





Ah yes, I remember reading that if $a$ and $b$ are coprime there are integers $c$ and $d$ such that $ac + bd = 1$. I'm struggling to use this fact though --- particularly since I cannot get a $1$ to appear with manipulations of $ma equiv na pmodb$, or anything else that would cause a contradiction.
– Bill Wallis
Jul 24 at 15:41





1




1




Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
– saulspatz
Jul 24 at 15:42





Well, if $ac+bd=1$ then $acequiv1pmodb,$ correct? Then multiply both sides of $naequivmapmodb$ by $c$.
– saulspatz
Jul 24 at 15:42













Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
– Bill Wallis
Jul 24 at 15:46




Oh, and this gives that $m equiv n pmodb$! That makes a lot of sense, thank you.
– Bill Wallis
Jul 24 at 15:46












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861426%2funiqueness-of-fractional-parts-of-integer-multiples-of-a-fraction%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?