$dfrac{partial^2 f}{partial x partial y} = 0 nRightarrow f(x,y) = g(x) + h(y)$











up vote
9
down vote

favorite
3












I am working through Ted Shifrin's book Multivariable Mathematics. There is an exercise problem that is meant to demonstrate that one can have
$dfrac{partial^2 f}{partial x partial y} = 0$ but$ f(x,y) neq g(x) + h(y)$.



The question (3.6.11) is as follows:
$$ mathrm{Given} ; f(x, y) = begin{cases} 0, ; x < 0; mathrm{or} ; y < 0 \x^3, ; x geq 0 ; mathrm{and} ; y > 0 end{cases} $$




  1. Show that $f$ is $C^2$


  2. Show that $dfrac{partial^2 f}{partial x partial y} = 0$


  3. Show that $f(x,y)$ cannot be written as $g(x) + h(y)$ for appropriate functions $g, h$.





I see that the domain is the entire plane except the x-axis, that is $mathbb{R}^2 -{y=0}$.
The function is then 0 in all quadrants except the first, where it is $x^3$.



I could show 1. and 2. above, but I am puzzled by two things.



Q1 What's wrong with writing $f(x,y) = g(x) + h(y)$ piecewise in each quadrant ?



Q2. Will anything change if the domain allows the line $y=0$ also ?



Q3. What is the takeaway from this problem ? I do not understand that.










share|cite|improve this question
























  • For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
    – Leland Reardon
    Nov 16 at 21:57















up vote
9
down vote

favorite
3












I am working through Ted Shifrin's book Multivariable Mathematics. There is an exercise problem that is meant to demonstrate that one can have
$dfrac{partial^2 f}{partial x partial y} = 0$ but$ f(x,y) neq g(x) + h(y)$.



The question (3.6.11) is as follows:
$$ mathrm{Given} ; f(x, y) = begin{cases} 0, ; x < 0; mathrm{or} ; y < 0 \x^3, ; x geq 0 ; mathrm{and} ; y > 0 end{cases} $$




  1. Show that $f$ is $C^2$


  2. Show that $dfrac{partial^2 f}{partial x partial y} = 0$


  3. Show that $f(x,y)$ cannot be written as $g(x) + h(y)$ for appropriate functions $g, h$.





I see that the domain is the entire plane except the x-axis, that is $mathbb{R}^2 -{y=0}$.
The function is then 0 in all quadrants except the first, where it is $x^3$.



I could show 1. and 2. above, but I am puzzled by two things.



Q1 What's wrong with writing $f(x,y) = g(x) + h(y)$ piecewise in each quadrant ?



Q2. Will anything change if the domain allows the line $y=0$ also ?



Q3. What is the takeaway from this problem ? I do not understand that.










share|cite|improve this question
























  • For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
    – Leland Reardon
    Nov 16 at 21:57













up vote
9
down vote

favorite
3









up vote
9
down vote

favorite
3






3





I am working through Ted Shifrin's book Multivariable Mathematics. There is an exercise problem that is meant to demonstrate that one can have
$dfrac{partial^2 f}{partial x partial y} = 0$ but$ f(x,y) neq g(x) + h(y)$.



The question (3.6.11) is as follows:
$$ mathrm{Given} ; f(x, y) = begin{cases} 0, ; x < 0; mathrm{or} ; y < 0 \x^3, ; x geq 0 ; mathrm{and} ; y > 0 end{cases} $$




  1. Show that $f$ is $C^2$


  2. Show that $dfrac{partial^2 f}{partial x partial y} = 0$


  3. Show that $f(x,y)$ cannot be written as $g(x) + h(y)$ for appropriate functions $g, h$.





I see that the domain is the entire plane except the x-axis, that is $mathbb{R}^2 -{y=0}$.
The function is then 0 in all quadrants except the first, where it is $x^3$.



I could show 1. and 2. above, but I am puzzled by two things.



Q1 What's wrong with writing $f(x,y) = g(x) + h(y)$ piecewise in each quadrant ?



Q2. Will anything change if the domain allows the line $y=0$ also ?



