Understanding fractions in modular arithmeticRing of fractions of $mathbb Z_6$Interesting problem on “neighbor fractions”Proof on linear congruence solutionsAddition on an Elliptic Curve and Modular Arithmetic involving fractionsModular fractions: $5 big| 3- frac 12$Prove that there are no solutions to the modular equation 9x + 10 = 6y - 1 (mod 15)Is this a valid proof? Modular arithmetic with fractionsdivision in modular arithmeticCan you make sense of roots of unity in modular arithmetic?Is there a name for this exponential analog to modular arithmetic? (octave equivalency)Modular inverse of a fraction vs just the numerator

Why escape if the_content isnt?

How does buying out courses with grant money work?

Is there a good way to store credentials outside of a password manager?

How can a function with a hole (removable discontinuity) equal a function with no hole?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

How does it work when somebody invests in my business?

Where does the Z80 processor start executing from?

Class Action - which options I have?

Anatomically Correct Strange Women In Ponds Distributing Swords

How to safely derail a train during transit?

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Applicability of Single Responsibility Principle

A particular customize with green line and letters for subfloat

Integer addition + constant, is it a group?

Implement the Thanos sorting algorithm

What is the best translation for "slot" in the context of multiplayer video games?

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

Type int? vs type int

Closest Prime Number

What happens if you roll doubles 3 times then land on "Go to jail?"

What is the opposite of 'gravitas'?

Lay out the Carpet

Why not increase contact surface when reentering the atmosphere?

How easy is it to start Magic from scratch?



Understanding fractions in modular arithmetic


Ring of fractions of $mathbb Z_6$Interesting problem on “neighbor fractions”Proof on linear congruence solutionsAddition on an Elliptic Curve and Modular Arithmetic involving fractionsModular fractions: $5 big| 3- frac 12$Prove that there are no solutions to the modular equation 9x + 10 = 6y - 1 (mod 15)Is this a valid proof? Modular arithmetic with fractionsdivision in modular arithmeticCan you make sense of roots of unity in modular arithmetic?Is there a name for this exponential analog to modular arithmetic? (octave equivalency)Modular inverse of a fraction vs just the numerator













3












$begingroup$


I would like confirmation that my understanding of a congruence of two fractions is correct.



Suppose we have



$$frac23 equiv frac46mod 5$$



What happened was multiplying both the numerator and denominator of the left fraction by $2$.



So $frac23$ is essentially the same as $3xequiv 2 mod 5$ and we can multiply both sides by $2$ since that is valid in modular arithmetic we get $6x equiv 4mod 5$ and rewriting that as a fraction we get $frac46$.



A fraction really represents that $x$ and since that $x$ remains unchanged via such manipulations then those fractions are essentially congruent.



Of course I am aware this is true only for valid fractions, i.e. where the denominator is invertible mod $5$.



Is my understanding of this correct?










share|cite|improve this question











