Solving the heat equation gives constant solution











up vote
2
down vote

favorite












For the heat equation



$$u_t = 4 u_{xx}$$
$$u(x,0) = 1$$
$$u_x(0,t)=u_x(1,t)$$
$$0 leq x leq 1$$



we know that the general solution for Neumann boundary conditions is



$$u(x,t) = frac{A_0}{2} + sum_{n=1}^infty A_n e^{-(n pi)^2 4t} cos n pi x$$



but substituting the initial condition we get



$$u(x,0) = 1 = frac{A_0}{2} + sum_{n=1}^infty A_n cos n pi x$$



But the Fourier cosine series of $1$ is just $1$, so $A_0 = 2$ and $A_i = 0$ for $i > 0$



Then $$u(x,t) = 1$$



The fact that the solution is just $1$ makes me think that I did something wrong










share|cite|improve this question


















  • 2




    I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
    – epimorphic
    Nov 16 at 17:43






  • 1




    Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
    – DisintegratingByParts
    Nov 16 at 19:08















up vote
2
down vote

favorite












For the heat equation



$$u_t = 4 u_{xx}$$
$$u(x,0) = 1$$
$$u_x(0,t)=u_x(1,t)$$
$$0 leq x leq 1$$



we know that the general solution for Neumann boundary conditions is



$$u(x,t) = frac{A_0}{2} + sum_{n=1}^infty A_n e^{-(n pi)^2 4t} cos n pi x$$



but substituting the initial condition we get



$$u(x,0) = 1 = frac{A_0}{2} + sum_{n=1}^infty A_n cos n pi x$$



But the Fourier cosine series of $1$ is just $1$, so $A_0 = 2$ and $A_i = 0$ for $i > 0$



Then $$u(x,t) = 1$$



The fact that the solution is just $1$ makes me think that I did something wrong










share|cite|improve this question


















  • 2




    I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
    – epimorphic
    Nov 16 at 17:43






  • 1




    Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
    – DisintegratingByParts
    Nov 16 at 19:08













up vote
2
down vote

favorite









up vote
2
down vote

favorite











For the heat equation



$$u_t = 4 u_{xx}$$
$$u(x,0) = 1$$
$$u_x(0,t)=u_x(1,t)$$
$$0 leq x leq 1$$



we know that the general solution for Neumann boundary conditions is



$$u(x,t) = frac{A_0}{2} + sum_{n=1}^infty A_n e^{-(n pi)^2 4t} cos n pi x$$



but substituting the initial condition we get



$$u(x,0) = 1 = frac{A_0}{2} + sum_{n=1}^infty A_n cos n pi x$$



But the Fourier cosine series of $1$ is just $1$, so $A_0 = 2$ and $A_i = 0$ for $i > 0$



Then $$u(x,t) = 1$$



The fact that the solution is just $1$ makes me think that I did something wrong










share|cite|improve this question













For the heat equation



$$u_t = 4 u_{xx}$$
$$u(x,0) = 1$$
$$u_x(0,t)=u_x(1,t)$$
$$0 leq x leq 1$$



we know that the general solution for Neumann boundary conditions is



$$u(x,t) = frac{A_0}{2} + sum_{n=1}^infty A_n e^{-(n pi)^2 4t} cos n pi x$$



but substituting the initial condition we get



$$u(x,0) = 1 = frac{A_0}{2} + sum_{n=1}^infty A_n cos n pi x$$



But the Fourier cosine series of $1$ is just $1$, so $A_0 = 2$ and $A_i = 0$ for $i > 0$



Then $$u(x,t) = 1$$



The fact that the solution is just $1$ makes me think that I did something wrong







proof-verification pde fourier-series heat-equation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 16 at 17:32









The Bosco

495211




495211








  • 2




    I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
    – epimorphic
    Nov 16 at 17:43






  • 1




    Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
    – DisintegratingByParts
    Nov 16 at 19:08














  • 2




    I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
    – epimorphic
    Nov 16 at 17:43






  • 1




    Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
    – DisintegratingByParts
    Nov 16 at 19:08








2




2




I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
– epimorphic
Nov 16 at 17:43




I mean, look at the heat equation. What does it tell you about how $u$ changes over time for the given initial conditions?
– epimorphic
Nov 16 at 17:43




1




1




Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
– DisintegratingByParts
Nov 16 at 19:08




Check that the constant function $1$ satisfies the required conditions. It does, doesn't it?
– DisintegratingByParts
Nov 16 at 19:08















active

oldest

votes











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%2f3001411%2fsolving-the-heat-equation-gives-constant-solution%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001411%2fsolving-the-heat-equation-gives-constant-solution%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

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten