How can we better understand multiplicative inverse modulo something?inverse,multiplicative inverse and Congruence of a prime fieldinverse modulo calculationinverse modulo, modulo arithmeticDoes the multiplicative inverse of 3 and 6 exist in Modulo 9Proof that if gcd(e, φ(N)) > 1, then a multiplicative inverse does not exist.Modulo multiplicative inverse of floating numbersHow many complexes modulo a prime $p$ are of multiplicative order $p^2 - 1$?Calculation of modular multiplicative inverse of A mod B when A > BParity of the result of modular multiplication and modular multiplicative inverseResult of mod division

How would you write do the dialogues of two characters talking in a chat room?

Cubic programming and beyond?

Why limit to revolvers?

Can a pizza stone be fixed after soap has been used to clean it?

Bob's unnecessary trip to the shops

Why are Japanese translated subtitles non-conversational?

Why does Hellboy file down his horns?

Supporting developers who insist on using their pet language

Why is dry soil hydrophobic? Bad gardener paradox

Construct a pentagon avoiding compass use

Hacker Rank : Electronics Shop

Is this a Lost Mine of Phandelver Plot Hole?

School House Points (Python + SQLite)

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Can a continent naturally split into two distant parts within a week?

Is the Gungan military rank of Bombad General roughly equivalent in stature to General in other militaries?

How to make a niche out of an object

Will it hurt my career to work as a graphic designer in a startup for beauty and skin care?

How can an advanced civilization forget how to manufacture its technology?

Why would an Inquisitive rogue choose to use Insightful Fighting as opposed to using their Cunning Action to Hide?

What's the difference between soft PWM and PWM

Access files in Home directory from live mode

Verifying Hamiltonian Cycle solution in O(n^2), n is the length of the encoding of G

Deep Learning based time series forecasting



How can we better understand multiplicative inverse modulo something?


inverse,multiplicative inverse and Congruence of a prime fieldinverse modulo calculationinverse modulo, modulo arithmeticDoes the multiplicative inverse of 3 and 6 exist in Modulo 9Proof that if gcd(e, φ(N)) > 1, then a multiplicative inverse does not exist.Modulo multiplicative inverse of floating numbersHow many complexes modulo a prime $p$ are of multiplicative order $p^2 - 1$?Calculation of modular multiplicative inverse of A mod B when A > BParity of the result of modular multiplication and modular multiplicative inverseResult of mod division






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


How can we intuitively understand modulo multiplicative inverse?



Suppose we have an ring $mathbbZ_13= 0, 1, 2, 3, ldots, 12$.



Each element except zero has corresponding multiplicative inverse.



Below is the mapping of inverse.



1 $rightarrow$ 1



2 $rightarrow$ 7



3 $rightarrow$ 9



4 $rightarrow$ 10



5 $rightarrow$ 8



6 $rightarrow$ 11



7 $rightarrow$ 2



8 $rightarrow$ 5



9 $rightarrow$ 3



10 $rightarrow$ 4



11 $rightarrow$ 6



12 $rightarrow$ 12



Now, I want to consider division by 2, which here means that multiplication by 7.
However, some integer multiplied 7 becomes acutally the same result as division by 2 over real number field.
For example, the following holds.



4 * 7 = 28 = 2 mod 13;
6 * 7 = 42 = 3 mod 13;
etc.



On the other hand, other values do not produce the same result over real number fields.



For example,
5 * 7 = 35 = 9 mod 13 (I want this value to be 2 or 3 since 5/2 = 2.5)



7 * 7 = 49 = 10 mod 13 (I want this value to be 3 or 4 since 7/2 = 3.5).



Why some values produce the same result as over the real number field, and the others do not??










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
    $endgroup$
    – J.G.
    8 hours ago










  • $begingroup$
    Yeah, that's true. Thank you for your suggestion! I have corrected it
    $endgroup$
    – mallea
    8 hours ago


















2












$begingroup$


How can we intuitively understand modulo multiplicative inverse?



Suppose we have an ring $mathbbZ_13= 0, 1, 2, 3, ldots, 12$.



Each element except zero has corresponding multiplicative inverse.



Below is the mapping of inverse.



1 $rightarrow$ 1



2 $rightarrow$ 7



3 $rightarrow$ 9



4 $rightarrow$ 10



5 $rightarrow$ 8



6 $rightarrow$ 11



7 $rightarrow$ 2



8 $rightarrow$ 5



9 $rightarrow$ 3



10 $rightarrow$ 4



11 $rightarrow$ 6



12 $rightarrow$ 12



Now, I want to consider division by 2, which here means that multiplication by 7.
However, some integer multiplied 7 becomes acutally the same result as division by 2 over real number field.
For example, the following holds.



4 * 7 = 28 = 2 mod 13;
6 * 7 = 42 = 3 mod 13;
etc.



