PDE — lost on this separation of variables problem

Click For Summary
SUMMARY

The discussion focuses on solving the partial differential equation (PDE) given by Ut = Uxx - U + x for 0 PREREQUISITES

  • Understanding of partial differential equations (PDEs)
  • Familiarity with the method of separation of variables
  • Knowledge of boundary value problems
  • Experience with Fourier series and eigenfunctions
NEXT STEPS
  • Study the method of separation of variables in depth
  • Learn about boundary value problems and their solutions
  • Explore Fourier series and their applications in solving PDEs
  • Review the application of boundary conditions in PDE solutions
USEFUL FOR

Mathematicians, physics students, and engineers dealing with partial differential equations, particularly those interested in boundary value problems and Fourier analysis.

fahraynk
Messages
185
Reaction score
5
<< Mentor Note -- thread moved from the technical math forums >>

I am getting stuck on this partial differential equation.
Ut = Uxx - U + x ; 0<x<1
U(0,t) = 0
U(1,t) = 1
U(x,0) = 0

Here is my work so far :
U = e-tw + x
gives the new eq wt=wxx
to get rid of boundary conditions :
w=x+W
Wt=Wxx
W(0,t) = 0
W(1,t)=0
W(x,0)=-x

W=X(x)T(t)
Plug that in, and I get these :
T'=μT
X''=μx

w = e-(nπ)2t[ansin(nπx)]
an = -2∫xsin(nπx) = 2cos(nπ)/nπ
w = x + W
w = x +(2/π)Σ(1/n)cos(nπ)sin(nπx)e-(nπ)2t
u = e-tw + x
u = x + e-t(x +(2/π)Σ(1/n)cos(nπ)sin(nπx)e-(nπ)2t)

But the books answer is :
u(x,t) = x - (2/π)e-t* [ e2tsin(πx) - (1/2) e-2π2tsin(2πx)+...]

What am I doing wrong?
 
Last edited by a moderator:
Physics news on Phys.org
I figured out the answer. I was not plugging U = we-t+x into the boundary conditions properly. I did not need the extra substitution. Cant find a delete button for the thread though !
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
5
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K