How can we draw $x cos left(frac1xright)$ , $frac1x cos left(frac1xright) $ , $frac1x cos (x)$?

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











up vote
0
down vote

favorite












How can we draw $x cos left(frac1xright)$ , $frac1x cos left(frac1xright) $ , $frac1x cos (x)$?



I want to draw them on my own. I am not much interested in the picture. I want to learn to draw them.
Can anyone please help me?







share|cite|improve this question


















  • 1




    Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
    – Omnomnomnom
    Aug 22 at 2:45















up vote
0
down vote

favorite












How can we draw $x cos left(frac1xright)$ , $frac1x cos left(frac1xright) $ , $frac1x cos (x)$?



I want to draw them on my own. I am not much interested in the picture. I want to learn to draw them.
Can anyone please help me?







share|cite|improve this question


















  • 1




    Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
    – Omnomnomnom
    Aug 22 at 2:45













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How can we draw $x cos left(frac1xright)$ , $frac1x cos left(frac1xright) $ , $frac1x cos (x)$?



I want to draw them on my own. I am not much interested in the picture. I want to learn to draw them.
Can anyone please help me?







share|cite|improve this question














How can we draw $x cos left(frac1xright)$ , $frac1x cos left(frac1xright) $ , $frac1x cos (x)$?



I want to draw them on my own. I am not much interested in the picture. I want to learn to draw them.
Can anyone please help me?









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 22 at 10:10









Daniel Buck

2,5151625




2,5151625










asked Aug 22 at 2:41









cmi

783110




783110







  • 1




    Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
    – Omnomnomnom
    Aug 22 at 2:45













  • 1




    Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
    – Omnomnomnom
    Aug 22 at 2:45








1




1




Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
– Omnomnomnom
Aug 22 at 2:45





Do you mean that you'd like to draw the graph of $y = x cos(1/x)$ (and so on)? If so, then there are plenty of free online graphing resources. For instance, here is a graph of $y = x cos(1/x)$, made on Desmos.
– Omnomnomnom
Aug 22 at 2:45











1 Answer
1






active

oldest

votes

















up vote
3
down vote













You will never be as good as a computer at sketching function graphs. However, one handy technique for at least getting a handle on what certain parts of the graphs look like is looking at limiting cases and zeros.



For instance, let's take $xcos(1/x)$ since that's the one Omnomnomnom had a computer sketch for you. We can see that as $x$ gets large $1/x$ goes to zero, so $cos(1/x)to cos(0)=1.$ This means we expect the graph to be asymptotic to the line $y=x$ for large $x.$ Also, we can see plugging in $-x$ that the function is odd, so it will be antisymmetric about the y axis. (Thus when $xto -infty$ it is asymptotic to $y=x$ as well).



Now we can think about the zeros. this function has a zero whenever $cos(1/x)$ has a zero, so whenever $$1/x = (n+1/2)pi$$ for some integer $n.$ This means the zeros are $$ x_n = frac1(n+1/2)pi = pmfrac2pi, pmfrac23pi,pmfrac25pi,ldots.$$ Notice that as $n$ gets large, these zeros get closer and closer to the origin. This tells us that as we approach the origin, the function crosses zero more and more rapidly.



Lastly we can look more closely at the origin. We know that as the cos function goes through a cycle, it oscillates between zero and one. So the oscillations of $xcos(1/x)$ are enveloped by the lines $y=pm x.$ Thus as we get closer to the origin, it is squeezed to zero.



(In fact I advise you to play around with the desmos app and draw $pm x$ as well. Here is a wolfram alpha version.)



Some other things to keep in mind: we know the function is continuous (functions that are too discontinuous are hard to visualize coherently anyway). Lastly we should look for any infinities or vertical asymptotes. The $1/x$ is suspicious at the origin, cause the expression is not defined there. But as we discussed in the previous paragraphs, near the origin the function oscillates rapidly as it's squeezed to zero there. So we know what it looks like there, and we see that it would be natural to define the function to be zero at the origin.






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%2f2890570%2fhow-can-we-draw-x-cos-left-frac1x-right-frac1x-cos-left-fra%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













    You will never be as good as a computer at sketching function graphs. However, one handy technique for at least getting a handle on what certain parts of the graphs look like is looking at limiting cases and zeros.



    For instance, let's take $xcos(1/x)$ since that's the one Omnomnomnom had a computer sketch for you. We can see that as $x$ gets large $1/x$ goes to zero, so $cos(1/x)to cos(0)=1.$ This means we expect the graph to be asymptotic to the line $y=x$ for large $x.$ Also, we can see plugging in $-x$ that the function is odd, so it will be antisymmetric about the y axis. (Thus when $xto -infty$ it is asymptotic to $y=x$ as well).



    Now we can think about the zeros. this function has a zero whenever $cos(1/x)$ has a zero, so whenever $$1/x = (n+1/2)pi$$ for some integer $n.$ This means the zeros are $$ x_n = frac1(n+1/2)pi = pmfrac2pi, pmfrac23pi,pmfrac25pi,ldots.$$ Notice that as $n$ gets large, these zeros get closer and closer to the origin. This tells us that as we approach the origin, the function crosses zero more and more rapidly.



    Lastly we can look more closely at the origin. We know that as the cos function goes through a cycle, it oscillates between zero and one. So the oscillations of $xcos(1/x)$ are enveloped by the lines $y=pm x.$ Thus as we get closer to the origin, it is squeezed to zero.



    (In fact I advise you to play around with the desmos app and draw $pm x$ as well. Here is a wolfram alpha version.)



    Some other things to keep in mind: we know the function is continuous (functions that are too discontinuous are hard to visualize coherently anyway). Lastly we should look for any infinities or vertical asymptotes. The $1/x$ is suspicious at the origin, cause the expression is not defined there. But as we discussed in the previous paragraphs, near the origin the function oscillates rapidly as it's squeezed to zero there. So we know what it looks like there, and we see that it would be natural to define the function to be zero at the origin.






    share|cite|improve this answer
























      up vote
      3
      down vote













      You will never be as good as a computer at sketching function graphs. However, one handy technique for at least getting a handle on what certain parts of the graphs look like is looking at limiting cases and zeros.



      For instance, let's take $xcos(1/x)$ since that's the one Omnomnomnom had a computer sketch for you. We can see that as $x$ gets large $1/x$ goes to zero, so $cos(1/x)to cos(0)=1.$ This means we expect the graph to be asymptotic to the line $y=x$ for large $x.$ Also, we can see plugging in $-x$ that the function is odd, so it will be antisymmetric about the y axis. (Thus when $xto -infty$ it is asymptotic to $y=x$ as well).



      Now we can think about the zeros. this function has a zero whenever $cos(1/x)$ has a zero, so whenever $$1/x = (n+1/2)pi$$ for some integer $n.$ This means the zeros are $$ x_n = frac1(n+1/2)pi = pmfrac2pi, pmfrac23pi,pmfrac25pi,ldots.$$ Notice that as $n$ gets large, these zeros get closer and closer to the origin. This tells us that as we approach the origin, the function crosses zero more and more rapidly.



      Lastly we can look more closely at the origin. We know that as the cos function goes through a cycle, it oscillates between zero and one. So the oscillations of $xcos(1/x)$ are enveloped by the lines $y=pm x.$ Thus as we get closer to the origin, it is squeezed to zero.



      (In fact I advise you to play around with the desmos app and draw $pm x$ as well. Here is a wolfram alpha version.)



      Some other things to keep in mind: we know the function is continuous (functions that are too discontinuous are hard to visualize coherently anyway). Lastly we should look for any infinities or vertical asymptotes. The $1/x$ is suspicious at the origin, cause the expression is not defined there. But as we discussed in the previous paragraphs, near the origin the function oscillates rapidly as it's squeezed to zero there. So we know what it looks like there, and we see that it would be natural to define the function to be zero at the origin.






      share|cite|improve this answer






















        up vote
        3
        down vote










        up vote
        3
        down vote









        You will never be as good as a computer at sketching function graphs. However, one handy technique for at least getting a handle on what certain parts of the graphs look like is looking at limiting cases and zeros.



        For instance, let's take $xcos(1/x)$ since that's the one Omnomnomnom had a computer sketch for you. We can see that as $x$ gets large $1/x$ goes to zero, so $cos(1/x)to cos(0)=1.$ This means we expect the graph to be asymptotic to the line $y=x$ for large $x.$ Also, we can see plugging in $-x$ that the function is odd, so it will be antisymmetric about the y axis. (Thus when $xto -infty$ it is asymptotic to $y=x$ as well).



        Now we can think about the zeros. this function has a zero whenever $cos(1/x)$ has a zero, so whenever $$1/x = (n+1/2)pi$$ for some integer $n.$ This means the zeros are $$ x_n = frac1(n+1/2)pi = pmfrac2pi, pmfrac23pi,pmfrac25pi,ldots.$$ Notice that as $n$ gets large, these zeros get closer and closer to the origin. This tells us that as we approach the origin, the function crosses zero more and more rapidly.



        Lastly we can look more closely at the origin. We know that as the cos function goes through a cycle, it oscillates between zero and one. So the oscillations of $xcos(1/x)$ are enveloped by the lines $y=pm x.$ Thus as we get closer to the origin, it is squeezed to zero.



        (In fact I advise you to play around with the desmos app and draw $pm x$ as well. Here is a wolfram alpha version.)



        Some other things to keep in mind: we know the function is continuous (functions that are too discontinuous are hard to visualize coherently anyway). Lastly we should look for any infinities or vertical asymptotes. The $1/x$ is suspicious at the origin, cause the expression is not defined there. But as we discussed in the previous paragraphs, near the origin the function oscillates rapidly as it's squeezed to zero there. So we know what it looks like there, and we see that it would be natural to define the function to be zero at the origin.






        share|cite|improve this answer












        You will never be as good as a computer at sketching function graphs. However, one handy technique for at least getting a handle on what certain parts of the graphs look like is looking at limiting cases and zeros.



        For instance, let's take $xcos(1/x)$ since that's the one Omnomnomnom had a computer sketch for you. We can see that as $x$ gets large $1/x$ goes to zero, so $cos(1/x)to cos(0)=1.$ This means we expect the graph to be asymptotic to the line $y=x$ for large $x.$ Also, we can see plugging in $-x$ that the function is odd, so it will be antisymmetric about the y axis. (Thus when $xto -infty$ it is asymptotic to $y=x$ as well).



        Now we can think about the zeros. this function has a zero whenever $cos(1/x)$ has a zero, so whenever $$1/x = (n+1/2)pi$$ for some integer $n.$ This means the zeros are $$ x_n = frac1(n+1/2)pi = pmfrac2pi, pmfrac23pi,pmfrac25pi,ldots.$$ Notice that as $n$ gets large, these zeros get closer and closer to the origin. This tells us that as we approach the origin, the function crosses zero more and more rapidly.



        Lastly we can look more closely at the origin. We know that as the cos function goes through a cycle, it oscillates between zero and one. So the oscillations of $xcos(1/x)$ are enveloped by the lines $y=pm x.$ Thus as we get closer to the origin, it is squeezed to zero.



        (In fact I advise you to play around with the desmos app and draw $pm x$ as well. Here is a wolfram alpha version.)



        Some other things to keep in mind: we know the function is continuous (functions that are too discontinuous are hard to visualize coherently anyway). Lastly we should look for any infinities or vertical asymptotes. The $1/x$ is suspicious at the origin, cause the expression is not defined there. But as we discussed in the previous paragraphs, near the origin the function oscillates rapidly as it's squeezed to zero there. So we know what it looks like there, and we see that it would be natural to define the function to be zero at the origin.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Aug 22 at 3:18









        spaceisdarkgreen

        28.4k21548




        28.4k21548






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890570%2fhow-can-we-draw-x-cos-left-frac1x-right-frac1x-cos-left-fra%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Mutual Information Always Non-negative

            Why am i infinitely getting the same tweet with the Twitter Search API?