Solving Heat PDEs: Is There a Standard Procedure?

  • Context: MHB 
  • Thread starter Thread starter Markov2
  • Start date Start date
  • Tags Tags
    Heat Pdes
Click For Summary

Discussion Overview

The discussion revolves around solving heat partial differential equations (PDEs) using various methods, particularly focusing on the method of eigenfunction expansion and separation of variables. Participants explore the application of these methods to specific PDE examples, discussing the steps involved in deriving solutions and the mathematical principles underlying the approaches.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant proposes using the method of eigenfunction expansion to solve the given heat PDEs.
  • Another participant asks for clarification on the method and requests a demonstration of the first example.
  • A detailed explanation of the separation of variables technique is provided, including the substitution and resulting ordinary differential equations (ODEs).
  • Participants discuss the boundary conditions and how they lead to specific forms of the eigenfunctions.
  • There is a mention of using Fourier Analysis to find coefficients in the series solution.
  • One participant inquires about the formula for determining the coefficients in the Fourier series expansion.
  • Another participant questions whether the solution for the time-dependent part of the equation should also be expressed in trigonometric functions.
  • There is a discussion about solving the resulting ordinary differential equation in general terms.

Areas of Agreement / Disagreement

Participants appear to agree on the use of eigenfunction expansion and separation of variables as valid methods for solving the heat PDEs. However, there are ongoing questions and clarifications sought regarding specific steps and the forms of solutions, indicating that the discussion remains exploratory and unresolved in certain aspects.

Contextual Notes

Participants express uncertainty about the need for specific forms of solutions and the general approach to solving the ordinary differential equations derived from the separation of variables. The discussion does not resolve these uncertainties.

Markov2
Messages
149
Reaction score
0
1) Solve

$\begin{aligned}
{u_t} &= K{u_{xx}},{\text{ }}0 < x < L,{\text{ }}t > 0, \\
u(0,t) &= 0,{\text{ }}u(L,t) = 0,{\text{ for }}t > 0, \\
u(x,0) &= 6\sin \frac{{3\pi x}}{L}.
\end{aligned} $

2) Solve

$\begin{aligned}
{u_t} &= 4{u_{xx}},{\text{ }}0 < x < 1,{\text{ }}t > 0, \\
u(0,t) &= 0,{\text{ }}u(1,t) = 0,{\text{ for }}t > 0, \\
u(x,0) &= x^2(1-x),\text{ for }x\in[0,1].
\end{aligned}$

Is there a standard procedure to solve this?
 
Physics news on Phys.org
You can use the method of eigenfunction expansion.

Your solutions will be of the form $\sum a_ne^{-\lambda_nkt}\varphi_n(x)$
 
What's that method? Could you show me how to make the first one?
 
Markov said:
What's that method? Could you show me how to make the first one?

$u(x,t)=\varphi(x)T(t)$

$u_{xx}=\varphi'' T$

$u_{t}=\varphi T'$

Substitution: $\varphi T'=K\varphi'' T$

Separation of variables $\dfrac{\varphi''}{\varphi}=\dfrac{T'}{TK}=-\lambda$

Then we have $\dfrac{\varphi''}{\varphi}=-\lambda \Rightarrow \varphi''+\lambda\varphi=0 \Rightarrow \varphi(x)=C_1\cos\left(x\sqrt{\lambda}\right)+C_2\sin\left(x\sqrt{\lambda}\right)$

Now we have to solve
$\varphi_1(0) = 1$ and $\varphi_1'(0) = 0$
$\varphi_2(0) = 0$ and $\varphi_2'(0) = 1$

Doing so yields $\varphi(x)=A\cos\left(x\sqrt{\lambda}\right)+ \dfrac{ B\sin\left(x\sqrt{ \lambda }\right) }{ \sqrt{\lambda} }$

Use conditions

$u(0,t) = A = 0$

$\varphi(x)= \dfrac{B\sin\left(x\sqrt{ \lambda }\right)}{\sqrt{ \lambda }}$

$u(L,t) = \dfrac{ B\sin\left(L\sqrt{\lambda}\right) }{\sqrt{ \lambda }} = 0\Rightarrow \sin\left(L\sqrt{\lambda}\right) =0$

$\lambda_n=\left(\dfrac{\pi n}{L}\right)^2$

$\varphi_n(x)=\dfrac{L}{\pi n}\sin\left(\dfrac{x\pi n}{L}\right)$

Now you can solve for $\dfrac{T'}{KT}= - \lambda$.

Then use Fourier Analysis to find the coefficient $a_n$.

Then you will have $u(x,t) = \sum a_n \varphi(x)T(t)$

Evaluate $\sin(x+yi)$ against your eigenvalue to determine if you have complex solutions or not.
 
Last edited:
Thanks a lot!

dwsmith said:
Then use Fourier Analysis to find the coefficient $a_n$.

What's the formula for this?
 
Markov said:
Thanks a lot!
What's the formula for this?

$$
\int_0^Lf(x)\sin\left(\frac{x\pi n}{L}\right)dx = \sum_{n=1}^{\infty}a_n\int_0^L\sin\left(\frac{n\pi x}{L}\right)\sin\left(\frac{m\pi x}{L}\right)dx
$$
Every time on the RHS is zero except for when n = m because you have an orthogonal system on an interval.

$u(x,0) = f(x)$
 
Last edited:
dwsmith said:
Now you can solve for $\dfrac{T'}{KT}= - \lambda$.
Okay, on this part, do I need to get the solution in terms of trigonometric functions as the other equation you solved?
 
Markov said:
Okay, on this part, do I need to get the solution in terms of trigonometric functions as the other equation you solved?

That is just an simply ODE. How would you solve it in general?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K