Well-posedness of heat-equation PDE with only one initial condition












2














Consider the PDE given by $u_t = alpha u_{xx}$ with initial condition $u(x, 0) = f(x)$.



Now suppose we discretize the problem in the time variable, so we approximate $u_t(x, t)$ by a finite difference quotient:
$$ u_t(x, t) approx frac{u(x, t + Delta t) - u(x, t)}{Delta t}$$



Using the PDE above, we now have a recurrence $$u(x, t + Delta t) = u(x, t) + alpha u_{xx}(x, t)Delta t$$



which allows us to compute an approximation for $u(x, t + Delta t)$ given $u(x, t)$.



If we choose the number $Delta t$ to be sufficiently small, we expect the accuracy of this approximation to increase, and we expect that dividing a time interval $[0, T]$ into increasingly many segments will improve the accuracy of the computed value for $u(x, T)$ given an initial condition $u(x, 0) = f(x)$ (this is what most finite-difference methods essentially do to compute such solutions numerically).



Now it would seem from the above argument that knowing $u(x, 0)$ is sufficient to compute $u(x, T)$ to any desired degree of accuracy, by choosing $Delta t$ sufficiently small. Therefore the solution seems to be uniquely determined by this initial condition.



On the other hand, it seems that usually we need as many initial/boundary conditions as the highest order of partial derivatives for each variable. You might even wonder, what happens for example if there was some fixing of the temperature on a line $x = 0$ for $t gt 0$, for example there could be some additional boundary condition like $u(0, t) = g(t), t gt 0$ with $g(0) = f(0)$ to make sure $u(0, 0)$ is consistent with both the initial and boundary condition.



So it would seem that the method described above will "miss" the possible solutions where we add some additional arbitrary boundary condition on $x = 0$, since it can only converge to a unique solution.



I conclude that there must be an error in some of my considerations above, but I am not sure exactly what it is.



I see three possible answers:




  1. The solution is uniquely determined if I only have the initial condition $u(x, 0) = f(x)$.


  2. The solution is not uniquely determined, and additional boundary conditions need to be provided.


  3. The solution is uniquely determined, but there are additional boundary conditions that somehow appear implicitly in the initial value problem above, such as some behavior at infinity or continuity assumption that reduce the number of degrees of freedom.



I'd like to find which of these is the correct conclusion and why that is the case.










share|cite|improve this question
























  • Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
    – whpowell96
    Nov 28 at 3:47
















2














Consider the PDE given by $u_t = alpha u_{xx}$ with initial condition $u(x, 0) = f(x)$.



Now suppose we discretize the problem in the time variable, so we approximate $u_t(x, t)$ by a finite difference quotient:
$$ u_t(x, t) approx frac{u(x, t + Delta t) - u(x, t)}{Delta t}$$



Using the PDE above, we now have a recurrence $$u(x, t + Delta t) = u(x, t) + alpha u_{xx}(x, t)Delta t$$



which allows us to compute an approximation for $u(x, t + Delta t)$ given $u(x, t)$.



If we choose the number $Delta t$ to be sufficiently small, we expect the accuracy of this approximation to increase, and we expect that dividing a time interval $[0, T]$ into increasingly many segments will improve the accuracy of the computed value for $u(x, T)$ given an initial condition $u(x, 0) = f(x)$ (this is what most finite-difference methods essentially do to compute such solutions numerically).



Now it would seem from the above argument that knowing $u(x, 0)$ is sufficient to compute $u(x, T)$ to any desired degree of accuracy, by choosing $Delta t$ sufficiently small. Therefore the solution seems to be uniquely determined by this initial condition.



On the other hand, it seems that usually we need as many initial/boundary conditions as the highest order of partial derivatives for each variable. You might even wonder, what happens for example if there was some fixing of the temperature on a line $x = 0$ for $t gt 0$, for example there could be some additional boundary condition like $u(0, t) = g(t), t gt 0$ with $g(0) = f(0)$ to make sure $u(0, 0)$ is consistent with both the initial and boundary condition.



