Verifying 1D Heat Diffusion PDE Solutions

Click For Summary

Discussion Overview

The discussion revolves around the verification of solutions to a one-dimensional heat diffusion partial differential equation (PDE) with specific boundary conditions. Participants are examining the formulation of the solution, the application of Fourier series, and the implications of the initial conditions provided.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a solution to the PDE using a Fourier series approach, specifying boundary conditions and initial conditions.
  • Another participant questions the satisfaction of the initial condition T(x,0) by the proposed solution, indicating a potential issue with the formulation.
  • A participant clarifies that the Fourier series representation is based on Fourier's theorem, allowing for the use of sine functions under certain boundary conditions.
  • There is a discussion about the nature of the constant of integration, with some suggesting it should be a function of x due to the context of partial derivatives, while others argue it could simply be a constant.
  • One participant acknowledges that the specific boundary conditions lead to the absence of cosine terms in the Fourier series solution.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the initial conditions and the formulation of the solution. There is no consensus on whether the proposed solution satisfies all conditions or the nature of the constant of integration.

Contextual Notes

Participants note that the integration process and the assumptions regarding the form of the solution may not be fully resolved, particularly concerning the initial condition and the role of the constant of integration.

Big-T
Messages
64
Reaction score
0
I have trying solving this PDE for some random boundary values, and were wondering if someone could verify my calculations?

[tex] \[<br /> \begin{array}{l}<br /> T_t = DT_{xx} \\ <br /> T\left( {0,t} \right) = 0,T(\pi ,t) = 0,T(x,0) = \frac{1}{4}\left( {\left( {x - \frac{\pi }{2}} \right)^2 + \frac{{\pi ^2 }}{4}} \right) \\ <br /> T = T\left( {x,t} \right) = \sum\limits_{n = 1}^\infty {a_n \left( t \right)\sin \left( {nx} \right)} \\ <br /> T_{xx} = - n^2 \sum\limits_{n = 1}^\infty {a_n \left( t \right)\sin \left( {nx} \right)} \\ <br /> T_t = \sum\limits_{n = 1}^\infty {a_n '\left( t \right)\sin \left( {nx} \right)} \\ <br /> \Rightarrow \sum\limits_{n = 1}^\infty {a_n '\left( t \right)\sin \left( {nx} \right)} = \sum\limits_{n = 1}^\infty {\left( { - n^2 a_n \left( t \right)} \right)\sin \left( {nx} \right)} \\ <br /> \Rightarrow a_n '\left( t \right) = - n^2 a_n \left( t \right) \\ <br /> \Rightarrow a_n \left( t \right) = C_n \left( x \right)e^{ - n^2 t} \\ <br /> T = \sum\limits_{n = 1}^\infty {C_n \left( x \right)e^{ - n^2 t} \sin \left( {nx} \right)} \\ \end{array}[/tex]
[tex] \begin{array}{l}<br /> C_n = \frac{2}{\pi }\int\limits_0^\pi {f\left( x \right)\sin \left( {nx} \right)dx} \\ <br /> = \frac{1}{{2\pi }}\int\limits_0^\pi {\left( {x^2 - \pi x} \right)\sin \left( {nx} \right)dx} \\ <br /> = \frac{1}{{2\pi }}\left[ {\mathop {\frac{1}{{n^2 }}\sin \left( {nx} \right)\left( {2x + \pi } \right)}\limits_{ = 0} - \frac{1}{{n^3 }}\cos \left( {nx} \right)\left( {n^2 \left( {x^2 + \pi x} \right) - 1} \right)} \right]_0^\pi \\ <br /> = \frac{1}{{\pi n^3 }}\left( {1 - n^2 \pi ^2 } \right) \\ <br /> T\left( {x,t} \right) = \sum\limits_{n = 1}^\infty {\pi ^{ - 1} n^{ - 3} \left( {1 - n^2 \pi ^2 } \right)e^{ - n^2 t} \sin \left( {nx} \right)} \\ <br /> \end{array}<br /> \][/tex]
 
Physics news on Phys.org
Well your third initial condition is not satisfied by the answer as far as I can tell (the T(x,0)). Was the T(x,t)=a(t)*sin(nx) given or is that something you came up with?

The other thing that's sort of bothering me is in line 8. The integration really isn't dealing with anything relating to an f(x) there as far as I can tell so my question is why is it C(x) rather than C(t)?

The rest looks ok to me.
 
The reason I'm asking is that this is the first time I have attempted to solve such an equation, I have not taken any courses dealing with this subject.

The T(x,t) is a Fourier series "guess" for a solution of the equation, this is allowed because Fourier's theorem says that every function may be represented by an infinite number of harmonics, (i.e. sin(pi*n*x/L)).

I think it is C(x) because when integration a_n(t), the constant of integration is actually a function of x, since we are dealing with partial derivation.
 
Well the Fourier series would be of the form found here http://en.wikipedia.org/wiki/Fourier_series and would involve a cos() term as well.

I don't think there is any specific reason that the constant should be a function of x, it could just be a constant.
 
Yes, it would have involved some cos() terms, but with these spesific boundary conditions, all the cosines vanish, and only the sines are left behind.

As for the constant of integration, you're probably right.
 

Similar threads

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