Find $alpha in mathbb{R}$ s.t. the second derivative ($x=0$) of a function exists.












0












$begingroup$


Find $alpha in mathbb{R}$ s.t. the second derivative ($x=0$) of the following function exists.



$f(x) =
begin{cases}
e^{-frac{1}{x}}, & text{if $x$}gt 0 \[2ex]
sin(x)+alpha x^2-log(1+x), & text{if $x$ } leq0
end{cases}$



How to deal with this kind of exercise? Is it enough to use Taylor at second order and then looking for the differentiability of the function?










share|cite|improve this question









$endgroup$












  • $begingroup$
    $e^{-1/x} $ doesn't have a Taylor series centered at $0$.
    $endgroup$
    – Acccumulation
    Jan 14 at 22:31


















0












$begingroup$


Find $alpha in mathbb{R}$ s.t. the second derivative ($x=0$) of the following function exists.



$f(x) =
begin{cases}
e^{-frac{1}{x}}, & text{if $x$}gt 0 \[2ex]
sin(x)+alpha x^2-log(1+x), & text{if $x$ } leq0
end{cases}$



How to deal with this kind of exercise? Is it enough to use Taylor at second order and then looking for the differentiability of the function?










share|cite|improve this question









$endgroup$












  • $begingroup$
    $e^{-1/x} $ doesn't have a Taylor series centered at $0$.
    $endgroup$
    – Acccumulation
    Jan 14 at 22:31
















0












0








0





$begingroup$


Find $alpha in mathbb{R}$ s.t. the second derivative ($x=0$) of the following function exists.



$f(x) =
begin{cases}
e^{-frac{1}{x}}, & text{if $x$}gt 0 \[2ex]
sin(x)+alpha x^2-log(1+x), & text{if $x$ } leq0
end{cases}$



How to deal with this kind of exercise? Is it enough to use Taylor at second order and then looking for the differentiability of the function?










share|cite|improve this question









$endgroup$




Find $alpha in mathbb{R}$ s.t. the second derivative ($x=0$) of the following function exists.



$f(x) =
begin{cases}
e^{-frac{1}{x}}, & text{if $x$}gt 0 \[2ex]
sin(x)+alpha x^2-log(1+x), & text{if $x$ } leq0
end{cases}$



How to deal with this kind of exercise? Is it enough to use Taylor at second order and then looking for the differentiability of the function?







real-analysis derivatives






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 14 at 22:04









ArcticmonkeyArcticmonkey

13911




13911












  • $begingroup$
    $e^{-1/x} $ doesn't have a Taylor series centered at $0$.
    $endgroup$
    – Acccumulation
    Jan 14 at 22:31




















  • $begingroup$
    $e^{-1/x} $ doesn't have a Taylor series centered at $0$.
    $endgroup$
    – Acccumulation
    Jan 14 at 22:31


















$begingroup$
$e^{-1/x} $ doesn't have a Taylor series centered at $0$.
$endgroup$
– Acccumulation
Jan 14 at 22:31






$begingroup$
$e^{-1/x} $ doesn't have a Taylor series centered at $0$.
$endgroup$
– Acccumulation
Jan 14 at 22:31












3 Answers
3






active

oldest

votes


















0












$begingroup$