$endgroup$
















    3












    $begingroup$


    I would like confirmation that my understanding of a congruence of two fractions is correct.



    Suppose we have



    $$frac23 equiv frac46mod 5$$



    What happened was multiplying both the numerator and denominator of the left fraction by $2$.



    So $frac23$ is essentially the same as $3xequiv 2 mod 5$ and we can multiply both sides by $2$ since that is valid in modular arithmetic we get $6x equiv 4mod 5$ and rewriting that as a fraction we get $frac46$.



    A fraction really represents that $x$ and since that $x$ remains unchanged via such manipulations then those fractions are essentially congruent.



    Of course I am aware this is true only for valid fractions, i.e. where the denominator is invertible mod $5$.



    Is my understanding of this correct?










    share|cite|improve this question











    $endgroup$














      3












      3








      3





      $begingroup$


      I would like confirmation that my understanding of a congruence of two fractions is correct.



      Suppose we have



      $$frac23 equiv frac46mod 5$$



      What happened was multiplying both the numerator and denominator of the left fraction by $2$.



      So $frac23$ is essentially the same as $3xequiv 2 mod 5$ and we can multiply both sides by $2$ since that is valid in modular arithmetic we get $6x equiv 4mod 5$ and rewriting that as a fraction we get $frac46$.



      A fraction really represents that $x$ and since that $x$ remains unchanged via such manipulations then those fractions are essentially congruent.



      Of course I am aware this is true only for valid fractions, i.e. where the denominator is invertible mod $5$.



      Is my understanding of this correct?










      share|cite|improve this question











      $endgroup$




      I would like confirmation that my understanding of a congruence of two fractions is correct.



      Suppose we have



      $$frac23 equiv frac46mod 5$$



      What happened was multiplying both the numerator and denominator of the left fraction by $2$.



      So $frac23$ is essentially the same as $3xequiv 2 mod 5$ and we can multiply both sides by $2$ since that is valid in modular arithmetic we get $6x equiv 4mod 5$ and rewriting that as a fraction we get $frac46$.



      A fraction really represents that $x$ and since that $x$ remains unchanged via such manipulations then those fractions are essentially congruent.



      Of course I am aware this is true only for valid fractions, i.e. where the denominator is invertible mod $5$.



      Is my understanding of this correct?







      elementary-number-theory modular-arithmetic






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Mar 7 at 9:10









      mrtaurho

      6,07771641




      6,07771641










      asked Mar 7 at 9:06









      Michael MuntaMichael Munta

      99111




      99111




















          4 Answers
          4






          active

          oldest

          votes


















          4












          $begingroup$

          Fractions work fine in modular arithmetic. They're not very commonly used, though.



          If you want to use fractions, you have to stop thinking about $frac23$ as $0.666ldots$ and instead think of it as $4$ (at least in modulo $5$). Also, there is no simple way to just look at a modular fraction and know more or less what its value is, the way you can just know that $frac1234561000001$ is very close to $0.123456$. In other words, small change in the denominator gives large changes in fraction value in modular arithmetic.



          So there are a few mental roadblocks on the way to using fractions in modular arithmetic, and I suspect that that's why it isn't done more. That being said, if you do use fractions, the same rules that you learned in elementary school for regular (rational) fractions still all apply: How to expand / simplify fractions, how to add or multiply them, or how to check that they are equal. The technique known as "cross multiplication" still works: $frac abequiv frac cdiff ad = bc$ (this does require that only invertible elements are allowed as denominators, though).



          You can allow non-invertible elements as denominators, but then more care is needed. See, for instance, my answer here on allowing fractions with odd denominators (including $3$) in modulo $6$.



          If you only allow invertible elements as denominators, then because they're already invertible, you're not really changing anything, as all fractions are elements that already exist as whole numbers. If you allow non-invertible elements, you basically get a smaller ring as a result (modulo $6$ with $3$ allowed as a denominator gives you what is essentially modulo $2$). Sadly, you can't get something "bigger" (the way $Bbb Q$ is bigger than $Bbb Z$), beause that requires you to have denominators which are neither invertible nor zero-divisors.



          Edit: Since I apparently missed the real point of the question. Yes, those manipulations are fine. Whatever $frac23$ is, give it the name $x$. By the definition of fractions, $3x = 2$. Multiplying both sides by $2$ can't make them not-equal, so $6x = 4$. Since $6$ is a valid denominator, by definition of fractions we get $x = frac46$. What you have ultimately done is to expand the fraction $frac23$ by $2$ and shown that this doesn't change the value of the fraction.






          share|cite|improve this answer











          $endgroup$












          • $begingroup$
            I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
            $endgroup$
            – Michael Munta
            Mar 7 at 9:41






          • 1




            $begingroup$
            @MichaelMunta You're right. I added a bit at the end.
            $endgroup$
            – Arthur
            Mar 7 at 9:51


















          1












          $begingroup$

          Yes. If $a,b,c,d$ are all co-prime to $n$ and $ad=bc mod n$ then we know that $bd$ is co-prime to $n$ so it is invertible in $mathbbZ_n$, and so we can divide by $bd$ to get



          $fracab=fraccd mod n$






          share|cite|improve this answer









          $endgroup$




















            1












            $begingroup$

            Yes, your understanding is correct, There are a few reasons that they typically aren't used though:



            • They aren't always defined ex. $frac52 bmod 6$

            • Because you can give a second name mod anything, you can get multiple answers when not coprime to the modulus ex. $frac33equivfrac3-3bmod 6 $ at least in the sense of $3equiv -3 bmod 6$ but These give back two answers, The first is $1 bmod 6$ if taken literally, the second is $-1equiv 5 bmod 6$, You can also get 3 mod 6, because $frac6x+33=2x+1$ which lands on all remainders corresponding to odd numbers mod 6.

            So using them recklessly, comes with some perils.






            share|cite|improve this answer









            $endgroup$




















              -1












              $begingroup$

              Yes, and just like you can do modular arithmetic to simplify ordinary arithmetic using integers, one can also do this for fractions. This looks impossible because of the multiple ways one can write a fraction modulo an integer representing a given number. But if it is known that the answer one is interested in, has a numerator between $0$ and $N$ and a denominator between $0$ and $D$ then a result modulo a number larger than $2 N D$ will allow one to reconstruct this rational number. As explained here, finding this fraction involves just the Euclidean algorithm.






              share|cite|improve this answer











              $endgroup$












                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%2f3138647%2funderstanding-fractions-in-modular-arithmetic%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                4












                $begingroup$

                Fractions work fine in modular arithmetic. They're not very commonly used, though.



                If you want to use fractions, you have to stop thinking about $frac23$ as $0.666ldots$ and instead think of it as $4$ (at least in modulo $5$). Also, there is no simple way to just look at a modular fraction and know more or less what its value is, the way you can just know that $frac1234561000001$ is very close to $0.123456$. In other words, small change in the denominator gives large changes in fraction value in modular arithmetic.



                So there are a few mental roadblocks on the way to using fractions in modular arithmetic, and I suspect that that's why it isn't done more. That being said, if you do use fractions, the same rules that you learned in elementary school for regular (rational) fractions still all apply: How to expand / simplify fractions, how to add or multiply them, or how to check that they are equal. The technique known as "cross multiplication" still works: $frac abequiv frac cdiff ad = bc$ (this does require that only invertible elements are allowed as denominators, though).



                You can allow non-invertible elements as denominators, but then more care is needed. See, for instance, my answer here on allowing fractions with odd denominators (including $3$) in modulo $6$.



                If you only allow invertible elements as denominators, then because they're already invertible, you're not really changing anything, as all fractions are elements that already exist as whole numbers. If you allow non-invertible elements, you basically get a smaller ring as a result (modulo $6$ with $3$ allowed as a denominator gives you what is essentially modulo $2$). Sadly, you can't get something "bigger" (the way $Bbb Q$ is bigger than $Bbb Z$), beause that requires you to have denominators which are neither invertible nor zero-divisors.



                Edit: Since I apparently missed the real point of the question. Yes, those manipulations are fine. Whatever $frac23$ is, give it the name $x$. By the definition of fractions, $3x = 2$. Multiplying both sides by $2$ can't make them not-equal, so $6x = 4$. Since $6$ is a valid denominator, by definition of fractions we get $x = frac46$. What you have ultimately done is to expand the fraction $frac23$ by $2$ and shown that this doesn't change the value of the fraction.






                share|cite|improve this answer











                $endgroup$












                • $begingroup$
                  I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                  $endgroup$
                  – Michael Munta
                  Mar 7 at 9:41






                • 1




                  $begingroup$
                  @MichaelMunta You're right. I added a bit at the end.
                  $endgroup$
                  – Arthur
                  Mar 7 at 9:51















                4












                $begingroup$

                Fractions work fine in modular arithmetic. They're not very commonly used, though.



                If you want to use fractions, you have to stop thinking about $frac23$ as $0.666ldots$ and instead think of it as $4$ (at least in modulo $5$). Also, there is no simple way to just look at a modular fraction and know more or less what its value is, the way you can just know that $frac1234561000001$ is very close to $0.123456$. In other words, small change in the denominator gives large changes in fraction value in modular arithmetic.



                So there are a few mental roadblocks on the way to using fractions in modular arithmetic, and I suspect that that's why it isn't done more. That being said, if you do use fractions, the same rules that you learned in elementary school for regular (rational) fractions still all apply: How to expand / simplify fractions, how to add or multiply them, or how to check that they are equal. The technique known as "cross multiplication" still works: $frac abequiv frac cdiff ad = bc$ (this does require that only invertible elements are allowed as denominators, though).



                You can allow non-invertible elements as denominators, but then more care is needed. See, for instance, my answer here on allowing fractions with odd denominators (including $3$) in modulo $6$.



                If you only allow invertible elements as denominators, then because they're already invertible, you're not really changing anything, as all fractions are elements that already exist as whole numbers. If you allow non-invertible elements, you basically get a smaller ring as a result (modulo $6$ with $3$ allowed as a denominator gives you what is essentially modulo $2$). Sadly, you can't get something "bigger" (the way $Bbb Q$ is bigger than $Bbb Z$), beause that requires you to have denominators which are neither invertible nor zero-divisors.



                Edit: Since I apparently missed the real point of the question. Yes, those manipulations are fine. Whatever $frac23$ is, give it the name $x$. By the definition of fractions, $3x = 2$. Multiplying both sides by $2$ can't make them not-equal, so $6x = 4$. Since $6$ is a valid denominator, by definition of fractions we get $x = frac46$. What you have ultimately done is to expand the fraction $frac23$ by $2$ and shown that this doesn't change the value of the fraction.






                share|cite|improve this answer











                $endgroup$












                • $begingroup$
                  I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                  $endgroup$
                  – Michael Munta
                  Mar 7 at 9:41






                • 1




                  $begingroup$
                  @MichaelMunta You're right. I added a bit at the end.
                  $endgroup$
                  – Arthur
                  Mar 7 at 9:51













                4












                4








                4





                $begingroup$

                Fractions work fine in modular arithmetic. They're not very commonly used, though.



                If you want to use fractions, you have to stop thinking about $frac23$ as $0.666ldots$ and instead think of it as $4$ (at least in modulo $5$). Also, there is no simple way to just look at a modular fraction and know more or less what its value is, the way you can just know that $frac1234561000001$ is very close to $0.123456$. In other words, small change in the denominator gives large changes in fraction value in modular arithmetic.



                So there are a few mental roadblocks on the way to using fractions in modular arithmetic, and I suspect that that's why it isn't done more. That being said, if you do use fractions, the same rules that you learned in elementary school for regular (rational) fractions still all apply: How to expand / simplify fractions, how to add or multiply them, or how to check that they are equal. The technique known as "cross multiplication" still works: $frac abequiv frac cdiff ad = bc$ (this does require that only invertible elements are allowed as denominators, though).



                You can allow non-invertible elements as denominators, but then more care is needed. See, for instance, my answer here on allowing fractions with odd denominators (including $3$) in modulo $6$.



                If you only allow invertible elements as denominators, then because they're already invertible, you're not really changing anything, as all fractions are elements that already exist as whole numbers. If you allow non-invertible elements, you basically get a smaller ring as a result (modulo $6$ with $3$ allowed as a denominator gives you what is essentially modulo $2$). Sadly, you can't get something "bigger" (the way $Bbb Q$ is bigger than $Bbb Z$), beause that requires you to have denominators which are neither invertible nor zero-divisors.



                Edit: Since I apparently missed the real point of the question. Yes, those manipulations are fine. Whatever $frac23$ is, give it the name $x$. By the definition of fractions, $3x = 2$. Multiplying both sides by $2$ can't make them not-equal, so $6x = 4$. Since $6$ is a valid denominator, by definition of fractions we get $x = frac46$. What you have ultimately done is to expand the fraction $frac23$ by $2$ and shown that this doesn't change the value of the fraction.






                share|cite|improve this answer











                $endgroup$



                Fractions work fine in modular arithmetic. They're not very commonly used, though.



                If you want to use fractions, you have to stop thinking about $frac23$ as $0.666ldots$ and instead think of it as $4$ (at least in modulo $5$). Also, there is no simple way to just look at a modular fraction and know more or less what its value is, the way you can just know that $frac1234561000001$ is very close to $0.123456$. In other words, small change in the denominator gives large changes in fraction value in modular arithmetic.



                So there are a few mental roadblocks on the way to using fractions in modular arithmetic, and I suspect that that's why it isn't done more. That being said, if you do use fractions, the same rules that you learned in elementary school for regular (rational) fractions still all apply: How to expand / simplify fractions, how to add or multiply them, or how to check that they are equal. The technique known as "cross multiplication" still works: $frac abequiv frac cdiff ad = bc$ (this does require that only invertible elements are allowed as denominators, though).



                You can allow non-invertible elements as denominators, but then more care is needed. See, for instance, my answer here on allowing fractions with odd denominators (including $3$) in modulo $6$.



                If you only allow invertible elements as denominators, then because they're already invertible, you're not really changing anything, as all fractions are elements that already exist as whole numbers. If you allow non-invertible elements, you basically get a smaller ring as a result (modulo $6$ with $3$ allowed as a denominator gives you what is essentially modulo $2$). Sadly, you can't get something "bigger" (the way $Bbb Q$ is bigger than $Bbb Z$), beause that requires you to have denominators which are neither invertible nor zero-divisors.



                Edit: Since I apparently missed the real point of the question. Yes, those manipulations are fine. Whatever $frac23$ is, give it the name $x$. By the definition of fractions, $3x = 2$. Multiplying both sides by $2$ can't make them not-equal, so $6x = 4$. Since $6$ is a valid denominator, by definition of fractions we get $x = frac46$. What you have ultimately done is to expand the fraction $frac23$ by $2$ and shown that this doesn't change the value of the fraction.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Mar 17 at 23:46









                Bill Dubuque

                213k29195654




                213k29195654










                answered Mar 7 at 9:20









                ArthurArthur

                120k7120204




                120k7120204











                • $begingroup$
                  I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                  $endgroup$
                  – Michael Munta
                  Mar 7 at 9:41






                • 1




                  $begingroup$
                  @MichaelMunta You're right. I added a bit at the end.
                  $endgroup$
                  – Arthur
                  Mar 7 at 9:51
















                • $begingroup$
                  I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                  $endgroup$
                  – Michael Munta
                  Mar 7 at 9:41






                • 1




                  $begingroup$
                  @MichaelMunta You're right. I added a bit at the end.
                  $endgroup$
                  – Arthur
                  Mar 7 at 9:51















                $begingroup$
                I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                $endgroup$
                – Michael Munta
                Mar 7 at 9:41




                $begingroup$
                I see what you are saying, but it was not really the point of my question. I am wondering if my way of reaching the conclusion in the question is correct.
                $endgroup$
                – Michael Munta
                Mar 7 at 9:41




                1




                1




                $begingroup$
                @MichaelMunta You're right. I added a bit at the end.
                $endgroup$
                – Arthur
                Mar 7 at 9:51




                $begingroup$
                @MichaelMunta You're right. I added a bit at the end.
                $endgroup$
                – Arthur
                Mar 7 at 9:51











                1












                $begingroup$

                Yes. If $a,b,c,d$ are all co-prime to $n$ and $ad=bc mod n$ then we know that $bd$ is co-prime to $n$ so it is invertible in $mathbbZ_n$, and so we can divide by $bd$ to get



                $fracab=fraccd mod n$






                share|cite|improve this answer









                $endgroup$

















                  1












                  $begingroup$

                  Yes. If $a,b,c,d$ are all co-prime to $n$ and $ad=bc mod n$ then we know that $bd$ is co-prime to $n$ so it is invertible in $mathbbZ_n$, and so we can divide by $bd$ to get



                  $fracab=fraccd mod n$






                  share|cite|improve this answer









                  $endgroup$















                    1












                    1








                    1





                    $begingroup$

                    Yes. If $a,b,c,d$ are all co-prime to $n$ and $ad=bc mod n$ then we know that $bd$ is co-prime to $n$ so it is invertible in $mathbbZ_n$, and so we can divide by $bd$ to get



                    $fracab=fraccd mod n$






                    share|cite|improve this answer









                    $endgroup$



                    Yes. If $a,b,c,d$ are all co-prime to $n$ and $ad=bc mod n$ then we know that $bd$ is co-prime to $n$ so it is invertible in $mathbbZ_n$, and so we can divide by $bd$ to get



                    $fracab=fraccd mod n$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Mar 7 at 10:40









                    gandalf61gandalf61

                    9,164825




                    9,164825





















                        1












                        $begingroup$

                        Yes, your understanding is correct, There are a few reasons that they typically aren't used though:



                        • They aren't always defined ex. $frac52 bmod 6$

                        • Because you can give a second name mod anything, you can get multiple answers when not coprime to the modulus ex. $frac33equivfrac3-3bmod 6 $ at least in the sense of $3equiv -3 bmod 6$ but These give back two answers, The first is $1 bmod 6$ if taken literally, the second is $-1equiv 5 bmod 6$, You can also get 3 mod 6, because $frac6x+33=2x+1$ which lands on all remainders corresponding to odd numbers mod 6.

                        So using them recklessly, comes with some perils.






                        share|cite|improve this answer









                        $endgroup$

















                          1












                          $begingroup$

                          Yes, your understanding is correct, There are a few reasons that they typically aren't used though:



                          • They aren't always defined ex. $frac52 bmod 6$

                          • Because you can give a second name mod anything, you can get multiple answers when not coprime to the modulus ex. $frac33equivfrac3-3bmod 6 $ at least in the sense of $3equiv -3 bmod 6$ but These give back two answers, The first is $1 bmod 6$ if taken literally, the second is $-1equiv 5 bmod 6$, You can also get 3 mod 6, because $frac6x+33=2x+1$ which lands on all remainders corresponding to odd numbers mod 6.

                          So using them recklessly, comes with some perils.






                          share|cite|improve this answer









                          $endgroup$















                            1












                            1








                            1





                            $begingroup$

                            Yes, your understanding is correct, There are a few reasons that they typically aren't used though:



                            • They aren't always defined ex. $frac52 bmod 6$

                            • Because you can give a second name mod anything, you can get multiple answers when not coprime to the modulus ex. $frac33equivfrac3-3bmod 6 $ at least in the sense of $3equiv -3 bmod 6$ but These give back two answers, The first is $1 bmod 6$ if taken literally, the second is $-1equiv 5 bmod 6$, You can also get 3 mod 6, because $frac6x+33=2x+1$ which lands on all remainders corresponding to odd numbers mod 6.

                            So using them recklessly, comes with some perils.






                            share|cite|improve this answer









                            $endgroup$



                            Yes, your understanding is correct, There are a few reasons that they typically aren't used though:



                            • They aren't always defined ex. $frac52 bmod 6$

                            • Because you can give a second name mod anything, you can get multiple answers when not coprime to the modulus ex. $frac33equivfrac3-3bmod 6 $ at least in the sense of $3equiv -3 bmod 6$ but These give back two answers, The first is $1 bmod 6$ if taken literally, the second is $-1equiv 5 bmod 6$, You can also get 3 mod 6, because $frac6x+33=2x+1$ which lands on all remainders corresponding to odd numbers mod 6.

                            So using them recklessly, comes with some perils.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Mar 7 at 13:18









                            Roddy MacPheeRoddy MacPhee

                            529118




                            529118





















                                -1












                                $begingroup$

                                Yes, and just like you can do modular arithmetic to simplify ordinary arithmetic using integers, one can also do this for fractions. This looks impossible because of the multiple ways one can write a fraction modulo an integer representing a given number. But if it is known that the answer one is interested in, has a numerator between $0$ and $N$ and a denominator between $0$ and $D$ then a result modulo a number larger than $2 N D$ will allow one to reconstruct this rational number. As explained here, finding this fraction involves just the Euclidean algorithm.






                                share|cite|improve this answer











                                $endgroup$

















                                  -1












                                  $begingroup$

                                  Yes, and just like you can do modular arithmetic to simplify ordinary arithmetic using integers, one can also do this for fractions. This looks impossible because of the multiple ways one can write a fraction modulo an integer representing a given number. But if it is known that the answer one is interested in, has a numerator between $0$ and $N$ and a denominator between $0$ and $D$ then a result modulo a number larger than $2 N D$ will allow one to reconstruct this rational number. As explained here, finding this fraction involves just the Euclidean algorithm.






                                  share|cite|improve this answer











                                  $endgroup$















                                    -1












                                    -1








                                    -1





                                    $begingroup$

                                    Yes, and just like you can do modular arithmetic to simplify ordinary arithmetic using integers, one can also do this for fractions. This looks impossible because of the multiple ways one can write a fraction modulo an integer representing a given number. But if it is known that the answer one is interested in, has a numerator between $0$ and $N$ and a denominator between $0$ and $D$ then a result modulo a number larger than $2 N D$ will allow one to reconstruct this rational number. As explained here, finding this fraction involves just the Euclidean algorithm.






                                    share|cite|improve this answer











                                    $endgroup$



                                    Yes, and just like you can do modular arithmetic to simplify ordinary arithmetic using integers, one can also do this for fractions. This looks impossible because of the multiple ways one can write a fraction modulo an integer representing a given number. But if it is known that the answer one is interested in, has a numerator between $0$ and $N$ and a denominator between $0$ and $D$ then a result modulo a number larger than $2 N D$ will allow one to reconstruct this rational number. As explained here, finding this fraction involves just the Euclidean algorithm.







                                    share|cite|improve this answer














                                    share|cite|improve this answer



                                    share|cite|improve this answer








                                    edited Mar 17 at 22:26

























                                    answered Mar 17 at 21:52









                                    Count IblisCount Iblis

                                    8,43721534




                                    8,43721534



























                                        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.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3138647%2funderstanding-fractions-in-modular-arithmetic%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

                                        Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

                                        Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

                                        Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers