First and second differentiability of the piecewise function $x^4sin(frac{1}{x})$ if $x neq 0$ and $0$ if...
I have the following function $f(x)$ defined as $x^4sin(frac{1}{x})$ if $x neq 0$ and $0$ if $x=0$. And I'm asked if the function is:
a) differentiable
b) two times differentiable
c) two times continuously differentiable
This function is of course quite similar to the function $x^2sin(frac{1}{x})$, which can be found on the internet for the same type of exercises. But I still want to be sure that I proceeded in the correct way, because I have no solution to this exercise. Thanks for your feedback.
a) At $x=0$, we have $$lim_{hto 0}frac{f(0+h)-f(0)}{h}=lim_{h to 0}frac{h^4sin(frac{1}{h})}{h}=lim_{h to 0}h^3sin(frac{1}{h})=0$$
Everywhere else, we have simply $4x^3 sin(frac{1}{x})-x^2cos(frac{1}{x})$.
Thus the function is differentiable everywhere, even at $0$ where its value is $0$.
b) Again, if $xneq 0$, we have simply $f^{prime prime}(x)=12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$. At $x=0$, we have $$lim_{h to 0}frac{f'(0+h)-f'(0)}{h}=lim_{h to 0}frac{4h^3sin(frac{1}{h})-h^2cos(frac{1}{h})}{h}=lim_{h to 0}4h^2sin(frac{1}{h})-hcos(frac{1}{h})=0$$
So the function is also two times differentiable at $0$, where the derivative is $0$.
c) The function is however not two times continuously differentiable, because as said, the second derivative at $0$ is $0$, but if we take $lim_{x to 0_{pm}} 12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$, we don't always reach $0$ because $sin(frac{1}{x})$ oscillates between $-1$ and $1$. So the function is not two times continuously differentiable, even if the second derivative is defined everywhere, even at $0$
Are my results correct ?
Thanks for your help !
real-analysis calculus limits derivatives piecewise-continuity
add a comment |
I have the following function $f(x)$ defined as $x^4sin(frac{1}{x})$ if $x neq 0$ and $0$ if $x=0$. And I'm asked if the function is:
a) differentiable
b) two times differentiable
c) two times continuously differentiable
This function is of course quite similar to the function $x^2sin(frac{1}{x})$, which can be found on the internet for the same type of exercises. But I still want to be sure that I proceeded in the correct way, because I have no solution to this exercise. Thanks for your feedback.
a) At $x=0$, we have $$lim_{hto 0}frac{f(0+h)-f(0)}{h}=lim_{h to 0}frac{h^4sin(frac{1}{h})}{h}=lim_{h to 0}h^3sin(frac{1}{h})=0$$
Everywhere else, we have simply $4x^3 sin(frac{1}{x})-x^2cos(frac{1}{x})$.
Thus the function is differentiable everywhere, even at $0$ where its value is $0$.
b) Again, if $xneq 0$, we have simply $f^{prime prime}(x)=12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$. At $x=0$, we have $$lim_{h to 0}frac{f'(0+h)-f'(0)}{h}=lim_{h to 0}frac{4h^3sin(frac{1}{h})-h^2cos(frac{1}{h})}{h}=lim_{h to 0}4h^2sin(frac{1}{h})-hcos(frac{1}{h})=0$$
So the function is also two times differentiable at $0$, where the derivative is $0$.
c) The function is however not two times continuously differentiable, because as said, the second derivative at $0$ is $0$, but if we take $lim_{x to 0_{pm}} 12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$, we don't always reach $0$ because $sin(frac{1}{x})$ oscillates between $-1$ and $1$. So the function is not two times continuously differentiable, even if the second derivative is defined everywhere, even at $0$
Are my results correct ?
Thanks for your help !
real-analysis calculus limits derivatives piecewise-continuity
add a comment |
I have the following function $f(x)$ defined as $x^4sin(frac{1}{x})$ if $x neq 0$ and $0$ if $x=0$. And I'm asked if the function is:
a) differentiable
b) two times differentiable
c) two times continuously differentiable
This function is of course quite similar to the function $x^2sin(frac{1}{x})$, which can be found on the internet for the same type of exercises. But I still want to be sure that I proceeded in the correct way, because I have no solution to this exercise. Thanks for your feedback.
a) At $x=0$, we have $$lim_{hto 0}frac{f(0+h)-f(0)}{h}=lim_{h to 0}frac{h^4sin(frac{1}{h})}{h}=lim_{h to 0}h^3sin(frac{1}{h})=0$$
Everywhere else, we have simply $4x^3 sin(frac{1}{x})-x^2cos(frac{1}{x})$.
Thus the function is differentiable everywhere, even at $0$ where its value is $0$.
b) Again, if $xneq 0$, we have simply $f^{prime prime}(x)=12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$. At $x=0$, we have $$lim_{h to 0}frac{f'(0+h)-f'(0)}{h}=lim_{h to 0}frac{4h^3sin(frac{1}{h})-h^2cos(frac{1}{h})}{h}=lim_{h to 0}4h^2sin(frac{1}{h})-hcos(frac{1}{h})=0$$
So the function is also two times differentiable at $0$, where the derivative is $0$.
c) The function is however not two times continuously differentiable, because as said, the second derivative at $0$ is $0$, but if we take $lim_{x to 0_{pm}} 12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$, we don't always reach $0$ because $sin(frac{1}{x})$ oscillates between $-1$ and $1$. So the function is not two times continuously differentiable, even if the second derivative is defined everywhere, even at $0$
Are my results correct ?
Thanks for your help !
real-analysis calculus limits derivatives piecewise-continuity
I have the following function $f(x)$ defined as $x^4sin(frac{1}{x})$ if $x neq 0$ and $0$ if $x=0$. And I'm asked if the function is:
a) differentiable
b) two times differentiable
c) two times continuously differentiable
This function is of course quite similar to the function $x^2sin(frac{1}{x})$, which can be found on the internet for the same type of exercises. But I still want to be sure that I proceeded in the correct way, because I have no solution to this exercise. Thanks for your feedback.
a) At $x=0$, we have $$lim_{hto 0}frac{f(0+h)-f(0)}{h}=lim_{h to 0}frac{h^4sin(frac{1}{h})}{h}=lim_{h to 0}h^3sin(frac{1}{h})=0$$
Everywhere else, we have simply $4x^3 sin(frac{1}{x})-x^2cos(frac{1}{x})$.
Thus the function is differentiable everywhere, even at $0$ where its value is $0$.
b) Again, if $xneq 0$, we have simply $f^{prime prime}(x)=12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$. At $x=0$, we have $$lim_{h to 0}frac{f'(0+h)-f'(0)}{h}=lim_{h to 0}frac{4h^3sin(frac{1}{h})-h^2cos(frac{1}{h})}{h}=lim_{h to 0}4h^2sin(frac{1}{h})-hcos(frac{1}{h})=0$$
So the function is also two times differentiable at $0$, where the derivative is $0$.
c) The function is however not two times continuously differentiable, because as said, the second derivative at $0$ is $0$, but if we take $lim_{x to 0_{pm}} 12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$, we don't always reach $0$ because $sin(frac{1}{x})$ oscillates between $-1$ and $1$. So the function is not two times continuously differentiable, even if the second derivative is defined everywhere, even at $0$
Are my results correct ?
Thanks for your help !
real-analysis calculus limits derivatives piecewise-continuity
real-analysis calculus limits derivatives piecewise-continuity
edited Jan 4 at 16:01
mathcounterexamples.net
25.3k21953
25.3k21953
asked Jan 4 at 15:31
PoujhPoujh
547416
547416
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Your results are correct.
However your explanation on the fact that $12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$ doesn't have a limit at $0$ is a bit fuzzy. For example $g(x)=sin(frac{1}{x})-sin(frac{1}{x})=0$ do have a limit at $0$ while $sin(frac{1}{x})$ don't. The sum of two maps that don't have a limit at a point may have a limit!
You should say that both $12x^2sin(frac{1}{x})$ and $6xcos(frac{1}{x})$ converges towards $0$ at $0$ while $sin(frac{1}{x})$ doesn't have a limit. Hence the sum of the three terms can't have a limit at zero.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3061759%2ffirst-and-second-differentiability-of-the-piecewise-function-x4-sin-frac1x%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
Your results are correct.
However your explanation on the fact that $12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$ doesn't have a limit at $0$ is a bit fuzzy. For example $g(x)=sin(frac{1}{x})-sin(frac{1}{x})=0$ do have a limit at $0$ while $sin(frac{1}{x})$ don't. The sum of two maps that don't have a limit at a point may have a limit!
You should say that both $12x^2sin(frac{1}{x})$ and $6xcos(frac{1}{x})$ converges towards $0$ at $0$ while $sin(frac{1}{x})$ doesn't have a limit. Hence the sum of the three terms can't have a limit at zero.
add a comment |
Your results are correct.
However your explanation on the fact that $12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$ doesn't have a limit at $0$ is a bit fuzzy. For example $g(x)=sin(frac{1}{x})-sin(frac{1}{x})=0$ do have a limit at $0$ while $sin(frac{1}{x})$ don't. The sum of two maps that don't have a limit at a point may have a limit!
You should say that both $12x^2sin(frac{1}{x})$ and $6xcos(frac{1}{x})$ converges towards $0$ at $0$ while $sin(frac{1}{x})$ doesn't have a limit. Hence the sum of the three terms can't have a limit at zero.
add a comment |
Your results are correct.
However your explanation on the fact that $12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$ doesn't have a limit at $0$ is a bit fuzzy. For example $g(x)=sin(frac{1}{x})-sin(frac{1}{x})=0$ do have a limit at $0$ while $sin(frac{1}{x})$ don't. The sum of two maps that don't have a limit at a point may have a limit!
You should say that both $12x^2sin(frac{1}{x})$ and $6xcos(frac{1}{x})$ converges towards $0$ at $0$ while $sin(frac{1}{x})$ doesn't have a limit. Hence the sum of the three terms can't have a limit at zero.
Your results are correct.
However your explanation on the fact that $12x^2sin(frac{1}{x})-sin(frac{1}{x})-6xcos(frac{1}{x})$ doesn't have a limit at $0$ is a bit fuzzy. For example $g(x)=sin(frac{1}{x})-sin(frac{1}{x})=0$ do have a limit at $0$ while $sin(frac{1}{x})$ don't. The sum of two maps that don't have a limit at a point may have a limit!
You should say that both $12x^2sin(frac{1}{x})$ and $6xcos(frac{1}{x})$ converges towards $0$ at $0$ while $sin(frac{1}{x})$ doesn't have a limit. Hence the sum of the three terms can't have a limit at zero.
answered Jan 4 at 16:07
mathcounterexamples.netmathcounterexamples.net
25.3k21953
25.3k21953
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3061759%2ffirst-and-second-differentiability-of-the-piecewise-function-x4-sin-frac1x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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