Taylor at second order means that you have already calculated the second derivative. Just calculate the second derivative on the left and on the right, and make them equal. $$left(e^{-frac 1x}right)''=-frac{2x-1}{x^4}e^{-frac 1x}$$
This term goes to $0$ as $xto 0$.
For the other side the second derivative is $$-sin x+2alpha+frac{1}{(x+1)^2}$$
The limit at $0$ is $2alpha+1$. So $2alpha+1=0$ should give you the answer.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    The function is continuous at $0$, by checking the limits.



    The derivative is
    $$
    f'(x)=begin{cases}
    dfrac{e^{-1/x}}{x^2} & x>0 \[4px]
    cos x+2alpha x-dfrac{1}{1+x} & x<0
    end{cases}
    $$

    Since the limits of $f'$ for $xto0$ from the left and from the right are both equal to $0$, we can say that the function is differentiable at $0$ and that the derivative is continuous. It follows from l'Hôpital's theorem.



    Now apply the same technique, with the difference that
    $$
    lim_{xto0^+}f'(x)=0
    $$

    (check it) and
    $$
    lim_{xto0^-}f'(x)=lim_{xto0^-}left(-sin x+2alpha+frac{1}{(1+x)^2}right)=2alpha+1
    $$



    A sufficient condition for differentiability of $f'$ at $0$ is $alpha=-1/2$. Is it also necessary? Note that l'Hôpital can be used only one way.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      Hint




      A function whose right and left derivatives are given in a point, is
      differentiable at that point if those right and left derivatives are
      equal.




      Based on this, try to differentiate the function twice, each time checking for which values of $a$ are the right and left derivatives in $x=0$ equal.






      share|cite|improve this answer









      $endgroup$













        Your Answer





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

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

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

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3073809%2ffind-alpha-in-mathbbr-s-t-the-second-derivative-x-0-of-a-function-ex%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












        $begingroup$

        Taylor at second order means that you have already calculated the second derivative. Just calculate the second derivative on the left and on the right, and make them equal. $$left(e^{-frac 1x}right)''=-frac{2x-1}{x^4}e^{-frac 1x}$$
        This term goes to $0$ as $xto 0$.
        For the other side the second derivative is $$-sin x+2alpha+frac{1}{(x+1)^2}$$
        The limit at $0$ is $2alpha+1$. So $2alpha+1=0$ should give you the answer.






        share|cite|improve this answer









        $endgroup$


















          0












          $begingroup$

          Taylor at second order means that you have already calculated the second derivative. Just calculate the second derivative on the left and on the right, and make them equal. $$left(e^{-frac 1x}right)''=-frac{2x-1}{x^4}e^{-frac 1x}$$
          This term goes to $0$ as $xto 0$.
          For the other side the second derivative is $$-sin x+2alpha+frac{1}{(x+1)^2}$$
          The limit at $0$ is $2alpha+1$. So $2alpha+1=0$ should give you the answer.






          share|cite|improve this answer









          $endgroup$
















            0












            0








            0





            $begingroup$

            Taylor at second order means that you have already calculated the second derivative. Just calculate the second derivative on the left and on the right, and make them equal. $$left(e^{-frac 1x}right)''=-frac{2x-1}{x^4}e^{-frac 1x}$$
            This term goes to $0$ as $xto 0$.
            For the other side the second derivative is $$-sin x+2alpha+frac{1}{(x+1)^2}$$
            The limit at $0$ is $2alpha+1$. So $2alpha+1=0$ should give you the answer.






            share|cite|improve this answer









            $endgroup$



            Taylor at second order means that you have already calculated the second derivative. Just calculate the second derivative on the left and on the right, and make them equal. $$left(e^{-frac 1x}right)''=-frac{2x-1}{x^4}e^{-frac 1x}$$
            This term goes to $0$ as $xto 0$.
            For the other side the second derivative is $$-sin x+2alpha+frac{1}{(x+1)^2}$$
            The limit at $0$ is $2alpha+1$. So $2alpha+1=0$ should give you the answer.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 14 at 22:22









            AndreiAndrei

            12.1k21126




            12.1k21126























                0












                $begingroup$

                The function is continuous at $0$, by checking the limits.



                The derivative is
                $$
                f'(x)=begin{cases}
                dfrac{e^{-1/x}}{x^2} & x>0 \[4px]
                cos x+2alpha x-dfrac{1}{1+x} & x<0
                end{cases}
                $$

                Since the limits of $f'$ for $xto0$ from the left and from the right are both equal to $0$, we can say that the function is differentiable at $0$ and that the derivative is continuous. It follows from l'Hôpital's theorem.



                Now apply the same technique, with the difference that
                $$
                lim_{xto0^+}f'(x)=0
                $$

                (check it) and
                $$
                lim_{xto0^-}f'(x)=lim_{xto0^-}left(-sin x+2alpha+frac{1}{(1+x)^2}right)=2alpha+1
                $$



                A sufficient condition for differentiability of $f'$ at $0$ is $alpha=-1/2$. Is it also necessary? Note that l'Hôpital can be used only one way.






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  The function is continuous at $0$, by checking the limits.



                  The derivative is
                  $$
                  f'(x)=begin{cases}
                  dfrac{e^{-1/x}}{x^2} & x>0 \[4px]
                  cos x+2alpha x-dfrac{1}{1+x} & x<0
                  end{cases}
                  $$

                  Since the limits of $f'$ for $xto0$ from the left and from the right are both equal to $0$, we can say that the function is differentiable at $0$ and that the derivative is continuous. It follows from l'Hôpital's theorem.



                  Now apply the same technique, with the difference that
                  $$
                  lim_{xto0^+}f'(x)=0
                  $$

                  (check it) and
                  $$
                  lim_{xto0^-}f'(x)=lim_{xto0^-}left(-sin x+2alpha+frac{1}{(1+x)^2}right)=2alpha+1
                  $$



                  A sufficient condition for differentiability of $f'$ at $0$ is $alpha=-1/2$. Is it also necessary? Note that l'Hôpital can be used only one way.






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    The function is continuous at $0$, by checking the limits.



                    The derivative is
                    $$
                    f'(x)=begin{cases}
                    dfrac{e^{-1/x}}{x^2} & x>0 \[4px]
                    cos x+2alpha x-dfrac{1}{1+x} & x<0
                    end{cases}
                    $$

                    Since the limits of $f'$ for $xto0$ from the left and from the right are both equal to $0$, we can say that the function is differentiable at $0$ and that the derivative is continuous. It follows from l'Hôpital's theorem.



                    Now apply the same technique, with the difference that
                    $$
                    lim_{xto0^+}f'(x)=0
                    $$

                    (check it) and
                    $$
                    lim_{xto0^-}f'(x)=lim_{xto0^-}left(-sin x+2alpha+frac{1}{(1+x)^2}right)=2alpha+1
                    $$



                    A sufficient condition for differentiability of $f'$ at $0$ is $alpha=-1/2$. Is it also necessary? Note that l'Hôpital can be used only one way.






                    share|cite|improve this answer









                    $endgroup$



                    The function is continuous at $0$, by checking the limits.



                    The derivative is
                    $$
                    f'(x)=begin{cases}
                    dfrac{e^{-1/x}}{x^2} & x>0 \[4px]
                    cos x+2alpha x-dfrac{1}{1+x} & x<0
                    end{cases}
                    $$

                    Since the limits of $f'$ for $xto0$ from the left and from the right are both equal to $0$, we can say that the function is differentiable at $0$ and that the derivative is continuous. It follows from l'Hôpital's theorem.



                    Now apply the same technique, with the difference that
                    $$
                    lim_{xto0^+}f'(x)=0
                    $$

                    (check it) and
                    $$
                    lim_{xto0^-}f'(x)=lim_{xto0^-}left(-sin x+2alpha+frac{1}{(1+x)^2}right)=2alpha+1
                    $$



                    A sufficient condition for differentiability of $f'$ at $0$ is $alpha=-1/2$. Is it also necessary? Note that l'Hôpital can be used only one way.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 14 at 22:37









                    egregegreg

                    182k1485204




                    182k1485204























                        0












                        $begingroup$

                        Hint




                        A function whose right and left derivatives are given in a point, is
                        differentiable at that point if those right and left derivatives are
                        equal.




                        Based on this, try to differentiate the function twice, each time checking for which values of $a$ are the right and left derivatives in $x=0$ equal.






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          Hint




                          A function whose right and left derivatives are given in a point, is
                          differentiable at that point if those right and left derivatives are
                          equal.




                          Based on this, try to differentiate the function twice, each time checking for which values of $a$ are the right and left derivatives in $x=0$ equal.






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            Hint




                            A function whose right and left derivatives are given in a point, is
                            differentiable at that point if those right and left derivatives are
                            equal.




                            Based on this, try to differentiate the function twice, each time checking for which values of $a$ are the right and left derivatives in $x=0$ equal.






                            share|cite|improve this answer









                            $endgroup$



                            Hint




                            A function whose right and left derivatives are given in a point, is
                            differentiable at that point if those right and left derivatives are
                            equal.




                            Based on this, try to differentiate the function twice, each time checking for which values of $a$ are the right and left derivatives in $x=0$ equal.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 14 at 23:04









                            Mostafa AyazMostafa Ayaz

                            15.6k3939




                            15.6k3939






























                                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%2f3073809%2ffind-alpha-in-mathbbr-s-t-the-second-derivative-x-0-of-a-function-ex%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

                                MongoDB - Not Authorized To Execute Command

                                Npm cannot find a required file even through it is in the searched directory

                                in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith