Differentiable function with no second derivative at $0$?












0














What is an example of a function that is differentiable, concave up everywhere, and $f''(0)$ does not exist?










share|cite|improve this question




















  • 3




    $f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
    – Michael Hoppe
    Dec 6 at 16:57










  • @Eric Maybe only integral of absolute value?
    – Юрій Ярош
    Dec 6 at 17:01










  • @ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
    – Eric
    Dec 6 at 17:04


















0














What is an example of a function that is differentiable, concave up everywhere, and $f''(0)$ does not exist?










share|cite|improve this question




















  • 3




    $f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
    – Michael Hoppe
    Dec 6 at 16:57










  • @Eric Maybe only integral of absolute value?
    – Юрій Ярош
    Dec 6 at 17:01










  • @ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
    – Eric
    Dec 6 at 17:04
















0












0








0







What is an example of a function that is differentiable, concave up everywhere, and $f''(0)$ does not exist?










share|cite|improve this question















What is an example of a function that is differentiable, concave up everywhere, and $f''(0)$ does not exist?







calculus analysis examples-counterexamples






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 6 at 16:59









Andrews

327217




327217










asked Dec 6 at 16:49









Y.Z.

243




243








  • 3




    $f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
    – Michael Hoppe
    Dec 6 at 16:57










  • @Eric Maybe only integral of absolute value?
    – Юрій Ярош
    Dec 6 at 17:01










  • @ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
    – Eric
    Dec 6 at 17:04
















  • 3




    $f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
    – Michael Hoppe
    Dec 6 at 16:57










  • @Eric Maybe only integral of absolute value?
    – Юрій Ярош
    Dec 6 at 17:01










  • @ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
    – Eric
    Dec 6 at 17:04










3




3




$f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
– Michael Hoppe
Dec 6 at 16:57




$f(x)=x^2$ for $x<0$ and $f(x)=x^3$ else.
– Michael Hoppe
Dec 6 at 16:57












@Eric Maybe only integral of absolute value?
– Юрій Ярош
Dec 6 at 17:01




@Eric Maybe only integral of absolute value?
– Юрій Ярош
Dec 6 at 17:01












@ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
– Eric
Dec 6 at 17:04






@ЮрійЯрош No, I just messed up. The first integral isn't concave up. You can take the first integral of something like$ g(x)=0$ for $x<0$ and $g(x)=x$ for $x geq 0$
– Eric
Dec 6 at 17:04












1 Answer
1






active

oldest

votes


















1














So you need a continuous function, and the first derivative at $0$ must be the same for both $x>0$ and $x<0$, but the second derivative must be different. Start with $f(x)=x^2$ for $x>0$. You have $f(0+)=0$, $f'(0+)=0$, and $f''(0+)=2$. You now need $f(0-)=0$, $f'(0-)=0$, and you can choose $f''(0-)=0$. For example $f(x)=x^4$ for $x<0$






share|cite|improve this answer





















  • Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
    – zhw.
    Dec 6 at 17:32










  • I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
    – Andrei
    Dec 6 at 19:22













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%2f3028751%2fdifferentiable-function-with-no-second-derivative-at-0%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














So you need a continuous function, and the first derivative at $0$ must be the same for both $x>0$ and $x<0$, but the second derivative must be different. Start with $f(x)=x^2$ for $x>0$. You have $f(0+)=0$, $f'(0+)=0$, and $f''(0+)=2$. You now need $f(0-)=0$, $f'(0-)=0$, and you can choose $f''(0-)=0$. For example $f(x)=x^4$ for $x<0$






share|cite|improve this answer





















  • Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
    – zhw.
    Dec 6 at 17:32










  • I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
    – Andrei
    Dec 6 at 19:22


















1














So you need a continuous function, and the first derivative at $0$ must be the same for both $x>0$ and $x<0$, but the second derivative must be different. Start with $f(x)=x^2$ for $x>0$. You have $f(0+)=0$, $f'(0+)=0$, and $f''(0+)=2$. You now need $f(0-)=0$, $f'(0-)=0$, and you can choose $f''(0-)=0$. For example $f(x)=x^4$ for $x<0$






share|cite|improve this answer





















  • Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
    – zhw.
    Dec 6 at 17:32










  • I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
    – Andrei
    Dec 6 at 19:22
















1












1








1






So you need a continuous function, and the first derivative at $0$ must be the same for both $x>0$ and $x<0$, but the second derivative must be different. Start with $f(x)=x^2$ for $x>0$. You have $f(0+)=0$, $f'(0+)=0$, and $f''(0+)=2$. You now need $f(0-)=0$, $f'(0-)=0$, and you can choose $f''(0-)=0$. For example $f(x)=x^4$ for $x<0$






share|cite|improve this answer












So you need a continuous function, and the first derivative at $0$ must be the same for both $x>0$ and $x<0$, but the second derivative must be different. Start with $f(x)=x^2$ for $x>0$. You have $f(0+)=0$, $f'(0+)=0$, and $f''(0+)=2$. You now need $f(0-)=0$, $f'(0-)=0$, and you can choose $f''(0-)=0$. For example $f(x)=x^4$ for $x<0$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 6 at 16:59









Andrei

10.8k21025




10.8k21025












  • Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
    – zhw.
    Dec 6 at 17:32










  • I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
    – Andrei
    Dec 6 at 19:22




















  • Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
    – zhw.
    Dec 6 at 17:32










  • I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
    – Andrei
    Dec 6 at 19:22


















Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
– zhw.
Dec 6 at 17:32




Not sure why you mention continuity. The desired function should be differentiable, hence it will be continuous. You wrote "the first derivative at $0$ must be the same for both $x>0$ and $x<0$" What does that mean?
– zhw.
Dec 6 at 17:32












I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
– Andrei
Dec 6 at 19:22






I've started from scratch. So in order to find a differentiable function, the first requirement is that is continuous. In order to be differentiable, the derivative must be continuous, including at $0$. Since I choose to define my function differently for $x>0$ and for $x<0$, I just need $$lim_{xto 0}f(x<0)=lim_{xto 0}f(x>0)$$
– Andrei
Dec 6 at 19:22




















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%2f3028751%2fdifferentiable-function-with-no-second-derivative-at-0%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

Bressuire

Cabo Verde

Gyllenstierna