Verifying 1D Heat Diffusion PDE Solutions

Click For Summary
SUMMARY

This discussion focuses on verifying the solution to the one-dimensional heat diffusion partial differential equation (PDE) given specific boundary conditions. The equation is expressed as \( T_t = D T_{xx} \) with boundary conditions \( T(0,t) = 0 \), \( T(\pi,t) = 0 \), and initial condition \( T(x,0) = \frac{1}{4}\left( (x - \frac{\pi}{2})^2 + \frac{\pi^2}{4} \right) \). The solution is proposed as a Fourier series \( T(x,t) = \sum_{n=1}^\infty C_n(x)e^{-n^2 t} \sin(nx) \), where \( C_n \) is derived from the initial condition. The discussion highlights the importance of satisfying all initial conditions and clarifies the role of the integration constant in relation to the variable x.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with Fourier series and their applications
  • Knowledge of boundary value problems in mathematical physics
  • Basic calculus, particularly integration techniques
NEXT STEPS
  • Study the derivation and application of Fourier series in solving PDEs
  • Learn about boundary value problems and their significance in heat diffusion
  • Explore the method of separation of variables for solving PDEs
  • Investigate the implications of initial and boundary conditions on solution uniqueness
USEFUL FOR

Mathematicians, physicists, and engineering students interested in heat transfer, PDEs, and Fourier analysis will benefit from this discussion.

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?

<br /> \[<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 &#039;\left( t \right)\sin \left( {nx} \right)} \\ <br /> \Rightarrow \sum\limits_{n = 1}^\infty {a_n &#039;\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 &#039;\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}<br />
<br /> \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 /> \]<br />
 
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
954
  • · Replies 8 ·
Replies
8
Views
4K
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K