So it would seem that the method described above will "miss" the possible solutions where we add some additional arbitrary boundary condition on $x = 0$, since it can only converge to a unique solution.



I conclude that there must be an error in some of my considerations above, but I am not sure exactly what it is.



I see three possible answers:




  1. The solution is uniquely determined if I only have the initial condition $u(x, 0) = f(x)$.


  2. The solution is not uniquely determined, and additional boundary conditions need to be provided.


  3. The solution is uniquely determined, but there are additional boundary conditions that somehow appear implicitly in the initial value problem above, such as some behavior at infinity or continuity assumption that reduce the number of degrees of freedom.



I'd like to find which of these is the correct conclusion and why that is the case.










share|cite|improve this question
























  • Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
    – whpowell96
    Nov 28 at 3:47














2












2








2







Consider the PDE given by $u_t = alpha u_{xx}$ with initial condition $u(x, 0) = f(x)$.



Now suppose we discretize the problem in the time variable, so we approximate $u_t(x, t)$ by a finite difference quotient:
$$ u_t(x, t) approx frac{u(x, t + Delta t) - u(x, t)}{Delta t}$$



Using the PDE above, we now have a recurrence $$u(x, t + Delta t) = u(x, t) + alpha u_{xx}(x, t)Delta t$$



which allows us to compute an approximation for $u(x, t + Delta t)$ given $u(x, t)$.



If we choose the number $Delta t$ to be sufficiently small, we expect the accuracy of this approximation to increase, and we expect that dividing a time interval $[0, T]$ into increasingly many segments will improve the accuracy of the computed value for $u(x, T)$ given an initial condition $u(x, 0) = f(x)$ (this is what most finite-difference methods essentially do to compute such solutions numerically).



Now it would seem from the above argument that knowing $u(x, 0)$ is sufficient to compute $u(x, T)$ to any desired degree of accuracy, by choosing $Delta t$ sufficiently small. Therefore the solution seems to be uniquely determined by this initial condition.



On the other hand, it seems that usually we need as many initial/boundary conditions as the highest order of partial derivatives for each variable. You might even wonder, what happens for example if there was some fixing of the temperature on a line $x = 0$ for $t gt 0$, for example there could be some additional boundary condition like $u(0, t) = g(t), t gt 0$ with $g(0) = f(0)$ to make sure $u(0, 0)$ is consistent with both the initial and boundary condition.



So it would seem that the method described above will "miss" the possible solutions where we add some additional arbitrary boundary condition on $x = 0$, since it can only converge to a unique solution.



I conclude that there must be an error in some of my considerations above, but I am not sure exactly what it is.



I see three possible answers:




  1. The solution is uniquely determined if I only have the initial condition $u(x, 0) = f(x)$.


  2. The solution is not uniquely determined, and additional boundary conditions need to be provided.


  3. The solution is uniquely determined, but there are additional boundary conditions that somehow appear implicitly in the initial value problem above, such as some behavior at infinity or continuity assumption that reduce the number of degrees of freedom.



I'd like to find which of these is the correct conclusion and why that is the case.










share|cite|improve this question















Consider the PDE given by $u_t = alpha u_{xx}$ with initial condition $u(x, 0) = f(x)$.



Now suppose we discretize the problem in the time variable, so we approximate $u_t(x, t)$ by a finite difference quotient:
$$ u_t(x, t) approx frac{u(x, t + Delta t) - u(x, t)}{Delta t}$$



Using the PDE above, we now have a recurrence $$u(x, t + Delta t) = u(x, t) + alpha u_{xx}(x, t)Delta t$$



which allows us to compute an approximation for $u(x, t + Delta t)$ given $u(x, t)$.



If we choose the number $Delta t$ to be sufficiently small, we expect the accuracy of this approximation to increase, and we expect that dividing a time interval $[0, T]$ into increasingly many segments will improve the accuracy of the computed value for $u(x, T)$ given an initial condition $u(x, 0) = f(x)$ (this is what most finite-difference methods essentially do to compute such solutions numerically).



