Solving non-homogeneous heat eq'n with fourier series

Click For Summary
SUMMARY

The discussion focuses on solving the non-homogeneous heat equation Ut - 4Uxx = 2t - xsin(x) with boundary conditions Ux(0,t) = Ux(pi,t) = 0 and initial condition U(x,0) = x^2 + 1. Participants suggest using separation of variables to derive eigenvalues and eigenfunctions, specifically recommending a cosine series basis for the Fourier expansion. The challenge arises from the term xsin(x) on the right-hand side, which complicates the integration process. Integration by parts is proposed as a method to tackle the integral involving sin(x)cos(nx).

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with Fourier series and cosine series expansions
  • Knowledge of boundary value problems and initial conditions
  • Proficiency in integration techniques, particularly integration by parts
NEXT STEPS
  • Study the method of separation of variables in PDEs
  • Learn how to derive eigenvalues and eigenfunctions for boundary value problems
  • Practice Fourier series expansions, focusing on cosine series
  • Review integration by parts, especially in the context of trigonometric functions
USEFUL FOR

Students and educators in mathematics, particularly those studying partial differential equations, as well as researchers and practitioners working with heat transfer problems and Fourier analysis.

wakko101
Messages
61
Reaction score
0

Homework Statement


The heat eq'n is Ut -4Uxx = 2t - xsin(x)
Ux(0,t) = Ux(pi,t) = 0, U(x,0)=x^2+1

Homework Equations


Using separation of variables, in obtaining the eigenvalues/eigenfunctions of X''=-lambdaX, it would appear that you would need to use a cosine series basis and expand the equation. But it seems to me that the xsin(x) on the RHS of the equation is causing problems and I'm not sure how to proceed.

The Attempt at a Solution



If you expand the RHS as a cosine Fourier series, the coefficients would be given by int(0 to pi)(2t + xsin(x))cos(nx) dx. I'm stumped...any suggestions/hints would be appreciated.

Cheers. =)
 
Physics news on Phys.org
Yes, that's right:
[tex]\int_0^\pi (2t+ x sin(x)cos(nx))dx[/itex]<br /> (except for the normalizing factor in front)<br /> <br /> What is the problem? Of course, t is a constant here so the first part is just <br /> 2t = 2t cos(0x). the second part, <br /> [tex]\int_0^\pi x sin(x)cos(nx)dx[/tex]<br /> you should be able to do with integration by parts. Let u= x, dv= sin(x)cos(nx)dx.[/tex]
 
I had thought of that. I suppose I'm not sure how to go about integrating dv=sin(x)cos(nx).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
1
Views
2K
Replies
4
Views
2K