Q3. What is the takeaway from this problem ? I do not understand that.










share|cite|improve this question















I am working through Ted Shifrin's book Multivariable Mathematics. There is an exercise problem that is meant to demonstrate that one can have
$dfrac{partial^2 f}{partial x partial y} = 0$ but$ f(x,y) neq g(x) + h(y)$.



The question (3.6.11) is as follows:
$$ mathrm{Given} ; f(x, y) = begin{cases} 0, ; x < 0; mathrm{or} ; y < 0 \x^3, ; x geq 0 ; mathrm{and} ; y > 0 end{cases} $$




  1. Show that $f$ is $C^2$


  2. Show that $dfrac{partial^2 f}{partial x partial y} = 0$


  3. Show that $f(x,y)$ cannot be written as $g(x) + h(y)$ for appropriate functions $g, h$.





I see that the domain is the entire plane except the x-axis, that is $mathbb{R}^2 -{y=0}$.
The function is then 0 in all quadrants except the first, where it is $x^3$.



I could show 1. and 2. above, but I am puzzled by two things.



Q1 What's wrong with writing $f(x,y) = g(x) + h(y)$ piecewise in each quadrant ?



Q2. Will anything change if the domain allows the line $y=0$ also ?



Q3. What is the takeaway from this problem ? I do not understand that.







real-analysis multivariable-calculus derivatives partial-derivative






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 16 at 22:20

























asked Nov 16 at 21:47









me10240

441212




441212












  • For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
    – Leland Reardon
    Nov 16 at 21:57


















  • For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
    – Leland Reardon
    Nov 16 at 21:57
















For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
– Leland Reardon
Nov 16 at 21:57




For Q2, note that $lim_{yrightarrow0^{+}}f(1,y)=1$, whereas $lim_{yrightarrow0^{-}}f(1,y)=0$, so the function cannot be continuously extended to the positive x-axis. The function is already defined equal to 0 on the negative x-axis, by the first piecewise condition.
– Leland Reardon
Nov 16 at 21:57










1 Answer
1






active

oldest

votes

















up vote
3
down vote













For Q1; defining the quadrants requires both $x$ and $y$. For example, defining
$$g(x):=left{begin{array}{ll}
0 &text{ if } x<0 text{ or } ; y < 0, \
x^3 &text{ if } xgeq0 ; text{ and } ; y > 0.
end{array}right.,$$

does not make sense as now $g(x)$ depends on $y$. More formally; if $f(x,y)=g(x)+h(y)$ then for all $(x_1,y_1),(x_2,y_2)inBbb{R}^2$ we have
$$f(x_1,y_1)+f(x_2,y_2)-f(x_1,y_2)-f(x_2,y_2)=0.$$
But this is clearly not the case, take for example $x_1=y_1=1$ and $x_2=y_2=-1$.





For Q2; the given function $f(x,y)$ does not extend to a function differentiable on $Bbb{R}^2$. There are no functions with this property that are differentiable on all of $Bbb{R}^2$. See also this excellent answer.





For Q3; the takeaway is that the implication
$$frac{partial^2f}{partial xpartial y}=0
qquadRightarrowqquad
f(x,y)=g(x)+h(y),$$

depends crucially on the domain; it holds if the domain is $Bbb{R}^2$, but not if the domain is, for example, a disconnected subset of $Bbb{R}^2$.






share|cite|improve this answer























  • Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
    – me10240
    Nov 16 at 22:51












  • I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
    – Servaes
    Nov 16 at 23:06










  • The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
    – me10240
    Nov 17 at 1:56










  • I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
    – Rafa Budría
    Nov 17 at 11:13










  • @RafaBudría I do not understand; Q1 is not a yes/no question.
    – Servaes
    Nov 17 at 11: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',
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%2f3001673%2fdfrac-partial2-f-partial-x-partial-y-0-nrightarrow-fx-y-gx-h%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








up vote
3
down vote













For Q1; defining the quadrants requires both $x$ and $y$. For example, defining
$$g(x):=left{begin{array}{ll}
0 &text{ if } x<0 text{ or } ; y < 0, \
x^3 &text{ if } xgeq0 ; text{ and } ; y > 0.
end{array}right.,$$

does not make sense as now $g(x)$ depends on $y$. More formally; if $f(x,y)=g(x)+h(y)$ then for all $(x_1,y_1),(x_2,y_2)inBbb{R}^2$ we have
$$f(x_1,y_1)+f(x_2,y_2)-f(x_1,y_2)-f(x_2,y_2)=0.$$
But this is clearly not the case, take for example $x_1=y_1=1$ and $x_2=y_2=-1$.





For Q2; the given function $f(x,y)$ does not extend to a function differentiable on $Bbb{R}^2$. There are no functions with this property that are differentiable on all of $Bbb{R}^2$. See also this excellent answer.





For Q3; the takeaway is that the implication
$$frac{partial^2f}{partial xpartial y}=0
qquadRightarrowqquad
f(x,y)=g(x)+h(y),$$

depends crucially on the domain; it holds if the domain is $Bbb{R}^2$, but not if the domain is, for example, a disconnected subset of $Bbb{R}^2$.






share|cite|improve this answer























  • Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
    – me10240
    Nov 16 at 22:51












  • I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
    – Servaes
    Nov 16 at 23:06










  • The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
    – me10240
    Nov 17 at 1:56










  • I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
    – Rafa Budría
    Nov 17 at 11:13










  • @RafaBudría I do not understand; Q1 is not a yes/no question.
    – Servaes
    Nov 17 at 11:22















up vote
3
down vote













For Q1; defining the quadrants requires both $x$ and $y$. For example, defining
$$g(x):=left{begin{array}{ll}
0 &text{ if } x<0 text{ or } ; y < 0, \
x^3 &text{ if } xgeq0 ; text{ and } ; y > 0.
end{array}right.,$$

does not make sense as now $g(x)$ depends on $y$. More formally; if $f(x,y)=g(x)+h(y)$ then for all $(x_1,y_1),(x_2,y_2)inBbb{R}^2$ we have
$$f(x_1,y_1)+f(x_2,y_2)-f(x_1,y_2)-f(x_2,y_2)=0.$$
But this is clearly not the case, take for example $x_1=y_1=1$ and $x_2=y_2=-1$.





For Q2; the given function $f(x,y)$ does not extend to a function differentiable on $Bbb{R}^2$. There are no functions with this property that are differentiable on all of $Bbb{R}^2$. See also this excellent answer.





For Q3; the takeaway is that the implication
$$frac{partial^2f}{partial xpartial y}=0
qquadRightarrowqquad
f(x,y)=g(x)+h(y),$$

depends crucially on the domain; it holds if the domain is $Bbb{R}^2$, but not if the domain is, for example, a disconnected subset of $Bbb{R}^2$.






share|cite|improve this answer























  • Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
    – me10240
    Nov 16 at 22:51












  • I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
    – Servaes
    Nov 16 at 23:06










  • The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
    – me10240
    Nov 17 at 1:56










  • I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
    – Rafa Budría
    Nov 17 at 11:13










  • @RafaBudría I do not understand; Q1 is not a yes/no question.
    – Servaes
    Nov 17 at 11:22













up vote
3
down vote










up vote
3
down vote









For Q1; defining the quadrants requires both $x$ and $y$. For example, defining
$$g(x):=left{begin{array}{ll}
0 &text{ if } x<0 text{ or } ; y < 0, \
x^3 &text{ if } xgeq0 ; text{ and } ; y > 0.
end{array}right.,$$

does not make sense as now $g(x)$ depends on $y$. More formally; if $f(x,y)=g(x)+h(y)$ then for all $(x_1,y_1),(x_2,y_2)inBbb{R}^2$ we have
$$f(x_1,y_1)+f(x_2,y_2)-f(x_1,y_2)-f(x_2,y_2)=0.$$
But this is clearly not the case, take for example $x_1=y_1=1$ and $x_2=y_2=-1$.





For Q2; the given function $f(x,y)$ does not extend to a function differentiable on $Bbb{R}^2$. There are no functions with this property that are differentiable on all of $Bbb{R}^2$. See also this excellent answer.





For Q3; the takeaway is that the implication
$$frac{partial^2f}{partial xpartial y}=0
qquadRightarrowqquad
f(x,y)=g(x)+h(y),$$

depends crucially on the domain; it holds if the domain is $Bbb{R}^2$, but not if the domain is, for example, a disconnected subset of $Bbb{R}^2$.






share|cite|improve this answer














For Q1; defining the quadrants requires both $x$ and $y$. For example, defining
$$g(x):=left{begin{array}{ll}
0 &text{ if } x<0 text{ or } ; y < 0, \
x^3 &text{ if } xgeq0 ; text{ and } ; y > 0.
end{array}right.,$$

does not make sense as now $g(x)$ depends on $y$. More formally; if $f(x,y)=g(x)+h(y)$ then for all $(x_1,y_1),(x_2,y_2)inBbb{R}^2$ we have
$$f(x_1,y_1)+f(x_2,y_2)-f(x_1,y_2)-f(x_2,y_2)=0.$$
But this is clearly not the case, take for example $x_1=y_1=1$ and $x_2=y_2=-1$.





For Q2; the given function $f(x,y)$ does not extend to a function differentiable on $Bbb{R}^2$. There are no functions with this property that are differentiable on all of $Bbb{R}^2$. See also this excellent answer.





For Q3; the takeaway is that the implication
$$frac{partial^2f}{partial xpartial y}=0
qquadRightarrowqquad
f(x,y)=g(x)+h(y),$$

depends crucially on the domain; it holds if the domain is $Bbb{R}^2$, but not if the domain is, for example, a disconnected subset of $Bbb{R}^2$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 16 at 23:08

























answered Nov 16 at 22:43









Servaes

20.9k33792




20.9k33792












  • Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
    – me10240
    Nov 16 at 22:51












  • I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
    – Servaes
    Nov 16 at 23:06










  • The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
    – me10240
    Nov 17 at 1:56










  • I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
    – Rafa Budría
    Nov 17 at 11:13










  • @RafaBudría I do not understand; Q1 is not a yes/no question.
    – Servaes
    Nov 17 at 11:22


















  • Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
    – me10240
    Nov 16 at 22:51












  • I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
    – Servaes
    Nov 16 at 23:06










  • The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
    – me10240
    Nov 17 at 1:56










  • I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
    – Rafa Budría
    Nov 17 at 11:13










  • @RafaBudría I do not understand; Q1 is not a yes/no question.
    – Servaes
    Nov 17 at 11:22
















Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
– me10240
Nov 16 at 22:51






Could you provide an example of a function like that defined on all of $mathbb{R}^2$ ?
– me10240
Nov 16 at 22:51














I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
– Servaes
Nov 16 at 23:06




I'm sorry, I was mistaken. It must be time for bed, let me correct my answer first.
– Servaes
Nov 16 at 23:06












The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
– me10240
Nov 17 at 1:56




The bit about the domain of g(x) needing to be described by y is just mindblowing, many thanks to you for the answer, and to Professor Shifrin for the question. Its easy to forget that a function and its domain are inseparable.
– me10240
Nov 17 at 1:56












I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
– Rafa Budría
Nov 17 at 11:13




I think Q1 has to be answered in affirmative. E.g. for the first quadrant $f(x,y)=x^3+0$, so is $g(x)=x^3$ and $h(y)=0$
– Rafa Budría
Nov 17 at 11:13












@RafaBudría I do not understand; Q1 is not a yes/no question.
– Servaes
Nov 17 at 11:22




@RafaBudría I do not understand; Q1 is not a yes/no question.
– Servaes
Nov 17 at 11:22


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001673%2fdfrac-partial2-f-partial-x-partial-y-0-nrightarrow-fx-y-gx-h%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

QoS: MAC-Priority for clients behind a repeater

Ивакино (Тотемский район)

Unable to view message in Sitecore 7.2 ECM