Now it would seem from the above argument that knowing $u(x, 0)$ is sufficient to compute $u(x, T)$ to any desired degree of accuracy, by choosing $Delta t$ sufficiently small. Therefore the solution seems to be uniquely determined by this initial condition.



On the other hand, it seems that usually we need as many initial/boundary conditions as the highest order of partial derivatives for each variable. You might even wonder, what happens for example if there was some fixing of the temperature on a line $x = 0$ for $t gt 0$, for example there could be some additional boundary condition like $u(0, t) = g(t), t gt 0$ with $g(0) = f(0)$ to make sure $u(0, 0)$ is consistent with both the initial and boundary condition.



So it would seem that the method described above will "miss" the possible solutions where we add some additional arbitrary boundary condition on $x = 0$, since it can only converge to a unique solution.



I conclude that there must be an error in some of my considerations above, but I am not sure exactly what it is.



I see three possible answers:




  1. The solution is uniquely determined if I only have the initial condition $u(x, 0) = f(x)$.


  2. The solution is not uniquely determined, and additional boundary conditions need to be provided.


  3. The solution is uniquely determined, but there are additional boundary conditions that somehow appear implicitly in the initial value problem above, such as some behavior at infinity or continuity assumption that reduce the number of degrees of freedom.



I'd like to find which of these is the correct conclusion and why that is the case.







pde boundary-value-problem heat-equation initial-value-problems finite-differences






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 28 at 3:48

























asked Nov 28 at 3:41









Tob Ernack

2,229418




2,229418












  • Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
    – whpowell96
    Nov 28 at 3:47


















  • Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
    – whpowell96
    Nov 28 at 3:47
















Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
– whpowell96
Nov 28 at 3:47




Adding boundary conditions usually guarantees well-posedness. With no boundary conditions (even physical ones such as boundedness), I believe that you can make the Cauchy problem not unique. This essentially is because the Laplacian/second derivative is not uniquely invertible except in certain function spaces that are typically characterized by some combination of smoothness and boundary conditions.
– whpowell96
Nov 28 at 3:47










2 Answers
2






active

oldest

votes


















2














There are non-zero solutions of the heat equation that have $0$ initial data $u(x,0)$. Solutions are not unique, without some growth condition at $pminfty$ on the initial data.
Non-uniqueness of solutions of the heat equation



See also https://mathoverflow.net/questions/72195/unconditional-nonexistence-for-the-heat-equation-with-rapidly-growing-data






share|cite|improve this answer





















  • I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
    – Tob Ernack
    Nov 28 at 20:51








  • 1




    So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
    – Tob Ernack
    Nov 28 at 20:54





















0














Just to flesh out all the background, in the one dimensional heat equation:
$$ u_t = alpha u_{xx} $$
$u$ represents Temperature, and $alpha := frac{k}{rho C_p}$ is a constant that describes the thermal diffusivity of the material. Suppose we know the initial temperature profile $u(x,0) = f(x)$. Then the question simply becomes how does heat begin diffusing based on this profile?



Physically, the way that the material interacts with its surroundings will matter. Even if the initial temperature profile is uniform at $f(x) = u_0$, does the $1$-D material have its ends fixed at a different temperature? If so, then we have a Dirichlet boundary condition. Is heat not allowed to leave out the ends? If so, then we have the Naumann boundary condition where $frac{partial u}{partial x}|_{x = text{endpoints}} = 0$. Is heat being convected at the ends? Do we have some combination of all of these? We can see that a purely physical framing of the question necessitates the need to know some sort of boundary condition.



I'm sure you already knew all of the above though, so let's try and talk about what happens when you try to solve the heat equation anyways. The problem is going to come from how you define $u_{xx}$ at your boundary.



Suppose we try to do this numerically using the method of line. Then we need $3$ points to approximate $u_{xx}$. Before we can even touch $u_{xx}$ though, we need to calculate $u_x$. The first thing I'm wondering about is how you'd even define such a thing without boundary conditions. Let the left-end of the material be given by $x=a$, and the right end by $x = b$. Let's also define $u_0 = u(a,t)$, $Delta x = frac{b - a}{n}$, and suppose we divide our material into $n$ nodes. Then $u_{i} = u((b-a)i/n + a, t) = u(a + Delta x cdot i, t)$. Say we calculate $u_i$ by a forward difference
$$ u_i = frac{u_{i + 1} - u_i}{Delta x}$$
Then $u_i$ is defined at $x = a$, but not $x = b$! You face a similar problem if you try to do a backward difference.



Suppose we try to skirt this by defining a forward difference for all nodes, except the last where we do a backward difference. Then,
begin{align}
u_x(a + nDelta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}\
u_x(a + (n-1)Delta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}
end{align}

Which would then force a second derivative of $0$ at $x = b$. If you try to have forward differences for the first half of your rod, and backward differences for the second half, then you'll implicitly have a symmetric condition of sorts imposed in the middle.



In essence, since different definitions of $u_{xx}$ result in different solutions, we see that the problem isn't well formulated without boundary conditions.






share|cite|improve this answer





















  • In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
    – Tob Ernack
    Nov 28 at 4:32










  • Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
    – Tob Ernack
    Nov 28 at 4:35











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%2f3016680%2fwell-posedness-of-heat-equation-pde-with-only-one-initial-condition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














There are non-zero solutions of the heat equation that have $0$ initial data $u(x,0)$. Solutions are not unique, without some growth condition at $pminfty$ on the initial data.
Non-uniqueness of solutions of the heat equation



See also https://mathoverflow.net/questions/72195/unconditional-nonexistence-for-the-heat-equation-with-rapidly-growing-data






share|cite|improve this answer





















  • I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
    – Tob Ernack
    Nov 28 at 20:51








  • 1




    So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
    – Tob Ernack
    Nov 28 at 20:54


















2














There are non-zero solutions of the heat equation that have $0$ initial data $u(x,0)$. Solutions are not unique, without some growth condition at $pminfty$ on the initial data.
Non-uniqueness of solutions of the heat equation



See also https://mathoverflow.net/questions/72195/unconditional-nonexistence-for-the-heat-equation-with-rapidly-growing-data






share|cite|improve this answer





















  • I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
    – Tob Ernack
    Nov 28 at 20:51








  • 1




    So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
    – Tob Ernack
    Nov 28 at 20:54
















2












2








2






There are non-zero solutions of the heat equation that have $0$ initial data $u(x,0)$. Solutions are not unique, without some growth condition at $pminfty$ on the initial data.
Non-uniqueness of solutions of the heat equation



See also https://mathoverflow.net/questions/72195/unconditional-nonexistence-for-the-heat-equation-with-rapidly-growing-data






share|cite|improve this answer












There are non-zero solutions of the heat equation that have $0$ initial data $u(x,0)$. Solutions are not unique, without some growth condition at $pminfty$ on the initial data.
Non-uniqueness of solutions of the heat equation



See also https://mathoverflow.net/questions/72195/unconditional-nonexistence-for-the-heat-equation-with-rapidly-growing-data







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 28 at 12:53









DisintegratingByParts

58.4k42579




58.4k42579












  • I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
    – Tob Ernack
    Nov 28 at 20:51








  • 1




    So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
    – Tob Ernack
    Nov 28 at 20:54




















  • I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
    – Tob Ernack
    Nov 28 at 20:51








  • 1




    So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
    – Tob Ernack
    Nov 28 at 20:54


















I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
– Tob Ernack
Nov 28 at 20:51






I see, so based on the linked paper in Tao's post, these Tychonoff solutions have the property that $u(0, t) = F(t)$ is a function with $F^{(n)}(0) = 0$ for all $n$, while $F$ itself is nonzero, and is therefore not analytic in $t$, somewhat like the classical example of $e^{-frac{1}{t^2}}$. Such functions would be able to "fool" the finite-difference approximations starting at $t = 0$ because all local derivatives are zero, and so the finite difference would always predict $u(x, Delta t) = 0$ as well.
– Tob Ernack
Nov 28 at 20:51






1




1




So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
– Tob Ernack
Nov 28 at 20:54






So I have apparently made an implicit assumption of analyticity in the time variable when using this finite-difference approach to derive a solution, and so it seems the answer to my problem lies in point (3), either as a condition of analyticity, or as a condition on the growth of $u$.
– Tob Ernack
Nov 28 at 20:54













0














Just to flesh out all the background, in the one dimensional heat equation:
$$ u_t = alpha u_{xx} $$
$u$ represents Temperature, and $alpha := frac{k}{rho C_p}$ is a constant that describes the thermal diffusivity of the material. Suppose we know the initial temperature profile $u(x,0) = f(x)$. Then the question simply becomes how does heat begin diffusing based on this profile?



Physically, the way that the material interacts with its surroundings will matter. Even if the initial temperature profile is uniform at $f(x) = u_0$, does the $1$-D material have its ends fixed at a different temperature? If so, then we have a Dirichlet boundary condition. Is heat not allowed to leave out the ends? If so, then we have the Naumann boundary condition where $frac{partial u}{partial x}|_{x = text{endpoints}} = 0$. Is heat being convected at the ends? Do we have some combination of all of these? We can see that a purely physical framing of the question necessitates the need to know some sort of boundary condition.



I'm sure you already knew all of the above though, so let's try and talk about what happens when you try to solve the heat equation anyways. The problem is going to come from how you define $u_{xx}$ at your boundary.



Suppose we try to do this numerically using the method of line. Then we need $3$ points to approximate $u_{xx}$. Before we can even touch $u_{xx}$ though, we need to calculate $u_x$. The first thing I'm wondering about is how you'd even define such a thing without boundary conditions. Let the left-end of the material be given by $x=a$, and the right end by $x = b$. Let's also define $u_0 = u(a,t)$, $Delta x = frac{b - a}{n}$, and suppose we divide our material into $n$ nodes. Then $u_{i} = u((b-a)i/n + a, t) = u(a + Delta x cdot i, t)$. Say we calculate $u_i$ by a forward difference
$$ u_i = frac{u_{i + 1} - u_i}{Delta x}$$
Then $u_i$ is defined at $x = a$, but not $x = b$! You face a similar problem if you try to do a backward difference.



Suppose we try to skirt this by defining a forward difference for all nodes, except the last where we do a backward difference. Then,
begin{align}
u_x(a + nDelta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}\
u_x(a + (n-1)Delta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}
end{align}

Which would then force a second derivative of $0$ at $x = b$. If you try to have forward differences for the first half of your rod, and backward differences for the second half, then you'll implicitly have a symmetric condition of sorts imposed in the middle.



In essence, since different definitions of $u_{xx}$ result in different solutions, we see that the problem isn't well formulated without boundary conditions.






share|cite|improve this answer





















  • In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
    – Tob Ernack
    Nov 28 at 4:32










  • Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
    – Tob Ernack
    Nov 28 at 4:35
















0














Just to flesh out all the background, in the one dimensional heat equation:
$$ u_t = alpha u_{xx} $$
$u$ represents Temperature, and $alpha := frac{k}{rho C_p}$ is a constant that describes the thermal diffusivity of the material. Suppose we know the initial temperature profile $u(x,0) = f(x)$. Then the question simply becomes how does heat begin diffusing based on this profile?



Physically, the way that the material interacts with its surroundings will matter. Even if the initial temperature profile is uniform at $f(x) = u_0$, does the $1$-D material have its ends fixed at a different temperature? If so, then we have a Dirichlet boundary condition. Is heat not allowed to leave out the ends? If so, then we have the Naumann boundary condition where $frac{partial u}{partial x}|_{x = text{endpoints}} = 0$. Is heat being convected at the ends? Do we have some combination of all of these? We can see that a purely physical framing of the question necessitates the need to know some sort of boundary condition.