On the other hand, other values do not produce the same result over real number fields.



For example,
5 * 7 = 35 = 9 mod 13 (I want this value to be 2 or 3 since 5/2 = 2.5)



7 * 7 = 49 = 10 mod 13 (I want this value to be 3 or 4 since 7/2 = 3.5).



Why some values produce the same result as over the real number field, and the others do not??










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
    $endgroup$
    – J.G.
    8 hours ago










  • $begingroup$
    Yeah, that's true. Thank you for your suggestion! I have corrected it
    $endgroup$
    – mallea
    8 hours ago














2












2








2


1



$begingroup$


How can we intuitively understand modulo multiplicative inverse?



Suppose we have an ring $mathbbZ_13= 0, 1, 2, 3, ldots, 12$.



Each element except zero has corresponding multiplicative inverse.



Below is the mapping of inverse.



1 $rightarrow$ 1



2 $rightarrow$ 7



3 $rightarrow$ 9



4 $rightarrow$ 10



5 $rightarrow$ 8



6 $rightarrow$ 11



7 $rightarrow$ 2



8 $rightarrow$ 5



9 $rightarrow$ 3



10 $rightarrow$ 4



11 $rightarrow$ 6



12 $rightarrow$ 12



Now, I want to consider division by 2, which here means that multiplication by 7.
However, some integer multiplied 7 becomes acutally the same result as division by 2 over real number field.
For example, the following holds.



4 * 7 = 28 = 2 mod 13;
6 * 7 = 42 = 3 mod 13;
etc.



On the other hand, other values do not produce the same result over real number fields.



For example,
5 * 7 = 35 = 9 mod 13 (I want this value to be 2 or 3 since 5/2 = 2.5)



7 * 7 = 49 = 10 mod 13 (I want this value to be 3 or 4 since 7/2 = 3.5).



Why some values produce the same result as over the real number field, and the others do not??










share|cite|improve this question











$endgroup$




How can we intuitively understand modulo multiplicative inverse?



Suppose we have an ring $mathbbZ_13= 0, 1, 2, 3, ldots, 12$.



Each element except zero has corresponding multiplicative inverse.



Below is the mapping of inverse.



1 $rightarrow$ 1



2 $rightarrow$ 7



3 $rightarrow$ 9



4 $rightarrow$ 10



5 $rightarrow$ 8



6 $rightarrow$ 11



7 $rightarrow$ 2



8 $rightarrow$ 5



9 $rightarrow$ 3



10 $rightarrow$ 4



11 $rightarrow$ 6



12 $rightarrow$ 12



Now, I want to consider division by 2, which here means that multiplication by 7.
However, some integer multiplied 7 becomes acutally the same result as division by 2 over real number field.
For example, the following holds.



4 * 7 = 28 = 2 mod 13;
6 * 7 = 42 = 3 mod 13;
etc.



On the other hand, other values do not produce the same result over real number fields.



For example,
5 * 7 = 35 = 9 mod 13 (I want this value to be 2 or 3 since 5/2 = 2.5)



7 * 7 = 49 = 10 mod 13 (I want this value to be 3 or 4 since 7/2 = 3.5).



Why some values produce the same result as over the real number field, and the others do not??







modular-arithmetic inverse






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 8 hours ago







mallea

















asked 8 hours ago









malleamallea

3791 silver badge9 bronze badges




3791 silver badge9 bronze badges







  • 1




    $begingroup$
    I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
    $endgroup$
    – J.G.
    8 hours ago










  • $begingroup$
    Yeah, that's true. Thank you for your suggestion! I have corrected it
    $endgroup$
    – mallea
    8 hours ago













  • 1




    $begingroup$
    I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
    $endgroup$
    – J.G.
    8 hours ago










  • $begingroup$
    Yeah, that's true. Thank you for your suggestion! I have corrected it
    $endgroup$
    – mallea
    8 hours ago








1




1




$begingroup$
I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
$endgroup$
– J.G.
8 hours ago




$begingroup$
I think you mean $35=9$, which you'll notice is $22=11times 2$. similarly, $7=20=2times 10$.
$endgroup$
– J.G.
8 hours ago












$begingroup$
Yeah, that's true. Thank you for your suggestion! I have corrected it
$endgroup$
– mallea
8 hours ago





$begingroup$
Yeah, that's true. Thank you for your suggestion! I have corrected it
$endgroup$
– mallea
8 hours ago











7 Answers
7






active

oldest

votes


















2












$begingroup$

Operations mod $n$ aren't guaranteed to preserve the order inherited from the reals.



So the fact that in $mathbbR$, we have
$$2 < smallfrac52 < 3$$
doesn't imply
$$2 < (smallfrac52;textmod;13) < 3$$
However what is true is that, working mod $13$, we have
$$
smallfrac52 = 2+smallfrac12 = 2+7 = 9
qquad;;;
$$

and also
$$smallfrac52 = 3-smallfrac12 = 3-7 = -4 = 9$$






share|cite|improve this answer











$endgroup$




















    1












    $begingroup$

    If $b$ is invertible mod $c$,
    $ab^-1 equiv c mod p$ is equivalent to $a equiv b c mod p$, and this means $a = b c + k p$ for some integer $k$. Sometimes you'll have $k = 0$, so $a = b c$ and $c = a/b$ (as integers), sometimes you won't.






    share|cite|improve this answer









    $endgroup$




















      1












      $begingroup$

      When your modulus is a prime number like $13$ you actually have a field and you may define fractions within your field.



      For example $7=1/2$ and $10=1/4$
      If you multiply $7times 7=49=10$ you notice that it is the same as $$1/2 times 1/2 =1/4$$



      The problem which puzzles you is confusing the field of equivalency classes with the field of real numbers.



      In the field of equivalency classes you have $$5/2 =5times 7=9$$



      Now if you multiply $9times 2$ you get $18$ which is $5$ as it should be.



      Note that $2.5$ makes sense in real field but you do not have a class of $2.5$ mod $13$ instead you have class of $9$ which serves well as $5/2$






      share|cite|improve this answer











      $endgroup$




















        0












        $begingroup$

        Because that doesn't work even for the number $2$. Note that $11times7=77equiv12pmod13$. However, $frac112=5.5$, which is not near $12$.






        share|cite|improve this answer









        $endgroup$












        • $begingroup$
          Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
          $endgroup$
          – mallea
          8 hours ago






        • 2




          $begingroup$
          None whatsoever.
          $endgroup$
          – José Carlos Santos
          8 hours ago










        • $begingroup$
          Note: $dfrac11+132=12$
          $endgroup$
          – J. W. Tanner
          8 hours ago










        • $begingroup$
          $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
          $endgroup$
          – Roddy MacPhee
          8 hours ago











        • $begingroup$
          @JoséCarlosSantos I see.
          $endgroup$
          – mallea
          8 hours ago


















        0












        $begingroup$

        Note that $5 times 7 = 35 = 9 pmod13$, not 11 as you claimed in your question -- and, given this, it might help to observe that we can also think of $2.5$ as $2.5 = 2 + .5 = 2 + 2^-1 = 2 + 7 = 9 pmod13$.






        share|cite|improve this answer









        $endgroup$




















          0












          $begingroup$

          $$-12to -6to 10to -8to -4 to -2to 12to 6to -10to 8to 4to 2tocdots$$ is the looping structure you want here. All I did was turn odd elements into even equivalents. note how 0 never appears. That's because it's its own multiplicative inverse mod anything, except when division by 0 or zero divisors occurs.



          Generally you can turn into equivalents and get the values. All equivalents that are 1 mod 3 have multiplicative inverse on division by 3 because 13 is 1 mod 3, so the difference is 0 mod 3 by mod addition rules. There aren't always equivalents that work mod composites.






          share|cite|improve this answer











          $endgroup$




















            0












            $begingroup$

            What you seek is generally impossible. Suppose that $,b,$ is invertible $!bmod n,,$ i.e. $,gcd(b,n)=1,$ and let's calculate the fraction $,a/b := ab^-1pmod! n,,$ where $, 0 < a,b < n$.



            By division $,a = q,b+r $ thus $bmod n!:, a/bequiv ab^-1 equiv (qb+r)b^-1equiv q + color#c00rb^-1$



            When $,r = 0,$ we get $!bmod n!: (qb)/bequiv q,,$ same as in $Bbb R,,$ when $,a/binBbb Z,$ is an exact quotient.



            Else $,color#0a00<r<b,$ and you want $,color#c00rb^-1equiv 0, rm or, 1, Longrightarrow, color#0a0requiv 0, rm or, b,,$ contradiction.



            Note $ $ It can be true for fractions with $,a,b > n,$ if they reduce to exact quotients $(r= 0),,$ e.g.



            $$bmod 13!: dfrac1327equiv dfrac01 = leftlfloor dfrac1327rightrfloor, dfrac1427equiv dfrac11 = leftlceil dfrac1427 rightrceilqquadqquadqquad $$






            share|cite|improve this answer











            $endgroup$















              Your Answer








              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%2f3292833%2fhow-can-we-better-understand-multiplicative-inverse-modulo-something%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              7 Answers
              7






              active

              oldest

              votes








              7 Answers
              7






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2












              $begingroup$

              Operations mod $n$ aren't guaranteed to preserve the order inherited from the reals.



              So the fact that in $mathbbR$, we have
              $$2 < smallfrac52 < 3$$
              doesn't imply
              $$2 < (smallfrac52;textmod;13) < 3$$
              However what is true is that, working mod $13$, we have
              $$
              smallfrac52 = 2+smallfrac12 = 2+7 = 9
              qquad;;;
              $$

              and also
              $$smallfrac52 = 3-smallfrac12 = 3-7 = -4 = 9$$






              share|cite|improve this answer











              $endgroup$

















                2












                $begingroup$

                Operations mod $n$ aren't guaranteed to preserve the order inherited from the reals.



                So the fact that in $mathbbR$, we have
                $$2 < smallfrac52 < 3$$
                doesn't imply
                $$2 < (smallfrac52;textmod;13) < 3$$
                However what is true is that, working mod $13$, we have
                $$
                smallfrac52 = 2+smallfrac12 = 2+7 = 9
                qquad;;;
                $$

                and also
                $$smallfrac52 = 3-smallfrac12 = 3-7 = -4 = 9$$






                share|cite|improve this answer











                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  Operations mod $n$ aren't guaranteed to preserve the order inherited from the reals.



                  So the fact that in $mathbbR$, we have
                  $$2 < smallfrac52 < 3$$
                  doesn't imply
                  $$2 < (smallfrac52;textmod;13) < 3$$
                  However what is true is that, working mod $13$, we have
                  $$
                  smallfrac52 = 2+smallfrac12 = 2+7 = 9
                  qquad;;;
                  $$

                  and also
                  $$smallfrac52 = 3-smallfrac12 = 3-7 = -4 = 9$$






                  share|cite|improve this answer











                  $endgroup$



                  Operations mod $n$ aren't guaranteed to preserve the order inherited from the reals.



                  So the fact that in $mathbbR$, we have
                  $$2 < smallfrac52 < 3$$
                  doesn't imply
                  $$2 < (smallfrac52;textmod;13) < 3$$
                  However what is true is that, working mod $13$, we have
                  $$
                  smallfrac52 = 2+smallfrac12 = 2+7 = 9
                  qquad;;;
                  $$

                  and also
                  $$smallfrac52 = 3-smallfrac12 = 3-7 = -4 = 9$$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 8 hours ago

























                  answered 8 hours ago









                  quasiquasi

                  37.8k2 gold badges26 silver badges67 bronze badges




                  37.8k2 gold badges26 silver badges67 bronze badges























                      1












                      $begingroup$

                      If $b$ is invertible mod $c$,
                      $ab^-1 equiv c mod p$ is equivalent to $a equiv b c mod p$, and this means $a = b c + k p$ for some integer $k$. Sometimes you'll have $k = 0$, so $a = b c$ and $c = a/b$ (as integers), sometimes you won't.






                      share|cite|improve this answer









                      $endgroup$

















                        1












                        $begingroup$

                        If $b$ is invertible mod $c$,
                        $ab^-1 equiv c mod p$ is equivalent to $a equiv b c mod p$, and this means $a = b c + k p$ for some integer $k$. Sometimes you'll have $k = 0$, so $a = b c$ and $c = a/b$ (as integers), sometimes you won't.






                        share|cite|improve this answer









                        $endgroup$















                          1












                          1








                          1





                          $begingroup$

                          If $b$ is invertible mod $c$,
                          $ab^-1 equiv c mod p$ is equivalent to $a equiv b c mod p$, and this means $a = b c + k p$ for some integer $k$. Sometimes you'll have $k = 0$, so $a = b c$ and $c = a/b$ (as integers), sometimes you won't.






                          share|cite|improve this answer









                          $endgroup$



                          If $b$ is invertible mod $c$,
                          $ab^-1 equiv c mod p$ is equivalent to $a equiv b c mod p$, and this means $a = b c + k p$ for some integer $k$. Sometimes you'll have $k = 0$, so $a = b c$ and $c = a/b$ (as integers), sometimes you won't.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered 8 hours ago









                          Robert IsraelRobert Israel

                          342k23 gold badges234 silver badges495 bronze badges




                          342k23 gold badges234 silver badges495 bronze badges





















                              1












                              $begingroup$

                              When your modulus is a prime number like $13$ you actually have a field and you may define fractions within your field.



                              For example $7=1/2$ and $10=1/4$
                              If you multiply $7times 7=49=10$ you notice that it is the same as $$1/2 times 1/2 =1/4$$



                              The problem which puzzles you is confusing the field of equivalency classes with the field of real numbers.



                              In the field of equivalency classes you have $$5/2 =5times 7=9$$



                              Now if you multiply $9times 2$ you get $18$ which is $5$ as it should be.



                              Note that $2.5$ makes sense in real field but you do not have a class of $2.5$ mod $13$ instead you have class of $9$ which serves well as $5/2$






                              share|cite|improve this answer











                              $endgroup$

















                                1












                                $begingroup$

                                When your modulus is a prime number like $13$ you actually have a field and you may define fractions within your field.



                                For example $7=1/2$ and $10=1/4$
                                If you multiply $7times 7=49=10$ you notice that it is the same as $$1/2 times 1/2 =1/4$$



                                The problem which puzzles you is confusing the field of equivalency classes with the field of real numbers.



                                In the field of equivalency classes you have $$5/2 =5times 7=9$$



                                Now if you multiply $9times 2$ you get $18$ which is $5$ as it should be.



                                Note that $2.5$ makes sense in real field but you do not have a class of $2.5$ mod $13$ instead you have class of $9$ which serves well as $5/2$






                                share|cite|improve this answer











                                $endgroup$















                                  1












                                  1








                                  1





                                  $begingroup$

                                  When your modulus is a prime number like $13$ you actually have a field and you may define fractions within your field.



                                  For example $7=1/2$ and $10=1/4$
                                  If you multiply $7times 7=49=10$ you notice that it is the same as $$1/2 times 1/2 =1/4$$



                                  The problem which puzzles you is confusing the field of equivalency classes with the field of real numbers.



                                  In the field of equivalency classes you have $$5/2 =5times 7=9$$



                                  Now if you multiply $9times 2$ you get $18$ which is $5$ as it should be.



                                  Note that $2.5$ makes sense in real field but you do not have a class of $2.5$ mod $13$ instead you have class of $9$ which serves well as $5/2$






                                  share|cite|improve this answer











                                  $endgroup$



                                  When your modulus is a prime number like $13$ you actually have a field and you may define fractions within your field.



                                  For example $7=1/2$ and $10=1/4$
                                  If you multiply $7times 7=49=10$ you notice that it is the same as $$1/2 times 1/2 =1/4$$



                                  The problem which puzzles you is confusing the field of equivalency classes with the field of real numbers.



                                  In the field of equivalency classes you have $$5/2 =5times 7=9$$



                                  Now if you multiply $9times 2$ you get $18$ which is $5$ as it should be.



                                  Note that $2.5$ makes sense in real field but you do not have a class of $2.5$ mod $13$ instead you have class of $9$ which serves well as $5/2$







                                  share|cite|improve this answer














                                  share|cite|improve this answer



                                  share|cite|improve this answer








                                  edited 6 hours ago

























                                  answered 8 hours ago









                                  Mohammad Riazi-KermaniMohammad Riazi-Kermani

                                  48.1k4 gold badges26 silver badges70 bronze badges




                                  48.1k4 gold badges26 silver badges70 bronze badges





















                                      0












                                      $begingroup$

                                      Because that doesn't work even for the number $2$. Note that $11times7=77equiv12pmod13$. However, $frac112=5.5$, which is not near $12$.






                                      share|cite|improve this answer









                                      $endgroup$












                                      • $begingroup$
                                        Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                        $endgroup$
                                        – mallea
                                        8 hours ago






                                      • 2




                                        $begingroup$
                                        None whatsoever.
                                        $endgroup$
                                        – José Carlos Santos
                                        8 hours ago










                                      • $begingroup$
                                        Note: $dfrac11+132=12$
                                        $endgroup$
                                        – J. W. Tanner
                                        8 hours ago










                                      • $begingroup$
                                        $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                        $endgroup$
                                        – Roddy MacPhee
                                        8 hours ago











                                      • $begingroup$
                                        @JoséCarlosSantos I see.
                                        $endgroup$
                                        – mallea
                                        8 hours ago















                                      0












                                      $begingroup$

                                      Because that doesn't work even for the number $2$. Note that $11times7=77equiv12pmod13$. However, $frac112=5.5$, which is not near $12$.






                                      share|cite|improve this answer









                                      $endgroup$












                                      • $begingroup$
                                        Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                        $endgroup$
                                        – mallea
                                        8 hours ago






                                      • 2




                                        $begingroup$
                                        None whatsoever.
                                        $endgroup$
                                        – José Carlos Santos
                                        8 hours ago










                                      • $begingroup$
                                        Note: $dfrac11+132=12$
                                        $endgroup$
                                        – J. W. Tanner
                                        8 hours ago










                                      • $begingroup$
                                        $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                        $endgroup$
                                        – Roddy MacPhee
                                        8 hours ago











                                      • $begingroup$
                                        @JoséCarlosSantos I see.
                                        $endgroup$
                                        – mallea
                                        8 hours ago













                                      0












                                      0








                                      0





                                      $begingroup$

                                      Because that doesn't work even for the number $2$. Note that $11times7=77equiv12pmod13$. However, $frac112=5.5$, which is not near $12$.






                                      share|cite|improve this answer









                                      $endgroup$



                                      Because that doesn't work even for the number $2$. Note that $11times7=77equiv12pmod13$. However, $frac112=5.5$, which is not near $12$.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered 8 hours ago









                                      José Carlos SantosJosé Carlos Santos

                                      199k25 gold badges158 silver badges276 bronze badges




                                      199k25 gold badges158 silver badges276 bronze badges











                                      • $begingroup$
                                        Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                        $endgroup$
                                        – mallea
                                        8 hours ago






                                      • 2




                                        $begingroup$
                                        None whatsoever.
                                        $endgroup$
                                        – José Carlos Santos
                                        8 hours ago










                                      • $begingroup$
                                        Note: $dfrac11+132=12$
                                        $endgroup$
                                        – J. W. Tanner
                                        8 hours ago










                                      • $begingroup$
                                        $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                        $endgroup$
                                        – Roddy MacPhee
                                        8 hours ago











                                      • $begingroup$
                                        @JoséCarlosSantos I see.
                                        $endgroup$
                                        – mallea
                                        8 hours ago
















                                      • $begingroup$
                                        Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                        $endgroup$
                                        – mallea
                                        8 hours ago






                                      • 2




                                        $begingroup$
                                        None whatsoever.
                                        $endgroup$
                                        – José Carlos Santos
                                        8 hours ago










                                      • $begingroup$
                                        Note: $dfrac11+132=12$
                                        $endgroup$
                                        – J. W. Tanner
                                        8 hours ago










                                      • $begingroup$
                                        $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                        $endgroup$
                                        – Roddy MacPhee
                                        8 hours ago











                                      • $begingroup$
                                        @JoséCarlosSantos I see.
                                        $endgroup$
                                        – mallea
                                        8 hours ago















                                      $begingroup$
                                      Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                      $endgroup$
                                      – mallea
                                      8 hours ago




                                      $begingroup$
                                      Thank you for your comment. So, is there any bridge between 5.5 and 12 in this case?
                                      $endgroup$
                                      – mallea
                                      8 hours ago




                                      2




                                      2




                                      $begingroup$
                                      None whatsoever.
                                      $endgroup$
                                      – José Carlos Santos
                                      8 hours ago




                                      $begingroup$
                                      None whatsoever.
                                      $endgroup$
                                      – José Carlos Santos
                                      8 hours ago












                                      $begingroup$
                                      Note: $dfrac11+132=12$
                                      $endgroup$
                                      – J. W. Tanner
                                      8 hours ago




                                      $begingroup$
                                      Note: $dfrac11+132=12$
                                      $endgroup$
                                      – J. W. Tanner
                                      8 hours ago












                                      $begingroup$
                                      $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                      $endgroup$
                                      – Roddy MacPhee
                                      8 hours ago





                                      $begingroup$
                                      $11equiv -2bmod 13implies 11over 2equiv -1equiv 12bmod 13$
                                      $endgroup$
                                      – Roddy MacPhee
                                      8 hours ago













                                      $begingroup$
                                      @JoséCarlosSantos I see.
                                      $endgroup$
                                      – mallea
                                      8 hours ago




                                      $begingroup$
                                      @JoséCarlosSantos I see.
                                      $endgroup$
                                      – mallea
                                      8 hours ago











                                      0












                                      $begingroup$

                                      Note that $5 times 7 = 35 = 9 pmod13$, not 11 as you claimed in your question -- and, given this, it might help to observe that we can also think of $2.5$ as $2.5 = 2 + .5 = 2 + 2^-1 = 2 + 7 = 9 pmod13$.






                                      share|cite|improve this answer









                                      $endgroup$

















                                        0












                                        $begingroup$

                                        Note that $5 times 7 = 35 = 9 pmod13$, not 11 as you claimed in your question -- and, given this, it might help to observe that we can also think of $2.5$ as $2.5 = 2 + .5 = 2 + 2^-1 = 2 + 7 = 9 pmod13$.






                                        share|cite|improve this answer









                                        $endgroup$















                                          0












                                          0








                                          0





                                          $begingroup$

                                          Note that $5 times 7 = 35 = 9 pmod13$, not 11 as you claimed in your question -- and, given this, it might help to observe that we can also think of $2.5$ as $2.5 = 2 + .5 = 2 + 2^-1 = 2 + 7 = 9 pmod13$.






                                          share|cite|improve this answer









                                          $endgroup$



                                          Note that $5 times 7 = 35 = 9 pmod13$, not 11 as you claimed in your question -- and, given this, it might help to observe that we can also think of $2.5$ as $2.5 = 2 + .5 = 2 + 2^-1 = 2 + 7 = 9 pmod13$.







                                          share|cite|improve this answer












                                          share|cite|improve this answer



                                          share|cite|improve this answer










                                          answered 8 hours ago









                                          Gregory J. PuleoGregory J. Puleo

                                          4,7363 gold badges15 silver badges20 bronze badges




                                          4,7363 gold badges15 silver badges20 bronze badges





















                                              0












                                              $begingroup$

                                              $$-12to -6to 10to -8to -4 to -2to 12to 6to -10to 8to 4to 2tocdots$$ is the looping structure you want here. All I did was turn odd elements into even equivalents. note how 0 never appears. That's because it's its own multiplicative inverse mod anything, except when division by 0 or zero divisors occurs.



                                              Generally you can turn into equivalents and get the values. All equivalents that are 1 mod 3 have multiplicative inverse on division by 3 because 13 is 1 mod 3, so the difference is 0 mod 3 by mod addition rules. There aren't always equivalents that work mod composites.






                                              share|cite|improve this answer











                                              $endgroup$

















                                                0












                                                $begingroup$

                                                $$-12to -6to 10to -8to -4 to -2to 12to 6to -10to 8to 4to 2tocdots$$ is the looping structure you want here. All I did was turn odd elements into even equivalents. note how 0 never appears. That's because it's its own multiplicative inverse mod anything, except when division by 0 or zero divisors occurs.



                                                Generally you can turn into equivalents and get the values. All equivalents that are 1 mod 3 have multiplicative inverse on division by 3 because 13 is 1 mod 3, so the difference is 0 mod 3 by mod addition rules. There aren't always equivalents that work mod composites.






                                                share|cite|improve this answer











                                                $endgroup$















                                                  0












                                                  0








                                                  0





                                                  $begingroup$

                                                  $$-12to -6to 10to -8to -4 to -2to 12to 6to -10to 8to 4to 2tocdots$$ is the looping structure you want here. All I did was turn odd elements into even equivalents. note how 0 never appears. That's because it's its own multiplicative inverse mod anything, except when division by 0 or zero divisors occurs.



                                                  Generally you can turn into equivalents and get the values. All equivalents that are 1 mod 3 have multiplicative inverse on division by 3 because 13 is 1 mod 3, so the difference is 0 mod 3 by mod addition rules. There aren't always equivalents that work mod composites.






                                                  share|cite|improve this answer











                                                  $endgroup$



                                                  $$-12to -6to 10to -8to -4 to -2to 12to 6to -10to 8to 4to 2tocdots$$ is the looping structure you want here. All I did was turn odd elements into even equivalents. note how 0 never appears. That's because it's its own multiplicative inverse mod anything, except when division by 0 or zero divisors occurs.



                                                  Generally you can turn into equivalents and get the values. All equivalents that are 1 mod 3 have multiplicative inverse on division by 3 because 13 is 1 mod 3, so the difference is 0 mod 3 by mod addition rules. There aren't always equivalents that work mod composites.







                                                  share|cite|improve this answer














                                                  share|cite|improve this answer



                                                  share|cite|improve this answer








                                                  edited 6 hours ago

























                                                  answered 7 hours ago









                                                  Roddy MacPheeRoddy MacPhee

                                                  4322 gold badges2 silver badges25 bronze badges




                                                  4322 gold badges2 silver badges25 bronze badges





















                                                      0












                                                      $begingroup$

                                                      What you seek is generally impossible. Suppose that $,b,$ is invertible $!bmod n,,$ i.e. $,gcd(b,n)=1,$ and let's calculate the fraction $,a/b := ab^-1pmod! n,,$ where $, 0 < a,b < n$.



                                                      By division $,a = q,b+r $ thus $bmod n!:, a/bequiv ab^-1 equiv (qb+r)b^-1equiv q + color#c00rb^-1$



                                                      When $,r = 0,$ we get $!bmod n!: (qb)/bequiv q,,$ same as in $Bbb R,,$ when $,a/binBbb Z,$ is an exact quotient.



                                                      Else $,color#0a00<r<b,$ and you want $,color#c00rb^-1equiv 0, rm or, 1, Longrightarrow, color#0a0requiv 0, rm or, b,,$ contradiction.



                                                      Note $ $ It can be true for fractions with $,a,b > n,$ if they reduce to exact quotients $(r= 0),,$ e.g.



                                                      $$bmod 13!: dfrac1327equiv dfrac01 = leftlfloor dfrac1327rightrfloor, dfrac1427equiv dfrac11 = leftlceil dfrac1427 rightrceilqquadqquadqquad $$






                                                      share|cite|improve this answer











                                                      $endgroup$

















                                                        0












                                                        $begingroup$

                                                        What you seek is generally impossible. Suppose that $,b,$ is invertible $!bmod n,,$ i.e. $,gcd(b,n)=1,$ and let's calculate the fraction $,a/b := ab^-1pmod! n,,$ where $, 0 < a,b < n$.



                                                        By division $,a = q,b+r $ thus $bmod n!:, a/bequiv ab^-1 equiv (qb+r)b^-1equiv q + color#c00rb^-1$



                                                        When $,r = 0,$ we get $!bmod n!: (qb)/bequiv q,,$ same as in $Bbb R,,$ when $,a/binBbb Z,$ is an exact quotient.



                                                        Else $,color#0a00<r<b,$ and you want $,color#c00rb^-1equiv 0, rm or, 1, Longrightarrow, color#0a0requiv 0, rm or, b,,$ contradiction.



                                                        Note $ $ It can be true for fractions with $,a,b > n,$ if they reduce to exact quotients $(r= 0),,$ e.g.



                                                        $$bmod 13!: dfrac1327equiv dfrac01 = leftlfloor dfrac1327rightrfloor, dfrac1427equiv dfrac11 = leftlceil dfrac1427 rightrceilqquadqquadqquad $$






                                                        share|cite|improve this answer











                                                        $endgroup$















                                                          0












                                                          0








                                                          0





                                                          $begingroup$

                                                          What you seek is generally impossible. Suppose that $,b,$ is invertible $!bmod n,,$ i.e. $,gcd(b,n)=1,$ and let's calculate the fraction $,a/b := ab^-1pmod! n,,$ where $, 0 < a,b < n$.



                                                          By division $,a = q,b+r $ thus $bmod n!:, a/bequiv ab^-1 equiv (qb+r)b^-1equiv q + color#c00rb^-1$



                                                          When $,r = 0,$ we get $!bmod n!: (qb)/bequiv q,,$ same as in $Bbb R,,$ when $,a/binBbb Z,$ is an exact quotient.



                                                          Else $,color#0a00<r<b,$ and you want $,color#c00rb^-1equiv 0, rm or, 1, Longrightarrow, color#0a0requiv 0, rm or, b,,$ contradiction.



                                                          Note $ $ It can be true for fractions with $,a,b > n,$ if they reduce to exact quotients $(r= 0),,$ e.g.



                                                          $$bmod 13!: dfrac1327equiv dfrac01 = leftlfloor dfrac1327rightrfloor, dfrac1427equiv dfrac11 = leftlceil dfrac1427 rightrceilqquadqquadqquad $$






                                                          share|cite|improve this answer











                                                          $endgroup$



                                                          What you seek is generally impossible. Suppose that $,b,$ is invertible $!bmod n,,$ i.e. $,gcd(b,n)=1,$ and let's calculate the fraction $,a/b := ab^-1pmod! n,,$ where $, 0 < a,b < n$.



                                                          By division $,a = q,b+r $ thus $bmod n!:, a/bequiv ab^-1 equiv (qb+r)b^-1equiv q + color#c00rb^-1$



                                                          When $,r = 0,$ we get $!bmod n!: (qb)/bequiv q,,$ same as in $Bbb R,,$ when $,a/binBbb Z,$ is an exact quotient.



                                                          Else $,color#0a00<r<b,$ and you want $,color#c00rb^-1equiv 0, rm or, 1, Longrightarrow, color#0a0requiv 0, rm or, b,,$ contradiction.



                                                          Note $ $ It can be true for fractions with $,a,b > n,$ if they reduce to exact quotients $(r= 0),,$ e.g.



                                                          $$bmod 13!: dfrac1327equiv dfrac01 = leftlfloor dfrac1327rightrfloor, dfrac1427equiv dfrac11 = leftlceil dfrac1427 rightrceilqquadqquadqquad $$







                                                          share|cite|improve this answer














                                                          share|cite|improve this answer



                                                          share|cite|improve this answer








                                                          edited 5 hours ago

























                                                          answered 7 hours ago









                                                          Bill DubuqueBill Dubuque

                                                          219k30 gold badges209 silver badges672 bronze badges




                                                          219k30 gold badges209 silver badges672 bronze badges



























                                                              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%2f3292833%2fhow-can-we-better-understand-multiplicative-inverse-modulo-something%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

                                                              Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                                              Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                                              François Viète Contents Biography Work and thought Bibliography See also Notes Further reading External links Navigation menup. 21Google Bookspp. 75–77Google BooksDe thou (from University of Saint Andrews)ArchivedGoogle BooksGoogle BooksGoogle BooksGoogle booksGoogle Bookscc-parthenay.frL'histoire universelle (fr)Universal History (en)ArchivedAdsabs.harvard.eduPagesperso-orange.frArchive.orgChikara Sasaki. Descartes' mathematical thought p.259Google BooksGoogle BooksGoogle Bookspp. 152 and onwardGoogle BooksGoogle BooksScribd.comGoogle Books1257-7979Google BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGallica.bnf.frGoogle BooksGoogle Books"François Viète"Francois Viète: Father of Modern Algebraic NotationThe Lawyer and the GamblerAbout TarporleySite de Jean-Paul GuichardL'algèbre nouvelle"About the Harmonicon"cb120511976(data)1188044800000 0001 0913 5903n82164680ola2013766880073431702w6vt1sb70287374827140948071409480