Solving the heat equation in 1D

Click For Summary
SUMMARY

This discussion focuses on solving the initial value problem for the heat equation in one dimension, represented by the equation $$\partial_t\phi-\partial^2_x\phi=0$$ with initial condition $$\phi(0,\cdot)=\psi$$. The fundamental solution used is $$\Phi_1(t,x)=\frac{1}{\sqrt{4\pi t}}exp\Big(-\frac{x^2}{4t}\Big)$$, leading to the solution $$\phi(t,x)=C\cdot exp\Big(-\frac{G(y)}{2}\Big)$$. The discussion also addresses the solution to Burger's equation with viscosity, yielding $$u(t,x)=g(x)$$, and emphasizes the necessity of incorporating the initial condition as a function of the integration variable.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with the heat equation and initial value problems
  • Knowledge of fundamental solutions in one-dimensional space
  • Basic calculus, particularly integration techniques
NEXT STEPS
  • Study the derivation and applications of the fundamental solution for the heat equation
  • Learn about the method of characteristics for solving PDEs
  • Explore the implications of initial conditions in solving differential equations
  • Investigate the relationship between the heat equation and Burger's equation
USEFUL FOR

Mathematicians, physicists, and engineers interested in solving partial differential equations, particularly those focusing on heat transfer and fluid dynamics.

docnet
Messages
796
Reaction score
486
Homework Statement
solve the heat equation and the Burger's equation.
Relevant Equations
$$\begin{cases}
\partial_t\phi-\partial^2_x\phi=0 & \text{in}\quad (0,\infty)\times R \\ \phi(0,\cdot)=\psi & \text{on}\quad \{t=0\}\times R
\end{cases}$$
Screen Shot 2021-03-25 at 11.51.48 PM.png

(3) To solve the initial value problem
$$\begin{cases}
\partial_t\phi-\partial^2_x\phi=0 & \text{in}\quad (0,\infty)\times R \\ \phi(0,\cdot)=\psi & \text{on}\quad \{t=0\}\times R
\end{cases}$$
we use the fundamental solution in 1D $$\Phi_1(t,x)=\frac{1}{\sqrt{4\pi t}}exp\Big(-\frac{x^2}{4t}\Big)$$ and the formula
$$\phi(t,x)=\int_R\Phi(t,x-y)u_0(y)dy$$
and
$$\psi=exp\Big(-\int\frac{g(x)}{2}dx\Big)$$
to give
$$\phi(t,x)=exp\Big(-\int\frac{g(x)}{2}dx\Big)\int_R\Big[ \frac{1}{\sqrt{4\pi t}}exp\Big(-\frac{(x-y)^2}{4t}\Big)\Big]dy$$By the definition of the fundamental solution ##\Phi##, the above integral converges to ##1## giving $$\phi(t,x) =exp\Big(-\int\frac{g(x)}{2}dx\Big)$$
(4) The solution ##u## of the Burger's equation with viscosity is given by the substitution formula
$$u(t,x)=\frac{-2}{\phi(t,x)}\partial_x\phi(t,x)$$
$$=\frac{-2}{exp\Big(-\int\frac{g(x)}{2}dx\Big)}\partial_x\Big[ exp\Big(-\int\frac{g(x)}{2}dx\Big)\Big]$$
$$=2\partial x \Big[\int\frac{g(x)}{2}dx\Big]=\boxed{g(x)}$$
 
Physics news on Phys.org
Your ##\phi## is not a solution to the heat equation. Note that when you solve the heat equation you need to insert the initial condition as a function of the integration variable. This will mean that you cannot take it outside the integral in the fashion you have done.
 
  • Like
Likes   Reactions: docnet
Orodruin said:
Your ##\phi## is not a solution to the heat equation. Note that when you solve the heat equation you need to insert the initial condition as a function of the integration variable. This will mean that you cannot take it outside the integral in the fashion you have done.

Thanks! after some sleep, I go through the problem again to find the same answer by chance.

(3) To solve the following initial value problem
$$\begin{cases}
\partial_t\phi-\partial^2_x\phi=0 & \text{in}\quad (0,\infty)\times R \\ \phi(0,\cdot)=\psi & \text{on}\quad \{t=0\}\times R
\end{cases}$$
we use the fundamental solution in 1D $$\Phi_1(t,x)=\frac{1}{\sqrt{4\pi t}}exp\Big(-\frac{x^2}{4t}\Big)$$ and the formula
$$\phi(t,x)=\int_R\Phi(t,x-y)u_0(y)dy$$
and
$$ \phi(0,x)=exp(-\int\frac{g}{2}dx)=\boxed{ C\cdot exp\big({{-\frac{G(x)}{2}}\big)}}$$
to give
$$\phi(t,x)=\int_R\Big[ \frac{1}{\sqrt{4\pi t}}exp\Big(-\frac{(x-y)^2}{4t}\Big)\cdot C\cdot exp\Big({-\frac{G(y)}{2}}\Big)\Big]dy$$
$$=C\cdot\int_R\Big[ \frac{1}{\sqrt{4\pi t}} exp\Big(-\frac{(x-y)^2}{4t}-\frac{G(y)}{2}\Big)\Big]dy$$
The above integral converges to (hope no one asks me how i know this)
$$\phi(t,x)=C\cdot exp\Big(-\frac{G(y)}{2}\Big)$$
(4) The solution ##u## of the Burger's equation with viscosity is given by the substitution formula
$$u(t,x)=\frac{-2}{\phi(t,x)}\partial_x\phi(t,x)$$
$$\Rightarrow\frac{-2}{C\cdot exp\Big(-\frac{G(y)}{2}\Big)}\partial_x\Big[ C\cdot exp\Big(-\frac{G(y)}{2}\Big)\Big]$$
$$=2\cdot \partial x \Big[-\frac{G(y)}{2}+C\Big]\Rightarrow\boxed{u(t,x)=g(x)}$$
 
docnet said:
The above integral converges to (hope no one asks me how i know this)
How do you know this? 😏
 

Similar threads

Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
3
Views
2K
Replies
12
Views
2K