I'm sure you already knew all of the above though, so let's try and talk about what happens when you try to solve the heat equation anyways. The problem is going to come from how you define $u_{xx}$ at your boundary.



Suppose we try to do this numerically using the method of line. Then we need $3$ points to approximate $u_{xx}$. Before we can even touch $u_{xx}$ though, we need to calculate $u_x$. The first thing I'm wondering about is how you'd even define such a thing without boundary conditions. Let the left-end of the material be given by $x=a$, and the right end by $x = b$. Let's also define $u_0 = u(a,t)$, $Delta x = frac{b - a}{n}$, and suppose we divide our material into $n$ nodes. Then $u_{i} = u((b-a)i/n + a, t) = u(a + Delta x cdot i, t)$. Say we calculate $u_i$ by a forward difference
$$ u_i = frac{u_{i + 1} - u_i}{Delta x}$$
Then $u_i$ is defined at $x = a$, but not $x = b$! You face a similar problem if you try to do a backward difference.



Suppose we try to skirt this by defining a forward difference for all nodes, except the last where we do a backward difference. Then,
begin{align}
u_x(a + nDelta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}\
u_x(a + (n-1)Delta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}
end{align}

Which would then force a second derivative of $0$ at $x = b$. If you try to have forward differences for the first half of your rod, and backward differences for the second half, then you'll implicitly have a symmetric condition of sorts imposed in the middle.



In essence, since different definitions of $u_{xx}$ result in different solutions, we see that the problem isn't well formulated without boundary conditions.






share|cite|improve this answer





















  • In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
    – Tob Ernack
    Nov 28 at 4:32










  • Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
    – Tob Ernack
    Nov 28 at 4:35














0












0








0






Just to flesh out all the background, in the one dimensional heat equation:
$$ u_t = alpha u_{xx} $$
$u$ represents Temperature, and $alpha := frac{k}{rho C_p}$ is a constant that describes the thermal diffusivity of the material. Suppose we know the initial temperature profile $u(x,0) = f(x)$. Then the question simply becomes how does heat begin diffusing based on this profile?



Physically, the way that the material interacts with its surroundings will matter. Even if the initial temperature profile is uniform at $f(x) = u_0$, does the $1$-D material have its ends fixed at a different temperature? If so, then we have a Dirichlet boundary condition. Is heat not allowed to leave out the ends? If so, then we have the Naumann boundary condition where $frac{partial u}{partial x}|_{x = text{endpoints}} = 0$. Is heat being convected at the ends? Do we have some combination of all of these? We can see that a purely physical framing of the question necessitates the need to know some sort of boundary condition.



I'm sure you already knew all of the above though, so let's try and talk about what happens when you try to solve the heat equation anyways. The problem is going to come from how you define $u_{xx}$ at your boundary.



Suppose we try to do this numerically using the method of line. Then we need $3$ points to approximate $u_{xx}$. Before we can even touch $u_{xx}$ though, we need to calculate $u_x$. The first thing I'm wondering about is how you'd even define such a thing without boundary conditions. Let the left-end of the material be given by $x=a$, and the right end by $x = b$. Let's also define $u_0 = u(a,t)$, $Delta x = frac{b - a}{n}$, and suppose we divide our material into $n$ nodes. Then $u_{i} = u((b-a)i/n + a, t) = u(a + Delta x cdot i, t)$. Say we calculate $u_i$ by a forward difference
$$ u_i = frac{u_{i + 1} - u_i}{Delta x}$$
Then $u_i$ is defined at $x = a$, but not $x = b$! You face a similar problem if you try to do a backward difference.



Suppose we try to skirt this by defining a forward difference for all nodes, except the last where we do a backward difference. Then,
begin{align}
u_x(a + nDelta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}\
u_x(a + (n-1)Delta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}
end{align}

Which would then force a second derivative of $0$ at $x = b$. If you try to have forward differences for the first half of your rod, and backward differences for the second half, then you'll implicitly have a symmetric condition of sorts imposed in the middle.



