In the ring $mathbb Z_5$ (class of modulo 5) compute $[3]^{-4}$.












0














$[3]$ means $x equiv 3mod(5)$. I know how to compute $[3]^{4}$ that is positive powers but I have not been in a situation where I need to take something modulo(n) to a negative power.
the book says $[3]^{-1}=[2]$ but why is this? what are the steps I need to take to find this?










share|cite|improve this question
























  • Can you calculate $;3^4pmod5;$? Then take the inverse of that...
    – DonAntonio
    Nov 19 at 23:23
















0














$[3]$ means $x equiv 3mod(5)$. I know how to compute $[3]^{4}$ that is positive powers but I have not been in a situation where I need to take something modulo(n) to a negative power.
the book says $[3]^{-1}=[2]$ but why is this? what are the steps I need to take to find this?










share|cite|improve this question
























  • Can you calculate $;3^4pmod5;$? Then take the inverse of that...
    – DonAntonio
    Nov 19 at 23:23














0












0








0







$[3]$ means $x equiv 3mod(5)$. I know how to compute $[3]^{4}$ that is positive powers but I have not been in a situation where I need to take something modulo(n) to a negative power.
the book says $[3]^{-1}=[2]$ but why is this? what are the steps I need to take to find this?










share|cite|improve this question















$[3]$ means $x equiv 3mod(5)$. I know how to compute $[3]^{4}$ that is positive powers but I have not been in a situation where I need to take something modulo(n) to a negative power.
the book says $[3]^{-1}=[2]$ but why is this? what are the steps I need to take to find this?







abstract-algebra ring-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 20 at 0:18









amWhy

191k28224439




191k28224439










asked Nov 19 at 23:22









Collin Roberts

32




32












  • Can you calculate $;3^4pmod5;$? Then take the inverse of that...
    – DonAntonio
    Nov 19 at 23:23


















  • Can you calculate $;3^4pmod5;$? Then take the inverse of that...
    – DonAntonio
    Nov 19 at 23:23
















Can you calculate $;3^4pmod5;$? Then take the inverse of that...
– DonAntonio
Nov 19 at 23:23




Can you calculate $;3^4pmod5;$? Then take the inverse of that...
– DonAntonio
Nov 19 at 23:23










3 Answers
3






active

oldest

votes


















0














When doint arithmetic modulo $;p;$ , you get that $;x^{-1}=apmod piff xa=1pmod p;$ . In this case,



$$3^{-1}=2pmod 5;;text{since};;3cdot2=6=1pmod 5$$



You can do the same modulo any number $;p;$ ...under the condition, of course, that you have an invertible number. If the modulo is prime then any non-multiple of that prime is invertible.






share|cite|improve this answer





























    0














    By little Fermat $,3^{-4}equiv (3^{-1})^4equiv 1,$ by $,3^{-1}notequiv 0 $ (or brute-force: $ (3^{-1})^4!equiv 2^4equiv 1)$



    Alternatively use $ underbrace{3^{4}}_{largeequiv 1}, 3^{-4}equiv 1$






    share|cite|improve this answer































      0














      By definition $3^{-4}$ is the equivalence class $x$ where $xcdot3^4 equiv 1 pmod 5$ (if any).



      We could calculate that $3^4 =81equiv 1 pmod 5$ and to so $xcdot 3^4 equiv x cdot 1equiv x equiv 1 pmod 5$ gives us ... $x equiv 1 pmod 5$.



      So $3^{-4}equiv 1 pmod 5$



      But that'd pretty ineffectual and ignores many things we should have at our finger tips.



      If $p$ is prime $Z_p$ is a field but if not then $Z_p$ has some zero divisors.



      If $a^{-1}$ so that $a^{-1}cdot a equiv 1$ then $a^{-k} = (a^{-1})^k$ so we could attempt to find $3^{-1}$ by solve $3aequiv 1pmod 5$ via $3a equiv 6pmod 5$ so (as $3,5$ are relatively prime) then $3^{-1}= a equiv 2 pmod 5$ and $3^{-4}equiv (3^{-1})^4 equiv 2^4equiv 16equiv 1$.



      But most importantly, we were ignoring that $Z_5$ is a fields so $3^{-1}$ exists and we don't need to figure out what it is, it's enough to no it exists and that by Fermat's Little Theorem for all $a notequiv 0$ $a^4 equiv 1 pmod 5$ so we can figure either:



      $3^{-4}equiv 3^{4-4} equiv 3^0 equiv 1 pmod 5$ or



      $3^{-4}equiv (3^{-1})^4 equiv 1 pmod 5$.






      share|cite|improve this answer





















        Your Answer





        StackExchange.ifUsing("editor", function () {
        return StackExchange.using("mathjaxEditing", function () {
        StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
        StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
        });
        });
        }, "mathjax-editing");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "69"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        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%2f3005674%2fin-the-ring-mathbb-z-5-class-of-modulo-5-compute-3-4%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        When doint arithmetic modulo $;p;$ , you get that $;x^{-1}=apmod piff xa=1pmod p;$ . In this case,



        $$3^{-1}=2pmod 5;;text{since};;3cdot2=6=1pmod 5$$



        You can do the same modulo any number $;p;$ ...under the condition, of course, that you have an invertible number. If the modulo is prime then any non-multiple of that prime is invertible.






        share|cite|improve this answer


























          0














          When doint arithmetic modulo $;p;$ , you get that $;x^{-1}=apmod piff xa=1pmod p;$ . In this case,



          $$3^{-1}=2pmod 5;;text{since};;3cdot2=6=1pmod 5$$



          You can do the same modulo any number $;p;$ ...under the condition, of course, that you have an invertible number. If the modulo is prime then any non-multiple of that prime is invertible.






          share|cite|improve this answer
























            0












            0








            0






            When doint arithmetic modulo $;p;$ , you get that $;x^{-1}=apmod piff xa=1pmod p;$ . In this case,



            $$3^{-1}=2pmod 5;;text{since};;3cdot2=6=1pmod 5$$



            You can do the same modulo any number $;p;$ ...under the condition, of course, that you have an invertible number. If the modulo is prime then any non-multiple of that prime is invertible.






            share|cite|improve this answer












            When doint arithmetic modulo $;p;$ , you get that $;x^{-1}=apmod piff xa=1pmod p;$ . In this case,



            $$3^{-1}=2pmod 5;;text{since};;3cdot2=6=1pmod 5$$



            You can do the same modulo any number $;p;$ ...under the condition, of course, that you have an invertible number. If the modulo is prime then any non-multiple of that prime is invertible.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Nov 19 at 23:25









            DonAntonio

            176k1491225




            176k1491225























                0














                By little Fermat $,3^{-4}equiv (3^{-1})^4equiv 1,$ by $,3^{-1}notequiv 0 $ (or brute-force: $ (3^{-1})^4!equiv 2^4equiv 1)$



                Alternatively use $ underbrace{3^{4}}_{largeequiv 1}, 3^{-4}equiv 1$






                share|cite|improve this answer




























                  0














                  By little Fermat $,3^{-4}equiv (3^{-1})^4equiv 1,$ by $,3^{-1}notequiv 0 $ (or brute-force: $ (3^{-1})^4!equiv 2^4equiv 1)$



                  Alternatively use $ underbrace{3^{4}}_{largeequiv 1}, 3^{-4}equiv 1$






                  share|cite|improve this answer


























                    0












                    0








                    0






                    By little Fermat $,3^{-4}equiv (3^{-1})^4equiv 1,$ by $,3^{-1}notequiv 0 $ (or brute-force: $ (3^{-1})^4!equiv 2^4equiv 1)$



                    Alternatively use $ underbrace{3^{4}}_{largeequiv 1}, 3^{-4}equiv 1$






                    share|cite|improve this answer














                    By little Fermat $,3^{-4}equiv (3^{-1})^4equiv 1,$ by $,3^{-1}notequiv 0 $ (or brute-force: $ (3^{-1})^4!equiv 2^4equiv 1)$



                    Alternatively use $ underbrace{3^{4}}_{largeequiv 1}, 3^{-4}equiv 1$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Nov 20 at 0:21

























                    answered Nov 20 at 0:12









                    Bill Dubuque

                    208k29190627




                    208k29190627























                        0














                        By definition $3^{-4}$ is the equivalence class $x$ where $xcdot3^4 equiv 1 pmod 5$ (if any).



                        We could calculate that $3^4 =81equiv 1 pmod 5$ and to so $xcdot 3^4 equiv x cdot 1equiv x equiv 1 pmod 5$ gives us ... $x equiv 1 pmod 5$.



                        So $3^{-4}equiv 1 pmod 5$



                        But that'd pretty ineffectual and ignores many things we should have at our finger tips.



                        If $p$ is prime $Z_p$ is a field but if not then $Z_p$ has some zero divisors.



                        If $a^{-1}$ so that $a^{-1}cdot a equiv 1$ then $a^{-k} = (a^{-1})^k$ so we could attempt to find $3^{-1}$ by solve $3aequiv 1pmod 5$ via $3a equiv 6pmod 5$ so (as $3,5$ are relatively prime) then $3^{-1}= a equiv 2 pmod 5$ and $3^{-4}equiv (3^{-1})^4 equiv 2^4equiv 16equiv 1$.



                        But most importantly, we were ignoring that $Z_5$ is a fields so $3^{-1}$ exists and we don't need to figure out what it is, it's enough to no it exists and that by Fermat's Little Theorem for all $a notequiv 0$ $a^4 equiv 1 pmod 5$ so we can figure either:



                        $3^{-4}equiv 3^{4-4} equiv 3^0 equiv 1 pmod 5$ or



                        $3^{-4}equiv (3^{-1})^4 equiv 1 pmod 5$.






                        share|cite|improve this answer


























                          0














                          By definition $3^{-4}$ is the equivalence class $x$ where $xcdot3^4 equiv 1 pmod 5$ (if any).



                          We could calculate that $3^4 =81equiv 1 pmod 5$ and to so $xcdot 3^4 equiv x cdot 1equiv x equiv 1 pmod 5$ gives us ... $x equiv 1 pmod 5$.



                          So $3^{-4}equiv 1 pmod 5$



                          But that'd pretty ineffectual and ignores many things we should have at our finger tips.



                          If $p$ is prime $Z_p$ is a field but if not then $Z_p$ has some zero divisors.



                          If $a^{-1}$ so that $a^{-1}cdot a equiv 1$ then $a^{-k} = (a^{-1})^k$ so we could attempt to find $3^{-1}$ by solve $3aequiv 1pmod 5$ via $3a equiv 6pmod 5$ so (as $3,5$ are relatively prime) then $3^{-1}= a equiv 2 pmod 5$ and $3^{-4}equiv (3^{-1})^4 equiv 2^4equiv 16equiv 1$.



                          But most importantly, we were ignoring that $Z_5$ is a fields so $3^{-1}$ exists and we don't need to figure out what it is, it's enough to no it exists and that by Fermat's Little Theorem for all $a notequiv 0$ $a^4 equiv 1 pmod 5$ so we can figure either:



                          $3^{-4}equiv 3^{4-4} equiv 3^0 equiv 1 pmod 5$ or



                          $3^{-4}equiv (3^{-1})^4 equiv 1 pmod 5$.






                          share|cite|improve this answer
























                            0












                            0








                            0






                            By definition $3^{-4}$ is the equivalence class $x$ where $xcdot3^4 equiv 1 pmod 5$ (if any).



                            We could calculate that $3^4 =81equiv 1 pmod 5$ and to so $xcdot 3^4 equiv x cdot 1equiv x equiv 1 pmod 5$ gives us ... $x equiv 1 pmod 5$.



                            So $3^{-4}equiv 1 pmod 5$



                            But that'd pretty ineffectual and ignores many things we should have at our finger tips.



                            If $p$ is prime $Z_p$ is a field but if not then $Z_p$ has some zero divisors.



                            If $a^{-1}$ so that $a^{-1}cdot a equiv 1$ then $a^{-k} = (a^{-1})^k$ so we could attempt to find $3^{-1}$ by solve $3aequiv 1pmod 5$ via $3a equiv 6pmod 5$ so (as $3,5$ are relatively prime) then $3^{-1}= a equiv 2 pmod 5$ and $3^{-4}equiv (3^{-1})^4 equiv 2^4equiv 16equiv 1$.



                            But most importantly, we were ignoring that $Z_5$ is a fields so $3^{-1}$ exists and we don't need to figure out what it is, it's enough to no it exists and that by Fermat's Little Theorem for all $a notequiv 0$ $a^4 equiv 1 pmod 5$ so we can figure either:



                            $3^{-4}equiv 3^{4-4} equiv 3^0 equiv 1 pmod 5$ or



                            $3^{-4}equiv (3^{-1})^4 equiv 1 pmod 5$.






                            share|cite|improve this answer












                            By definition $3^{-4}$ is the equivalence class $x$ where $xcdot3^4 equiv 1 pmod 5$ (if any).



                            We could calculate that $3^4 =81equiv 1 pmod 5$ and to so $xcdot 3^4 equiv x cdot 1equiv x equiv 1 pmod 5$ gives us ... $x equiv 1 pmod 5$.



                            So $3^{-4}equiv 1 pmod 5$



                            But that'd pretty ineffectual and ignores many things we should have at our finger tips.



                            If $p$ is prime $Z_p$ is a field but if not then $Z_p$ has some zero divisors.



                            If $a^{-1}$ so that $a^{-1}cdot a equiv 1$ then $a^{-k} = (a^{-1})^k$ so we could attempt to find $3^{-1}$ by solve $3aequiv 1pmod 5$ via $3a equiv 6pmod 5$ so (as $3,5$ are relatively prime) then $3^{-1}= a equiv 2 pmod 5$ and $3^{-4}equiv (3^{-1})^4 equiv 2^4equiv 16equiv 1$.



                            But most importantly, we were ignoring that $Z_5$ is a fields so $3^{-1}$ exists and we don't need to figure out what it is, it's enough to no it exists and that by Fermat's Little Theorem for all $a notequiv 0$ $a^4 equiv 1 pmod 5$ so we can figure either:



                            $3^{-4}equiv 3^{4-4} equiv 3^0 equiv 1 pmod 5$ or



                            $3^{-4}equiv (3^{-1})^4 equiv 1 pmod 5$.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Nov 20 at 0:35









                            fleablood

                            68.1k22684




                            68.1k22684






























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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.


                                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%2f3005674%2fin-the-ring-mathbb-z-5-class-of-modulo-5-compute-3-4%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

                                mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                                How to change which sound is reproduced for terminal bell?

                                Can I use Tabulator js library in my java Spring + Thymeleaf project?