Is it possible to graph $f(x) = (-2)^x$?

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











up vote
0
down vote

favorite












I can plot points on the coordinate plane only when my x value is integer. What's happening on the graph when x is fraction? My calculator breaks raising a negative number to a fractional exponent.



This website can't graph the function either: https://www.desmos.com/calculator/xucwdp4dz3



Can we graph that function somehow?







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    I can plot points on the coordinate plane only when my x value is integer. What's happening on the graph when x is fraction? My calculator breaks raising a negative number to a fractional exponent.



    This website can't graph the function either: https://www.desmos.com/calculator/xucwdp4dz3



    Can we graph that function somehow?







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I can plot points on the coordinate plane only when my x value is integer. What's happening on the graph when x is fraction? My calculator breaks raising a negative number to a fractional exponent.



      This website can't graph the function either: https://www.desmos.com/calculator/xucwdp4dz3



      Can we graph that function somehow?







      share|cite|improve this question











      I can plot points on the coordinate plane only when my x value is integer. What's happening on the graph when x is fraction? My calculator breaks raising a negative number to a fractional exponent.



      This website can't graph the function either: https://www.desmos.com/calculator/xucwdp4dz3



      Can we graph that function somehow?









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked 2 days ago









      Vitalii Paprotskyi

      636




      636




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          That function is not defined in a lot of points on the real axis. For example, if you take $x=frac12$ then $(-2)^x=(-1)^x*2^x=sqrt-1*sqrt2$, so you are taking a square root of a negative number here and hence the function is not defined at $x=frac12$. So to do something with this function you need to work in the complex plane, and even then there will be some problems.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871997%2fis-it-possible-to-graph-fx-2x%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            That function is not defined in a lot of points on the real axis. For example, if you take $x=frac12$ then $(-2)^x=(-1)^x*2^x=sqrt-1*sqrt2$, so you are taking a square root of a negative number here and hence the function is not defined at $x=frac12$. So to do something with this function you need to work in the complex plane, and even then there will be some problems.






            share|cite|improve this answer

























              up vote
              3
              down vote



              accepted










              That function is not defined in a lot of points on the real axis. For example, if you take $x=frac12$ then $(-2)^x=(-1)^x*2^x=sqrt-1*sqrt2$, so you are taking a square root of a negative number here and hence the function is not defined at $x=frac12$. So to do something with this function you need to work in the complex plane, and even then there will be some problems.






              share|cite|improve this answer























                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                That function is not defined in a lot of points on the real axis. For example, if you take $x=frac12$ then $(-2)^x=(-1)^x*2^x=sqrt-1*sqrt2$, so you are taking a square root of a negative number here and hence the function is not defined at $x=frac12$. So to do something with this function you need to work in the complex plane, and even then there will be some problems.






                share|cite|improve this answer













                That function is not defined in a lot of points on the real axis. For example, if you take $x=frac12$ then $(-2)^x=(-1)^x*2^x=sqrt-1*sqrt2$, so you are taking a square root of a negative number here and hence the function is not defined at $x=frac12$. So to do something with this function you need to work in the complex plane, and even then there will be some problems.







                share|cite|improve this answer













                share|cite|improve this answer



                share|cite|improve this answer











                answered 2 days ago









                Mark

                5849




                5849






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871997%2fis-it-possible-to-graph-fx-2x%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

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

                    Relationship between determinant of matrix and determinant of adjoint?

                    Color the edges and diagonals of a regular polygon