In essence, since different definitions of $u_{xx}$ result in different solutions, we see that the problem isn't well formulated without boundary conditions.






share|cite|improve this answer












Just to flesh out all the background, in the one dimensional heat equation:
$$ u_t = alpha u_{xx} $$
$u$ represents Temperature, and $alpha := frac{k}{rho C_p}$ is a constant that describes the thermal diffusivity of the material. Suppose we know the initial temperature profile $u(x,0) = f(x)$. Then the question simply becomes how does heat begin diffusing based on this profile?



Physically, the way that the material interacts with its surroundings will matter. Even if the initial temperature profile is uniform at $f(x) = u_0$, does the $1$-D material have its ends fixed at a different temperature? If so, then we have a Dirichlet boundary condition. Is heat not allowed to leave out the ends? If so, then we have the Naumann boundary condition where $frac{partial u}{partial x}|_{x = text{endpoints}} = 0$. Is heat being convected at the ends? Do we have some combination of all of these? We can see that a purely physical framing of the question necessitates the need to know some sort of boundary condition.



I'm sure you already knew all of the above though, so let's try and talk about what happens when you try to solve the heat equation anyways. The problem is going to come from how you define $u_{xx}$ at your boundary.



Suppose we try to do this numerically using the method of line. Then we need $3$ points to approximate $u_{xx}$. Before we can even touch $u_{xx}$ though, we need to calculate $u_x$. The first thing I'm wondering about is how you'd even define such a thing without boundary conditions. Let the left-end of the material be given by $x=a$, and the right end by $x = b$. Let's also define $u_0 = u(a,t)$, $Delta x = frac{b - a}{n}$, and suppose we divide our material into $n$ nodes. Then $u_{i} = u((b-a)i/n + a, t) = u(a + Delta x cdot i, t)$. Say we calculate $u_i$ by a forward difference
$$ u_i = frac{u_{i + 1} - u_i}{Delta x}$$
Then $u_i$ is defined at $x = a$, but not $x = b$! You face a similar problem if you try to do a backward difference.



Suppose we try to skirt this by defining a forward difference for all nodes, except the last where we do a backward difference. Then,
begin{align}
u_x(a + nDelta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}\
u_x(a + (n-1)Delta x,t) &= frac{u_{n} - u_{n-1}}{Delta x}
end{align}

Which would then force a second derivative of $0$ at $x = b$. If you try to have forward differences for the first half of your rod, and backward differences for the second half, then you'll implicitly have a symmetric condition of sorts imposed in the middle.



In essence, since different definitions of $u_{xx}$ result in different solutions, we see that the problem isn't well formulated without boundary conditions.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 28 at 4:22









AlkaKadri

1,459411




1,459411












  • In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
    – Tob Ernack
    Nov 28 at 4:32










  • Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
    – Tob Ernack
    Nov 28 at 4:35


















  • In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
    – Tob Ernack
    Nov 28 at 4:32










  • Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
    – Tob Ernack
    Nov 28 at 4:35
















In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
– Tob Ernack
Nov 28 at 4:32




In my situation, you can assume $u(x, 0)$ is fully specified (for example it could be given analytically, or perhaps given as a set of points with sufficient accuracy). So in principle you should be able to compute $u_{xx}(x, 0)$ unambiguously without the forward/backward differences. I think my issue is that I can then also compute $u_t(x, 0) = alpha u_{xx}(x, 0)$, and from this I can compute $u(x, Delta t)$ using a forward difference method in the time variable.
– Tob Ernack
Nov 28 at 4:32












Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
– Tob Ernack
Nov 28 at 4:35




Also I agree that from the physical insight we expect the need for additional boundary conditions. My problem seems to be how to reconcile this with the mathematical argument about using a finite time difference method to calculate $u(x, t)$ given $u(x, 0)$.
– Tob Ernack
Nov 28 at 4:35


















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%2f3016680%2fwell-posedness-of-heat-equation-pde-with-only-one-initial-condition%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

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen